function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How do you set a SelectOption title from a controller

Looking at the documentation URL below there are attributes like itemDescription, title, and styleClass.  How can those be set from a controller when creating a list of SelectOptions to be shown in a SelectList.


The attribute's corresponding setters and getters seem to be confusing from the controller.  The documentation describes the attribute "itemEscaped" but the setter I've had to use is "setEscapeItem".