Is there any way to know which tab from the list is clicked in accordion panel in JSF Primefaces??
I need the property in the bean.
For eg: I have lstofItems<Item> on accordion panel tabs. If i click on one tab, i need a property Item clickedItem to be set to that value. I need it to load the data for that tab from DB.
Is there any way ? Maybe using PropertyActionListner or something else. I thought about propertyActionListner but couldn’t figure out where to place it. Any suggestion ???
Thanks
The view:
The managed bean: