I tried adding an action listener to the navigationMenuItem and the event I get in my listener gives me the HtmlCommandJSCookMenu object as the source instead of the MenuItem itself, so I can’t determine which item was selected. The strange thing is that the getValue method of the HtmlCommandJSCookMenu returns the label of the selected item. I hate to have to switch on the label though, because it’s bound to change.
Is this working as intended?
Thanks,
Richard
From: Eduardo Dudu Ivan Pichler <[EMAIL PROTECTED]>
Reply-To: MyFaces Discussion <[email protected]>
Date: Mon, 6 Feb 2006 14:25:46 -0200
To: MyFaces Discussion <[email protected]>
Subject: Re: JSCookMenu and <f:param>
not.
You need to use the nightly build of navigationMenuItem, such has actionListener feature.
On 2/6/06, Richard Frazer < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:
Is <f:param> supported in tandem with jsookMenu/navigationMenuItem? If not,
is there a way to achieve the same result?
thanks.
--
Dudu
`P

