Damn... I click reply to the author (which sends him an email) instead to
post the answer here... and he replied to me... I just leave the answers
here for reference:
I found another solution, without services:
in the html
<a href="{{=URL('Show_Linked_Page', args=[record.id,]) }}">Link</a>
and in the controler
ID = int ( request.args [0] )
cheers,
Stef
On 19-01-14 4:37, Jaime Sempere wrote:
I have just discovered "services" in web2py xD
When I needed to pass a parameter via link is in the classic way:
yourlink.com?myvar=value <http://yourlink.com/?myvar=value>
and then you can grab them using value=request.vars.myvar
Thats what you want to accomplish?
--
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.