You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Massimo Lusetti <ml...@gmail.com> on 2015/01/07 11:22:33 UTC

Re: Tapestry and Clojure

Please no... Scala no ;-)

On Wed, Dec 31, 2014 at 6:08 PM, Ilya Obshadko <il...@gmail.com> wrote:
> Thanks Lance, I've already sorted that out. Actually now I'm experimenting
> with Scala instead of Clojure: looks like it's a better match for my
> requirements.
>
> On Tue, Dec 30, 2014 at 6:07 PM, Lance Java <la...@googlemail.com>
> wrote:
>
>> The logger is not a service and cannot be @Injected into IOC services.
>>
>> You have probably seen that you can @Inject the logger into pages and
>> components. @Inject has been extended (perhaps hijacked) for components and
>> @Injected values can come from contributed InjectionProviders. See
>> CommonResourcesInjectionProvider for the Logger implementation.
>>
>> More info here http://tapestry.apache.org/injection-in-detail.html
>> On 28 Dec 2014 11:16, "Ilya Obshadko" <il...@gmail.com> wrote:
>>
>> > On Sun, Dec 21, 2014 at 10:22 PM, Thiago H de Paula Figueiredo <
>> > thiagohp@gmail.com> wrote:
>> >
>> > > On Thu, 18 Dec 2014 20:01:11 -0200, Ilya Obshadko <
>> > ilya.obshadko@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
>> >
>>
>
>
>
> --
> Ilya Obshadko



-- 
Massimo Lusetti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org