Unfortunately the current <html:options> requires that you use <bean:define>
indirectly to use the tag.
<define:bean id="brokerLabelValues"
name="brokerForm"
property="brokers" />
<html:options collection="brokerLabelValues"
property="value" labelProperty="label" />
--
Peter Pilgrim ++44 (0)207-545-9923
//_\\
"Mathematics is essentially the study of islands of =======
disparate subjects in a sea of ignorance." || ! ||
Andrew Wiles _____________
---------------------------------------- Message History
----------------------------------------
From: [EMAIL PROTECTED] on 20/11/2001 09:44 EST
Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Options tag question
In reworking my Action classes, I tried to package all values needed for my
form in the form bean, so I included a property that contains an ArrayList
of LabelValueBeans.
Can I refer to this property to populate the <html:options> tag?
This nested syntax doesn't seem to work:
<html:options collection="brokerForm.brokers" property="value"
labelProperty="label" />
Or should I go back to including the ArrayList as a request attribute and
return it that way.
Lee
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>