+ Start a Discussion

Lable not displayed on Component page

Hi All,

When i click on picklist(Risk_Assessment__c) i need to display lookup field(Peer_Reviewer__c). i written below code working, but i need lookup lable name only after select the picklist lookup icon need to display otherwise grayout like that not working. i need "Picklist lable: Risk", "Lookup up lable:Peer".

<apex:actionRegion >
 <apex:inputField value="{!thisCon.theCase.Risk_Assessment__c}" required="true" rendered="{!thisCon.caseRTName == 'OD Change'}"> 
    <apex:actionSupport event="onchange" rerender="pr,rp" />     
<apex:pageBlockSectionItem >
 <apex:outputPanel id="rp" >
  <apex:outputText value="Peer Reviewer" rendered="{!if(thisCon.theCase.Risk_Assessment__c != null,true,false)}"/>

<apex:outputPanel id="pr">
  <apex:outputPanel rendered="{!if(thisCon.theCase.Risk_Assessment__c != null,true,false)}">
   <apex:inputField value="{!thisCon.theCase.Peer_Reviewer__c}" rendered="{!thisCon.caseRTName == 'OD Change'}" />
Grazitti TeamGrazitti Team

You should use the dependent picklist to resolve this issue.

Please refer the link below  :


Let us know if you have any queries.

Please don't forget to Mark this as best answer if it works fine for you.

Grazitti Team
Web: www.grazitti.com