You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Bálint Kriván (JIRA)" <ji...@apache.org> on 2011/06/10 13:56:58 UTC

[jira] [Commented] (WICKET-3786) Add model-less constructor to DateTextField

    [ https://issues.apache.org/jira/browse/WICKET-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047153#comment-13047153 ] 

Bálint Kriván commented on WICKET-3786:
---------------------------------------

Well, I've dugged myself into the code and just noticed that there is a withConverter() static method doing the work. I'm not sure if this ticket can be closed or maybe a ctor should be added anyway. A lot of component has this kind of ctor so having one would make DateTextField to resemble to the others.

> Add model-less constructor to DateTextField
> -------------------------------------------
>
>                 Key: WICKET-3786
>                 URL: https://issues.apache.org/jira/browse/WICKET-3786
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-datetime
>    Affects Versions: 1.5-RC4
>            Reporter: Bálint Kriván
>            Priority: Minor
>
> It would be great to have one, because if you add DateTextField to a parent who has CompoundPropertyModel added, then you probably don't want to define a new model.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira