> How about just FacesContext.addmessage("The selected item no longer
> exists."). Then the end user can display the message or not. Just because
> one branch or leaf was deleted doesn't mean the tree is gone (and even it it
> was that's a use case). The above is way to handle errors recommended in the
> J2EE Tutorial JSF chapters.That might be a good option. What about a message in addition to a log statement. This might be the kind of thing the developer would care about as well (if its not expected.) > I have to read up on bundles but I'd think there was a way to add a message > as a key so an end user can just put it in their bundle and get a custom > message out. I don't know much about it either. But no better time to learn than the present. Also, I believe you can associate the message with a specific component. > The reason that I encountered it is that I wrote example code that randomly > generates the tree every time the page loads so I could test whether or not > the tree would survive in my actual application. Well that explains it. I figured there was a logical explanation :-) > Rob sean

