I am not sure what are you trying to achieve here.
You can associate every Navigation Item with an action method which will be
called when the user clicks on the link in the menu

On 1/26/07, legolas <[EMAIL PROTECTED]> wrote:


Hi
Thank you for reading my post.
I have created a dynamic navigation panel using panelNavigation2  and
several NavigationMenuItem.
I have created a list of navigationMenuItem in backend and use it in GUI.

now my problm is that, I need to perform some action based on user input
which is a selected menuItem.

imagine that i have created a category of products using
panelNavigation2  ,
a user come to my web page and view the page and then select one of
NavigationMenuItems, now i should be able to understand which menuItem has
pressed to show correct information to my users.

for example if i could do the following procedure, my problem will be
resolved.

-Assign a number to each NavigationMenuItem (equal to each category
primary
key) and then retrieve that number in the action listener assigned to
NavigationMenuItems.

any other do-able solution is good for me.

Thanks.
--
View this message in context:
http://www.nabble.com/how-i-can-identify-which-menuItem-has-selected-in-backend--tf3118684.html#a8639997
Sent from the MyFaces - Users mailing list archive at Nabble.com.




--
When I tell the truth, it is not for the sake of convincing those who do not
know it, but for the sake of defending those that do

Reply via email to