-
Dec 6th, 2010, 02:50 AM
#1
Spring + Icefaces PUSH : Scope 'request' is not active for the current thread
Hello,
We're using spring 2.5 + icefaces 1.8.2 (jsf extension).
Our managed beans are declared in a spring application context xml file using "scope" attribute (request / session).
Everything has been working fine so far except when we had to use icefaces push mechanism. Here is the scenario :
- When an event is triggered on the server side, we do some business logic and handle a navigation so that we show to end user a new page asynchronously (Facelet xhtml page).
- On this page, we use beans (#{myBean...}) declared on a spring context with a scope="request" or "session".
- These beans are resolved except that spring complains that scope 'request' is not active for the current thread.
How could we solve this problem ? Is there a way to "reattach" the http context to a thread ? Am I missing something (probably !)
Thank you for your help on that
JJB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules