Hello all,

I'm working with an app that has a component to display a list of
objects. Part of the display of each object is the date (a field from
the object), and I'd like to make the rendering of that part flexible.
Normally a dateformat component would do, but in this case it's not
enough because in the initial release the month, day, and year need to
be in their own <div>. So I'd like to be able to pass a component to my
preview component. The rendering component will render within a loop.
Normally this would look like:

<t:loop source="posts" value="post">
    <t:dateview value="post.date"/>
</t:loop>

I've used a mythical component named 'dateview' here. In reality I want
this to be a component of an unknown type that will use the MarkupWriter
to generate the markup as it wants. Note that a simple t:block won't do
because I need the MarkupWriter. Any clues?

thanks,
chris

-- 
http://thegodcode.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to