You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2011/08/29 21:03:39 UTC

[jira] [Resolved] (MYFACES-3295) Replace RendererUtils.renderChild() by UIComponent.encodeAll()

     [ https://issues.apache.org/jira/browse/MYFACES-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-3295.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3
                   2.0.9

> 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
>             Fix For: 2.0.9, 2.1.3
>
>
> 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