RE: How can I add a component inside another component without template in T5?

2014-09-24 Thread Carlos Gómez Montiel
it only was a existencial question ;) Thank you for your answer Thiago -Mensaje original- De: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] Enviado el: miércoles, 24 de septiembre de 2014 06:07 p.m. Para: Tapestry users Asunto: Re: How can I add a component inside another

Re: How can I add a component inside another component without template in T5?

2014-09-24 Thread Thiago H de Paula Figueiredo
On Wed, 24 Sep 2014 19:35:44 -0300, Carlos Gómez Montiel wrote: I have a component without template, how can I add another component (render) inside it? You cannot. Component instances need to be declared inside a template. Tapestry templates are strictly static in structure, even having

How can I add a component inside another component without template in T5?

2014-09-24 Thread Carlos Gómez Montiel
I have a component without template, how can I add another component (render) inside it? public class Component1 { void beginRender(MarkupWriter writer) { // How can I render for example a tapestry's textfield component inside this component without have a template? }