Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-378

Can't submit an empty date with x:inputDate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.1.5
    • Date
    • None
    • tomcat 5.0.28, JDK 1.5.0

    Description

      Hello,
      I see two problems with x:inputDate:

      1) if the backing bean is empty the control is initialized with current time: I would like it to be empty to "understand" a date has not been entered

      2) it's not possible to submit an "empty" date, i.e.: a valid date date must be entered also if the "required" property is set to false. That means all inputDates are mandatory

      Please correct me if I overlook something.

      Thanks,
      Alex

      Attachments

        1. inputDate.patch
          3 kB
          Martin Zdila
        2. patch_inputdate.rar
          8 kB
          Cagatay Civici

        Activity

          People

            mmarinschek Martin Marinschek
            dusty Alessandro Polverini
            Votes:
            8 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: