On Jun 9, 9:00 pm, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote:
> On 6/9/07, Techniq <[EMAIL PROTECTED]> wrote:
>
> > if I have a the following for loop:
>
> > <py:for each="p in range(10)">
> > <a href="${h.url_for(controller=' foo', action='bar', page=p)}">
> > $p</a>
> > </py:for>
>
> > It appears that 'p' cannot be used in the ${ ... } block. if it can,
> > how? if not what other options do I have?
>
> It works for me. I assume you're using Genshi. By the way, I noticed
> that you have a space in controller=' foo'. Is that in your code too?
>
> Best Regards,
> -jj
>
> --http://jjinux.blogspot.com/
hmm, the space is a typo in the post. But interesting that it works
for you, it's not working for me. I'll try it again.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---