You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gemes Tibor <ti...@i-trade.hu> on 2003/05/19 11:07:00 UTC

Re: Réf. : RE: Réf. : RE: value objects and forms

meissa.Sakho@bpam.fr írta:

>I'm using struts 1.1,  and things(populating forms) are handled by the
>RequestProcessor. specially the processActionForm(...) and the
>
>processPopulate(...)
>methods.
>
>I do confirm. it works for any attribute types(Object or not).
>  
>

As far as conversion succeeds. In case of failure, the request will be 
forwarded back to
the input, with empty field. Even an exception could occure if 
population fails totally,
so the request attrubutes after the failed fields won't be populated.

If you'd use string, and convert in action, the request'd be forwarded 
back to input  still
but with the entered values in the field.

Tib




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