Hello Chuck;

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...

I'll see if I can make myself more clear; it is a re-usable component that wraps content. Here is a fictitious page illustrating this;

<HTML><BODY>
<WEBOBJECT name="WrapperComponent">
<P>Hello there <WEBOBJECT NAME="YourName"></WEBOBJECT>.</P>
</WEBOBJECT>
</BODY>
</HTML>

To achieve an implementation of such a wrapper component I would usually stick a "WOComponentContent" into the template for the wrapper, but in this case (since I am generating almost all of the content in java-code) I was thinking that if I could do this programatically it might be better. I suppose what the "WOComponentContent" does is renders everything between ...pperComponent"> and </WEBO... but I am unsure of the mechanics around which "WOComponentContent" is able to get this material from the parent.

cheers.

___
Andrew Lindesay
www.lindesay.co.nz



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to