0 Replies Latest reply on Jan 26, 2009 11:16 AM by Jochen Zink

    rich:component not Found

    Jochen Zink Newbie

      Hello,

      I'm using RichFaces 3.3.0, with MyFaces 1.2.5 and Spring WebFlow 2.0.5 inside tomcat 6.0.14

      I have a simple rich:dataTable, contains a a4j:commandlink:

      <a4j:commandLink ajaxSingle="true" id="deletelink" oncomplete="#{rich:component('deletePanel')}.show()">
       <h:outputText value="D" />
      </a4j:commandLink>


      Outside the table, I have a modalPanel:
      <rich:modalPanel id="deletePanel" autosized="true" width="200">


      The Result is the following Exception:

      javax.el.ELException: /mandantenEditor.xhtml @137,79 oncomplete="#{rich:component('deletePanel')}.show()": Function 'rich:component' not found
       at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
       at org.ajax4jsf.component.html.HtmlAjaxCommandLink.getOncomplete(HtmlAjaxCommandLink.java:736)
       at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:79)
       at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1383)
       at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
       at org.ajax4jsf.component.AjaxViewRoot.broadcastAjaxEvents(AjaxViewRoot.java:340)
       at org.ajax4jsf.application.AjaxViewHandler.processAjaxEvents(AjaxViewHandler.java:216)
       at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:169)
       at org.springframework.faces.webflow.JsfView.render(JsfView.java:94)
       at org.springframework.webflow.engine.ViewState.render(ViewState.java:245)
       at org.springframework.webflow.engine.ViewState.resume(ViewState.java:204)
       at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
       at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:262)
       at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:163)
       at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:173)
       at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)
       at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
       at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
       at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
       at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
       at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       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:390)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
       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:233)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       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:263)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:595)


      It looks like, that everythink is similar to the Exadel Demo on http://livedemo.exadel.com/richfaces-demo/

      Has anyone a idea?

      Regards
      Jochen