[JBoss JIRA] (RF-13333) Charts: click server handlers throws exception
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13333?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13333:
-------------------------------
Priority: Critical (was: Major)
> Charts: click server handlers throws exception
> ----------------------------------------------
>
> Key: RF-13333
> URL: https://issues.jboss.org/browse/RF-13333
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Macko
> Priority: Critical
> Fix For: 5.0.0.Alpha2
>
>
> Steps to reproduce:
> 1. open r:chart -> Event handling demo
> http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=chart&...
> 2. click on one of points on the chart
> FAIL: there is an error in the server console
> {{NoSuchMethodException: Read method for property 'JSONArray' not found}}
> Stack trace:
> {code}
> 13:37:19,467 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (http-localhost-127.0.0.1-8080-1) Error Rendering View[/richfaces/component-sample.xhtml]: javax.faces.FacesException: Error in conversion Java Object to JavaScript
> at org.richfaces.javascript.ScriptUtils.appendScript(ScriptUtils.java:194) [:]
> at org.richfaces.javascript.ScriptUtils.toScript(ScriptUtils.java:241) [:]
> at org.richfaces.context.AjaxDataSerializerImpl.asString(AjaxDataSerializerImpl.java:32) [:]
> at org.richfaces.context.ExtendedPartialViewContextImpl.renderExtensions(ExtendedPartialViewContextImpl.java:531) [:]
> at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialRenderPhase(ExtendedPartialViewContextImpl.java:327) [:]
> at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:222) [:]
> at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:981) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:391) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.render(PersistenceLifecycle.java:66) [:]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172) [rewrite-servlet-1.0.4.Final.jar:1.0.4.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java) [jbossweb-7.0.13.Final.jar:]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
> Caused by: java.lang.NoSuchMethodException: Read method for property 'JSONArray' not found
> at org.richfaces.javascript.PropertyUtils.readPropertyValue(PropertyUtils.java:74) [:]
> at org.richfaces.javascript.ScriptUtils.appendScript(ScriptUtils.java:191) [:]
> ... 37 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (RF-13216) PoupPanel doesn't disappear when rendered="false" and rerender it.
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/RF-13216?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on RF-13216:
----------------------------------------------
Jiri Pallich <jpallich(a)redhat.com> changed the Status of [bug 1011466|https://bugzilla.redhat.com/show_bug.cgi?id=1011466] from NEW to ASSIGNED
> PoupPanel doesn't disappear when rendered="false" and rerender it.
> ------------------------------------------------------------------
>
> Key: RF-13216
> URL: https://issues.jboss.org/browse/RF-13216
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.3
> Reporter: Takayuki Konishi
> Labels: gss
> Attachments: rf3_3_4-modalpanel.zip, rf4_3_3-popuppanel.zip
>
>
> If you use the richfaces popupPanel in the default domElementAttachment="body" mode it will not disappear under specific conditions.
> {code:xml}
> <h:body title="page 1">
> <a4j:outputPanel id="myPanel">
> <rich:popupPanel domElementAttachment="body" show="true" rendered="#{test.showPopup}">
> <h:form>
> <a4j:commandButton action="#{test.switchPopup()}" value="switch off" render="myPanel"/>
> </h:form>
> </rich:popupPanel>
> <h:form>
> <a4j:commandButton action="#{test.switchPopup()}" value="switch on" render="myPanel"/>
> </h:form>
> </a4j:outputPanel>
> </h:body>
> {code}
> In Richfaces 3.3.x, on the other hand, there was a component cleanup system ({{memory.js _cleanComponentNodes}}) which was responsible to remove components after ajax calls if the component was removed from the current view.
> Therefore the above example (revert {{popupPanel}} to {{modalPanel}}) works in RF3.3.4.Final.
> Note:
> In case {{domElementAttachment="parent"}}, it will show [the other JSF2 bug|https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-790] where the view state was lost, therefore you must click the action button twice to really call the function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months
[JBoss JIRA] (RF-13334) Upgrade jQuery UI to 1.10.3
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13334?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-13334 at 11/11/13 9:15 AM:
-----------------------------------------------------------
Opened feature branch:
https://github.com/richfaces/richfaces/tree/RF-13334-upgrade-jquery-ui-1-...
DND test fails:
{code}
Tests in error:
test_dnd(org.richfaces.ui.drag.ITDnd): Request type 'XHR' was expected, but type 'NONE' was done instead
Tests run: 38, Failures: 0, Errors: 1, Skipped: 4
{code}
The DND demo in showcase works for first drag-drop action, but then it fails to start dragging.
was (Author: lfryc):
Opened feature branch:
https://github.com/richfaces/richfaces/tree/RF-13334-upgrade-jquery-ui-1-...
DND test fails:
{code}
Tests in error:
test_dnd(org.richfaces.ui.drag.ITDnd): Request type 'XHR' was expected, but type 'NONE' was done instead
Tests run: 38, Failures: 0, Errors: 1, Skipped: 4
{code}
> Upgrade jQuery UI to 1.10.3
> ---------------------------
>
> Key: RF-13334
> URL: https://issues.jboss.org/browse/RF-13334
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: third-party
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
>
> RichWidgets issue:
> https://github.com/richwidgets/richwidgets/issues/99
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 4 months