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

Gili updated WICKET-1705:
-------------------------

    Description: GuiceComponentInjector mistakenly wraps static fields with 
serializable proxies. These CGLIB proxies impose limitations (must have default 
constructor, may not have final methods, etc) on fields which are not strictly 
necessary. The new implementation allows the use of 
Binder.requestStaticInjection() which is more flexible.  (was: Currently Wicket 
expects a specific signature when constructing new pages. Introducing a WebPage 
factory would enable us to inject pages using Google Guice or construct pages 
with arbitrary constructor signatures.)
     Issue Type: Bug  (was: New Feature)
        Summary: GuiceComponentInjector mishandles static fields  (was: Wicket 
pages should be injectable)

> GuiceComponentInjector mishandles static fields
> -----------------------------------------------
>
>                 Key: WICKET-1705
>                 URL: https://issues.apache.org/jira/browse/WICKET-1705
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-guice
>    Affects Versions: 1.3.3
>            Reporter: Gili
>         Attachments: guice2.patch
>
>
> GuiceComponentInjector mistakenly wraps static fields with serializable 
> proxies. These CGLIB proxies impose limitations (must have default 
> constructor, may not have final methods, etc) on fields which are not 
> strictly necessary. The new implementation allows the use of 
> Binder.requestStaticInjection() which is more flexible.

-- 
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