You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Christman <gc...@cardaddy.com> on 2012/03/16 19:15:49 UTC

Server Side Validation Workings

Hello everyone, I'm trying to create  a work around for my post related to
server side validation with form loop. 

So my questions is whether or not tapestry persist any of the form data
before returning a validation error or is tapestry relying on the browser
cache to store the values?

I logged a tapestry textfield within onPrepare and noticed it always renders
null when the form cycles back through from a validation error even if it
was populated prior to the validation error and triggered by another field
violator. 

Does anybody know how this works or could point me to some documentation?

Thanks

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-Workings-tp5572080p5572080.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Server Side Validation Workings

Posted by Bob Harner <bo...@gmail.com>.
I think the documentation you're looking for is at
http://tapestry.apache.org/forms-and-validation.html -- especially the
"Storing data between requests" section.

Bob Harner
On Mar 16, 2012 2:16 PM, "George Christman" <gc...@cardaddy.com> wrote:

> Hello everyone, I'm trying to create  a work around for my post related to
> server side validation with form loop.
>
> So my questions is whether or not tapestry persist any of the form data
> before returning a validation error or is tapestry relying on the browser
> cache to store the values?
>
> I logged a tapestry textfield within onPrepare and noticed it always
> renders
> null when the form cycles back through from a validation error even if it
> was populated prior to the validation error and triggered by another field
> violator.
>
> Does anybody know how this works or could point me to some documentation?
>
> Thanks
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-Workings-tp5572080p5572080.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>