Sorry about my stream of consciousness posting...

On 28 Feb 2009, at 12:36, Michal Charemza wrote:
> So now I am stuck on how to get the data from the user that has  
> failed validation, so I can store it in the user object, so I can  
> show it again on the next request.

After reading various changelogs, it looks like there has been various  
work into forbidding access to invalid data in action/views. This  
makes me think that something has to be done in the validation code to  
allow invalid data to persist between requests.

I almost need data to be 'half validated'. That is, it must cause the  
handle***Error action method to be called, but still allow invalid  
data to be passed to the view.

Or am I just barking up the wrong tree? All I want is the standard  
Post/Redirect/Get pattern...

- Post a form
- Redirect to a GET
- If there has been an error, show the form again, with the errors and  
the previously submitted data.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to