MyFaces Core
  1. MyFaces Core
  2. MYFACES-1882

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.2.2, 1.2.3
    • Fix Version/s: 1.2.4
    • Component/s: None
    • Labels:
      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.

        Issue Links

          Activity

          Leonardo Uribe created issue -
          Leonardo Uribe made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 1.2.4-SNAPSHOT [ 12313145 ]
          Leonardo Uribe made changes -
          Fix Version/s 1.2.4-SNAPSHOT [ 12313145 ]
          Fix Version/s 1.2.4 [ 12313378 ]
          Leonardo Uribe made changes -
          Link This issue is duplicated by TOMAHAWK-1199 [ TOMAHAWK-1199 ]

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              Leonardo Uribe
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development