I have an class that extends ActionForm. It is used by many forms. Although the forms use the same properties, each form has different initial values. I would like to add <form-properties name=".." initial=".."> to set the default values, but I do not know how to access the the form properties. Below is a sample configuration.

<form-bean name="fom_default_1" type="com.foo.BaseActionForm"
<form-property name="myValue" value"1"/>
</form-bean>
<form-bean name="fom_default_5" type="com.foo.BaseActionForm"
<form-property name="myValue" value"5"/>
</form-bean>

1) How can I access <form-properties> from my ActionForm?

2) Is their a better way accomplish the this?

Paul Spencer


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to