Em Mon, 17 Aug 2009 21:07:43 -0300, Andrey Larionov <anlario...@gmail.com>
escreveu:
As i understand, i should in first component create a field of type of
second component and anotate this field as non required parameter?
Yes.
How do i inject second component in first? From template? Or on class
side?
From template, you can pass a component to a component parameter:
t:parametername="component:componentId".
In a page or component class that uses the given component,
@InjectComponent private ComponentType component;
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org