[richfaces-issues] [JBoss JIRA] Updated: (RF-5976) Multiple extendedDataTable on one page lead to a "Array index out of range"-Exception when user resizes a column of one of them
Jay Balunas (JIRA)
jira-events at lists.jboss.org
Fri Jun 4 20:16:31 EDT 2010
[ https://jira.jboss.org/browse/RF-5976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Balunas updated RF-5976:
----------------------------
Assignee: (was: Piotr Kawiak)
> Multiple extendedDataTable on one page lead to a "Array index out of range"-Exception when user resizes a column of one of them
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-5976
> URL: https://jira.jboss.org/browse/RF-5976
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.3.0
> Reporter: Marcel Urbanek
> Priority: Minor
> Fix For: Future
>
>
> When I use only one extendedDataTable on a page, everything is fine.
> When I use two or more extendedDataTable, with different number of columns, I get the following exception when I try to resize a column of the second table (if the tables have a different number of columns):
> Error 500: Array index out of range: 8
> at org.richfaces.component.ColumnsSizeState.changeColumnSize(ExtendedDataTableState.java:337)
> Reason for that is the following: Richfaces seems to apply the changed column sizes to all(?) extendedDataTable in the View. It gets a little clearer whe you look at the requests that are submitted to the server:
> AJAXREQUEST _viewRoot
> columnResizeAction columnResizeAction
> columnWidths 67;69;154;231;67;231;144;17;
> This problem can be worked around, when I add a a4j:region around the tables. The Ajaxrequest then looks like the following:
> AJAXREQUEST j_id10:workingTableRegion
> columnResizeAction columnResizeAction
> columnWidths 67;67;156;231;67;314;61;17;
> So only the affected table is updated, no Exception occurs then.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list