Last active
August 29, 2015 14:06
-
-
Save arufian/77ca9bcb3e78349703a2 to your computer and use it in GitHub Desktop.
Create a selectlist in Visualforce page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:selectList value="{!item}" size="1"> <!-- must have declared it with size=1 in order to become dropdown list --> | |
<apex:selectOptions value="{!itemList}"/> <!-- for detail see OptionController.cls.cls file --> | |
</apex:selectList> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment