OmegaMenu - menuitem is incorrectly active

Post Reply
cunda81
Posts: 10
Joined: 06 Feb 2013, 10:22

04 Jan 2017, 10:39

Hello,

the problem is,
when I get to a page, one menuitem has still get a class 'active-menuitem', although the page displays something different.

For example,
1. open: http://www.primefaces.org/omega/
2. navigate to page Components -> Data
3. close the window-tab
4. open: http://www.primefaces.org/omega/ in a new tab

The dashboard is opening, but the Data-menuitem is active.

What i want is, that no menuitem is activated on start.

Thanks in advance.
Primefaces 6.0, Primefaces-Extensions 6.0.0, MyFacesImpl 2.2.9,

User avatar
aragorn
Posts: 2658
Joined: 29 Jun 2013, 12:38

06 Jan 2017, 14:56

You can call PF('menuWidget').clearMenuState() method after logout or If you do not want the stateful feature, please remove everything in the restoreMenuState method.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest