Thanks Mathias. So, when will that move of methods be done?
On 8/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > No, I mean you can create your own method for expanding the tree in your > backing bean and use some source code of the mentioned methods. > But as I said thats not the way it should be ... maybe we should move the > expand methods back to the TreeModel and leave the ones in UITreeData as > delegates. > If the functions are in the TreeModel you could then easily call them form > your backing bean. > > [EMAIL PROTECTED] schrieb am 25.08.2005 15:57:33: > > > Do you mean that my tree backing bean should implement the > > PhaseListener interface and be registered as a phase listener, so > > before render I could call the expandAll() method from the UITreeData? > > > 2005/8/25, Sean Schofield <[EMAIL PROTECTED]>: > > What about adding a phase listener to expand the nodes just before > > rendering? Or as I have suggested before, Shale's prerender method? > > > > sean > > > > On 8/25/05, [EMAIL PROTECTED] > > <[EMAIL PROTECTED] > wrote: > > > > > > Well its more a ugly hack than a solution, but as long as there are no > > > methods for that in the TreeModel you could mimic the behaviour with > > > customized code form the expandAll() and expandEverything() methods of > > > > UITreeData in your backing bean getter method that supplies the > TreeModel. >

