• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rendering Child Components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Rendering Child Components
      • From: Andrew Lindesay <email@hidden>
References: 
 >Rendering Child Components (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Rendering Child Components
  • Next by Date: Re: Rendering Child Components
  • Previous by thread: Rendering Child Components
  • Next by thread: Re: Rendering Child Components
  • Index(es):
    • Date
    • Thread