Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.10-core
-
None
Description
If the trh:frame tags within the facets of a trh:frameBorderLayout don't specify the height / width attribute, the renderer throws a NullPointerException
java.lang.NullPointerException at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FrameBorderLayoutRenderer._getPropertyValue(FrameBorderLayoutRenderer.java:287)
Example page content:
<trh:frameBorderLayout borderWidth="2">
<f:facet name="center">
<trh:frame source="center.jspx"/>
</f:facet>
<f:facet name="top">
<trh:frame source="top.jspx"/>
</f:facet>
<f:facet name="bottom">
<trh:frame source="bottom.jspx"/>
</f:facet>
<f:facet name="left">
<trh:frame source="left.jspx"/>
</f:facet>
<f:facet name="right">
<trh:frame source="right.jspx"/>
</f:facet>
</trh:frameBorderLayout>