gt;>>>>> Spring beans than Singleton ones.
>>>>>> Inject the WebApplicationContext instead.
>>>>>> http://tapestry.apache.org/tapestry5/tapestry-spring/
>>>>>>
>>>>>> But howto inject the WebApp
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:
>
>
>
> org.springframework.web.context.ContextLoaderListener
>
>
> And if the app
And your web.xml file has:
org.springframework.web.context.ContextLoaderListener
And if the application context .xml files aren't in the standard place and
named the standard way you've also included:
contextConfigLocation
?
Steph <[EMAIL PROTECTED]
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;
>
> ...
> }
>
>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Vi
Fidel Chavarria a écrit :
Hi
I think this willhelp you,
http://tapestry.apache.org/tapestry5/tapestry-spring/
Thanks,
but if you had read my mail, I should see that I'm talked about this page.
In this page in "Limitations" chapter it is writte that we can't inject
Spring session bean but we
ds, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/-T5--tapestry-spring-and-WebApplicationContext-tf3996411.html#a11352177
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi,
In the T5 tapestry-spring documentation it is writed to don't use other
Spring beans than Singleton ones.
Inject the WebApplicationContext instead.
http://tapestry.apache.org/tapestry5/tapestry-spring/
But howto inject the WebApplicationContext ?
thanks
cyrille
--