Board index Premium Layouts and Themes Omega Omega - PrimeFaces OmegaMenu - menuitem is incorrectly active

OmegaMenu - menuitem is incorrectly active

JSF and PrimeFaces version


Posts: 10
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,


Posts: 1963
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.


Return to Omega - PrimeFaces