[
https://issues.apache.org/jira/browse/TRINIDAD-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Robinson resolved TRINIDAD-1927.
---------------------------------------
Fix Version/s: 2.0.0.3-core
Resolution: Fixed
Changed Trinidad 2 to use encodeAll. This should be done for Trinidad 1.2 as
well.
> Trinidad 2 CoreRenderer.encodeChild does not call the JSF 2 encodeAll method
> on the child
> -----------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1927
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1927
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 2.0.0.3-core
> Reporter: Andrew Robinson
> Assignee: Andrew Robinson
> Priority: Critical
> Fix For: 2.0.0.3-core
>
>
> JSF2 introduced the encodeAll method on UIComponent. Trinidad's CoreRenderer
> is not utilizing this method. Instead it is using:
> protected void encodeChild(
> FacesContext context,
> UIComponent child
> ) throws IOException
> {
> assert(child.isRendered());
> child.encodeBegin(context);
> if (child.getRendersChildren())
> {
> child.encodeChildren(context);
> }
> else
> {
> if (child.getChildCount() > 0)
> {
> for(UIComponent subChild : (List<UIComponent>)child.getChildren())
> {
> RenderUtils.encodeRecursive(context, subChild);
> }
> }
> }
> child.encodeEnd(context);
> }
> It should be using the JSF 2 encodeAll method instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.