[ http://issues.apache.org/jira/browse/MYFACES-438?page=comments#action_12320046 ]
Mathias Werlitz commented on MYFACES-438: ----------------------------------------- Thinking more about the problem because I now hav a similar issue with my application a have a new idea: we should implement #1 and extend the preserveToggle function of tree2 to server mode as well in the following way: 1. if the TreeState is transient and preserveToggle is true than save the sate in the requestMap with the id of the tree at the end of decode() 2. try to restore the TreeState from request in encodeBegin if there is on for the id of the tree and preserveToggle is true This would free the user from a session scoped TreeState, allows to preserve the toogle also in server mode and makes #2 of the previous comments unnecessary > [tree2] Selected node is lost when navigating to another page > ------------------------------------------------------------- > > Key: MYFACES-438 > URL: http://issues.apache.org/jira/browse/MYFACES-438 > Project: MyFaces > Type: Bug > Components: Tomahawk > Versions: Nightly Build > Environment: Window 2000 pro, JSF, Sun RI, Nightly Build 09-Aug-2005 > Reporter: Marc Vandeloise > Assignee: sean schofield > > I have the preserveToggle=true which is supposed to keep the state > of the tree2 navigator when openning another page... but it always > collapse... > The issue still persist with Nightly Build 19-Aug-2005 > From: Sean Schofield <[EMAIL PROTECTED]> > --- > There was a recent change to tree2 that may have broken this feature. > Are you using a recent (with 7-10 days) version of the source code? > If so, then please file a JIRA issue. This is most likely a bug that > was introduced by the new TreeModel and TreeState interfaces. > sean > ------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
