struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J├╝rgen Zimmermann <Juergen.Zimmerm...@FH-Karlsruhe.de>
Subject Assigning a List object to a DynaActionForm
Date Sun, 16 May 2004 20:01:44 GMT
I have a DynaActionForm in struts-config.xml like
    <form-bean name="editForm"
               type="org.apache.struts.action.DynaActionForm">
       <form-property name="customer" type="java.util.ArrayList"/>
    </form-bean>

In the session scope there is a variable called "theCustomers"
of type java.util.ArrayList which has elements of CustomerBean.

In a JSP there is a form with the DynaActionForm above.
How do I assign the list "theCustomers" to the form property
"customer" ?

Any hint is appreciated!

-- Juergen

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message