Type 3:Usage of picklist in vf & Apex


Originally posted on Salesforce23:
Exapme: Creating Picklist In Visualforce Page itself <apex:page controller=”zvf5″ sidebar=”false” showHeader=”false”> <apex:form > <apex:selectList value=”{!myVal}” size=”3″ multiselect=”true”> <apex:selectOption itemvalue=”One” itemlabel=”1″/> <apex:selectOption itemvalue=”Two” itemlabel=”2″/>…

Type 5:Usage of Dynamic picklist in vf & Apex


Originally posted on Salesforce23:
<apex:page controller=”dynamicpickone” sidebar=”false” showHeader=”false”> <apex:form > <apex:selectList id=”selectpick” size=”1″ value=”{!selectedValue}”> <apex:selectOptions value=”{!pickOptions}”/> <apex:actionSupport event=”onchange” reRender=”one”/> </apex:selectList> <apex:outputPanel id=”one”>Selected Value is: <apex:outputText value=”{!selectedValue}” />…