hi,

Howard M. Lewis Ship wrote:

>I'm warming to the concept of "anonymous components" that are specified
>entirely in the HTML template.  This is much more viable now (with the  new
>approach to localization) than before (where localization was always
>multiple HTML templates).  It's a kludge in the way that <span key="..."/>
>is a kludge ... useful enough to outweigh its limitations.
>
>  
>
i think having a lighter way do define blocks that a complex component 
might expect would be a good start, eg.

<span jwcid="mycomponent">
    <span jwcid="mycomponent:header">Foo</span>
    <span jwcid="mycomponent:body">Foo</span>
</span>

where you only define mycomponent in the jwc/page file, :header and 
:body are just Block components bound to it.

best regards,
    viktor



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to