Great to see people reading the documentation.

You're seeing a work in progress, documentation and code.

In the short term; the T4 style templates will return (using, probably, a
t:id and t:type, rather than the combined jwcid).

In the medium term, T5 will have a preview mode for pages that should be
more useful, practical, and satisfying than the T4 approach.

On 9/13/06, balduran bu <[EMAIL PROTECTED]> wrote:

Howard,



In T5 Component Templates
<http://tapestry.apache.org/tapestry5/guide/templates.html> , it is
really a surprise to see the return of tag style template. The usage of
<t:comp> and <t:body>, reminds me of JSP/JSF times. I cannot understand
why you turn away from jwcid attribute. Please allow me to quote some
document from T4 Template
<http://tapestry.apache.org/tapestry4/UsersGuide/template.html#template.
contents> :

The goal is to allow you to preview your HTML templates using a WYSIWYG
HTML editor (or even an ordinary web browser). The editor will ignore
the undefined HTML attributes (such as jwcid).

A larger goal is to support real project teams: The special markup for
Tapestry is unobtrusive, even invisible. This allows an HTML designer to
work on a template without breaking the dynamic portions of it.
Importantly, the designers can work with their normal tools and editors.
This is completely unlike JSPs, where the changes to support dynamic
output are extremely intrusive and result in a file that is meaningless
to an HTML editor.

And in T5, are these two goal no longer supported?



Regards,

Balduran





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to