Bookmark Topic Watch Topic
  • New Topic

problem with setTransient(true) jsf Tree component  RSS feed

 
raghavendra pattar ramdurg
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't duplicate post. I am closing this thread because you already have a copy of this topic/thread already.

Thanks

Mark
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!