another FAQ: What is the best way to add components to my page? pros/cons

see the three possiblities below

i prefer ...

<div t:id="layout"/>....
...
@Component
private Layout layout;

because refactoring of componet names is much safer 
and easier... and the templates are even more like 
ordinary HTML :)







"Thiago HP" <[EMAIL PROTECTED]> 
28.02.2008 13:59
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
"Tapestry users" <users@tapestry.apache.org>
Kopie

Thema
Re: [FAQ] common design







A little suggestion . . .

On 2/28/08, Jesper Zedlitz <[EMAIL PROTECTED]> wrote:
>  All pages of the application look like:
>  <t:layout title="message:page.name"
>  xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>   content
>  </t:layout>

I prefer <div t:type="Layout" t:title="message:page.name"> ... </div>.
It looks more similar to ordinary HTML than <t:layout>. :)

-- 
Thiago

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


Reply via email to