It's sort of possible using response.js = "window.open(url, '_blank')" 
however any modern browser will consider this a popup and block it because 
it's a window.open that's not coming as a direct result of a click, you can 
then move a step forward fighting with the user's browser preferences and 
instead of using window.open you send javascript that creates an A element 
and clicks it, or even a form that submits to another page.  
  
Don't do this, it won't work reliably. Depending on what you're trying to 
do a good alternative can be to use a modal, or putting a _target="_blank" 
in your form so it submits to a new window.

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