[ 
https://issues.apache.org/jira/browse/WICKET-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg resolved WICKET-1747.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

this is not the right place to start something like this. you should do it on 
the list.

a few notes

 * @SpringBean makes dependencies available in the constructor

 * having the proxy means that you can pass dependencies around without 
worrying about keeping a reference, eg

add(new webmarkupcontainer("users") { boolean isvisible() { return 
userservice.count()>0; }}

if userservice is a dependency and you do not proxy it the anonymous 
webmarkupcontainer instance will keep a hard reference to the service and not 
be serializable

> Alternative to manage spring beans for a webpage
> ------------------------------------------------
>
>                 Key: WICKET-1747
>                 URL: https://issues.apache.org/jira/browse/WICKET-1747
>             Project: Wicket
>          Issue Type: New Feature
>            Reporter: Pas Filip
>            Assignee: Igor Vaynberg
>         Attachments: SpringEnabledWebPage.java
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to