You can use the bean:define to get the collection in
scope for the options tag to use.
<bean:define id="severitiesList" name="severityForm"
property="severities"/>
<form:select property="severity">
<form:options collection="severitiesList"
property="key"
labelProperty="value"/>
</form:select>
David
--- [EMAIL PROTECTED] wrote:
>
>
> Just realised my confusion with labelName and
> labelProperty.
>
> BUT, still doesn't work! Figure I have to use
> "Collection=", to specify the
> Vector I wish to iterate over, and then
> property="value" to get the value from
> the bean in the Vector. The Vector is called
> "severities" in the form bean, but
> what do I actually write to get access to it as the
> Collection?
>
> ie I need to fill in the ???'s in
> <html:options collection="????"
> propery="value">
>
> The example subscription.jsp does this, but the
> difference is that the
> collection is added as a session variable at the top
> of the page. Does this
> mean I can't get the collection out of the form
> bean?
>
> Thanks,
>
> Dave
>
>
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/