I have added a Cutom Managed Bean Class and Returning boolean value to Control Render property which is working. But now i want to add business Logic based on 'parent.ItemName' or 'parentNode' Values in the bean method to return proper Boolean value.
But i am unable to get the Current Iteration values in the bean method.
I am using below EL expressions to get the values. But no luck.
Third option i have tried is to add a dummy Outputtext and have assigned #parent.Code as Value. Idea is to find Component of OutPut text in managed Bean and get the value of it. If Value is say "Model" i want to add more Logic and return true/false accordingly. In this also, i am getting all occurences of Output text in Managed bean and i a unable to identify Current Iterator Index.
Any help is highly appreciated on how can i render Command link Conditionally based on forEach Loop values and Index.