On Fri, 06 Aug 2010 05:15:42 -0300, Paul Stanton <p...@mapshed.com.au>
wrote:
Hi All,
Hi!
I've got a few things i commonly do with in the scope of a tapestry page
request using the tapestry built in services such as RenderSupport,
ComponentResources, ComponentSource and PageRenderQueue.
I would like to wrap these procedures in my own 'RenderSupport' type
service, which I intend to inject into my pages and components.
How do I contribute a service that has the same type of context as
RenderSupport etc. and that I can inject RenderSupport etc. into?
I don't know what do you mean by "same context". RenderSupport is a
Tapestry-IoC service is any other. Just declare your class as a service,
inject what is needed and you're set.
--
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