[
https://jira.jboss.org/jira/browse/RF-6270?page=com.atlassian.jira.plugin...
]
Lukasz Kidala commented on RF-6270:
-----------------------------------
I am confirm that the problem exist and I cannot find any work-around :/
If I resize one column in one table on the second table the method changeColumnSize is
also performed, why?
I need to have to different tables on the same page.
Has anybody any suggestion how to resolve this problem?
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
Affects Versions: 3.3.1
Environment: RF 3.3.1-SNAPSHOT
Facelets 1.1.14
Reporter: Andrei Markavtsov
Assignee: Piotr Kawiak
Fix For: Future
<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