Thanks, Nick. That solved it.

-SB

Nick Heudecker wrote:

> It doesn't work because you must put the variable into the page scope:
>
> <%
> List myList = (List) someList;
> pageContext.setAttribute("myList", myList);
> %>
>
> > If I have
> >
> > <%
> >         List myList = (List) someList;
> > %>
> >
> > where someList is a list of objects whose name property I want to
> > display in a dropdown,
> > why doesn't the following work?
> >
> > <bean:define id="availableNames" name="myList" type="java.util.List" />
> > <html:options collection="availableNames" property="name"/>
>
> --
> Nick Heudecker
> SystemMobile, Inc.
> Email: [EMAIL PROTECTED]
> Web: http://www.systemmobile.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
NOTICE: If received in error, please destroy and notify sender.  Sender does
not waive confidentiality or privilege, and use is prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to