This content has been marked as final.
Show 4 replies
-
1. Re: Dynamic menu rendering in Richfaces 4
bleathem Oct 9, 2013 2:05 PM (in response to uipko)Have you tried using a4j:repeat?
-
2. Re: Dynamic menu rendering in Richfaces 4
uipko Oct 22, 2013 8:04 AM (in response to bleathem)Thanks for the quick reply!
I din't try this before, I've tried this now and it also doesn't work. Probably the same issues as with the ui:repeat, rich:menuItem has to be a direct child of rich:dropDownMenu. Do you have any other solutions? The nly thin I can think of is building a custom dropDownMenu.
-
3. Re: Dynamic menu rendering in Richfaces 4
bleathem Oct 24, 2013 9:57 PM (in response to uipko)c:foreach should work provided your list of menu items is static. You can also file a feature request to have the menuItem work with the a4j:repeat (we recently did this for the toggle components).
-
4. Re: Dynamic menu rendering in Richfaces 4
uipko Nov 6, 2013 11:13 AM (in response to bleathem)c:foreach works for the menu but breaks the partial state rendering which brakes the datascroller on the same page.