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

Replace RendererUtils.renderChild() by UIComponent.encodeAll()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.9, 2.1.3
    • JSR-314
    • None

    Description

      Checking other issues, if was notice that RendererUtils.renderChild() is almost equal to UIComponent.encodeAll().

      Historically, RendererUtils.renderChild() is older than UIComponent.encodeAll(), but the later one is better because gives the chance to the component to override it.

      It is known any override goes on encodeBegin(), encodeChildren() or encodeEnd(), but to honor JSF 2.0 spec, we should fix RendererUtils.renderChildren(), and use encodeAll() instead RendererUtils.renderChild().

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: