Thank you, this solves a lot of things kiuma On Wed, Mar 4, 2009 at 7:36 PM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > Em Wed, 04 Mar 2009 15:13:34 -0300, Andrea Chiumenti <kium...@gmail.com> > escreveu: > >> What I need is do create a DojoRequire annotation for components and >> pages. > > Wouldn't a mixin be a better way to do that? You can inject the component > using @InjectContainer. > >> Then I don't know how and where to inspect component and page classes >> for this annotation. > > Again, a mixin is very likely to be what you need. > >> >> I've tried to >> @Inject >> public ComponentResources componentResources; > > ComponentResources is not a Tapestry-IoC service, so you can't inject it in > your service. It is specially handled by Tapestry. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org