You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2009/09/08 15:51:57 UTC

[jira] Created: (WICKET-2456) DateTextField cannot work with default converter (or javadoc wrong)

DateTextField cannot work with default converter (or javadoc wrong)
-------------------------------------------------------------------

                 Key: WICKET-2456
                 URL: https://issues.apache.org/jira/browse/WICKET-2456
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.4.1
            Reporter: Sven Meier
            Priority: Trivial


DateTextField's javadoc states the following:
"If you don't, it is the same as creating a <code>TextField</code> with <code>java.util.Date</code> as it's type (it will get the pattern from the user's locale)"

This is not true, DateTextField will always create a converter, even if you don't provide a pattern.

Please roll back the following changes or adjust javadoc:

  http://svn.apache.org/viewvc?view=rev&revision=550501


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


[jira] Resolved: (WICKET-2456) DateTextField cannot work with default converter (or javadoc wrong)

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2456.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
                   1.4.2
         Assignee: Igor Vaynberg

> DateTextField cannot work with default converter (or javadoc wrong)
> -------------------------------------------------------------------
>
>                 Key: WICKET-2456
>                 URL: https://issues.apache.org/jira/browse/WICKET-2456
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.1
>            Reporter: Sven Meier
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>             Fix For: 1.4.2, 1.5-M1
>
>
> DateTextField's javadoc states the following:
> "If you don't, it is the same as creating a <code>TextField</code> with <code>java.util.Date</code> as it's type (it will get the pattern from the user's locale)"
> This is not true, DateTextField will always create a converter, even if you don't provide a pattern.
> Please roll back the following changes or adjust javadoc:
>   http://svn.apache.org/viewvc?view=rev&revision=550501

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


[jira] Commented: (WICKET-2456) DateTextField cannot work with default converter (or javadoc wrong)

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758536#action_12758536 ] 

Igor Vaynberg commented on WICKET-2456:
---------------------------------------

the code change you are referring to has been in the code for more then two years, we cant really change that in 1.4.x. instead, i will amend the javadoc

> DateTextField cannot work with default converter (or javadoc wrong)
> -------------------------------------------------------------------
>
>                 Key: WICKET-2456
>                 URL: https://issues.apache.org/jira/browse/WICKET-2456
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4.1
>            Reporter: Sven Meier
>            Priority: Trivial
>
> DateTextField's javadoc states the following:
> "If you don't, it is the same as creating a <code>TextField</code> with <code>java.util.Date</code> as it's type (it will get the pattern from the user's locale)"
> This is not true, DateTextField will always create a converter, even if you don't provide a pattern.
> Please roll back the following changes or adjust javadoc:
>   http://svn.apache.org/viewvc?view=rev&revision=550501

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