On Wednesday, May 7, 2014 4:00:33 AM UTC-4, Paolo Valleri wrote:
>
> The workaround of the hidden fields seems to be much more complex for this 
> simple issue, isn't it?
> In this specific case, we make a search in my point of view the most 
> appropriate action should be a POST since we submit data to be processed. A 
> drawback of that change will be that with the post, a user is not able to 
> bookmark the search result.
>

In addition to not allowing bookmarking, POST will cause problems if the 
user does a refresh or hits the back button (i.e., the browser will ask if 
you want to re-submit the form data). Anyway, I think the hidden fields 
could be added with a few lines of code, so shouldn't be too complex.

Anthony 

-- 
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.

Reply via email to