Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-2168

tc:date with type=time/datetime-local doesn't work with java.util.Date

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.4.0
    • Core
    • None

    Description

      <tc:date type="time" value="#{java.util.Date-Object}"/> 
      

      doesn't work. If a submit is executed an error occur (could not be understood as a date).

      A workaround is:

      <tc:date type="time" value="#{java.util.Date-Object}">
        <f:convertDateTime type="time" pattern="HH:mm"/>
      </tc:date>
      

      If the attribute step=1 is used, the pattern attribute must have the value "HH:mm:ss".

      Attachments

        Activity

          People

            hnoeth Henning Nöth
            hnoeth Henning Nöth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: