This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

problem with setTransient(true) jsf Tree component

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.
Posts: 17346
Mac IntelliJ IDE 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.


When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
    Bookmark Topic Watch Topic
  • New Topic