You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jan Vissers <Ja...@cumquat.nl> on 2007/03/28 10:52:48 UTC

T5 - HTML Templating

A very simple question (although I'm not to sure, whether everybody 
feels that way).

One of T4's key points, is the fact that basic HTML can be used and
maintained by a web designer, and a developer can go an take that
HTML and instrument it, so Tapestry at runtime kicks in.

Is this still a major concept in T5?

Thanks,
-J.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Peter Dotchev <do...@gmail.com>.
Here is a comment from Howard on his blog.
http://tapestryjava.blogspot.com/2007/02/t5-screencast-4-beaneditform.html#comment-8358363237605682208
http://tapestryjava.blogspot.com/2007/02/t5-screencast-4-beaneditform.html#comment-8358363237605682208 


Jan Vissers wrote:
> 
> A very simple question (although I'm not to sure, whether everybody 
> feels that way).
> 
> One of T4's key points, is the fact that basic HTML can be used and
> maintained by a web designer, and a developer can go an take that
> HTML and instrument it, so Tapestry at runtime kicks in.
> 
> Is this still a major concept in T5?
> 
> Thanks,
> -J.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/T5---HTML-Templating-tf3479074.html#a9729713
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Jan Vissers <Ja...@cumquat.nl>.
Thanks a lot for this answer.



> Tapestry 5 (as of 5.0.3) supports two forms of templating:
>
> <span t:id="foo" t:type="bar" ...>
> </span>
>
>
> and
>
> <t:bar t:id="foo"> ...
> </t:bar>
>
> The former version is more cluttered, but more Web designer friendly.
>
> The latter version reads "nicer" for coders who don't care about Web
> designer friendly.
>
> You are, of course, free to mix and match. This is one of the few
> areas in Tapestry where I think it is important to leave choice to the
> user. Like curly braces in Java code, some people are emphatically in
> one camp, or in the other. So be it.
>
> A component can "know" the tag used to represent it in the template;
> some components (such as If and Loop) automatically adapt ...
> mimicking the tag and rendering informal parameters.
>
> Note that 5.0.2 had a different variant, <t:comp>, which has been
> removed in favor of form #2.
>
> On 3/28/07, Massimo Lusetti <ml...@gmail.com> wrote:
>> On 3/28/07, Jan Vissers <Ja...@cumquat.nl> wrote:
>>
>> > Is this still a major concept in T5?
>>
>> I think so.
>>
>> --
>> Massimo
>> http://meridio.blogspot.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Howard Lewis Ship <hl...@gmail.com>.
Tapestry 5 (as of 5.0.3) supports two forms of templating:

<span t:id="foo" t:type="bar" ...>
</span>


and

<t:bar t:id="foo"> ...
</t:bar>

The former version is more cluttered, but more Web designer friendly.

The latter version reads "nicer" for coders who don't care about Web
designer friendly.

You are, of course, free to mix and match. This is one of the few
areas in Tapestry where I think it is important to leave choice to the
user. Like curly braces in Java code, some people are emphatically in
one camp, or in the other. So be it.

A component can "know" the tag used to represent it in the template;
some components (such as If and Loop) automatically adapt ...
mimicking the tag and rendering informal parameters.

Note that 5.0.2 had a different variant, <t:comp>, which has been
removed in favor of form #2.

On 3/28/07, Massimo Lusetti <ml...@gmail.com> wrote:
> On 3/28/07, Jan Vissers <Ja...@cumquat.nl> wrote:
>
> > Is this still a major concept in T5?
>
> I think so.
>
> --
> Massimo
> http://meridio.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Massimo Lusetti <ml...@gmail.com>.
On 3/28/07, Jan Vissers <Ja...@cumquat.nl> wrote:

> So, please anyone from the dev. team....

Did you even try to read the T5-core home page?
Maybe you can find your answer there.

-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Robert Zeigler <ro...@scazdl.org>.
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html

Robert

On Mar 28, 2007, at 3/289:59 AM , Jan Vissers wrote:

> With all do respect..., it is these kind of answers that are  
> forcing me to
> re-iterate my original question.... (I'm not bullying anyone Jesse...)
>
> HTML Templating is one of the major benefits of using T(4) in  
> contrast to say, JavaServer Faces.
> When this concept is left out from T5, this is something very, very  
> important.
>
> So, please anyone from the dev. team....
>
> -J.
>
> Massimo Lusetti wrote:
>> On 3/28/07, Jan Vissers <Ja...@cumquat.nl> wrote:
>>
>>> Is this still a major concept in T5?
>>
>> I think so.
>>
>
> -- 
> Cumquat Information Technology
> De Dreef 19
> 3706 BR Zeist
> T +31 (0)30 - 6940490
> F +31 (0)30 - 6940499
> W http://www.cumquat.nl
>
> E Jan.Vissers@cumquat.nl
> M +31 6 51 169 556
> B http://www.cumquat.nl/technology_atom10.xml
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Jan Vissers <Ja...@cumquat.nl>.
With all do respect..., it is these kind of answers that are forcing me to
re-iterate my original question.... (I'm not bullying anyone Jesse...)

HTML Templating is one of the major benefits of using T(4) in contrast 
to say, JavaServer Faces.
When this concept is left out from T5, this is something very, very 
important.

So, please anyone from the dev. team....

-J.

Massimo Lusetti wrote:
> On 3/28/07, Jan Vissers <Ja...@cumquat.nl> wrote:
>
>> Is this still a major concept in T5?
>
> I think so.
>

-- 
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
W http://www.cumquat.nl

E Jan.Vissers@cumquat.nl
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 - HTML Templating

Posted by Massimo Lusetti <ml...@gmail.com>.
On 3/28/07, Jan Vissers <Ja...@cumquat.nl> wrote:

> Is this still a major concept in T5?

I think so.

-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org