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] [Resolved] (MYFACES-3295) Replace RendererUtils.renderChild() by UIComponent.encodeAll()
Date Mon, 29 Aug 2011 19:03:39 GMT

     [ 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

        

Mime
View raw message