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

Unhandled attribute "for" for custom converter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.21, 2.1.15, 2.2.2
    • 2.0.22, 2.1.16, 2.2.3
    • None
    • None

    Description

      If I use the "for" attribute in a custom converter for a composite component I get the following error message:

      [ERROR] o.a.m.view.facelets.tag.MetaRulesetImpl - /converter/numbers.xhtml at line 18 and column 46 for="field" Unhandled by MetaTagHandler for type com.btc.jsf.converter.TestConverter
      

      The invocation of the converter looks like this:

      <my:in label="Number" field="#{converterExample.number1}">
          <conv:testConverter for="field"/>
      </my:in>
      

      The ConverterTagHandlerDelegate handles the "for" attribute, but it looks like there is a

      ignore("for");

      missing in ConverterTagHandlerDelegate.createMetaRuleset().

      Attachments

        1. converter-problem.zip
          17 kB
          Arvid Huelsebus

        Activity

          People

            lofwyr Udo Schnurpfeil
            idus Arvid Huelsebus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: