+ Start a Discussion
neeedhelpneeedhelp 

Rendering issue

Unable to render...Here is th code

 

  

<apex:pageblocksectionItem >
<apex:outputpanel >
<apex:inputCheckbox value="{!Invoice.Partial_Payments__c}"/>
<Apex:outputLabel value="Allow for Partial Payments(Installments)"></Apex:outputLabel>
</apex:outputpanel>
<apex:actionSupport event="onclick" rerender="Select"/>
</apex:pageblocksectionItem>


<apex:outputpanel id="Select">
<apex:outputpanel rendered="{!Invoice.Partial_Payments__c==true}">
<apex:pageblockSectionItem >
<Apex:outputlabel value="aaaaaaaaa"></Apex:outputlabel>
</apex:pageblockSectionItem>
</apex:outputpanel>
</apex:outputpanel>

 

Thanks,

Best Answer chosen by Admin (Salesforce Developers) 
nickwick76nickwick76

 

Try this:

 

<apex:outputLabel value="Allow for Partial Payments(Installments)"/>
<apex:inputCheckbox value="{!Invoice.Partial_Payments__c}">
    <apex:actionSupport event="onclick" rerender="Select"/>
</apex:inputCheckbox>

 // Niklas