You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andrea Chiumenti <ki...@gmail.com> on 2009/05/15 19:16:10 UTC
spring and tapestry 5.1.0.4
Hello,
I'm experimenting strange things when trying a simple spring integration:
on tapestry site it is written that I can use @Inject into spring
beans, and that "Spring Beans are no longer exposed as services,
unless 5.0 compatibility mode is enabled."
I've simply created a T5.1 application from archetype, but I'm
experiencing the opposite of what it's written on the site:
If I call
@Inject private MySpringBean theBean;
inside the Index page, the component is resolved.
While if I call
If I call
@Inject private MyTapestryService theT51service;
the service is null,
of course If I call
@Inject private MyTapestryService theT51service; inside the index
page the service is resolved.
Am I missing something ?
Thanks in advance,
kiuma
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org