Hi all,
I am working on a application using the context menu in the datatable from PrimeFaces 3.0.M4
If i define the context menu in the xhtml i can use the following:
But i need to generate the context menu from the backingbean, i use the following:
But MenuItem#addActionListener takes a class impementing ActionListener as parameter. How can i assign the dynamically generated menuItem to my simple method #{agenda.doEditButton} like i do from the xhtml?
Gert Jan Kruizinga.