On Wed, 25 Apr 2012 13:39:50 -0300, membersound <memberso...@web.de> wrote:
Hi,
Hi!
how can I build composite components like in JSF2?
I don't know exactly what JSF2 composite components are, but Tapestry
components are intrinsically composite, as you can use one component in
the template of another component.
The following doea not work, but I don't know why? It just simple does
not show up anything!
Here's the code that Nabble ate:
sidebar.tml:
<t:delegate to="header"/>
<t:delegate to="content" />
sidebar.java:
@Property
@Parameter(defaultPrefix = BindingConstants.LITERAL)
private Block header;
@Property
@Parameter(defaultPrefix = BindingConstants.LITERAL)
private Block content;
Your component needs to have the @SupportsInformalParameters annotation so
<p:xxx> elements are recognized as block parameters.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org