Hi

Adding a bit to this :

I tried the following with JSCookMenu :

...
                                <x:navigationMenuItem id="showme"
        
itemLabel="#{bundle.showme_menutext}" action="#{theBean.doAction}">
                                        <f:attribute name="selval"
value="A1"/>
                                </x:navigationMenuItem>
...

and then in the doAction method
...
                String selval = (String)
FacesContext.getCurrentInstance().getExternalContext().getRequestParamet
erMap().get("selval");
...

however selval returns null.

Is this intended ? I.E adding an attribute to a navigationMenuItem has
no effekt ?

Hermod

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 3:34 PM
To: myfaces-dev@incubator.apache.org
Subject: JSCookMenu/NavigationMenuItem and MyFaces


Hi

How do you add request parameters to a NavigationMenuItem, or is that
not all possible.

Hermod


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group
cannot accept any payment orders or other legally binding correspondence
with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *

Reply via email to