[ http://mc4j.org/jira/browse/STS-456?page=all ]
Tim Fennell resolved STS-456.
-----------------------------
Resolution: Fixed
Done for formatters. We decided that it's too much of a burden to place on
type converters to expect them to be able to convert to all the subclasses of
the type they convert. If you really want that, just register the converter
for multiple types.
> TypeConverterFactory and FormatterFactory should handle subclasses of their
> target type
> ---------------------------------------------------------------------------------------
>
> Key: STS-456
> URL: http://mc4j.org/jira/browse/STS-456
> Project: Stripes
> Issue Type: Improvement
> Components: Validation, Formatting
> Reporter: Ben Gunter
> Assigned To: Ben Gunter
> Fix For: Release 1.5
>
>
> Given class A and class B, which extends A, and Formatter<A>,
> DefaultFormatterFactory should be able to locate Formatter<A> to format
> objects of type B. Likewise for DefaultTypeConverterFactory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.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 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development