Hi all

 

In my backing bean I’m able to dynamically construct the menu tree and it display well on my index.jsp page.

The ugly is that I cannot really recognise which menu item has been pressed by the user.

I know that a function call is made to the function passed in the action argument. I can for sure give the same function name to called for each menu node, but how do I recognise which menu node have been selected?

If I assign different functions to be called for each menu node I loose the dynamism of the menu solution, as I would have to touch the Java code each time a menu node is added or removed.

 

Might be I did not understand it right and would appreciate any tips and hints or an idea how to get around, in JMHO, this restriction.

 

Thanks for all inputs and helps.

Cheers

Roland

Reply via email to