Dynamic nested submenu's

Post Reply
Posts: 10
Joined: 06 Jun 2016, 09:44

27 Feb 2017, 02:37


I am trying to add a submenu to a submenu in a dynamic menu model.
Code seems to work but the nested menu is not collapsing.

Below is the code:

Code: Select all

DefaultSubMenu submenu1 = new DefaultSubMenu("Submenu 1");
DefaultSubMenu submenu2 = new DefaultSubMenu("Submenu 2");
DefaultMenuItem item = new DefaultMenuItem("Menu Item 1");
Items in submenu 2 is collapsing. but the submenu 1 itself is not collapsing.

Appreciate your help!

I am using
PF 6.0.12

Post Reply

Return to “Olympos”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest