However,

@Inject Logger logger;

does not work even now. It is a pity, because this way I have to list all
stuff I need in the constructor... I'd rather inject them. Is there some
rule in which kind of classes injection works?

thx
janos

2008/4/26 János Jarecsni <[EMAIL PROTECTED]>:

> This helped!
> THX! :)
> Janos
>
> 2008/4/25 Sven Homburg <[EMAIL PROTECTED]>:
>
> > i hope it helps you:
> >
> > put this code into your ApplicationModule
> >
> > public static buildMyDispachter(ComponentClassResolver resolver)
> > {
> >  return MyDispatcher(resolver);
> > }
> >
> > 2008/4/25, János Jarecsni <[EMAIL PROTECTED]>:
> > >
> > > Hi,
> > >
> > > sorry for the newbie question again, but what is the canonic or
> > suggested
> > > way to access core services or facilities of the T5? I mean, from
> > classes,
> > > into which nothing gets injected (say, I'm writing a dispatcher, where
> > I'd
> > > like to resolve page names, component names). I'd like to have a
> > > ComponentClassResolver for instance. Is that possible? (I hope so :))
> > >
> > > thx & cu
> > > janos
> > >
> >
> >
> >
> > --
> > with regards
> > Sven Homburg
> > http://tapestry5-components.googlecode.com
> >
>
>

Reply via email to