Don't do it in the form's reset().  Accd. to the javadoc [1]:

"In practice, the only properties that need to be reset are those
which represent checkboxes on a session-scoped form."

Hubert

[1] 
http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionForm.html

On 1/20/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
I believe you could try to do this in the form's constructor or reset()
method?

Hubert Rabago wrote:
> Are you talking about prepopulating the form?  Yes, a FormUtils method
> helps with that.  I don't know if that qualifies as manually
> populating the form, though.  The FormUtils method does a lot of the
> manual work, such as matching form fields with their POJO field
> counterparts, considering the locale, converting and parsing data as
> needed, possibly handling nested beans/nested forms as well.
>
> Hubert
>
> On 1/19/07, Zero <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Thanks ! It is exactly what I need. I'm going to test it...
>> Must I always populate manually all the forms (with FormUtils) ?
>>
>> Regard,
>> Zero
>>

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

Reply via email to