On Sun, Dec 21, 2014 at 10:22 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote:
> On Thu, 18 Dec 2014 20:01:11 -0200, Ilya Obshadko <ilya.obsha...@gmail.com> > wrote: > > One more question regarding ObjectLocator. >> Turns out it cannot resolve services like Logger, complaining that no >> service implements its interface. >> Could you suggest how to solve it? >> > > Have you tried getObject() instead of getService()? Logger isn't a > Tapestry-IoC service (unless you create it, of course), so you cannot use > getService() to get it. > getObject() on ObjectLocator service instance doesn't work as well. Are there any other methods to obtain logger service instance? -- Ilya Obshadko