For example:
<h:selectManyCheckbox
id="literalOptions"
value="firstOption">
<f:selectItems value="[firstOption, secondOption, thirdOption]"/>
</h:selectManyCheckbox>
this doesn't work, but you get the idea?
I want to pass literal (string-type) list options (not necessarily but possibly retrieved from a bean property as a String), the [a,b,c]
list-syntax probably isn't correct, but which is?
Or, alternatively, how can I pass a list literal to a custom component I create that passes this literal to f:selectItems
which I use internally in my custom component? That is, how can I create a custom component that accepts such a literal for ad hoc definition of list values by the component user.