On Fri, 15 Jul 2011 18:39:43 -0300, hese <1024h...@gmail.com> wrote:
Which class do I cast it to?
= (??) servletContext.getAttribute(TapestryFilter.REGISTRY_CONTEXT_NAME);
Looks like tapestry IOC is a bunch of classes? Not sure which one to use.
Every object-oriented package or program is a bunch of classes. :) But
Tapestry-IoC is way more than that: it's a dependency injection and
inversion of control container. If you're using Tapestry, you're using
Tapestry-IoC. More information here: http://tapestry.apache.org/ioc.html.
As Taha said, you need to cast it to the Registry interface and use one of
its getService() methods.
--
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