You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andreas Petersson (JIRA)" <ji...@apache.org> on 2009/12/15 17:22:18 UTC

[jira] Updated: (WICKET-2619) wicket should handle Enums like other primitives when injecting them.

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

Andreas Petersson updated WICKET-2619:
--------------------------------------

    Attachment: handle_enums_as_Primitives.patch

patch which adds support for injecting enums.

> wicket should handle Enums like other primitives when injecting them.
> ---------------------------------------------------------------------
>
>                 Key: WICKET-2619
>                 URL: https://issues.apache.org/jira/browse/WICKET-2619
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-spring
>    Affects Versions: 1.4.4
>         Environment: tested with spring.
>            Reporter: Andreas Petersson
>            Priority: Minor
>         Attachments: handle_enums_as_Primitives.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> when binding Enum with the use of a factory-method it is not possible to inject the generated value. Primitives such as Integer, boolean etc are already handled directly, since they need no specific serialization handling. enums can be used likewise. i will provide a half-line patch for LazyInitProxyFactory which will fix this.

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