Have you defined RequestContextListener in your web.xml? It is
required for request scope and session scope beans:
listener
listener-class
org.springframework.web.context.request.RequestContextListener
/listener-class
i think it should work, you simply have to declare the bean as
scope=session in spring config
-igor
On Dec 13, 2007 3:57 PM, Ravi_116 [EMAIL PROTECTED] wrote:
I am a newbie to wicket. Our wicket application is integrated with Spring
using the SpringComponentInjector. Is it possible to set a
Igor,
The exception happens while loading the spring config files -
Caused by: java.lang.IllegalStateException: No thread-bound request found:
Are you referring to request attributes outside of an actual web request? If
you are actually operating within a web request and still receive this
show us the complete stack trace
-igor
On Dec 13, 2007 9:08 PM, Ravi_116 [EMAIL PROTECTED] wrote:
Igor,
The exception happens while loading the spring config files -
Caused by: java.lang.IllegalStateException: No thread-bound request found:
Are you referring to request attributes outside
this is a spring error not a wicket one. im guessing there is some
sort of a filter you need to map to web.xml that lets spring retrieve
the http session.
-igor
On Dec 13, 2007 10:36 PM, Ravi_116 [EMAIL PROTECTED] wrote:
Caused by: org.springframework.beans.factory.BeanCreationException:
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'inquiryEngine' defined in class path resource
[lingo-context.xml]: Cannot resolve reference to bean 'userContext' while
setting bean property 'userContext'; nested exception is