Hi,<br><br>any idea on how to correctly set up the template for the webform in OpenCms 8 ?<br><br><br><br><div class="gmail_quote">On 25 October 2011 10:05, Yves Glodt <span dir="ltr"><<a href="mailto:yg@mind.lu">yg@mind.lu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br><br>I have a webform  which I created with the formgenerator module version 1.4.1, on OpenCms 7.5.4, and which worked fine.<br>

<br>The actual displaying of the form was done by including             <b><cms:include file="/system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp" editable="false" /></b><br>
<br>The property <b>template-elements</b> of the form is set to the actual jsp template of the site.<br><br><br>Now I installed OpenCms 8.0.2, and installed the webform module version 2.0, imported the site.<br><br>Everything seems to work, except the forms, with the following exception:<br>


<br>Errorjavax.servlet.jsp.JspException: javax.servlet.ServletException: File "/system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp" not found<br>Reason: File "/system/modules/com.alkacon.opencms.formgenerator/pages/form.jsp" not found <br>


<br>The mentioned jsp does really not exist anymore. So I tried using /system/modules/com.alkacon.opencms.formgenerator/elements/form.jsp, but then I get the exception shown at the end of the mail.<br><br>I read the documentation but did not see what I need to change to get the form running on OpenCms 8 with the webform module 2.0.<br>


<br>Does someone have a pointer ?<br><br><br>best regards,<br>Yves<br><br><br><br><br><br>javax.servlet.ServletException: javax.servlet.jsp.JspException: org.opencms.main.CmsException: Error while reading element bean from request<br>


    at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)<br>    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)<br>    at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_mycompany_v3.templates.template_jsp._jspService(yougenio_jsp.java:1146)<br>


    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>


    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>


    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)<br>


    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)<br>    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)<br>


    at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)<br>    at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:612)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)<br>


    at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)<br>    at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:886)<br>    at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:517)<br>


    at org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:224)<br>    at org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:44)<br>    at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1062)<br>


    at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1598)<br>    at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>


    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)<br>


    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)<br>    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)<br>    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)<br>


    at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)<br>    at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)<br>    at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)<br>


    at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)<br>    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>


    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>


    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>


    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)<br>    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)<br>


    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)<br>    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)<br>    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)<br>


    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)<br>    at java.lang.Thread.run(Thread.java:662)<br>Caused by: org.opencms.main.CmsException: Error while reading element bean from request<br>


    at org.opencms.ade.configuration.CmsADEManager.getCurrentElement(CmsADEManager.java:351)<br>    at org.opencms.jsp.CmsJspTagFormatter.init(CmsJspTagFormatter.java:195)<br>    at org.opencms.jsp.CmsJspTagFormatter.doStartTag(CmsJspTagFormatter.java:119)<br>


    at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_opencms_formgenerator.elements.form_jsp._jspService(form_jsp.java:244)<br>    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>


    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>


    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>


    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)<br>    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)<br>


    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)<br>


    at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:612)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)<br>    at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)<br>


    at org.opencms.jsp.CmsJspTagInclude.includeActionWithCache(CmsJspTagInclude.java:356)<br>    at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:232)<br>    at org.opencms.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:467)<br>


    at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_mycompany_v3.templates.template_jsp._jspx_meth_cms_005finclude_005f4(yougenio_jsp.java:2499)<br>    at org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_mycompany_v3.templates.template_jsp._jspService(yougenio_jsp.java:988)<br>


    ... 51 more<br><br><br><br><br>
</blockquote></div><br>