Sean, I'm trying to do this. I thought I'd give it a quick try but I've spent too much time on this already I think I will have to switch to plan B soon.
Anyway, I created tree2table renderer and tag. The main problem with client-side collapse/expand is that html span doesn't work interspered among table rows. Hiding the rows themselves is possible but the javascript has to hide/show each row individually (many rows versus the current hiding on just a single span element). So a rewrite of the javascript for treeNavClick is needed. I found that I actually needed to override the encodeTree method because I need to modify the writing out of span elements. The table columns btw, I'm thinking will have to be defined as <column> tags within the tree2table. It is easy enough to cache the column components so that they can be rendered for each node of the tree. But I haven't made it work to render real columns yet, just hardcoded columns. -----Original Message----- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 8:07 AM To: MyFaces Discussion Subject: Re: Re: tree component & folder icon With a little bit of work one could write a treeTable2. I've done some of the work on that as outlined in an earlier thread. Good luck. If you decide to try it with tree2 let me know. sean *********************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. ***********************************************************************

