Garner, Shawn wrote the following on 1/19/2006 1:38 PM:
Isn't there an options tag that takes in a collection?
Yes there is html:options and there is also html:optionsCollection
Wouldn't that be more optimized and easier?
It's just saves a little extra typing (I doubt any more 'optimized'),
but I just never liked either tag that much. To me neither tag seemed
that intuitive (html:optionsCollection is easier imo) so I just code two
extra lines to make my forEach loop and build the options myself.
Here are the docs on the tags:
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:options
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:optionsCollection
--
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]