AW: [opencms-dev] Module form in Alpha3 Errors

Andreas Zahner A.Zahner at alkacon.com
Wed Jan 26 11:43:06 CET 2005


Marc,

Sorry about that, the Jar file opencms-templateone.jar was not updated in
the CVS head. Check out the template one basic module to get the updated jar
file.

Regards,

Andreas Zahner
Alkacon Software - The OpenCms Experts
http://www.alkacon.com  

-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Marc Fievet
Gesendet: Dienstag, 25. Januar 2005 14:02
An: opencms-dev at opencms.org
Betreff: [opencms-dev] Module form in Alpha3 Errors

Hello,

I try to run the new moduel form (org.opencms.frontend.templateone.form)

on  my e workplace, I can choose the  xml structured form and I can put some
items in the fields but when I publish the file, the followings errors:
"org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 0 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
    [javac] Compiling 1 source file

C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:8:
package org.opencms.frontend.templateone.form does not exist
import org.opencms.frontend.templateone.form.*;
^
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:50:
cannot resolve symbol
symbol  : class CmsFormHandler
location: class org.apache.jsp.form_html_jsp
CmsFormHandler cms = new CmsFormHandler(pageContext, request, response);
^

An error occurred at line: 0 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:50:
cannot resolve symbol
symbol  : class CmsFormHandler
location: class org.apache.jsp.form_html_jsp
CmsFormHandler cms = new CmsFormHandler(pageContext, request, response);
                         ^
An error occurred at line: 36 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:96:
cannot resolve symbol
symbol  : class CmsForm
location: class org.apache.jsp.form_html_jsp
	CmsForm formConfiguration = cms.getFormConfiguration();
        ^



An error occurred at line: 52 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:109:
cannot resolve symbol
symbol  : variable CmsFormHandler
location: class org.apache.jsp.form_html_jsp
      out.print( CmsFormHandler.C_PARAM_FORMACTION );
                 ^



An error occurred at line: 52 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:111:
cannot resolve symbol
symbol  : variable CmsFormHandler
location: class org.apache.jsp.form_html_jsp
      out.print( CmsFormHandler.C_ACTION_SUBMIT );
                 ^



An error occurred at line: 54 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:122:
cannot resolve symbol
symbol  : class CmsField
location: class org.apache.jsp.form_html_jsp
		CmsField field = (CmsField)i.next();
                ^



An error occurred at line: 54 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:122:
cannot resolve symbol
symbol  : class CmsField
location: class org.apache.jsp.form_html_jsp
		CmsField field = (CmsField)i.next();
                                  ^



An error occurred at line: 54 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/pa
ges/form.html.jsp

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:129:
package CmsFormHandler does not exist
			if
(CmsFormHandler.C_ERROR_MANDATORY.equals(errorMessage)) {
                                          ^



An error occurred at line: 0 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pa\form_html_jsp.java:147:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		if (fieldType.equals(CmsField.C_TYPE_HIDDEN)) {
                                 ^

An error occurred at line: 4 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:158:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_TEXT)) {
                                          ^
An error occurred at line: 13 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:184:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_TEXTAREA)) {
                                          ^

An error occurred at line: 22 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:210:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_SELECT)) {

An error occurred at line: 31 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:230:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption =
(CmsFieldItem)k.next();
                                        ^
An error occurred at line: 31 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:230:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption =
(CmsFieldItem)k.next();
                                                                  ^

An error occurred at line: 47 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:250:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_CHECKBOX)) {
                                          ^



An error occurred at line: 55 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:265:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption =
(CmsFieldItem)k.next();
                                        ^



An error occurred at line: 55 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:265:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption =
(CmsFieldItem)k.next();
                                                                  ^



An error occurred at line: 70 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:284:
cannot resolve symbol
symbol  : variable CmsField
location: class org.apache.jsp.form_html_jsp
		else if (fieldType.equals(CmsField.C_TYPE_RADIO)) {
                                          ^


An error occurred at line: 78 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:299:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption =
(CmsFieldItem)k.next();
                                        ^

An error occurred at line: 78 in the jsp file:
/WEB-INF/jsp/offline/system/modules/org.opencms.frontend.templateone.form/js
ptemplates/inputfields.txt

Generated servlet error:
C:\Tomcat4.1\work\Standalone\localhost\opencms\WEB-INF\jsp\offline\system\mo
dules\org.opencms.frontend.templateone.form\pages\form_html_jsp.java:299:
cannot resolve symbol
symbol  : class CmsFieldItem
location: class org.apache.jsp.form_html_jsp
					CmsFieldItem curOption =
(CmsFieldItem)k.next();"
                                                                  ^

What's wrong?

Thank you,

Regards

MARC






_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list