It seems that in Wicket 1.3 session and request scoped beans work ok.
But I've done only a very simple tests.

PS. The problem with prototype scoped beans (multiple instance
creation) still exists.

Daniel

On 6/1/07, Daniel Stoch <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to inject a spring bean with scope="session" into my page using
> @SpringBean annotation. I have added into my web.xml declaration:
>         <listener>
>                 <listener-class>
>                         
> org.springframework.web.context.request.RequestContextListener
>                 </listener-class>
>         </listener>
> but it seems that this bean is still created once for whole
> application (like a singleton).
> Does session and request scoped beans are supported by
> wicket-spring-annot (and of course wicket-spring) library or have I
> missed something in my configuration?
>
> PS. Singletons and prototypes works ok. I'm using Wicket 1.2.6.
>
> Best regards,
> Daniel Stoch
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to