Thanks! Mario,<br>the module is working...<br><br><div class="gmail_quote">2010/6/8 Mario Jäger <span dir="ltr"><<a href="mailto:m.jaeger@alkacon.com">m.jaeger@alkacon.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Tony,<br>
<br>
Please, check that the com.alkacon.opencms.formgenerator.jar is in your WEB-INF/lib/ directory.<br>
I can reproduce your problem, if I try to create a "Survey" without the jar file there.<br>
<br>
--<br>
Kind Regards,<br>
Mario.<br>
<br>
-------------------<br>
Mario Jäger<br>
<div class="im"><br>
Alkacon Software GmbH  - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
<br>
<br>
</div>tony fauzzi schrieb:<br>
<div><div></div><div class="h5">> Hi,<br>
> i'm installed a survey module and so, also a formgenerator module.<br>
> I need of a new functionality in formgenerator module that is  in<br>
> developmet phase and so i've rebuild all class and generated a new jar<br>
> file.<br>
> When i try to create a new file type Survey,  opencms return this:<br>
><br>
> rg.opencms.xml.CmsXmlException: Invalid custom widget class<br>
> "com.alkacon.opencms.formgenerator.CmsSelectWidgetXmlcontentType" for<br>
> element "Preset" in content definition<br>
> "opencms://system/modules/com.alkacon.opencms.formgenerator/schemas/optionalformcaptcha.xsd".<br>
>     at<br>
> org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1189)<br>
>     at<br>
> org.opencms.xml.content.CmsDefaultXmlContentHandler.initLayouts(CmsDefaultXmlContentHandler.java:1398)<br>
>     at<br>
> org.opencms.xml.content.CmsDefaultXmlContentHandler.initialize(CmsDefaultXmlContentHandler.java:529)<br>
>     at<br>
> org.opencms.xml.CmsXmlContentDefinition.unmarshalInternal(CmsXmlContentDefinition.java:746)<br>
>     at<br>
> org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:303)<br>
>     at<br>
> org.opencms.xml.CmsXmlContentDefinition.unmarshalInternal(CmsXmlContentDefinition.java:649)<br>
>     at<br>
> org.opencms.xml.CmsXmlContentDefinition.unmarshal(CmsXmlContentDefinition.java:257)<br>
>     at<br>
> org.opencms.file.types.CmsResourceTypeXmlContent.createResource(CmsResourceTypeXmlContent.java:143)<br>
>     at org.opencms.file.CmsObject.createResource(CmsObject.java:733)<br>
>     at<br>
> org.opencms.workplace.explorer.CmsNewResourceXmlContent.actionCreateResource(CmsNewResourceXmlContent.java:181)<br>
>     at<br>
> org.apache.jsp.WEB_002dINF.jsp.offline.system.workplace.commons.newresource_005fxmlcontent_jsp._jspService(newresource_005fxmlcontent_jsp.java:66)<br>
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)<br>
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)<br>
>     at<br>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)<br>
>     at<br>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)<br>
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br>
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)<br>
>     at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<br>
>     at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>
>     at<br>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)<br>
>     at<br>
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)<br>
>     at<br>
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)<br>
>     at<br>
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)<br>
>     at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:509)<br>
>     at<br>
> org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1052)<br>
>     at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1490)<br>
>     at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)<br>
>     at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)<br>
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)<br>
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)<br>
>     at<br>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<br>
>     at<br>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>
>     at<br>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br>
>     at<br>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)<br>
>     at<br>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
>     at<br>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<br>
>     at<br>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<br>
>     at<br>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)<br>
>     at<br>
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:835)<br>
>     at<br>
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)<br>
>     at<br>
> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)<br>
>     at java.lang.Thread.run(Unknown Source)<br>
> Caused by: java.lang.ClassNotFoundException:<br>
> com.alkacon.opencms.formgenerator.CmsSelectWidgetXmlcontentType<br>
>     at<br>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)<br>
>     at<br>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)<br>
>     at java.lang.Class.forName0(Native Method)<br>
>     at java.lang.Class.forName(Unknown Source)<br>
>     at<br>
> org.opencms.xml.content.CmsDefaultXmlContentHandler.addWidget(CmsDefaultXmlContentHandler.java:1186)<br>
>     ... 41 more<br>
><br>
> thanks at all!<br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
<br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tony Fauzzi<br><br><br><br><br><br>Il/La sottoscritto/a, acquisite le informazioni di cui all'art. 13 del decreto legislativo 196/2003, conferisce il consenso alla raccolta e al trattamento dei propri dati personali.<br>