[opencms-dev] Edit problem
Michael Goodwin
mgoodwin at amadeus.net
Wed Jan 7 09:09:02 CET 2004
re: my problem. If someone could forward me the actual html/javascript
source they see in IE when they open up a file to edit the source.
Incidentally I have a similar problem if I try to create, say, a plain text
file. I put all the information into the form (title, etc...) and when I
press ok nothing happens. So the source to this would be of interest too.
Get something similar to 'error on page' in the information bar at the
bottom of the browser.
I really am just trying to get the most basic standard install working and
am being frustrated (hopefully I'll get to the bottom of this, and it will
all be worth it).
Mike.
From: Michael Goodwin <mgoodwin at amadeus.net>@opencms.org on 06/01/2004
15:19
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: opencms-dev at opencms.org
cc:
Subjec [opencms-dev] Edit problem
t:
I have installed opencms 5.0, on win 2000 server, with mysql and tomcat
4.1 and 5.0, IE 6.0
I have come across some familiar problems in trying to do the (infamous)
"New Try" tutorial.
I have got replaced xerces with 1.4.4 version
I changed the entire system tree's ownership to admin and published it.
Editing still doesn't work. For both the ActiveX control and the html
source editor, but I've included the source as the easier case.
-I've included some errors which might be a clue from the opencms log which
happened (I think) when i did the publishing and
-I've included the source of the source code editor. Essentially the
functions doEdit() and doEditHtml() don't seem to have a definition.
Notable is that the source-code is included so the problem is something to
do with the editing page itself.
All help appreciated, hopefully I can contribute soon.
---------------------****tail of opencms
log******-----------------------------------------
[06.01.2004 12:18:56] <opencms_info> [CmsLogin] Login user Admin
[06.01.2004 12:19:44] <opencms_info> [CmsElementXml
(CmsXmlTemplateEditor/edit_page_main)] Error in getContent for template
class com.opencms.workplace.CmsXmlTemplateEditor
[06.01.2004 12:20:01] <opencms_info> [CmsElementXml
(CmsXmlTemplateEditor/edit_page_main)] Error in getContent for template
class com.opencms.workplace.CmsXmlTemplateEditor
[06.01.2004 12:22:35] <opencms_info> [CmsElementXml
(CmsXmlTemplateEditor/edit_page_main)] Error in getContent for template
class com.opencms.workplace.CmsXmlTemplateEditor
[06.01.2004 12:23:24] <opencms_info> [CmsElementXml
(CmsXmlTemplateEditor/edit_page_main)] Error in getContent for template
class com.opencms.workplace.CmsXmlTemplateEditor
[06.01.2004 12:23:36] <opencms_info> [CmsElementXml
(CmsXmlTemplateEditor/edit_page_main)] Error in getContent for template
class com.opencms.workplace.CmsXmlTemplateEditor
[06.01.2004 12:48:11] <opencms_critical> [CmsElementXml
(CmsPublishResource/publish_resource)] Non OpenCms error occured in
getContent for template class com.opencms.workplace.CmsPublishResource
[06.01.2004 12:58:54] <opencms_critical>
[com.opencms.file.CmsObject.publishProject()/1] Project:25 Time:Tue Jan 06
12:58:54 CET 2004
[06.01.2004 12:58:54] <opencms_critical>
[com.opencms.file.CmsObject.publishProject()/1] User: [User]:Admin , Id=2 ,
flags=0 , type=0 :the admin-user
[06.01.2004 12:58:54] <opencms_critical>
[com.opencms.file.CmsObject.publishProject()/1] Exception:
com.opencms.core.CmsException: 2 Not found. Detailed error:
[com.opencms.file.mySql.CmsDbAccess]
/default/vfs/system/bodies/release/~upgrade.html.
[06.01.2004 12:58:54] <opencms_info>
[com.opencms.file.CmsObject.publishProject()/2] Project:25 Time:Tue Jan 06
12:58:54 CET 2004
[06.01.2004 12:58:54] <opencms_info>
[com.opencms.file.CmsObject.publishProject()/2] User: [User]:Admin , Id=2 ,
flags=0 , type=0 :the admin-user
[06.01.2004 12:58:54] <opencms_info>
[com.opencms.file.CmsObject.publishProject
---------------------****source of source code editor as taken from IE
6**** ---------------------------------------------
<html>
<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-1">
<title>OpenCms Workplace of (Admin)</title>
<link rel=stylesheet type="text/css" href="/opencms/resources/format.css">
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-- Editor options: -->
var USE_FONTSIZE = true;
var USE_FONTFACE = true;
var USE_FONTCOLOR = true;
var USE_BGCOLOR = true;
var USE_PRINTBUTTON = false;
var USE_BODYSELECTOR = false;
var USE_NEWBODYOPTION = false;
var USE_TEMPLATESELECTOR = true;
var USE_DOWNLOADGALS = true;
var USE_EXTERNLINKGALS = true;
var USE_IMAGEGALS = true;
var USE_HTMLGALS = true;
var USE_LINKSTYLEINPUTS = false;
<!-- OpenCms context prefix, required for page editor because no link
replacement is done here -->
var linkEditorPrefix = "/opencms/opencms";
<!-- Sets the Document Source-Code for later including into the text
editor -->
var
text="%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22ISO-8859-1%22%3F%3E%0A%3CXMLTEMPLATE%3E%0A%20%20%20%20%3CTEMPLATE%3E%3C%21%5BCDATA%5B%3Ch2%3EInstallation%20of%20OpenCms%205.0%3C%2Fh2%3E%0AThis%20page%20provides%20information%20on%20how%20to%20install%20OpenCms%20using%20%3Ca%20href%3D%22http%3A%2F%2Fjakarta.apache.org%2Ftomcat%2Findex.html%22%20target%3D%22extern%22%3ETomcat%3C%2Fa%3E%20and%20%3Ca%20href%3D%22http%3A%2F%2Fwww.mysql.com%22%20target%3D%22extern%22%3EMySql%3C%2Fa%3E.%20All%20installation%20parts%20are%20described%20as%20single%20steps.%20After%20completing%20each%20step%20you%20are%20strongly%20advised%20to%20verify%20the%20success.%20%3Cp%3E%3Cstrong%3E1.%20Install%20the%20Java%202%20SDK%2C%20version%201.4%20or%20newer%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%3Cp%3EInstall%20the%20Java%202%20SDK%2C%20version%201.4%20or%20newer%20%28from%20SUN%20%3Ccode%3E%3Ca%20href%3D%22http%3A%2F%2Fjava.sun.com%
2Fproducts%2Fj2se%2F%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fjava.sun.com%2Fproducts%2Fj2se%2F%3C%2Fa%3E%3C%2Fcode%3E%29.%20For%20details%20on%20how%20to%20install%20these%20components%20on%20your%20operating%20system%2C%20see%20the%20documentation%20that%20comes%20with%20them.%20You%20must%20install%20the%20Java%20%3Ci%3ESDK%3C%2Fi%3E%2C%20not%20the%20%3Ci%3EJRE%3C%2Fi%3E%20%28Java%20Runtime%20Environment%29%20that%20is%20also%20available%20from%20SUN.%20The%20JRE%20is%20%3Ci%3Enot%3C%2Fi%3E%20sufficient%20to%20run%20OpenCms%21%3C%2Fp%3E%0A%3Cp%3E%3Cb%3EImportant%3C%2Fb%3E%3A%20This%20version%20of%20OpenCms%20was%20tested%20with%20Java%201.4%20only.%20Some%20features%20regarding%20file%20encoding%20where%20used%20that%20are%20not%20available%20with%20Java%20releases%20before%201.4.%3C%2Fp%3E%0A%3C%2Fblockquote%3E%3Cp%3E%3Cstrong%3E2.%20Install%20Tomcat%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%3Cp%3EOpenCms%205.0%2
0requires%20a%20Servlet%202.3%20%2F%20JSP%201.2%20standards%20compliant%20container.%20Tomcat%204%20is%20the%20reference%20implementation%20of%20this%20Standard.%20This%20release%20was%20tested%20with%20Tomcat%204.0.x%20and%20Tomcat%204.1.x.%20Older%20versions%20of%20Tomcat%20%283.x%20and%20earlier%29%20do%20not%20support%20this%20newer%20standard%20and%20are%20thus%20not%20usable%20for%20OpenCms%205.0.%3C%2Fp%3E%0A%3Cp%3EInstall%20Tomcat%20from%20%3Ccode%3E%3Ca%20href%3D%22http%3A%2F%2Fjakarta.apache.org%2Ftomcat%2Findex.html%22%20target%3D%22extern%22%3Ehttp%3A%2F%2Fjakarta.apache.org%2Ftomcat%2Findex.html%3C%2Fa%3E%3C%2Fcode%3E%20into%20a%20folder%20of%20your%20choice.%20This%20is%20the%20%3Ccode%3ECATALINA_HOME%3C%2Fcode%3E%20folder.%20Don%27t%20forget%20to%20set%20the%20environment%20variables%20%3Ccode%3ECATALINA_HOME%3C%2Fcode%3E%20and%20%3Ccode%3EJAVA_HOME%3C%2Fcode%3E.%3C%2Fp%3E%0A%3Cp%3ETest%20the%20installation%20by%20running%20Tomcat%20in%20standalone%20mode%20an
d%20check%20the%20examples.%20Note%3A%20Tomcat%20uses%20port%208080%20in%20standalone%20mode.%20If%20you%20wish%2C%20you%20can%20combine%20the%20servlet-engine%20with%20a%20webserver%20like%20the%20Apache%20Web%20Server%20%3Ccode%3E%3Ca%20href%3D%22http%3A%2F%2Fwww.apache.org%2Fhttpd.html%22%20target%3D%22extern%22%3Ehttp%3A%2F%2Fwww.apache.org%2Fhttpd.html%3C%2Fa%3E%3C%2Fcode%3E%20.%20Please%20see%20the%20documentation%20available%20with%20the%20webserver%20on%20how%20to%20combine%20it%20with%20your%20servlet%20environment.%3C%2Fp%3E%0A%3Cp%3E%3Cem%3E%3Cstrong%3EImportant%3C%2Fstrong%3E%3A%3C%2Fem%3E%20To%20make%20sure%20Tomcat%20works%20with%20the%20correct%20charset%20to%20read%20and%20write%20files%20you%20should%20add%20the%20following%20parameter%20to%20the%20commandline%20that%20is%20used%20to%20start%20Tomcat%3A%20%3Ccode%3E-Dfile.encoding%3DISO-8859-1.%3C%2Fcode%3E%20You%20can%20set%20the%20environment%20variable%20%3Ccode%3ECATALINA_OPTS%3C%2Fcode%3E%20to%20do%20so
%20%28%3Ccode%3ECATALINA_OPTS%3D-Dfile.encoding%3DISO-8859-1%3C%2Fcode%3E%20%29.%20The%20default%20encoding%20of%20OpenCms%20is%20%3Ccode%3EISO-8859-1%3C%2Fcode%3E%2C%20but%20you%20can%20also%20set%20another%20encoding%20supported%20by%20your%20Java%20VM%2C%20e.g.%20%3Ccode%3EUTF-8%3C%2Fcode%3E.%20In%20case%20you%20do%20not%20care%20about%20the%20encoding%2C%20the%20default%20is%20most%20likley%20what%20you%20need.%3C%2Fp%3E%0A%3Cp%3E%3Cem%3E%3Cstrong%3ESetting%20the%20file%20encoding%20on%20Windows%20systems%3C%2Fstrong%3E%3A%3C%2Fem%3E%20To%20avoid%20problems%20regarding%20the%20encoding%2C%20run%20Tomcat%20in%20standalone%20mode%20and%20edit%20the%20properties%20of%20the%20shortcut%20%26quot%3BStart%20Tomcat%26quot%3B%20in%20the%20start%20menu%20of%20Windows.%20Add%20the%20parameter%20%3Ccode%3E-Dfile.encoding%3DISO-8859-1%3C%2Fcode%3E%20to%20the%20command%20line%20behind%20the%20call%20of%20the%20java%20executable.%20Here%27s%20an%20example%20of%20how%20the%20start%20com
mand%20of%20Tomcat%20should%20look%20like%20after%20the%20modification%3A%20%3Ccode%3Ec%3A%5Cj2sdk1.4.1%5Cbin%5Cjava.exe%20-jar%20%3Cstrong%3E-Dfile.encoding%3DISO-8859-1%3C%2Fstrong%3E%20-Duser.dir%3D%26quot%3BC%3A%5Ctomcat4%26quot%3B%20%26quot%3BC%3A%5Ctomcat4%5Cbin%5Cbootstrap.jar%26quot%3B%20start%3C%2Fcode%3E%20.%3C%2Fp%3E%0A%3Cstrong%3E3.%20Install%20MySQL%3C%2Fstrong%3E%3C%2Fblockquote%3E%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%3Cp%3EInstall%20MySQL%20from%20%3Ccode%3E%3Ca%20href%3D%22http%3A%2F%2Fwww.mysql.com%2Fdownloads%2Findex.html%22%20target%3D%22extern%22%3Ehttp%3A%2F%2Fwww.mysql.com%2Fdownloads%2Findex.html%3C%2Fa%3E%3C%2Fcode%3E%20%28see%20the%20MySQL%20documentation%20on%20%3Ccode%3E%3Ca%20href%3D%22http%3A%2F%2Fwww.mysql.com%2Fdocumentation%2Findex.html%22%20target%3D%22extern%22%3Ehttp%3A%2F%2Fwww.mysql.com%2Fdocumentation%2Findex.html%3C%2Fa%3E%3C%2Fcode%3E%20%29.%20On%20Windows-based%20systems%20MySQL%20has%20to%20be%20ins
talled%20on%20the%20%3Ccode%3EC%3A%5C%3C%2Fcode%3E%20drive%20and%20should%20be%20registered%20as%20service%20using%20%3Ccode%3E%28your%20MySQL%20path%29%2Fmysql%2Fbin%2Fmysqld%20-install%3C%2Fcode%3E.%3C%2Fp%3E%0A%3Cp%3EStart%20the%20MySQL%20server%20by%20running%20the%20service%20%28WIN32%29%20or%20executing%20%3Ccode%3E%28your%20MySQL%20path%29%2Fmysql%2Fbin%2Fmysqld%3C%2Fcode%3E%20%28UNIX%29.%3C%2Fp%3E%0A%3Cp%3ECheck%20that%20MySQL%20is%20running%20before%20you%20continue%20by%20starting%20the%20MySQL%20monitor%20%28execute%20%3Ccode%3Emysql%3C%2Fcode%3E%20in%20your%20MySQL%20bin%20folder%29.%20The%20database%20works%20correctly%20if%20a%20MySQL%20prompt%20appears%20after%20calling%20the%20monitor.%20Quit%20the%20MySQL%20monitor%20by%20typing%20exit%20and%20go%20to%20the%20next%20step.%3C%2Fp%3E%0A%3C%2Fblockquote%3E%3Cp%3E%3Cstrong%3E4.%20Deploy%20the%20opencms.war%20file%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%
3Cp%3ECopy%20the%20%3Ccode%3Eopencms.war%3C%2Fcode%3E%20file%20from%20the%20binary%20distribution%20ZIP%20file%20to%20%3Ccode%3ECATALINA_HOME%2Fwebapps%2F%3C%2Fcode%3E.%20Replace%20%3Ccode%3ECATALINA_HOME%3C%2Fcode%3E%20with%20the%20real%20path%20to%20your%20Tomcat%20installation.%3C%2Fp%3E%0A%3Cp%3EStart%20%28or%20restart%29%20Tomcat.%20Tomcat%20will%20now%20deploy%20the%20web%20application%20OpenCms.%3C%2Fp%3E%0A%3Cp%3E%3Cem%3E%3Cstrong%3EImportant%3C%2Fstrong%3E%3A%3C%2Fem%3E%20OpenCms%20requires%20that%20it%27s%20%3Ccode%3E*.war%3C%2Fcode%3E%20file%20is%20unpacked.%20OpenCms%20can%20not%20be%20deployed%20as%20war%20file%20only.%20Make%20sure%20Tomcat%20does%20unpack%20the%20war%20file%20and%20creates%20the%20%3Ccode%3ECATALINA_HOME%2Fwebapps%2Fopencms%2F%3C%2Fcode%3E%20directory%2C%20placing%20the%20OpenCms%20files%20in%20this%20directory.%20The%20default%20configuration%20for%20your%20Servlet%20containers%20%2F%20environment%20could%20be%20to%20not%20unpack%20the%20depl
oyed%20%3Ccode%3E*.war%3C%2Fcode%3E%20file.%20If%20this%20is%20so%20you%20must%20unpack%20the%20opencms.war%20file%20manually.%20Use%20an%20unzip%20tool%20for%20this%2C%20%3Ccode%3E*.war%3C%2Fcode%3E%20files%20are%20just%20%3Ccode%3E*.zip%3C%2Fcode%3E%20files%20with%20a%20different%20extension.%20The%20OpenCms%20setup%20wizard%20will%20display%20a%20warning%20and%20not%20allow%20you%20to%20continue%20if%20you%20did%20not%20unpack%20the%26nbsp%3B%20%3Ccode%3E*.war%3C%2Fcode%3E%20file.%26nbsp%3B%3C%2Fp%3E%0A%3C%2Fblockquote%3E%3Cp%3E%3Cstrong%3E5.%20Install%20OpenCms%20using%20the%20Setup-Wizard%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%3Cp%3EStart%20the%20Setup-Wizard%20by%20pointing%20your%20webbrowser%20to%20%3Ccode%3Ehttp%3A%2F%2Flocalhost%3A8080%2Fopencms%2Focsetup%3C%2Fcode%3E.%20Depending%20on%20your%20configuration%2C%20you%20have%20to%20replace%20%3Ccode%3Elocalhost%3C%2Fcode%3E%20with%20your%20servername.%20Th
e%20port%208080%20is%20only%20used%20if%20you%20start%20Tomcat%20in%20standalone%20mode.%3C%2Fp%3E%0A%3Cp%3EFollow%20the%20instructions%20of%20the%20OpenCms%20Setup-Wizard%2C%20using%20the%20%26quot%3BStandard%26quot%3B%20setup.%20It%20will%20set%20up%20the%20OpenCms%20database%20and%20import%20all%20workplace%20resources%20into%20the%20system.%20For%20normal%20installations%20with%20MySql%20and%20Tomcat%20running%20on%20the%20same%20server%20all%20default%20settings%20will%20fit%20your%20needs.%3C%2Fp%3E%0A%3Cp%3E%3Cem%3E%3Cstrong%3EImportant%3C%2Fstrong%3E%3A%3C%2Fem%3E%20In%20case%20you%20want%20to%20import%20content%20from%20older%20OpenCms%20versions%20%285.0%20beta%201%20or%204.x%29%2C%20you%20must%20turn%20on%20the%20%26quot%3Bdirectory%20translation%26quot%3B%20feature%20to%20make%20sure%20your%20pages%20still%20work.%20You%20can%20later%20change%20this%20setting%20%28and%20all%20other%20settings%20selected%20during%20setup%29%20by%20editing%20the%20file%20%3Ccode%3E
CATALINA_HOME%2Fwebapps%2Fopencms%2FWEB-INF%2Fconfig%2Fopencms.properties%3C%2Fcode%3E.%3C%2Fp%3E%0A%3C%2Fblockquote%3E%3Cp%3E%3Cstrong%3E6.%20Now%20your%20system%20is%20ready%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%3Cp%3ENow%20your%20system%20is%20ready%20to%20use.%20You%20can%20login%20with%20username%3A%20%3Ccode%3EAdmin%3C%2Fcode%3E%20and%20password%3A%20%3Ccode%3Eadmin%3C%2Fcode%3E.%20Please%20change%20this%20password%20as%20soon%20as%20possible.%20The%20login%20URL%20of%20OpenCms%20in%20a%20default%20configuration%20is%3A%20%3Ccode%3Ehttp%3A%2F%2Flocalhost%3A8080%24%7BOpenCmsContext%7Dsystem%2Flogin%2F%3C%2Fcode%3E%3C%2Fp%3E%0A%3C%2Fblockquote%3E%3Cp%3E%3Cstrong%3E7.%20Security%20issues%3C%2Fstrong%3E%3C%2Fp%3E%0A%3Cblockquote%20dir%3D%22ltr%22%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%3Cp%3EFinally%20after%20you%20have%20installed%20OpenCms%20you%20should%20have%20a%20look%20at%20the%20security%20settings.%3C%
2Fp%3E%0A%3Cp%3EFirst%20change%20the%20%3Ccode%3EAdmin%3C%2Fcode%3E%20user%20password%20of%20OpenCms%20by%20calling%20the%20user%20preferences%20%28the%20%26quot%3Bhammer%26quot%3B%20icon%20on%20the%20main%20screen%20of%20the%20workplace%29.%3C%2Fp%3E%0A%3Cp%3EThen%20you%20can%20add%20a%20password%20to%20the%20MySQL%20database.%20Enter%20the%20following%20commands%20at%20the%20MySQL%20command%20line.%3C%2Fp%3E%0A%3Cp%3E%3C%2Fp%3E%0A%3Cblockquote%3E%3Cpre%3Euse%20mysql%3B%0Ainsert%20into%20user%20values%20%28%27localhost%27%2C%20%3Ci%3E%27opencmsuser%27%3C%2Fi%3E%2C%20%5C%0A%20%20%20%20password%28%27XXXXX%27%29%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%0A%5C%0A%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%29%3B%20%0Ainsert%20into%20db%20values%20%28%27localhost%27%2C%20%3Ci%3E%27opencms%27%3C%2Fi%3E%2C%20%3Ci%3E%27oopencmsuser%27%3C%2Fi%3E%2C%20%5C%0A%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y
%27%2C%27Y%27%2C%27Y%27%29%3B%20%0Aflush%20privileges%3B%20%0A%20%20%20%20%20%20%20%3C%2Fpre%3E%0A%3C%2Fblockquote%3E%3Cp%3EMake%20sure%20you%20replace%20%3Ccode%3Eopencmsuser%3C%2Fcode%3E%20and%20%3Ccode%3Eopencms%3C%2Fcode%3E%20with%20the%20name%20of%20your%20user%20and%20database%20in%20case%20you%20have%20changed%20them%20on%20the%20setup%20wizard.%3C%2Fp%3E%0A%3Cp%3EDon%27t%20forget%20to%20add%20the%20new%20user%20and%20password%20to%20all%20connect%20strings%20of%20the%20database%20in%20your%20%3Ccode%3Eopencms.properties%3C%2Fcode%3E%20file.%20Only%20the%20new%20user%20can%20now%20connect%20to%20the%20OpenCms%20tables.%20For%20more%20information%20see%20the%20MySQL%20documentation.%3C%2Fp%3E%0A%3C%2Fblockquote%3E%5D%5D%3E%3C%2FTEMPLATE%3E%0A%20%20%20%20%3Cedittemplate%3E%3C%21%5BCDATA%5B%3Cp%3E%0A%3CH2%3EInstallation%20of%20OpenCms%205.0%3C%2FH2%3EThis%20page%20provides%20%0Ainformation%20on%20how%20to%20install%20OpenCms%20using%20%3CA%20%0Ahref%3D%22http%3A%2F%2Fjak
arta.apache.org%2Ftomcat%2Findex.html%22%20target%3Dextern%3ETomcat%3C%2FA%3E%20and%20%0A%3CA%20href%3D%22http%3A%2F%2Fwww.mysql.com%22%20target%3Dextern%3EMySql%3C%2FA%3E.%20All%20installation%20parts%20are%20described%20as%20single%20%0Asteps.%20After%20completing%20each%20step%20you%20are%20strongly%20advised%20to%20verify%20the%20success.%20%0A%3CP%3E%3C%2FP%3E%0A%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%3CP%3E%3CSTRONG%3E1.%20Install%20the%20Java%202%20SDK%2C%20version%201.4%20or%20newer%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%3Cp%3EInstall%20the%20Java%202%20SDK%2C%20version%201.4%20or%20newer%20%0A%28from%20SUN%20%3Ccode%3E%3CA%20href%3D%22http%3A%2F%2Fjava.sun.com%2Fproducts%2Fj2se%2F%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fjava.sun.com%2Fproducts%2Fj2se%2F%3C%2FA%3E%3C%2Fcode%3E%29.%20For%0Adetails%20on%20how%20to%20install%20these%20components%20on%20your%20operating%20system%2C%20see%20the%20documentation%0Ath
at%20comes%20with%20them.%20You%20must%20install%20the%20Java%20%3Ci%3ESDK%3C%2Fi%3E%2C%20not%20the%20%3Ci%3EJRE%3C%2Fi%3E%20%28Java%20Runtime%20Environment%29%20that%20is%20also%20available%20from%20SUN.%20%0AThe%20JRE%20is%20%3Ci%3Enot%3C%2Fi%3E%20sufficient%20to%20run%20OpenCms%21%0A%3C%2Fp%3E%3Cp%3E%0A%3Cb%3EImportant%3C%2Fb%3E%3A%20This%20version%20of%20OpenCms%20was%20tested%20with%20Java%201.4%20only.%20Some%20features%0Aregarding%20file%20encoding%20where%20used%20that%20are%20not%20available%20with%20Java%20releases%20before%201.4.%3C%2Fp%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CSTRONG%3E2.%20Install%20Tomcat%3C%2FSTRONG%3E%3C%2FP%3E%0A%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%20%20%3CP%3EOpenCms%205.0%20requires%20a%20Servlet%202.3%20%2F%20JSP%201.2%20standards%20compliant%20container.%20%0A%20%20Tomcat%204%20is%20the%20reference%20implementation%20of%20this%20Standard.%20This%20release%20was%20%0A%20%20tested%20with%20Tomcat%204.0.x%20an
d%20Tomcat%204.1.x.%20Older%20versions%20of%20Tomcat%20%283.x%20and%20%0A%20%20earlier%29%20do%20not%20support%20this%20newer%20standard%20and%20are%20thus%20not%20usable%20for%20%0A%20%20OpenCms%205.0.%20%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%20%20%20%20%20%20%20%20Install%20Tomcat%20from%0A%20%20%20%20%20%20%20%20%3Ccode%3E%3CA%20%0A%20%20href%3D%22http%3A%2F%2Fjakarta.apache.org%2Ftomcat%2Findex.html%22%20%0A%20%20target%3Dextern%3Ehttp%3A%2F%2Fjakarta.apache.org%2Ftomcat%2Findex.html%3C%2FA%3E%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20into%20a%20folder%20of%20your%20choice.%20This%20is%20the%20%3Ccode%3ECATALINA_HOME%3C%2Fcode%3E%20folder.%20Don%27t%20forget%20to%20set%20the%20environment%0A%20%20%20%20%20%20%20%20variables%20%3Ccode%3ECATALINA_HOME%3C%2Fcode%3E%20and%20%3Ccode%3EJAVA_HOME%3C%2Fcode%3E.%0A%20%20%20%20%20%20%20%20%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%20%20%20%2
0%20%20%20%20Test%20the%20installation%20by%20running%20Tomcat%20in%20standalone%20%0A%20%20mode%20and%20check%20the%20examples.%20Note%3A%20Tomcat%20uses%20port%208080%20in%20standalone%20mode.%20%0A%20%20%20%20%20%20%20%20If%20you%20wish%2C%20you%20can%20combine%20the%20servlet-engine%20with%20a%20webserver%20like%20the%20Apache%20Web%20Server%20%0A%20%20%20%20%20%20%20%20%3Ccode%3E%3CA%20%0A%20%20href%3D%22http%3A%2F%2Fwww.apache.org%2Fhttpd.html%22%20%0A%20%20target%3Dextern%3Ehttp%3A%2F%2Fwww.apache.org%2Fhttpd.html%3C%2FA%3E%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20%20%20%20.%20Please%20see%20the%20documentation%20available%20with%20the%20webserver%20on%20how%20to%20combine%20%0A%20%20%20%20%20%20%20%20it%20with%20your%20servlet%20environment.%0A%20%20%20%20%20%20%20%20%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%3CEM%3E%3CSTRONG%3EImportant%3C%2FSTRONG%3E%3A%3C%2FEM%3E%0A%20%20%20%20%20%20%20%20To%20make%20sure%20Tomcat%20works%20with%20the%20
correct%20charset%20to%20read%20and%20write%20files%20you%20should%20add%20the%20following%0A%20%20%20%20%20%20%20%20parameter%20to%20the%20commandline%20that%20is%20used%20to%20start%20Tomcat%3A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Ccode%3E-Dfile.encoding%3DISO-8859-1.%3C%2Fcode%3E%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20You%20can%20set%20the%20environment%20variable%20%3Ccode%3ECATALINA_OPTS%3C%2Fcode%3E%20to%20do%20so%20%0A%20%20%20%20%20%20%20%20%28%3Ccode%3ECATALINA_OPTS%3D-Dfile.encoding%3DISO-8859-1%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%29.%20The%20default%20encoding%20of%20OpenCms%20is%20%3Ccode%3EISO-8859-1%3C%2Fcode%3E%2C%20but%20you%20can%20also%20set%20another%20encoding%20%0A%20%20supported%20by%20your%20Java%20VM%2C%20e.g.%20%3Ccode%3EUTF-8%3C%2Fcode%3E.%20In%20%0A%20%20case%20you%20do%20not%20care%20about%20the%20encoding%2C%20the%20default%20is%20most%20likley%20what%20you%20%0A%20%20need.%0A%20%20%3CP%3E%3CEM%3E%3CST
RONG%3ESetting%20the%20file%20encoding%20on%20Windows%20systems%3C%2FSTRONG%3E%3A%3C%2FEM%3E%20To%20%0A%20%20avoid%20problems%20regarding%20the%20encoding%2C%20run%20Tomcat%20in%20standalone%20mode%20and%20edit%20%0A%20%20the%20properties%20of%20the%20shortcut%20%22Start%20Tomcat%22%20in%20the%20start%20menu%20of%20Windows.%20%0A%20%20Add%20the%20parameter%20%3CCODE%3E-Dfile.encoding%3DISO-8859-1%3C%2FCODE%3E%20to%20the%20command%20line%20%0A%20%20behind%20the%20call%20of%20the%20java%20executable.%20Here%27s%20an%20example%20of%20how%20the%20start%20%0A%20%20command%20of%20Tomcat%20should%20look%20like%20after%20the%20modification%3A%20%0A%20%20%3CCODE%3Ec%3A%5Cj2sdk1.4.1%5Cbin%5Cjava.exe%20-jar%20%0A%20%20%3CSTRONG%3E-Dfile.encoding%3DISO-8859-1%3C%2FSTRONG%3E%20-Duser.dir%3D%22C%3A%5Ctomcat4%22%20%0A%20%20%22C%3A%5Ctomcat4%5Cbin%5Cbootstrap.jar%22%20start%3C%2FCODE%3E%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.%0A%0A%20%20%20%20%20%20%20%20%3Cp%3E%3C%2Fp%
3E%3CSTRONG%3E3.%20Install%20MySQL%3C%2FSTRONG%3E%20%0A%20%20%3CP%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%0A%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%20%20%3CP%3E%0A%20%20%20%20%20%20%20%20Install%20MySQL%20from%20%3Ccode%3E%3CA%20%0A%20%20href%3D%22http%3A%2F%2Fwww.mysql.com%2Fdownloads%2Findex.html%22%20%0A%20%20target%3Dextern%3Ehttp%3A%2F%2Fwww.mysql.com%2Fdownloads%2Findex.html%3C%2FA%3E%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20%28see%20the%20MySQL%20documentation%20on%20%3Ccode%3E%3CA%20%0A%20%20href%3D%22http%3A%2F%2Fwww.mysql.com%2Fdocumentation%2Findex.html%22%20%0A%20%20target%3Dextern%3Ehttp%3A%2F%2Fwww.mysql.com%2Fdocumentation%2Findex.html%3C%2FA%3E%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20%29.%20On%20Windows-based%20systems%20MySQL%20has%20to%20be%20installed%20on%20the%20%3Ccode%3EC%3A%5C%3C%2Fcode%3E%20drive%0A%20%20%20%20%20%20%20%20and%20should%20be%20registered%20as%20service%20using%20%3Ccode%3E%28your%20MySQL%20path%29%2Fmysql%2Fbin%2F
mysqld%20-install%3C%2Fcode%3E.%20%3C%2FP%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%20%20%20%20%20%20%20%20Start%20the%20MySQL%20server%20by%20running%20the%20service%20%28WIN32%29%20or%20executing%20%0A%20%20%20%20%20%20%20%20%3Ccode%3E%28your%20MySQL%20path%29%2Fmysql%2Fbin%2Fmysqld%3C%2Fcode%3E%20%28UNIX%29.%0A%20%20%20%20%20%20%20%20%3C%2Fp%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%20%20%20%20%20%20%20%20Check%20that%20MySQL%20is%20running%20before%20you%20continue%20by%20starting%20the%20MySQL%20monitor%20%0A%20%20%20%20%20%20%20%20%28execute%20%3Ccode%3Emysql%3C%2Fcode%3E%20in%20your%20MySQL%20bin%20folder%29.%0A%20%20%20%20%20%20%20%20The%20database%20works%20correctly%20if%20a%20MySQL%20prompt%20appears%20after%20calling%20the%20monitor.%20%0A%20%20%20%20%20%20%20%20Quit%20the%20MySQL%20monitor%20by%20typing%20exit%20and%20go%20to%20the%20next%20step.%20%0A%20%20%20%20%20%20%20%20%3C%2Fp%3E%3C%2FBLOCKQUOTE%3E%0A%20%20
%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%3CP%3E%3CSTRONG%3E4.%20Deploy%20the%20opencms.war%20file%3C%2FSTRONG%3E%3C%2FP%3E%0A%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%20%20%3CP%3E%0A%20%20%20%20%20%20%20%20Copy%20the%20%3Ccode%3Eopencms.war%3C%2Fcode%3E%20file%20from%20the%20binary%20distribution%20ZIP%20file%20to%20%3Ccode%3ECATALINA_HOME%2Fwebapps%2F%3C%2Fcode%3E.%20%0A%20%20%20%20%20%20%20%20Replace%20%3Ccode%3ECATALINA_HOME%3C%2Fcode%3E%20with%20the%20real%20path%20to%20your%20Tomcat%20%0A%20%20installation.%20%3C%2FP%3E%0A%20%20%3CP%3EStart%20%28or%20restart%29%20Tomcat.%20Tomcat%20will%20now%20deploy%20the%20web%20application%20%0A%20%20OpenCms.%20%3C%2FP%3E%20%20%20%20%20%20%20%20%0A%20%0A%3CP%3E%3C%2FP%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%3CEM%3E%3CSTRONG%3EImportant%3C%2FSTRONG%3E%3A%3C%2FEM%3E%0A%20%20%20%20%20%20%20%20OpenCms%20requires%20that%20it%27s%20%3Ccode%3E*.war%3C%2Fcode%3E%20file%20
is%20unpacked.%20%0A%20%20OpenCms%20can%20not%20be%20deployed%20as%20war%20file%20only.%20Make%20sure%20Tomcat%20does%20unpack%20the%20%0A%20%20war%20file%20and%20creates%20the%20%3CCODE%3ECATALINA_HOME%2Fwebapps%2Fopencms%2F%3C%2FCODE%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20directory%2C%20placing%20the%20OpenCms%20files%20in%20this%20directory.%0A%20%20%20%20%20%20%20%20The%20default%20configuration%20for%20your%20Servlet%20containers%20%2F%20environment%20%0A%20%20%20%20%20%20%20%20could%20be%20to%20not%20unpack%20the%20deployed%20%3Ccode%3E*.war%3C%2Fcode%3E%20file.%20%0A%20%20%20%20%20%20%20%20If%20this%20is%20so%20you%20must%20unpack%20the%20opencms.war%20file%20manually.%0A%20%20%20%20%20%20%20%20Use%20an%20unzip%20tool%20for%20this%2C%20%3Ccode%3E*.war%3C%2Fcode%3E%20files%20are%20just%20%3Ccode%3E*.zip%3C%2Fcode%3E%20files%20with%20a%20different%20extension.%20The%20OpenCms%20%0A%20%20setup%20wizard%20will%20display
%20a%20warning%20and%20not%20allow%20you%20to%20continue%20if%20you%20did%20%0A%20%20not%20unpack%20the%26nbsp%3B%20%3CCODE%3E*.war%3C%2FCODE%3E%20file.%26nbsp%3B%0A%20%20%20%20%20%20%20%20%3C%2Fp%3E%3C%2FBLOCKQUOTE%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%3CP%3E%3CSTRONG%3E5.%20Install%20OpenCms%20using%20the%20Setup-Wizard%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%20%20%3CP%3E%0A%20%20%20%20%20%20%20%20Start%20the%20Setup-Wizard%20by%20pointing%20your%20webbrowser%20to%20%0A%20%20%20%20%20%20%20%20%3Ccode%3Ehttp%3A%2F%2Flocalhost%3A8080%2Fopencms%2Focsetup%3C%2Fcode%3E.%20%0A%20%20Depending%20on%20your%20configuration%2C%20you%20have%20to%20replace%20%3Ccode%3Elocalhost%3C%2Fcode%3E%20with%20your%20%0A%20%20servername.%20The%20port%208080%20is%20only%20used%20if%20you%20start%20Tomcat%20in%20standalone%20mode.%20%0A%20%20%3C%2FP%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0
A%20%20%20%20%20%20%20%20Follow%20the%20instructions%20of%0A%20%20%20%20%20%20%20%20the%20OpenCms%20Setup-Wizard%2C%20using%20the%20%22Standard%22%20setup.%20%0A%20%20It%20will%20set%20up%20the%20OpenCms%20database%20and%20import%20all%20workplace%20resources%0A%20%20%20%20%20%20%20%20into%20the%20system.%20For%20normal%20installations%20with%20MySql%20and%20Tomcat%20running%20on%20the%20same%20server%0A%20%20%20%20%20%20%20%20all%20default%20settings%20will%20fit%20your%20needs.%0A%20%20%20%20%20%20%20%20%3C%2Fp%3E%0A%20%20%3CP%3E%3CEM%3E%3CSTRONG%3EImportant%3C%2FSTRONG%3E%3A%3C%2FEM%3E%20In%20case%20you%20want%20to%20import%20content%20%0A%20%20from%20older%20OpenCms%20versions%20%285.0%20beta%201%20or%204.x%29%2C%20you%20must%20turn%20on%20the%20%0A%20%20%22directory%20translation%22%20feature%20to%20make%20sure%20your%20pages%20still%20work.%20You%20can%20%0A%20%20later%20change%20this%20setting%20%28and%20all%20other%20settings%20selected%20during%20setup%29%20by%20%0A
%20%20editing%20the%20file%20%3Ccode%3ECATALINA_HOME%2Fwebapps%2Fopencms%2FWEB-INF%2Fconfig%2Fopencms.properties%3C%2Fcode%3E.%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%3CP%3E%3CSTRONG%3E6.%20Now%20your%20system%20is%20ready%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%20%20%3CP%3E%0A%20%20%20%20%20%20%20%20Now%20your%20system%20is%20ready%20to%20use.%20You%20can%20login%20with%20username%3A%20%3Ccode%3EAdmin%3C%2Fcode%3E%20and%20password%3A%20%3Ccode%3Eadmin%3C%2Fcode%3E.%20Please%20change%20this%20password%20%0A%20%20%20%20%20%20%20%20as%20soon%20as%20possible.%20The%20login%20URL%20of%20OpenCms%20in%20a%20default%20configuration%20is%3A%0A%20%20%20%20%20%20%20%20%3Ccode%3Ehttp%3A%2F%2Flocalhost%3A8080%24%7BOpenCmsContext%7Dsystem%2Flogin%2F%3C%2Fcode%3E%20%0A%20%20%20%20%20%20%20%20%0A%20%20%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%20%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E7.%20Se
curity%20issues%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%20dir%3Dltr%20style%3D%22MARGIN-RIGHT%3A%200px%22%3E%0A%20%20%3CP%3EFinally%20after%20you%20have%20installed%20OpenCms%20you%20should%20have%20a%20look%20at%20the%20%0A%20%20security%20settings.%20%3C%2FP%3E%0A%20%20%3CP%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20First%20change%0A%20%20%20%20%20%20%20%20the%20%3Ccode%3EAdmin%3C%2Fcode%3E%20user%20password%20of%20%0A%20%20OpenCms%20by%20calling%20the%20user%20preferences%20%28the%20%22hammer%22%20icon%20on%20the%20main%20screen%20of%20%0A%20%20the%20workplace%29.%20%3C%2FP%3E%0A%20%20%3CP%3EThen%20you%20can%20add%20a%20password%20to%20the%20MySQL%20database.%20Enter%20the%20following%20%0A%20%20commands%20at%20the%20MySQL%20command%20line.%3C%2FP%3E%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3E%0A%20%20%20%20%20%20%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%20%20%20%20%20%3Cpre%3E%0Ause%20mysql%3B%0Ainsert%20into%20user%20values%20%28%27localhost%27%2C%20%3Ci%
3E%27opencmsuser%27%3C%2Fi%3E%2C%20%5C%0A%09password%28%27XXXXX%27%29%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%0A%5C%0A%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%2C%27N%27%29%3B%20%0Ainsert%20into%20db%20values%20%28%27localhost%27%2C%20%3Ci%3E%27opencms%27%3C%2Fi%3E%2C%20%3Ci%3E%27oopencmsuser%27%3C%2Fi%3E%2C%20%5C%0A%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%2C%27Y%27%29%3B%20%0Aflush%20privileges%3B%20%0A%20%20%20%20%20%20%20%20%3C%2Fpre%3E%0A%20%20%20%20%20%20%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3EMake%20sure%20you%20replace%20%3Ccode%3Eopencmsuser%3C%2Fcode%3E%20and%20%3Ccode%3Eopencms%3C%2Fcode%3E%0A%20%20%20%20%20%20%20%20with%20the%20name%20of%20your%20user%20and%20database%20in%20case%20you%20have%20changed%20them%20on%20the%0A%20%20%20%20%20%20%20%20setup%20wizard.%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cp%3EDon%
27t%20forget%20to%20add%20the%20new%20user%20and%20password%20to%20all%20%0Aconnect%20strings%20of%20the%20database%20in%20your%20%3Ccode%3Eopencms.properties%3C%2Fcode%3E%20file.%20Only%20the%20new%20%0Auser%20can%20now%20connect%20to%20the%20OpenCms%20tables.%20For%20more%20information%20see%20the%20MySQL%20%0Adocumentation.%3C%2Fp%3E%0A%3C%2FBLOCKQUOTE%3E%5D%5D%3E%3C%2Fedittemplate%3E%0A%3C%2FXMLTEMPLATE%3E%0A";
<!-- URL for pictures -->
var pfad="/opencms/resources/";
<!-- Filename -->
var filename="/system/bodies/release/installation.html";
<!-- Needed space for additional toolbar -->
var space=0;
var tbsize = 34;
var NS = null;
var IE = null;
NS = (document.layers)? true:false;
IE = (document.all)? true:false;
var LANG_CUT = "Cut";
var LANG_COPY = "Copy";
var LANG_PASTE = "Paste";
var LANG_INSERTROW = "Add row";
var LANG_DELETEROW = "Delete row";
var LANG_INSERTCOL = "Add column";
var LANG_DELETECOL = "Delete column";
var LANG_INSERTCELL = "Add cell";
var LANG_DELETECELL = "Delete cell";
var LANG_MERGECELL = "Merge cells";
var LANG_SPLITCELL = "Split cells";
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="/opencms/opencms/system/workplace/scripts/opencms.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="/opencms/opencms/system/workplace/scripts/opencms_edit.js"></SCRIPT>
<!-- Update the Font display on change -->
<SCRIPT LANGUAGE="javascript" FOR="EDIT_HTML" EVENT="DisplayChanged">
<!--
function displayChangedHandle()
{
if (IE==true) return
DisplayChanged();
}
displayChangedHandle();
//-->
</script>
<!-- Show a context menu if the right mousebutton is clicked -->
<script LANGUAGE="javascript" FOR="EDIT_HTML" EVENT="ShowContextMenu">
<!--
function showContextMenuHandle()
{
if (IE==true) return
ShowContextMenu();
}
showContextMenuHandle();
//-->
</script>
<!-- Invoke a context menu action -->
<script LANGUAGE="javascript" FOR="EDIT_HTML"
EVENT="ContextMenuAction(itemIndex)">
<!--
function contextMenuActionHandle()
{
if (IE==true)
return ContextMenuAction(itemIndex);
}
contextMenuActionHandle();
//-->
</script>
<!-- Ask user whether he really wants to leave Texteditor without saving
-->
<script LANGUAGE="javascript">
<!--
function confirmExit()
{
if
(EDITOR.edit1.IsModified(2)) {
if (confirm("Do you want to
leave the editor without
saving your pending changes?")) {
doEdit(1);
}
} else {
doEdit(1);
}
}
//-->
</script>
<!-- Ask user whether he really wants to leave HTML-Editor without saving
-->
<script LANGUAGE="javascript">
<!--
function confirmExitHTML()
{
if
(EDITOR.EDIT_HTML.IsDirty) {
if (confirm("Do you want to
leave the editor without
saving your pending changes?")) {
doEditHTML(1);
}
} else {
doEditHTML(1);
}
}
//-->
</script>
</head>
<body background="/opencms/resources/bg_grau2.gif" scroll=no
onLoad="setText();" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table cellspacing=0 cellpadding=0 border=0 width="100%" height="100%"
class="toolbar">
<form name=EDITOR id=EDITOR METHOD=POST>
<tr>
<td valign="top"><table width="100%" height="28" border="0"
cellspacing="0" cellpadding="0" class="toolbar">
<tr height="28">
<td width="5" align="left"><img
src="/opencms/resources/empty.gif" width="5" height="28"></td>
<td align="left" width="10"><img
src="/opencms/resources/bu_tb_start.gif" width="10" height="28"></td>
<td align="left" width="100%"><table width="100%"
border="0" cellspacing="0" cellpadding="0">
<tr height="20">
<td width="26" align="center"
class="tbl"><a href="#" onMouseOver="bu2.className='over';"
onMouseOut="bu2.className='norm';"
onMouseDown="bu2.className='push';doNsEdit(2);"><img name="bu2"
src="/opencms/resources/bu_save_exit.gif" width="20" height="20" alt="Save
and Exit"></a></td>
<td width="26" align="center"
class="tbl"><a href="#" onMouseOver="bu3.className='over';"
onMouseOut="bu3.className='norm';"
onMouseDown="bu3.className='push';doNsEdit(3);"><img name="bu3"
src="/opencms/resources/bu_save.gif" width="20" height="20"
alt="Save"></td>
<!-- online help is either disabled or
not available for the current user language! -->
<td width="100%" align="right"
class="tbl"><a href="#" onMouseOver="bu1.className='over';"
onMouseOut="bu1.className='norm';"
onMouseDown="bu1.className='push';doNsEdit(1);"><img name="bu1"
src="/opencms/resources/bu_exit.gif" width="20" height="20"
alt="Close"><img src="/opencms/resources/empty.gif" width="5"
height="1"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" class="texteditor" height="100%" width="100%">
<!-- write the text area -->
<script language="JavaScript">
<!--
str = '<textarea wrap="off" name="edit1"
onfocus="setTextDelayed();" style="width:100%; height:100%;
font-family:Fixedsys, monospace"></textarea>';
document.write(str);
//-->
</script>
</td>
</tr>
<INPUT TYPE=HIDDEN NAME="content">
<INPUT TYPE=HIDDEN NAME="action">
<INPUT TYPE=HIDDEN NAME="file"
value="/system/bodies/release/installation.html">
</form>
</table>
</body>
_______________________________________________
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