Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1378

NPE in FrameBorderLayoutRenderer if an attribute is null

    Details

      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>

        Attachments

          Activity

            People

            • Assignee:
              arobinson74 Andrew Robinson
              Reporter:
              arobinson74 Andrew Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: