Yes, 'cos afaik this first doesn't work with older web2py. And also i wanted to show that args can be list
On 12 Lut, 15:04, mdipierro <[email protected]> wrote: > it is the same > > On Feb 12, 7:25 am, Kacper Krupa <[email protected]> wrote: > > > {{= URL(r=request, c='controller', f='function', args='#arg') }} > > or > > {{= URL(r=request, c='controller', f='function', args=['#arg']) }} > > > ? > > > On 12 Lut, 13:52, cjparsons <[email protected]> wrote: > > > > I have a page that contains mainly text information in the view > > > arranged in sections with <h2 name="secname"> labels. I've not put it > > > in 'static' because I want to use views/layout.html. > > > > How can I link from another page to a particular section? I've tried > > > putting '#secname' at the end of the f= parameter in {{=URL(...}}, not > > > surprisingly without success. I guess I could pass the anchor as an > > > argument and then redirect, or collapse/expand the sections in > > > javascript but I'm hoping there's an easy way. > > > > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

