Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1441

Facelets: Need Custom Validator and Converter handlers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.11-core
    • 1.2.12-core
    • Facelets
    • None

    Description

      There are two problems that have been reported for our Converter and Validator tags:
      1) Users are getting an exception with the convertColor because the "patterns" property value cannot be
      converted from String to String [].
      2) The default base implementation of the ConvertHandler and ValidateHandler does not call setValueExpression()
      on our converters/validators like it does for components, so all EL gets resolved during tag execution (our JSP tags acll
      setValueExpression()).

      We need to create our custom Validator and Converter tag handlers and add meta rules for String arrays and ValueExpression.

      Attachments

        1. plugins.patch
          2 kB
          Max Starets
        2. trinidad.patch
          1 kB
          Max Starets
        3. trinidad-new.zip
          5 kB
          Max Starets

        Activity

          People

            matzew Matthias Wessendorf
            mstarets Max Starets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: