I've been having a weird problem with that. I submitted a ticket on it:
http://trac.turbogears.org/turbogears/ticket/1032
I also emailed the list about that earlier, but I got emailed back an odd error message. My message showed up on the group site, but I'm not sure if it ever got emailed out or not. (If it did, I apologize for the double-post.)
-Sam
On 7/17/06, Javier Rojas <[EMAIL PROTECTED]> wrote:
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
-~----------~----~----~----~------~----~------~--~---

