Thanks for testing! I will not touch the index strings, promised. Cheers Thomas
On 11/11/05, Roland Oertig <[EMAIL PROTECTED]> wrote: > > Thanks Thomas, it works perfectly. > > I have only one wish. Please keep the menu node indexing (zero base) and > index string you return as it is now, because, you know, I and for sure > others, defined or will define a split pattern to extract the node > information based on the actual string content. > > You must a great weekend! > Cheers > Roland. > > > -----Original Message----- > From: Thomas Spiegl [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 9. November 2005 21:39 > To: MyFaces Discussion; [EMAIL PROTECTED] > Subject: Re: Usage of PanelNavigation2 > > You can use the NavigationMenuItems.setActionListener to add an > ActionListener to your NavigationMenuItems You will need to checkout > the current version of MyFaces to get this feature. > eg. navigationItem.setActionListener("#{yourBean.actionListener}"); > > YourBean > ... > public String actionListener(ActionEvent event) > ... > > regards > Thomas > > On 11/4/05, Alberto Molpeceres <[EMAIL PROTECTED]> wrote: > > Hi, > > > > We are using PanelNavigation2 to show a menu of actions. We have > > populated the menu and works pretty well. It gets rendered and it > > calls backing bean methods as expected. But since we create this menu > > dinamically in a backing bean, we can't define a diferent outcome for > > each menu entry in faces-config.xml. > > > > So, how can we know in the destination JSP which option has been > > selected?. Can we pass any kind of parameter to the NavigationMenuItem > > and retrieve it in the method given as "action" parameter?. > > > > Thank you very much for your attention, > > > > al. > > > > > -- > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

