You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Axel Karst <A....@chili-radiology.com> on 2006/10/30 16:16:12 UTC
NavigationMenuItem, dynamic action
Hi all,
is there a possibilty to pass another hidden command to the action
method of NavigationMenuItem? I want to create NavigationMenuItems in a
loop, going through an enum. The actions should also be dependant on
that enum. Now, the problem is that you can't pass parameters in EL, like
testItem.setAction("#{testpatternSelectorBean.doStuff(myEnum.VALUE)}");
<f:param> seems not to work, either.
Is there another way to pass a parameter to the backing bean, because I
want it to react dynamically, just like the menu was created dynamically.
Thanks in advance,
Axel