Re: [T5] tapestry-spring and WebApplicationContext

2007-11-20 Thread Steph
Yes, i've set this configuration. But my injection of the WebApplicationContext is not in a page but in another class. Is it a problem ? Stephane Ezra Epstein a écrit : And your web.xml file has: listener

Re: [T5] tapestry-spring and WebApplicationContext

2007-11-20 Thread jeffrey ai
But my injection of the WebApplicationContext is not in a page but in another class. Is it a problem ? I think it will be a problem. I believe Tapestry will only handle those classes in the package you defined in tapestry.app-package in web.xml. You could try to move it to see how things

Re: [T5] tapestry-spring and WebApplicationContext

2007-11-19 Thread Steph
I've tried this but my WebApplicationContext is null ... Stephane SergeEby a écrit : Hi, Just import and inject the WAC in your page: import org.springframework.web.context.WebApplicationContext; class Foo { ... @Inject private WebApplicationContext wac; ... } /Serge

Re: [T5] tapestry-spring and WebApplicationContext

2007-11-19 Thread Ezra Epstein
And your web.xml file has: listener listener-classorg.springframework.web.context.ContextLoaderListener/listener-class /listener And if the application context .xml files aren't in the standard place and named the standard way you've also included: context-param

Re: [T5] tapestry-spring and WebApplicationContext

2007-06-29 Thread SergeEby
Hi, Just import and inject the WAC in your page: import org.springframework.web.context.WebApplicationContext; class Foo { ... @Inject private WebApplicationContext wac; ... } /Serge cyrille37 wrote: Fidel Chavarria a écrit : Hi I think this willhelp you,

Re: [T5] tapestry-spring and WebApplicationContext

2007-06-28 Thread Fidel Chavarria
Hi I think this willhelp you, http://tapestry.apache.org/tapestry5/tapestry-spring/ cyrille37 wrote: Hi, In the T5 tapestry-spring documentation it is writed to don't use other Spring beans than Singleton ones. Inject the WebApplicationContext instead.