On Wednesday 01 October 2008, Jim wrote:
> Hi, I wonder if anyone can help me it seems one of my form handlers is
> being called twice and I'm not sure why
> Basically I have whittled it down into
>     @expose()
>     def admin(self):
>         return "Hello World!"
>   @expose()
>     def GO(self):
>         log.debug('Called')
>         raise redirect("admin")
>
> Now "Called" appears in the log twice. At first I blamed error
> handling but taking out all decorators doesn't change it and printing
> out tg_erros shows it as None.
>
> Anyone have any ideas?

Can it be you're using Safari as Webbrowser?
I have such an issue with certain versions of Safari, where the form gets 
called first all OK with all parameters intact and the second call comes in 
without any parameters. I wasn't able to figure out why this happens, but I 
do know it only happens for certain Safari versions on my website.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to