[opencms-dev] usage of Webform Module 2.0 with opencms 8 without embedding it into a containerpage.
Yves Glodt
yg at mind.lu
Thu Oct 27 15:08:50 CEST 2011
After some more tinkering I found the solution:
- Set the "template"-property to the actual template of your site
- Let the "template-elements"-property empty, it automatically falls back
to /system/modules/...webform/pages/form.jsp
- forget the cms:include of the
/system/modules/...webform/pages/form.jsp, you don't need it anymore. The
form appears between the head and foot elements of the template.
HTH
On 27 October 2011 13:35, Yves Glodt <yg at mind.lu> wrote:
> Hello list,
>
> I wonder if maybe someone from Alkacon can answer this questions, which
> came first up on August 19, and remained unanswered.
>
> So far I was under the impression that generally importing content from a
> previous version of OpenCms was supposed to work seamlessly.
>
> And if not, I believe, these kinds of issues should be answered on the
> mailing list.
>
> best regards,
> Yves
>
>
>
>
>
> On 27 October 2011 10:54, Yves Glodt <yg at mind.lu> wrote:
>
>> Hi, I seem to run into this issue as well, Stephan, did you find a
>> solution ?
>>
>> I would like to import a site which works well in 7.5 to OpenCms 8,
>> keeping the necessary changes as low as possible...
>>
>> best regards,
>> Yves
>>
>> On 19 August 2011 16:04, Stephan Kugelmann <Stephan.Kugelmann at synaix.de>wrote:
>>
>>> Hi,
>>>
>>> is it possible to use the Webform Module 2.0 with opencms 8 like the
>>> Webform Module 1.4.1?
>>> If I try to open a form I get the following Exception. Only if I embed
>>> the form into a containerpage it works.
>>>
>>> javax.servlet.ServletException: javax.servlet.jsp.JspException:
>>> org.opencms.main.CmsException: Error while reading element bean from request
>>> at
>>> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:907)
>>> at
>>> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
>>> at
>>> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_opencms_formgenerator.elements.form_jsp._jspService(form_jsp.java:327)
>>> at
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>> at
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
>>> at
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
>>> at
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
>>> at
>>> org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:188)
>>> at
>>> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:163)
>>> at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:619)
>>> at
>>> org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:417)
>>> at
>>> org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
>>> at
>>> org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:893)
>>> at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:524)
>>> at
>>> org.opencms.loader.A_CmsXmlDocumentLoader.load(A_CmsXmlDocumentLoader.java:224)
>>> at
>>> org.opencms.loader.CmsXmlContentLoader.load(CmsXmlContentLoader.java:44)
>>> at
>>> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1049)
>>> at
>>> org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1596)
>>> at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
>>> at
>>> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:257)
>>> at
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
>>> at
>>> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1764)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>> at java.lang.Thread.run(Thread.java:662)
>>> Caused by: org.opencms.main.CmsException: Error while reading element
>>> bean from request
>>> at
>>> org.opencms.ade.configuration.CmsADEManager.getCurrentElement(CmsADEManager.java:351)
>>> at
>>> org.opencms.jsp.CmsJspTagFormatter.init(CmsJspTagFormatter.java:195)
>>> at
>>> org.opencms.jsp.CmsJspTagFormatter.doStartTag(CmsJspTagFormatter.java:119)
>>> at
>>> org.apache.jsp.WEB_002dINF.jsp.offline.system.modules.com_alkacon_opencms_formgenerator.elements.form_jsp._jspService(form_jsp.java:267)
>>> ... 41 more
>>>
>>> Kind Regards,
>>> Stephan
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please
>>> visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20111027/d6d3c7a6/attachment.htm>
More information about the opencms-dev
mailing list