Hi All!
I've never used this tag before and I'm not so good with taglibs then
please correct my mistakes if I commit any.
I got the following example in a recent thread here in this mailing list:
<html:select name="form" property="selectedOption">
<html:options name="form"
property="collectionOfOptionsValues"
labelName=" form" labelProperty="collectionOfOptionsForDisplay"/>
</html:select>
Ok, few things I could already understand, in the html:select tag there
are 2 properties(in this case I know) name and property; name is the form
name and property is a specic attribute in this form bean that is related
to this field;
In the html:options we have name that is the form bean name, property is
my collection, labelName is a field of my bean into the collection, and
labelProperty is the final html option's value and also a field of my
bean, right?;
does name in both tags can be directly found in any scope? I mean if my
form is either in request or session, is it going to be taken? or am I
missing something?
Property in the html:options tag can be any kind of Collection? can it be
java.util.ArrayList? Don't I need to tell the tag wich is the type of the
objects into the collection?
Do I need to use the <bean:define tag to have it working?
As you can see I'm a bit confused of this.
Help is appreciated, thanks regards ;-)
________________________________
Doril�o