I'm using an Dinamic Menu JSCookMenu, using the navigation rulez.
in the action of menuitem set for example "listUsers"
Then into your tiles-faces-config.xml
<navigation-rule>
<navigation-case>
<from-outcome>listUsers</from-outcome>
<to-view-id>/listUsers.jsp</to-view-id>
</navigation-case>
</navigation-rule>
(Obviously i'm work with tiles).
--
Mariano G. Petrakovsky
Programmer � Software Factory
AXG Tecnonexo - www.tecnonexo.com
Development facilities:Av. Maip� 1252 8� (C1006ACT) � Buenos Aires �
Argentina.
Tel.: (54-11) 4878-0005 - Fax: (54-11) 4878-0065.
Headquarters: 1604 Spring Hill Road, Suite 160 Vienna � VA 22182 � USA.
Tel.: (202) 986-7541 - Fax: (202) 787-3891.
� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
� � � �
-----Mensaje original-----
De: Bruno Aranda [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 09 de Junio de 2005 10:14
Para: Klug, Boris
CC: [email protected]
Asunto: Re: Dynamic Menus with JSCookMenu
My bad, it is true... it is not a the 'normal' setAction() method.
Then, AFAIK JsCookMenu cannot be used for what you need, as, as you
told earlier, it cannot handle ActionEvents. It is a famous issue that
it is already on the table (some JIRA issues are open asking this), so
sooner or later this will be fixed...
Regards,
Bruno
2005/6/9, Klug, Boris <[EMAIL PROTECTED]>:
> Hi!
>
> Thanks a lot for you help
>
> > MyMethodBinding mb = new MyMethodBinding(value);
> > navItem.setAction(mb);
>
> navItem.setAction() wants a String as a parameter, no other class
welcome..
>
> --
> Boris Klug
>
>