I found the solution:

.tml:
public class Component1 {

    @Parameter
    @Property
    private Block block1;
}

.java:
contenido bloque: <t:delegate to="block1"/>

Test.tml:
<t:component1>
        <p:block1>
            texto bloque uno
        </p:block1>
    </t:component1>


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-How-can-I-pass-a-block-to-a-component-tp5713371p5713372.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to