struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CRANFORD, CHRIS" <Chris.Cranf...@setech.com>
Subject RE: Struts2 Validation w/ModelDriven
Date Thu, 19 May 2011 17:16:01 GMT
Not that I am aware.  The paramsPrepareParamsStack to my knowledge
handles validation at the very end; so by the time validation has
happened; the model has already been prepared by the prepare() method.  

-----Original Message-----
From: Eric Lentz [mailto:Eric.Lentz@sherwin.com] 
Sent: Thursday, May 19, 2011 11:58 AM
To: Struts Users Mailing List
Subject: Re: Struts2 Validation w/ModelDriven

> So when this error condition is met and the user redirected back to
the 
INPUT form; the
> field where they had entered "xyz" is now the original default
> initialized value.

Can't you check the action error and not refresh the model when there is

an error?


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


Mime
View raw message