Unable to attach a custom EnumeratedTypeConverter without creating a custom 
TypeConverterFactory
------------------------------------------------------------------------------------------------

                 Key: STS-608
                 URL: http://www.stripesframework.org/jira/browse/STS-608
             Project: Stripes
          Issue Type: Bug
          Components: Validation
    Affects Versions: Release 1.5
            Reporter: Stig-Erland Hansen
            Priority: Minor


I had created a custom EnumeratedTypeConverter and placed it in the extension 
package that I specified in my web.xml. The TypeConverter was picked up by 
Stripes and registered with the Enum.class. However, the DefaultTypeConverter 
expects for some reason that the enum TypeConverter to be registered for the 
Enumeration.class and not the Enum.class. The default EnumeratedTypeConverter 
is also registered for Enumeration.class as well. 

In this way, my custom enum TypeConverter was ignored, and I had to create a 
custom TypecConverterFactory and bind my TypeConverter to Enumeration.class.




-- 
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to