This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
As far as I can see, you can only specify the same styleClass value for all html:options in a collection. I'd like to specify the same value for the "styleClass" attribute as the "property" attribute. Is there a way I can do this either with struts tags or jstl? Thanks for any help.
I'd like to do something as the below example. Note, that the example renders a "class" attribute of the literal string "value" instead of the desired value of getValue() in the LabelValueBean in the labelColorsList.