activeOnViewIds toggleActive does not work properly
---------------------------------------------------
Key: TOMAHAWK-1359
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1359
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Panel Navigation2
Reporter: Markus Alvermann
We are using commandNavigation2 with the proprety activeOnViewIds to prevent
the menu from collapsing if we use a button to navigate on the next side
(instead of the panelNavigation2).
Unfortunately the property only works if you enter exactly on jsp. If you use
more than one jsp, the toggleActive method overwrites the active state for
every every jsp present in the activeOnViewIds-property, i.e. the pages
a.jsp;b.jsp;c.jsp are in the property and you navigate to b.jsp the else branch
in toggleActive sets the activity to false for.a.jsp than works properly for
b.jsp but for c.jsp the active state is set to false again.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.