Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3501

DateTimeField and DateField do not set input tag "value"

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5-RC2
    • 1.5-RC3
    • wicket-datetime

    Description

      DateTimeField and DateField do not properly set input tag "value" in the generated markup when a Date model is given. In the case of DateTimeField, only the hours and minutes fields have the proper "value" tag.

      The problem seems to be located at DateTimeField#onBeforeRender(). The hours and minutes members are set in the else clause, but not the date member.

      Attachments

        1. DateField.zip
          20 kB
          Bertrand Guay-Paquet

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            berniegp Bertrand Guay-Paquet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment