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

DateTimeField and DateField do not set input tag "value"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC2
    • Fix Version/s: 1.5-RC3
    • Component/s: wicket-datetime
    • Labels:

      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: