Re: T5 - HTML Templating

2007-04-05 Thread Howard Lewis Ship

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 [EMAIL PROTECTED] wrote:

On 3/28/07, Jan Vissers [EMAIL PROTECTED] wrote:

 Is this still a major concept in T5?

I think so.

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

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





--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 - HTML Templating

2007-04-05 Thread Jan Vissers
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 [EMAIL PROTECTED] wrote:
 On 3/28/07, Jan Vissers [EMAIL PROTECTED] wrote:

  Is this still a major concept in T5?

 I think so.

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

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




 --
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





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



Re: T5 - HTML Templating

2007-03-29 Thread Peter Dotchev

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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5 - HTML Templating

2007-03-28 Thread Jan Vissers
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 - HTML Templating

2007-03-28 Thread Jan Vissers

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml



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



Re: T5 - HTML Templating

2007-03-28 Thread Massimo Lusetti

On 3/28/07, Jan Vissers [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 - HTML Templating

2007-03-28 Thread Robert Zeigler

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml



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



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