This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I think the easiest way to do it is with URL parameters so that you don't require a hidden
input field. As a starting point you have a commandButton (you use a commandLink with a
right click but ignore that):
Then you need to be able to access the parameters in the page. There is an implicit object "param" for
You can access the parameter from the editPage backing bean also:
There are some significant limitations of this simple example, whilst menuContents is passing
parameters to editPage it's all static data. You can pass parameters to menuContents.xhtml like
I hope this is going to be of some help.
Joined: Dec 22, 2010
Thanks for replay,
1) tree in which tree node is defined as commandlink.
2) When I right click on tree node, I'll get menupopup which is having options like Open, Deleet etc.
3)When I click on any option, I have to get the selected Node and the menuitem value in backingbean for next process.