Hi,
    What could be the reason if the html options are not shown  with the
following code ?

<html:select  property="applications" multiple="true" size="1" >
<html:options collection="applicationOptions" property="value"
labelProperty="label"/>
</html:select>
-------------------

                Vector applicationOptions = new Vector();

                applicationOptions.add( new LabelValueBean( "Label 0",
"Value 0" ));
                applicationOptions.add( new LabelValueBean( "Label 1",
"Value 1" ));

                context.setAttribute( "applicationOptions",
applicationOptions ); ---> Application context.

Everything seems to be correct but I see empty option tags in the 'view
source'. This is an ActionForm. Does it make a difference ? This is a copy
of the struts examples.

bye,
Mohan
This message and any attachments have been scanned for viruses during transmission 
from HCL Comnet.

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to