You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2007/11/01 15:39:50 UTC

[jira] Updated: (WICKET-810) Converters using instanceof instead of class toString

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

Johan Compagner updated WICKET-810:
-----------------------------------

    Fix Version/s:     (was: 1.3.0-beta5)
                   1.4.0-alpha

moving this to 1.4
pretty hard to do, now we store it like the classname. And we still should do that maybe with a weak reference to the class itself so that we don't hold references to classes

And then we have to check all the classes if they are assignableFrom and if they are search for the closest one?
who has an algoritm for that! :)


> Converters using instanceof instead of class toString
> -----------------------------------------------------
>
>                 Key: WICKET-810
>                 URL: https://issues.apache.org/jira/browse/WICKET-810
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>         Environment: Any
>            Reporter: francisdb
>            Priority: Minor
>             Fix For: 1.4.0-alpha
>
>
> It would be nice to have a converter for an interface or abstract class so all implementing classes can be caught by the converter.
> This might not be as simple as it looks because a class might have implemented 2 interfaces that have a converter defined. Also for example a sql date converter should get priority over a util date converter.

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