Adam Cohen

Greenhorn
+ Follow
since Dec 12, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adam Cohen

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.
11 years ago
JSF