Take a look at html:options. I think that's what you're looking for.
Regards
Jose
bobd wrote:
The following code successfully iterates over an array
coursetitles stored in bean reference courseCatalog.
logic:iterate id=element name=courseCatalog
property=coursetitles scope=session
I generally populate a collection of LabelValue beans and put them
in the form or some scope and use optionsCollection tag. For example
if I had a collection of LabelValue beans and named it categoryOptions
and my form property was category, then the following would be the
syntax to render the
The following code successfully iterates over an array
coursetitles stored in bean reference courseCatalog.
logic:iterate id=element name=courseCatalog
property=coursetitles scope=session
bean:write name=element/
/logic:iterate
I'm now trying to populate a select box and it looks
like
3 matches
Mail list logo