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

M2 Plugins: Need a way to define a new converter or validator tag with the existing Id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.10-plugins
    • 1.2.10-plugins
    • Plugins
    • None

    Description

      If a converter or a validator references the Id already associated with the existing tag, then the base Faces plugin finds ValidatorBean
      or ConverterBean for the existing tag instead of creating a new bean instance. This means that we cannot create validator/converter tags
      in ADF Faces that reference converter/validator IDs defined in Trinidad.

      The proposed fix is to add new extension properties in metadata: mfp:root-converter-id and mfp:root-validator-id. If these are defined, Facelet tag generation will write out the 'root' (real) Id instead of the ID specified as validator-id or converter-id. This will allow us to use new (fake)
      IDs as validator-id/converter-id to distinguish the new tags, while still writing out the correct Id in the .taglib.xml.

      Attachments

        1. trinidad-1438.patch
          6 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: