[JBoss JIRA] Created: (RF-6270) ExtendedDataTable: exception after column resizing if there are several ext. tables on the page which have different columns count
by Andrei Markavtsov (JIRA)
ExtendedDataTable: exception after column resizing if there are several ext. tables on the page which have different columns count
----------------------------------------------------------------------------------------------------------------------------------
Key: RF-6270
URL: https://jira.jboss.org/jira/browse/RF-6270
Project: RichFaces
Issue Type: Bug
Environment: RF 3.3.1-SNAPSHOT
Facelets 1.1.14
Reporter: Andrei Markavtsov
Assignee: Nick Belaevski
<h:form id="form">
<rich:extendedDataTable id="dt1" value="#{test3.rows}" var="row">
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value1}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value2}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value2}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value2}"></h:outputText>
</rich:column>
</rich:extendedDataTable>
<br/>
<rich:extendedDataTable id="dt2" value="#{test3.rows}" var="row">
<rich:column>
<f:facet name="header">
<h:outputText value="Header"></h:outputText>
</f:facet>
<h:outputText value="#{row.value1}"></h:outputText>
</rich:column>
</rich:extendedDataTable>
</h:form>
Try to resize the second table. Exception occurred:
java.lang.ArrayIndexOutOfBoundsException: 2
org.richfaces.component.ColumnsSizeState.changeColumnSize(ExtendedDataTableState.java:337)
org.richfaces.component.ExtendedDataTableState.changeColumnSize(ExtendedDataTableState.java:173)
org.richfaces.component.UIExtendedDataTable.processColumnResize(UIExtendedDataTable.java:186)
org.richfaces.component.UIExtendedDataTable.broadcast(UIExtendedDataTable.java:101)
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months