Hi Jonathan, I've been banging my head on this all day, how do I get _next to work?
On Tuesday, 4 February 2014 13:49:50 UTC-5, Jonathan Lundell wrote: > > On 4 Feb 2014, at 10:32 AM, Annet <[email protected] <javascript:>> > wrote: > > Notice extra ' before 'URL > > > When I remove the ' ' around the URL > > <a class="btn btn-default" onclick="javascript:openwindow('{{=URL('cms', > 'default', 'user', args=['login', request.args(0)], > vars=dict(_next=URL('cms', 'group', 'connect', args=request.args(0))))}}', > 'connect')" role="button">Login</a> > > The button is rendered the following way: > > <a class="btn btn-default" role="button > "onclick="javascript:openwindow('/cms/'default/user/login/4?_next=%2Fcms%2Fgroup%2Fconnect%2F4', > > 'connect')" >Login</a> > > The first =URL converted to a url the second =URL is not. > > Is what I want not possible? > > > It's a URL; it's just %-escaped because it's in a query string (vars). > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

