Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. <apex:pageblocksection >
  2.  
  3. <apex:inputcheckbox value="{!chkBx}" label="Yes">
  4. <apex:actionSupport event="onchange" rerender="thePanel" action="{!click}"/>
  5. </apex:inputcheckbox>
  6. <apex:inputCheckbox label="No"/>
  7. </apex:pageblocksection>
  8. apex:pageblocksection >
  9.  
  10.  
  11. <apex:outputPanel id="thePanel">
  12. <apex:pageBlockSectionItem rendered="{!displayInputputText}">
  13. <apex:outputLabel value="Input Text" />
  14. <apex:inputText value="{!input}"/>
  15. </apex:pageBlockSectionItem>
  16. </apex:outputPanel>
  17. </apex:pageblocksection>
  18.  
  19. public class CheckboxController{
  20. public String currentEmp{ get; set; }
  21. public Integer expYears{ get; set; }
  22. public Boolean selected{ get; set; }
  23.  
  24. public CheckboxController(){
  25. selected = false;
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement