I simply use javascript for a button. In my <select type=button> code,
I put a on-click="javascript to open link to {{=URL()}}"On Oct 20, 9:59 pm, mdipierro <[email protected]> wrote: > 3) URL builds the url to the action /app/controller/function, > request.application is the name of the current application so that the > link does not break if it is renamed > > 2) it is a flag that should be set to True if the menu item should be > selected. The default layout does not use this flag but some layouts > may give a different class (color/style/background) to a selected menu > item. > > On Oct 20, 11:31 pm, Checho <[email protected]> wrote: > > > Thanks for your answer Massimo! > > > Can you explain me in this statement which are the parameters??? > > > "[T('Change Avatar'), False,URL(request.application,'default','user/ > > change_password')]" > > > 1. I supose de 1st parameter is the name of the option in the menú. > > 2. What does it mean having False instead of True??? > > 3. In URL, where is redirected the user after clicking there which is > > the meaning of "request.application"? > > > Thanks...again --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

