I just modified the old Any component to make even better previewable
templates possible. Source code has been updated here with an example:
http://wiki.apache.org/tapestry/Tapestry5AnyComponent

Here's the simple example.
<h3 t:type="Any" t:body="item.itemName" class="itemClass">Example Item</h3>

Of course the body can use expansions too:
<td t:type="Any" t:body="${some.property} ${message:sale}">Item (SALE)</td>

With this and the Image component, basic templates can be nicely previewable
and hopefully editable by an HTML designer. ;-)

Cheers,
Nick.

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

Reply via email to