Nick Murdoch schrieb:
> Disrupt07 wrote:
>> I need my controllers to support the following type of URLs:   /view?
>> id=5&page=10
> 
> def view(self, id, page):
>       ....
>       #magic
>       return dict()
> 
> 
> I'd suggest you read through the 20 minute Wiki tutorial. It covers the
> basics like this.

I think, he means that he needs to construct those urls in the template.

>>> import turbogears
>>> help(turbogears.url)

turbogears.url() is available as ${tg.url()} in your templates, see

http://docs.turbogears.org/1.0/stdvars

Chris

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