[richfaces-issues] [JBoss JIRA] Commented: (RF-8344) Resizing columns on extendedDataTable when two extendedDataTable are defined on the same page and have different columns count

Lukasz Kidala (JIRA) jira-events at lists.jboss.org
Wed Feb 3 06:11:20 EST 2010


    [ https://jira.jboss.org/jira/browse/RF-8344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12510057#action_12510057 ] 

Lukasz Kidala commented on RF-8344:
-----------------------------------

On my page on the second tab I have also extendedDataTable component and it is the cause of my problem...

After resizing column on the one of table (in situation when the tables have different column count) the both tables are refreshed and it causes the exception.

I have also workaround for that  - both extendedDataTables wrap by <a4j:region> and it solved my problem.


> Resizing columns on extendedDataTable when two extendedDataTable are defined on the same page and have different columns count
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-8344
>                 URL: https://jira.jboss.org/jira/browse/RF-8344
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 3.3.2.SR1, 3.3.3.BETA1
>         Environment: FF 3.5.7, IE6,  Tomcat 6.0.18, Seam, Facelets
>            Reporter: Lukasz Kidala
>
> I have implemented extendedDataTable with 11 columns.
> On the same page I have another dataTable where data are refreshed after click on one of extendedDataTable row (maybe it is connected).
> 1. Disable showing two or more columns,
> 2. Try to resize one of another 9 columns.
> After risizing column in point second I receive the following exception:
> 2010-02-03 11:18:05 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
> WARNING: 10
> java.lang.ArrayIndexOutOfBoundsException: 10
> 	at org.richfaces.component.ColumnsSizeState.changeColumnSize(ExtendedDataTableState.java:337)
> 	at org.richfaces.component.ExtendedDataTableState.changeColumnSize(ExtendedDataTableState.java:173)
> 	at org.richfaces.component.UIExtendedDataTable.processColumnResize(UIExtendedDataTable.java:186)
> 	at org.richfaces.component.UIExtendedDataTable.broadcast(UIExtendedDataTable.java:101)
> 	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
> 	at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
> 	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
> 	at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:417)
> 	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
> 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
> 	at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
> 	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
> 	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
> 	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
> 	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> 	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> 	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:880)
> 	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:719)
> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2081)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> 2010-02-03 11:18:05 com.sun.faces.lifecycle.Phase doPhase
> SEVERE: JSF1054: (Phase ID: APPLY_REQUEST_VALUES 2, View ID: /cpr/cprOrdPosDiffView/List.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl at 1579bd8]
> 2010-02-03 11:18:05 org.apache.catalina.core.StandardWrapperValve invoke

-- 
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

        


More information about the richfaces-issues mailing list