You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2006/09/18 16:36:25 UTC
[jira] Resolved: (ADFFACES-166) Provide meaningful Exception for
tr:panelFormLayout without children or (better) just don't render content
[ http://issues.apache.org/jira/browse/ADFFACES-166?page=all ]
Adam Winer resolved ADFFACES-166.
---------------------------------
Resolution: Fixed
Fixed; we now properly don't render any content.
> 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: Bug
> Reporter: Thorsten Guenther
> Assigned To: Adam Winer
>
> 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