AnsweredAssumed Answered

Not able to create Dynamic content using WebForm

Question asked by manishranga on Aug 2, 2011
Latest reply on Aug 2, 2011 by sujaypillai
Hi All,

       I am following the Web Content Management book of packtpub for creating webforms. When i am trying to create dynamic content it is throwing me following exception.


javax.faces.FacesException: java.lang.RuntimeException: widget definitions org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} and org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} collide
caused by:
org.apache.jasper.JasperException: java.lang.RuntimeException: widget definitions org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} and org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} collide
caused by:
java.lang.RuntimeException: widget definitions org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} and org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} collide

Hide Details

javax.faces.FacesException: java.lang.RuntimeException: widget definitions org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} and org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} collide
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)
at sun.reflect.GeneratedMethodAccessor721.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy374.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
at sun.reflect.GeneratedMethodAccessor721.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy374.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.jasper.JasperException: java.lang.RuntimeException: widget definitions org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} and org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} collide
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:515)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
at org.apache.jsp.jsp.wizard.container_jsp._jspService(container_jsp.java:558)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
… 49 more
Caused by: java.lang.RuntimeException: widget definitions org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} and org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement{xformsType: xf:textarea, xmlSchemaType: null, appearance: custom, javascriptClassName: alfresco.xforms.RichTextEditor, numParams: 8} collide
at org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement.compareTo(XFormsProcessor.java:387)
at org.alfresco.web.forms.xforms.XFormsProcessor$1WidgetConfigElement.compareTo(XFormsProcessor.java:333)
at java.util.TreeMap.put(TreeMap.java:545)
at java.util.TreeSet.add(TreeSet.java:238)
at org.alfresco.web.forms.xforms.XFormsProcessor.loadConfig(XFormsProcessor.java:427)
at org.alfresco.web.forms.xforms.XFormsProcessor.<init>(XFormsProcessor.java:113)
at org.alfresco.web.forms.FormImpl.getFormProcessors(FormImpl.java:254)
at org.alfresco.web.ui.wcm.component.UIFormProcessor.encodeBegin(UIFormProcessor.java:96)
at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:467)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:320)
at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_002dxml_jsp._jspx_meth_wcm_005fformProcessor_005f0(create_002dxml_jsp.java:107)
at org.apache.jsp.jsp.wcm.create_002dweb_002dcontent_002dwizard.create_002dxml_jsp._jspService(create_002dxml_jsp.java:75)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
… 72 more
Can any one help me on resolving this issue. Its very important and high priority. I am trying create a form using XFORM. Other than this, is there any other way to create a form using xform in alfresco. Thanks in advance..

Regards
——————————————–
Manish Chandra Ranga
mail-to-catch: rchandra@innominds.com

Outcomes