Seems like there's a misunderstanding here. ComponentSOURCE and
ComponentRESOURCES aren't the same thing...

On Mon, Aug 9, 2010 at 5:21 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Sun, 08 Aug 2010 21:47:00 -0300, Paul Stanton <p...@mapshed.com.au>
> wrote:
>
>  So I can either contribute a markup renderer that can access the
>> renderSupport object OR inject a service that can in turn inject
>> ComponentSource
>>
>
> This isn't correct. You'll use @Inject to get ComponentSource (which is a
> service) and @Environmental to get the other objects:
>
> @Inject
> private ComponentSource componentSource;
>
> @Environmental
> private RenderSupport renderSupport;
>
> @Environmental
> private ComponentResources componentResources;
>
> // I'm not sure if this is an environment object
> @Environmental
> private PageRenderQueue pageRenderQueue;
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, 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