[JBoss JIRA] Created: (RF-8937) Queue: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object
by Pavol Pitonak (JIRA)
Queue: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object
----------------------------------------------------------------------------------
Key: RF-8937
URL: https://jira.jboss.org/browse/RF-8937
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.0.0.Milestone1
Environment: RichFaces v.4.0.0.20100713-M1 SVN r.18029
Reporter: Pavol Pitonak
Queue in richfaces-showcase doesn't work.
1. type something and wait
2. request is sent, page is updated, the following appears in log
2010-07-15 16:29:30,999 WARN [org.richfaces.log.Components] Queue with name 'j_idt120:form' has already been registered
3. type something and wait
4. request is sent and an exception is thrown
javax.faces.FacesException: Unexpected error restoring state for component with id j_idt120:form:myinput. Cause: java.lang.ClassCastException: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object;.
at com.sun.faces.application.view.StateManagementStrategyImpl$1.visit(StateManagementStrategyImpl.java:250)
at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:147)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1446)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIForm.visitTree(UIForm.java:333)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UINamingContainer.visitTree(UINamingContainer.java:163)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1457)
at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:234)
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:119)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:438)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:144)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:182)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
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:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassCastException: javax.faces.component.StateHolderSaver cannot be cast to [Ljava.lang.Object;
at org.ajax4jsf.component.behavior.AjaxBehavior.restoreState(AjaxBehavior.java:353)
at javax.faces.component.UIComponentBase.restoreBehaviors(UIComponentBase.java:1992)
at javax.faces.component.UIComponentBase.restoreBehaviorsState(UIComponentBase.java:1959)
at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1438)
at javax.faces.component.UIOutput.restoreState(UIOutput.java:255)
at javax.faces.component.UIInput.restoreState(UIInput.java:1359)
at com.sun.faces.application.view.StateManagementStrategyImpl$1.visit(StateManagementStrategyImpl.java:242)
... 33 more
--
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
15 years, 6 months
[JBoss JIRA] Created: (RF-5751) ExtendedDataTable problem with scrolls in case summary width of columns is begger then width of the table.
by Alexander Dubovsky (JIRA)
ExtendedDataTable problem with scrolls in case summary width of columns is begger then width of the table.
----------------------------------------------------------------------------------------------------------
Key: RF-5751
URL: https://jira.jboss.org/jira/browse/RF-5751
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.GA
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Attachments: 44.png
Source:
<h:form>
<rich:extendedDataTable value="#{exDataTable.value}" var="car"
width="300px" height="400px" >
<rich:column sortable="true" sortBy="#{car.make}" width="120px"
filterBy="#{car.make}" filterEvent="onkeyup">
<f:facet name="header">
<h:outputText value="Make" />
</f:facet>
<h:outputText value="#{car.make}" />
</rich:column>
<rich:column width="120px">
<f:facet name="header">
<h:outputText value="Model" />
</f:facet>
<h:outputText value="#{car.model}" />
</rich:column>
<rich:column width="120px">
<f:facet name="header">
<h:outputText value="Price" />
</f:facet>
<h:outputText value="#{car.price}" />
</rich:column>
</rich:extendedDataTable>
</h:form>
In IE6-7, Firefox 3, Safari 3 horizontal scroll is not shown and vertical scroll is hidden.
In Opera 9 both scrolls are shown, but if try to use horizontal scroll headers of columns are not moved. See screen shot.
--
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
15 years, 7 months