RE: component definitions

Christian Sell <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
mb,

in continuation of the previous mail: Of yourse "new 
component" is more "powerful", because you can override 
everything that makes up a component, whereas reused 
configurations can only override parameters. But I would 
still question your arithmetics:

>New Component (Tapestry 2.4):
>-----------------------------
>1 x defining a new component
>	5 lines + 'component configuration', 1 line template, 
1 line alias
>
>N x using the new component
>	1 line in template

Does this assume that the component can be referenced in the 
template via something like <span 
jwcid="/path/path/component"? If so, where would the 
configuration appear? Would it not have to be repeated in 
every page/component making use of the new component?

Christian
-- 
[email protected]


-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.