sudarsanyes schrieb:
>   @expose(template="foo.templates.foo")
>   def foo(self):
>     self.bar = model.bar.select()
>     return dict(bar = self.bar)
> 
> Writing the above snippet and running the application will show me the
> foo page first time. But if i refresh the page (Pressing F5) in
> Firefox is showing me Pagenotfound error.

I see no reason why you use self.bar instead of simply bar, but I also 
see no reason why you should get a Pagenotfound. You probably need to 
show us your full controller module.

-- Christoph

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