This content has been marked as final. Show 4 replies
you should have a single collectionmodel for the table.. and based on the node selected from the tree node you may render the column.. remember yo will have to have the expression for each and every column.
another approach is to dynamically/in programmatic way create the collectionmodel for the table when the node is selected from the tree
As I already have the tables built (from another jsf page), I would still like to use an approach to have all the tables on the page and depending on the selected node set the visibility of the table to true or false.This would work if the conditions are minimal. As you have the approach mentioned - Can you try and see how it goes for your use-case?
Do you think that this approach will not work?