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

validator property of UIInput do not saved and restored (myfaces-faces-plugin error)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.2.0, 1.2.2, 1.2.3
    • 1.2.4
    • None
    • None

    Description

      Originally (myfaces-faces-plugin component generation) _validator was defined on the template but on save and restore methods was not included, causing 1.1 component that inherits from UIInput with validator="#

      {someBean.validateMethod}

      " never called.

      This is related to TOMAHAWK-1276 validator property not fireing validator method. This is created here because it is not tomahawk related.

      The solution is very simple, just save and restore propertly. Right now, UIInput is not generated, because myfaces-faces-plugin template mechanism was replaced by myfaces-faces-plugin approach. Probably we need to fix myfaces-builder-plugin templates, because its template was done following myfaces-faces-plugin code. But this will be later because it is outside the scope of this bug.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              lu4242 Leonardo Uribe
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: