myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <>
Subject [jira] [Commented] (MYFACES-3295) Replace RendererUtils.renderChild() by UIComponent.encodeAll()
Date Mon, 29 Aug 2011 18:59:38 GMT


Martin Kočí commented on MYFACES-3295:

+1 ! During this please consider semi-related issue MYFACES-3198. Current solution with RendererUtils.renderChild()
prevents to queue UIComponent which caused the exception, because exception from RendererUtils.renderChild()
 (used inrenderer) is propagated to parent component.

> Replace RendererUtils.renderChild() by UIComponent.encodeAll()
> --------------------------------------------------------------
>                 Key: MYFACES-3295
>                 URL:
>             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

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message