Re: help with populating a select box from a bean

2003-03-05 Thread Jose Gonzalez Gomez
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

RE: help with populating a select box from a bean

2003-03-05 Thread Robert Taylor
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

help with populating a select box from a bean

2003-03-04 Thread bobd
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