incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Guenther (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Created: (ADFFACES-166) Provide meaningful Exception for tr:panelFormLayout without children or (better) just don't render content
Date Fri, 08 Sep 2006 12:09:22 GMT
Provide meaningful Exception for tr:panelFormLayout without children or (better) just don't
render content
----------------------------------------------------------------------------------------------------------

                 Key: ADFFACES-166
                 URL: http://issues.apache.org/jira/browse/ADFFACES-166
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Thorsten Guenther
            Priority: Minor


A <tr:panelFormLayout> without any child produces a java.lang.IndexOutOfBoundsException
in PanelFormLayoutRenderer.
PanelFormLayoutRenderer should throw a meaningful exception or better just dont render any
content but (if existing) the content of the footer facet.

------
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.get(ArrayList.java:321)
	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeFormColumns(PanelFormLayoutRenderer.java:634)
	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:314)
...





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message