problem with setTransient(true) jsf Tree component
raghavendra pattar ramdurg
Greenhorn
Joined: Mar 08, 2007
Posts: 4
posted
0
Hi , I have created a dynamic Java Server Faces tree . We have an ABC interface which will contain the tree on the server side. I will get the same tree noodes in the form of extensible markup language and parse then construct the tree. If any tree node is added or deleted from the ABC interface i am getting the response with updated tree nodes. Since the tree is not changing it's state even after getting the updated response.So I am using tree.setTransient(true) . I am using treeSelectionHandler()(user defined method) --->whenever I click any node that will be replaced with check image . I am using tree.setTransient(true) inside some submit button. When i come back to tree page first time the tree state will be refreshed but no other action ,ie If I click for the first time only refresh (no check image) for the second click I am getting the image on the tree node. Please suggest me the solution for this. -raghu