Hello there,
I am able to create a html select with struts when the collection to display in the options tag is a collection stored in the session or request and to use the selected value for my form. Fine.
But now I have a Form representing a bean. This form has an attribute of type ArrayList. I'd like the select/options tag to show me the content of the ArrayList for the actual Form property value. I want to use the form attribute and not create a collection to store in a scope.
My JSP looks like:
<html:form action="data" focus="identification">
<html:text property="identification"/>
<html:select property="selectedItems">
<html:options collections="allItems"
property="id" labelProperty="description"/>
</html:select>My form DataForm has the attributes identification, selectedItems and allItems.
But it is not working. Anybody a hint?
Sincerly Samuel
--- andinasoft SA - Software y Consulting --- Mariano Aguilera 276 y Almagro - Quito, Ecuador Tel. +593 2 290 55 18 ---- Cel. +593 9 946 4046 --------- http://www.andinasoft.com ---------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

