Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-913

RichFaces scaffolding does not handle temporal fields in JPA entities correctly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.5.Final, 1.3.0.Final
    • Fix Version/s: 1.3.2.Final
    • Component/s: Scaffold
    • Labels:
      None

      Description

      The RichFaces scaffold generator creates rich:calendar components in the facelets, but without a datePattern attribute. The behavior of this component in such a case is to not provide the embeddded timepicker. This works for temporal fields of type Date.

      But, this is certainly not sufficient for temporal fields of type Timestamp. A datePattern with a time pattern like MMM d, yyyy HH:mm or MMM d, yyyy hh:mm:a needs to be generated for such fields to allow time inputs.

      For temporal fields of type Time, consider generating a different widget, since the RichFaces calendar widget is not capable of providing the timepicker alone.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vineet.reynolds Vineet Reynolds
                  Reporter:
                  vineet.reynolds Vineet Reynolds
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: