Start here: http://tapestry.apache.org/tapestry5.2-dev/guide/env.html
On Fri, Aug 6, 2010 at 2:27 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 06 Aug 2010 17:38:53 -0300, Paul Stanton <p...@mapshed.com.au> > wrote: > > Thiago, >> > > Hi! > > > By "declare your class as a service" do you mean bind it? ie: >> >> public static void bind(ServiceBinder binder) { >> binder.bind(TapestryExtension.class, TapestryExtensionImpl.class); >> } >> > > Yes. > > > or do i need to 'contribute' it somewhere? Because it isn't working.: >> > > ComponentResources ins't a service. There's class transformation applied to > component and pages classes that inject it. You should get it from the > Environment service by using the peek() or peekRequired() 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 > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com