Ok, in trunk, this should work:

response.menu = [
    (T('Home'), False,
A('hello',_href=URL(request.application,'default','index')))
    ]

Please let me know since I did not check it.

On Nov 3, 5:52 pm, Martín Mulone <mulone.mar...@gmail.com> wrote:
> Or pass an A() instead of a url and you have all the elements.
>
> 2010/11/3 mdipierro <mdipie...@cs.depaul.edu>
>
> > I guess we can modify MENU so that is we pass a fifth argument, it
> > will be used for _onclick
>
> > On Nov 3, 4:43 pm, "Martin.Mulone" <mulone.mar...@gmail.com> wrote:
> > > I want to pass to classical menu
>
> > > response.menu = [
> > >     (T('Home'), False, URL(request.application,'default','index'),'',
> > > [])
> > >     ]
>
> > > something like _onclick="" to make an ajax call. I implement myself my
> > > own menu class, but broke the compatibility. There are any way to do
> > > this?, because is very usefull to have this.
>
> --
> My blog:http://martin.tecnodoc.com.ar
> My portfolio *spanish*:http://www.tecnodoc.com.ar
> Checkout my last proyect instant-press:http://www.instant2press.com

Reply via email to