Check this wiki http://wiki.apache.org/myfaces/Dynamic_Menus_with_JSCookMenu for adding items to navigationMenuItems.

 

-----Original Message-----
From: Thomas Spiegl [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 13 December 2005 6:25 AM
To: MyFaces Discussion
Subject: Re: dynamically adding entries panal navigation

You can "dynamically" create your menu items by using t:navigationMenuItems value="..."

Note: The value binding will be evaluated if and only if the menu is not present in the current view.
Typically this will happen when the menu is rendered the first time. Hence the menu-tree will keep the same.
If a navigation to a new page takes place & the new page contains the same panelNavigation2 component (same clientId),
then the panelNavigation2 component and it's state will be copied from the previous view.

HTH
Thomas

On 12/12/05, Balasubramanian R <[EMAIL PROTECTED]> wrote:
Hi,
 
Can you please explain the steps to create "dynamically adding entries panal navigation 2" in myfaces.
 
Bala
 



--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces
This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient.
Any opinions expressed in this message are those of the individual sender except where the sender expressly,
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.

Reply via email to