I use auto-application too, it would be good to use url regexp of
controller class in reverse, providing it parameters and thus
generating url.

I would like to see the snippet to use it in templator.


On Jun 28, 8:32 am, Roman Yakovenko <[email protected]> wrote:
> On Jun 24, 11:26 pm, Joshua Bronson <[email protected]> wrote:
>
> > On Mar 30 2009, 10:52 am, Michael Glaesemann <
>
> > [email protected]> wrote:
> > > Hi!
>
> > > I'm trying out web.py. When writing templates, I'd rather not hard-
> > > code URIs for form action or anchor href attributes: I'd like to be
> > > able to use functionality similar to link_to in Pylons and Rails. Is
> > > there a common (or maybe uncommon?) way of doing this?
>
> > > Michael Glaesemann
> > > [email protected]
>
> > I had the same question. Can anyone help?
>
> I also interested in seeing the answer for this question.
>
> I am developing a small application and decided to use auto-
> application(http://webpy.org/docs/0.3/apps/auto) feature. I plan in
> future to pass list of classes, that derives from app.page, to a
> template and thus to have access to the URL's.
>
> HTH

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to