Hi:
I'm trying to enforce some rules on my data in my model. I have my model
raising an error whenever it finds a problem with the data. I then catch
the exception in my controller and want to redisplay my page with the error
and existing data. Is there an easy way to redisplay the existing page with
a flash message on it and retain all of the current data? I know that I
could define validations and use the decorator, but it seems to be more
useful to me to define the rules in the model where I can take advantage of
them in other applications. Am I missing something obvious?
-Jim
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---