Am trying to save a URL and its vars so user can go back to that page later
after some intermediate hops. The saved_vars = request.get_vars get
somehow saved as "storage" and referencing them doesn't return the vars
when user returns to the page.
How to access "storage", or, find better way to save the vars in a field?
{{=A('Add this page to your bookmarks or manage bookmarks',
_href=URL('default', 'manage_menu_favorites', vars=dict(specificURL =
request.url, saved_menu_vars = request.get_vars)), _class='btn
btn-warning',
_style='font-size:120%;float:right;padding:10px;margin:10px;text-transform:
capitalize;')}}
Cannot predict what vars will be required because the bookmarks function
appears on all pages and some pages have different var requirements. So
would like to just get all of them generically via request.get_vars
thanks
Alex Glaros
--
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.