incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Rostanin <rosta...@dfki.uni-kl.de>
Subject Question: how long do the objects live?
Date Thu, 05 Apr 2007 14:20:30 GMT
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

Mime
View raw message