[richfaces-issues] [JBoss JIRA] Updated: (RF-6270) ExtendedDataTable: exception after column resizing if there are several ext. tables on the page which have different columns count

Jay Balunas (JIRA) jira-events at lists.jboss.org
Fri Jun 4 20:16:30 EDT 2010


     [ https://jira.jboss.org/browse/RF-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-6270:
----------------------------

    Assignee:     (was: Piotr Kawiak)


> 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/browse/RF-6270
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.1
>         Environment: RF 3.3.1-SNAPSHOT
> Facelets 1.1.14
>            Reporter: Andrei Markavtsov
>             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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list