It's somewhat impossible.  The content isn't stored as a string, but as a
large collection of objects representing different parts of the template as
well as components.  You're better off explaining what you want to do if you
want to avoid a blind alley.

It's a bit easier to get the renderered HTML after a component has rendered.

On 9/11/07, Todd Orr <[EMAIL PROTECTED]> wrote:
>
> I've been pulling my hair out over this problem. How do simply get the
> content of a component?
>
> usage given:
>
> <t:comp>
>     <p>Some content</p>
> </t:comp>
>
> I have found that it's quite impossible to get the content into a
> variable from within the component events.
>
> Any ideas?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Howard M. Lewis Ship
Partner and Senior Architect at Feature50

Creator Apache Tapestry and Apache HiveMind

Reply via email to