Hi

What is the exact use case ? It is always preferable to isolate components.

If you really want to do this, I don't think this is directly possible, but
you can inject the first one MyComponent as an instance of Component et get
the second one from the getComponentResources of the first one.

Regards,
Christophe.

2010/5/24 Paul Stanton <p...@mapshed.com.au>

> in MyPage.tml:
> <t:mycomponent />
>
> in MyComponent.tml:
> <t:zone t:id="myZone">...</t:zone>
>
> From within MyPage.java, is it possible to inject myZone?
>
> ie something like this:
>
> public class MyPage
> {
>   @InjectComponent private Zone myZone;
> }
>
> p.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Reply via email to