On Mon, 01 Feb 2010 14:30:17 -0200, Matt78 <m.j...@box68.net> wrote:

Hy,

Hi!

I'm writing a mixin which schould copy the text inside one component to
another component on a page unsing javascript.
My question: How can I use a component as a parameter, because i need from both comopnents the id.

You can inject the component at which you're using the mixin with @InjectComponent. A component can be a parameter as any other, just make sure you're using the component binding: component:.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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

Reply via email to