Hello,
I'm creating a programmatic menu using DefaultMenuModel class. In the menu I add both menu items with model.addMenuItem( ); and submenus with model.addSubmenu( );
The problem is that submenus always are rendered first (at the top) of the menu, even though I am adding them after the menu items. Can I make them appear in the order they are added or at least bellow menu items?
I am using primefaces 2.2.1
thanks,
Ignacio
Order of submenus and menu items in Programmatic menu
I was looking for the answer for this and haven't found anything. It still applies to PrimeFaces 3.0.
It looks like the issue is that the submenu list is called first then the menuitem list is called. This looks like it requires a change to the way the menumodel works. Is this a planned change down the road?
Thanks
It looks like the issue is that the submenu list is called first then the menuitem list is called. This looks like it requires a change to the way the menumodel works. Is this a planned change down the road?
Thanks
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
-
- Information
-
Who is online
Users browsing this forum: No registered users and 32 guests