<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial" bgColor=#ffffff>
<DIV><FONT size=2>Many Thanks for the reply. I have been doing a lot of search 
ups on this regard. The idea behind the plan was to have a Company Information 
System that can be managed by System Users not used to HTML Programming, and 
that too with Approval cycles (Create - Publish). </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I tried the other way round - opening an HTML page having 
complex Layout in Netscape composer - and 'Select All' -> 'Copy' -> 
'Paste' on to the HTML Editor. But then the Browser hangs and we need to kill 
the Browser Instance. Now what I see as the only solution is to create the Pages 
one by one which will be a time consuming affair.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Is there a way to include javascript in an HTML Page. 
Going through the OpenCMS project I found javascript resources in  
'scripts' folder in the 'workplace' directory under 'system' on root. Have 
anybody implemented this in Projects? </FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=cpr@codedroids.com href="mailto:cpr@codedroids.com">Claus 
  Priisholm</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org 
  href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, September 29, 2003 4:32 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [opencms-dev] WYSIWYG Editor 
  Problem</DIV>
  <DIV><FONT size=2></FONT><BR></DIV>In an attempt to allow users to edit a JSP 
  page, where most of the page is simple HTML, I've tried to do a little hack 
  with plain pages (which can be called up in the WYSIWYG editor as opposed to 
  JSP files) I found two things:<BR><BR>1) The MS editor component seemingly 
  strips certain things (like JSP tags) and rearranges other stuff upon save (I 
  doubt that it is OpenCms that does it)<BR>2) You can edit HTML pages, but 
  certain things won't work - it isn't the most complete HTML editor and 
  externally referenced resources like CSS and stuff may not hook up correctly 
  if you imported from an existing site.<BR><BR>An obvious thing not supported 
  is JavaScript, which for some special pages I tested caused a blank page to 
  appear.<BR><BR>The exception you get is because the 'page' type page is 
  actually an XML file (look at a newly created 'page'-type file in the source 
  editor, you'll note that the actual HTML is surrounded by XML CDATA tags). I'm 
  not sure if it is safe to simply switch the resource type in the DB and then 
  add those tags and be done with it.<BR><BR>On søndag, sep 28, 2003, at 19:15 
  Europe/Copenhagen, Seji Thomas wrote:<BR><BR>
  <BLOCKQUOTE><?smaller>Our Software Development wing is planning to move an 
    existing web-site in to OpenCMS. For this we have the copy of the web 
    resources (HTML, and Images) of the current site available in a Folder which 
    provides continued site navigation with out any broken links. We made a 
    zip file of this folder and uploaded it through the 'Upload File Option' in 
    OpenCMS which has the feature of unzipping zip files uploaded. My site works 
    fine. Now when a OpenCMS user tries to open an HTML page for any page 
    modification in the WYSIWYG Editor, the screen shows 
    blank.<?/smaller><BR> <BR><?smaller>We have checked for the file type 
    of the HTML files and found that all of the files show the File Type as - 
    Plain. Is this the reason for not showing up in the WYSIWYG Editor. Where as 
    a file of File Type - Page opens up in the Editor.<?/smaller><BR> <BR><?smaller>I have tried changing the 
    resource_type of the file in the Database. The File Type changes but then 
    while opening in the WYSIWYG Editor it throws some XMLParseException.<?/smaller><BR> <BR><?smaller>Any hint on this will 
    be highly appreciated. Thanks in 
  Advance.<?/smaller><BR><BR></BLOCKQUOTE>--<BR>Claus Priisholm<BR>+45 48 22 46 
  46, fax: +45 48 22 46 
  43<BR>cpr@codedroids.com<BR>http://www.codedroids.com<BR><BR></BLOCKQUOTE></BODY></HTML>