[ http://issues.apache.org/jira/browse/MYFACES-438?page=comments#action_12319702 ]
Mathias Werlitz commented on MYFACES-438: ----------------------------------------- 1. On possible soultion would be to move the _selectedNodeId field in HtmlTree to the TreeState. That would save the selected node along with the TreeState. This issue is not only related to client-side toggle. But that would not solve the problem immediatly. The user would have to provide a session-scoped TreeModel to have the state including the selected node restored also in another page. 2. Second idea would include the selected node in a cookie, that can be restored. 3. We could also reenable the old commented out behaviour of HtmlTree (decode and encodeBegin) to store the state additionally in the session if the user has preserveToggle enabled ... but somehow i dislike this solution Maybe a comination of 1) and 2) is the right way? > Tree2 in ClientSide the 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 > Fix For: Nightly Build > > 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
