Actually, looking at FormBeanConfig it looks like the configured
properties are ignored for anything that's not a mutable dyan bean, so
perhaps it doesn't make sense for BeanValidatorForm to change after all.
L.
Hubert Rabago wrote:
My question is more "Does it make sense?". My understanding is that
BeanValidatorForm is intended to wrap POJO beans:
<form-bean name="myBean"
type="my.package.MyPojoBean"/>
The reset() implementation for DynaActionForm works by reading the
FormPropertyConfig for the bean. In the case above, it doesn't look
like we'll have any to read. Are users allowed to configure fields
through <form-property> anyway?
<form-bean name="myBean"
type="my.package.MyPojoBean">
<form-property name="field1" type="java.lang.String"
initial="val1" reset="true"/>
</form-bean>
Hubert
On 11/12/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
Hubert Rabago wrote:
I just checked in reset support for DynaActionForm as discussed in an
earlier thread. [1]
Do we need reset in BeanValidatorForm as well?
Hubert
[1] http://marc.theaimsgroup.com/?t=112914254100002&r=1&w=2
It strikes me that it would make sense for all form beans supplied with
Struts to respect the new flag for consistency, so I'd say add it to
BeanValidatorForm as well.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]