Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1419

javax.faces.convert - refactor common behaviour + DateTimeConverter changes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • JSR-127
    • None

    Description

      All available converters look very similar. Extract the common behavior in base class.

      Also DateTimeConverter can be migrated to work with type safe enums for style and type properties.
      There are comments in source like //TODO: validate timeStyle. According to java doc of DateTimeConverter on sun there should not have validation. The validation of these will be performed when asString/asObject methods are called.

      Attachments

        1. converter.patch
          47 kB
          Nikolay Petrov

        Activity

          People

            mmarinschek Martin Marinschek
            ingon Nikolay Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: