On Tue, 23 Nov 2010 08:39:03 -0200, Paul Stanton <p...@mapshed.com.au> wrote:

"@Environmental
private ComponentResources componentResources;"

I have been unable to get this to work since ComponentResources is not in fact available on the Environment.

I guess your service is being invoked after or before rendering, not during it. Try using the ComponentSource service methods. They will return a Component instance for you. Don't forget that pages are components too. :) Then use its getComponentResources() to get the ComponentResources.

By the way, what exactly are you trying to do?

--
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