Re: Rendering a tree view in WO
Re: Rendering a tree view in WO
- Subject: Re: Rendering a tree view in WO
- From: Mark Wardle <email@hidden>
- Date: Fri, 6 May 2005 20:03:30 +0100
On 6 May 2005, at 17:52, Bruce Kerns wrote:
Does anyone have any pointers to information on how to go about
rendering a HTML dynamic tree view in WO?
I just use a custom component which uses recursion. Add a hasChildren
() method to your EO and use that in a WOConditional and then
recursively place your custom component. Bind your list of subobjects
to a WORepetition and away you go. I also use some fixed size images,
and the obligatory + and - images to draw the tree.
Don't know whether this is the "right way", but it works.
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden