I don't know what is the previous page because this page can come from 
different pages...this is the problem...I want to reference the previous 
page... thank you

Il giorno martedì 10 gennaio 2017 11:48:42 UTC+1, Áureo Dias Neto ha 
scritto:
>
> example:
>
> form.add_button("Annulla",URL('default','index'))
>
> 2017-01-10 8:47 GMT-02:00 Áureo Dias Neto <[email protected] 
> <javascript:>>:
>
>> with this:
>>
>> form.add_button("Annulla",URL( 'CONTROLLER' , 'FUNCTION_NAME' ))
>>
>> 2017-01-10 8:44 GMT-02:00 Andrea Fae' <[email protected] <javascript:>>:
>>
>>> I have this situation
>>> form = crud.update(db.pc, pc, onaccept=crud.archive, deletable=False, 
>>> next='lista_pc')
>>> form.add_button("Annulla",URL('lista_pc'))
>>>     
>>> I want that button "annulla" go in the previus page, not in the 
>>> 'lista_pc'.
>>> How to do?
>>> thank you
>>>
>>> -- 
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

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