On Sun, 27 Jul 2014 23:47:25 -0300, Chung Khanh Duy <chungkhanhduy1...@gmail.com> wrote:

Hi experts,

Hi!

I have a snippet code as below:

@Inject
private Zone tZone;

This is declaring a component instance. This supposes you just use <div t:id="tZone"> in the template. I used div as an example, but any tag is valid.

@InjectComponent
private Zone tZone;

This is just injecting a component declared in the template.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to