Massimo,
Thanks for your reply.
I tried:
<p class="text-center"><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())'))}}', 'connect')" role="button">Login</a>
But that gives me the following error:
Traceback (most recent call last):
File "/Users/annet/web2py/gluon/restricted.py", line 216, in restricted
ccode = compile2(code, layer)
File "/Users/annet/web2py/gluon/restricted.py", line 199, in compile2
return compile(code.rstrip().replace('\r\n', '\n') + '\n', layer, 'exec')
File "/Users/annet/web2py/applications/init/views/default/test.html", line 91
response.write(URL('cms', 'default', 'user', args=['login',
request.args(0)], vars=dict(_next='URL('cms', 'group', 'connect',
args=request.args())')))
^
SyntaxError: invalid syntax
Kind regards,
Annet
--
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/groups/opt_out.