[ 
http://www.stripesframework.org/jira/browse/STS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Fennell updated STS-572:
----------------------------

    Fix Version/s:     (was: Release 1.5)
                   Release 1.5.1

> Allow users to register a custom EnumTypeConverter
> --------------------------------------------------
>
>                 Key: STS-572
>                 URL: http://www.stripesframework.org/jira/browse/STS-572
>             Project: Stripes
>          Issue Type: Bug
>            Reporter: Tim Fennell
>             Fix For: Release 1.5.1
>
>
> Right now the EnumTypeConverter use is hardcoded within the 
> DefaultTypeConverterFactory.  It is possible to substitute a different one 
> via subclassing the DefaultTypeConverterFactory but it's not as easy as it 
> should be.
> We should probably just store the java.lang.Enum -> EnumTypeConverter mapping 
> in the map of converters and then look it up when we have an enum.  That way 
> if someone registered a different converter for java.lang.Enum we'd 
> automatically use that one instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to