struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sonam Belbase <>
Subject <bean:define> question
Date Mon, 17 Nov 2003 21:01:01 GMT

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"/>

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:
For additional commands, e-mail:

View raw message