aspose file tools
The moose likes JSF and the fly likes problem with setTransient(true) jsf Tree component Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply locked New topic
Author

problem with setTransient(true) jsf Tree component

raghavendra pattar ramdurg
Greenhorn

Joined: Mar 08, 2007
Posts: 4
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

Joined: Feb 05, 2001
Posts: 17234
    
    1

Please don't duplicate post. I am closing this thread because you already have a copy of this topic/thread already.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: problem with setTransient(true) jsf Tree component
 
Similar Threads
JSF tree component getting rendered before action method call (richfaces)
Can anyone explain the function of CellEditor getCellEditorValue() please
Setting selected node of a rich:tree dynamically
I could not expand myfaces tree
setTransient(true) with jsf tree component