This content has been marked as final.
Show 2 replies
-
1. Re: How to not render empty rich:panelMenuGroup
akaine Jun 18, 2010 6:41 PM (in response to vestnik)1 of 1 people found this helpfulOption #1: declare boolean variables in the backing bean, calculate their value on Java level and set them as rendered values (could use a List<Boolean> for this to avoid multiple variables, in EL you get each element from the list like this: myBooleanList[index]).
Option #2: construct the whole menu programmatically (recommended) and bind the menu variable to the element (here's an example of something similar)
-
2. Re: How to not render empty rich:panelMenuGroup
vestnik Jun 19, 2010 6:42 AM (in response to akaine)First option looks not much better then calling permission check from EL in the template. I'll use the second option if there is no way to do what I want from template having "static" menu.