struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Laverty" <dlave...@bigpond.net.au>
Subject Struts 1.1 b1 and how to set form-property initial value for java.util.List
Date Thu, 25 Apr 2002 06:34:39 GMT
Hi,

I have not located too many examples on setting the intial bean value for
types in the form-property tag other than java.lang.String.  I would like to
set the initial value in a java.util.List.  Is this possible? if so, how do
I do it?

<struts-config>
<!-- Bean Definitions -->
<form-beans>
    <form-bean name="directoryForm"
type="org.apache.struts.action.DynaActionForm">
    <form-property name="dbLocation" initial="directorylocation"
type="java.lang.String"/>
    <form-property name="updatedBy" initial = "???" type="java.util.List"/>
    ...

Thanks in advance for any help.

Craig Laverty.


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


Mime
View raw message