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