You need to sign in to do that
Don't have an account?
Nirmal9114
how to show description of picklist select in a VF Page. Please Help
My Requirement is to Show Description beside the DOCKET picklist value. the description should change as the picklist value changes.The page should dynamically render the description from the selected Docket
Can anyone give me the idea how to do it.
Please find below example for actionsupport with selectlist and get selected value.
VF Page
Controller:
Let us know if that helps you.
Best Regards,
BALAJI
<apex:pageBlockSection columns="1" >
<apex:pageBlockSectionItem>
<apex:outputLabel Value="Dockets" />
<apex:outputPanel layout="Block" id="GuPanel" styleClass="requiredInput"> <!--Priyanka -->
<apex:outputPanel id="thePanel" styleClass="requiredBlock" /> <!--Priyanka -->
<apex:selectList value="{!campId}" multiselect="false" id="account" size="1" styleClass="picklistClass1" >
<apex:selectOptions value="{!CampaignItems}" />
<apex:pageMessages/>
<apex:actionSupport event="onchange" action="{!getCampaigns}" rerender="form"/>
</apex:selectList>
<apex:actionStatus id="loadGU" startText="Loading..."/>
</apex:outputPanel>
</apex:pageBlockSectionItem>