You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ian Hunter <ih...@hunterweb.net> on 2003/04/23 17:56:43 UTC
DynaActionForm String[] initial values
In struts-config.xml, how would I specify that the initial value of a
String[] member of a DynaActionForm should be equal to {"one","two"} ? I
can't get past the double-quotey problem:
<form-bean name="billAmountForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="fkProject" type="java.lang.String"/>
<form-property name="fkGroup" type="java.lang.String[]"
initial="{"one", "two"}"/>
<form-property name="amount" type="java.lang.String[]" initial=""/>
</form-bean>
see the problem?
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org