Hello,

I have this function

def check_only_one_selection(ids, destination):
    # type: (List[int], str) -> None
    """Check only one selection in grid.

    :param ids: List of Ids.
    :param destination: Destination page if one selection was made.
    """
    if len(ids) > 1:
        session.flash = T('Select only one record.')
    else:
        redirect(URL(destination, args=[ids[0]])



and would like it to open the it's view on another web page (not the same 
from where it was called).
Something similar to this
<a target="_blank">

but without using A.

Is it possible?

Thanks.

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