You need to sign in to do that
Don't have an account?
RossCo@Discovery
Hardcode apex:selectionoptions?
Hi Everyone
Is it possible to hard-code the options for apex:selectoptions (ie: not call a method in the controller) - I only have a few non-variable options.
Many thanks for any assistance
Ross
<apex:selectOptions value="{!items}"/>
Yes - simply put the appropriate number of <apex:selectOption/> elements inside the selectlist. From the developer's guide: