myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-1378) NPE in FrameBorderLayoutRenderer if an attribute is null
Date Fri, 23 Jan 2009 18:53:59 GMT
NPE in FrameBorderLayoutRenderer if an attribute is null
--------------------------------------------------------

                 Key: TRINIDAD-1378
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1378
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.10-core
            Reporter: Andrew Robinson
            Assignee: Andrew Robinson


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> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message