Hi
let's suposse I have two controllers
@expose(template="...")
def ask_data(self):
return dict(form=myForm, action="">
@expose(...)
@validate(form=MyForm)
@error_handler(ask_data)
def save_data(self,**kw):
... code code ....
... code code ....
when I fill the form (I'm at /ask_data) and some validation fails, I
get redirected to /ask_data, but the url in the browser is /save_data
that happens always (e.g., in the FormsTutorial too). And the behaviour
is the expected, everything works fine. The only thing is the url; how
can I make it show the proper value (in this case, ask_data)?
Javier
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] widgets, validators, and urls Javier Rojas

