myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3295) Replace RendererUtils.renderChild() by UIComponent.encodeAll()
Date Mon, 29 Aug 2011 18:48:37 GMT
Replace RendererUtils.renderChild() by UIComponent.encodeAll()
--------------------------------------------------------------

                 Key: MYFACES-3295
                 URL: https://issues.apache.org/jira/browse/MYFACES-3295
             Project: MyFaces Core
          Issue Type: Improvement
          Components: JSR-314
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


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().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message