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

DateField, DateTimeField classes available, but no TimeField

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.13
    • 1.5-RC1
    • wicket-datetime
    • None

    Description

      There are many instances in which one will want to collect a Time from a user when it is unnecessary to also collect a date.

      In wicket-datetime there is a class for DateField and DateTimeField, so that you can collect a date with a time, or a date separately, but no method for collecting a time alone.

      Creating the TimeField class from Eelco's DateTimeField class is almost trivially easy, by removing the date portions of the class.

      Attachments

        1. TimeField.java
          12 kB
          Adrian Sud

        Activity

          People

            jdonnerstag Juegen Donnerstag
            adrian@pigsflew.com Adrian Sud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified