Re: Rendering Child Components
Re: Rendering Child Components
- Subject: Re: Rendering Child Components
- From: Chuck Hill <email@hidden>
- Date: Fri, 9 Feb 2007 14:07:40 -0800
Can you explain that a bit more? If there is no template, how are
there child components? Are you creating them yourself? Things like
WOConditional maintain an array of their children and iterate over it
calling appendToResponse...
You might want to have a template that consists only of WO Tags, with
no HTML. Then you could implement appendToResponse like:
// Generate your components opening HTML here
super.appendToResponse // Generates contents from children
// Generate your components closing HTML here
Chuck
On Feb 9, 2007, at 1:49 PM, Andrew Lindesay wrote:
Hello;
I'm writing a component where all of the component is rendered in
code as opposed to a template during "appendToResponse(...)" -- can
anybody tell me if there is a right way (not using a
"WOComponentContent" component) to render the child components
programatically?
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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