On Oct 21, 2006, at 10:03 AM, Sanjay wrote:
>
> As I know, after an error occurs in the save method, the profile  
> method
> gets called again. Now, walking through the profile method, after
> flashing the error, the values are again being initialized. So, then,
> how the old values still are shown in the form, is my curosity...

The values and errors are dumped in cherrypy.request (request-local  
global storage) by @validate. The form fetches them from there when  
redisplayed.

Alberto

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to