You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-dev@incubator.apache.org by Oleg Rostanin <ro...@dfki.uni-kl.de> on 2007/04/10 08:53:11 UTC

Problems with TreeTable #2, please help

Hi all,

I have a page smartflowMainFrame.jspx with a

<tr:treeTable var="node"
                               value="#{WorkListPageBean.model}" 
rowSelection="multiple"
                               binding="#{WorkListPageBean.workItemsTree}"
...

in it.


The problem is the following: the user1 logs in and sets focus on a 
certain subtree in the tree. The user1 logs out and session is 
invalidated. The bean WorkListPageBean is destroyed.

If after that the user2 logs in in the same browser window he/she gets 
an InvalidArgumentException.

The reason is that the instance of the CoreTreeTable class that 
corresponded to the binding #{WorkListPageBean.workItemsTree} in the 
session of user1 was not destroyed with the instance of WorkListPageBean 
and is tried to be assigned to the new binding.

The Question is - when are these binding objects being destroyed?
Or how can one reset the internal CoreTreeTable state (e.g. when logging 
out)?

Thank You

-- 
Oleg Rostanin