• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rich:treeNode won't reRender with their tree

 
Adam Cohen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm modifying someone else's code (initial development was farmed out to a company that's been bought out and they've already handed over maintenance to us). I'm trying to add a status icon to my tree's nodes but for whatever reason the tree doesn't want to display new information until I navigate away from the page and back.


I've tried binding balancedImg to a method in the backing bean but didn't have any better luck. My tree appears to get reRendered (the area of the screen is definitely redrawn) but none of the node data ever seems to get updated (including addition and deletion of nodes). The only exception to this is that through a selectListener I can update the name (but status changes to the selected node can propagate through the tree and parent:child is many:many so the entire tree may be in need of an update if modifying a leaf node). I've added a button to rebuild the tree which again redraws the area on the screen, but the nodes still display any of the changes.

I've tried replacing icon and iconLeaf to see whether I'd have better results with that, but they won't reflect the changes either.

I've attached a small .png to illustrate what it looks like.

Any help would be most appreciated.
example.png
[Thumbnail for example.png]
Tree
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic