AW: [opencms-dev] The WYSIWYG editor works,but not from context m enu
Andreas Schouten
Andreas.Schouten at framfab.de
Tue May 15 23:02:39 CEST 2001
Hi Dick,
you are using Netscape. Because of the HTML-Editor is an ActiveX Control
from IE Netscape yust displays a textare to work in. If you need the
HTML-Editor you should switch to MSIE 4 or 5.
Regards,
Andreas
-----Ursprungliche Nachricht-----
Von: Dick Poon [mailto:dick at javacatz.com]
Gesendet: Donnerstag, 26. April 2001 10:53
An: opencms-dev at www.opencms.com
Betreff: Re: [opencms-dev] The WYSIWYG editor works,but not from context
menu
Hi Simon,
Yes,I locked the item. Actually,the context menu item "Edit Page" and "Edit
Controlcode" would be disabled
if the item is locked. I really clicked the "Edit Page"! But what came out
is not the WYSIWYG Editor.It's just
an editor which let me insert code into <![CDATA[ ]]> tag.
Yeah,it's really strange! I really don't know what's wrong!
Anyway, here is my configuration:
RedHat 7.0, Tomcat 3.2.1, MySQL 3.23.36,jdk 1.3.0.02 ,opencms4.3.6
my browser: netscape 4.7 <----Is those strange related to netscape?
I know that opencms 4.3.7 came out a few days ago and it got some bugs
fixed. Do you think 4.3.7 is better?
Thanks!
Dick
----- Original Message -----
From: "Simon Wilks" <simon.wilks at silion.ch>
To: <opencms-dev at www.opencms.com>
Sent: Thursday, April 26, 2001 4:19 PM
Subject: RE: [opencms-dev] The WYSIWYG editor works,but not from context
menu
> Hi Dick,
>
> I assume you have locked the item you want to edit and clicked on the menu
> item "Edit Page" and not "Edit Control Code".
>
> Are you saying you are getting the code editor when you select "Edit Page"
> instead of the WYSIWYG Editor?
>
> All sounds very strange.
>
> Regards,
>
> Simon.
>
> > -----Original Message-----
> > From: owner-opencms-dev at www.opencms.com
> > [mailto:owner-opencms-dev at www.opencms.com]On Behalf Of Dick Poon
> > Sent: Thursday, April 26, 2001 3:58 AM
> > To: opencms-dev at www.opencms.com
> > Subject: Re: [opencms-dev] The WYSIWYG editor works,but not from
> > context menu
> >
> >
> > Hi Simon,
> >
> > I did try to edit a html page under the root directory,but the
> > EditPage item
> > of the context menu
> > just invoke the code editor but not the WYSIWYG -html editor! I know the
> > content/bodys directory
> > is not the right place to edit the pages and I am not going to edit
pages
> > there anymore because ,although
> > I can invoke the WYSIWYG html editor by the Edit html item of the
context
> > menu ,the editor just didn't
> > let me to edit anything there! That's may be logical, because
> > content/bodys
> > is not designed as a place to edit
> > html files.
> >
> > So my questions are:
> > 1/ How to invoke the WYSIWYG -html editor under the root
> > directory?Through EditPage item
> > of each page's context menu?(as described on the opencms
> > doc).But I tried this before and it just didn't work.
> > 2/ what is the cause of failure to invoke the editor? Is this a
bug
> > of the system?
> > Or I missed something else?
> >
> > Thanks again for your generous and instant help again!
> >
> > Regards
> >
> > Dick
> >
> >
> > ----- Original Message -----
> > From: "Simon Wilks" <simon.wilks at silion.ch>
> > To: <opencms-dev at www.opencms.com>
> > Sent: Wednesday, April 25, 2001 8:50 PM
> > Subject: RE: [opencms-dev] The WYSIWYG editor works,but not from context
> > menu
> >
> >
> > > Hi Dick,
> > >
> > > You are trying to work in the wrong area. The idea is not to edit
these
> > > files when you want to update site content.
> > >
> > > An example to get us on track:
> > >
> > > Say you site structure looks something like this:
> > >
> > > root
> > > content
> > > bodys
> > > index.html
> > > pages
> > > info.html
> > > notes.html
> > > test.html
> > > pages
> > > test.html
> > > pics
> > > system
> > >
> > > When you create a new page you will go into (for example) pages
> > and create
> > a
> > > new page, say test.html, using the "+" icon. When you do this, a
> > > corresponding page will automatically be generated in the
> > > root/content/bodys/pages directory called test.html.
> > >
> > > If you wish to add content to this file you must edit the
> > test.html in the
> > > root/pages directory, NOT, in the root/content/bodys/pages directory.
> > >
> > > Am I on the right track here or do you mean something else?
> > >
> > > Regards,
> > >
> > > Simon.
> > >
> > > > -----Original Message-----
> > > > From: owner-opencms-dev at www.opencms.com
> > > > [mailto:owner-opencms-dev at www.opencms.com]On Behalf Of Dick Poon
> > > > Sent: Wednesday, April 25, 2001 11:56 AM
> > > > To: opencms-dev at www.opencms.com
> > > > Subject: Re: [opencms-dev] The WYSIWYG editor works,but not from
> > > > context menu
> > > >
> > > >
> > > > Hi Simon,
> > > >
> > > > I did use the Code Editor to edit the pages resides in
/content/bodys/
> > > > Actually I want to use the HTML text editor to edit the related html
> > pages
> > > > under the root directory,
> > > > but as mentioned in other messages in this list, I just couldn't
> > > > invoke the
> > > > HTML editor by
> > > > the context menu(chose the EditPage item) of a html page.
> > > > When I chose the EditPage item,Only a code editor with the
> > > > following content
> > > > is displayed:
> > > >
> > > > <![CDATA[
> > > > ]]>
> > > >
> > > > I know I can insert html text inside the square bracket " [ ]]".
That
> > is
> > > > what I did and everything just fine thereafter.
> > > > but I just can't use the HTML-Editor.
> > > >
> > > > Another problem: I can't paste codes into the Code Editor
> > too! I have to
> > > > type codes myself!But according to the documentation,
> > > > copy and paste should work! So, what's wrong?
> > > >
> > > > Dick Poon
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Simon Wilks" <simon.wilks at silion.ch>
> > > > To: <opencms-dev at www.opencms.com>
> > > > Sent: Wednesday, April 25, 2001 4:46 PM
> > > > Subject: RE: [opencms-dev] The WYSIWYG editor works,but not
> > from context
> > > > menu
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > At least in the pre 4-3.x (I haven't upgraded yet) version the
> > > > content of
> > > > > the /content/bodys/whatever.html was automatically
> > generated when you
> > > > > created an file in the root directory. These files are not the
> > > > pages that
> > > > > should be edited using the WYSIWYG Editor or displayed directly
> > > > using the
> > > > > browser. You should on be performing these functions on the
> > > > "actual" files
> > > > > under your root directory (ie: root/mypages/index.html).
> > > > >
> > > > > If you really need to edit this file (is this ever necessary?)
then
> > use
> > > > the
> > > > > code editor.
> > > > >
> > > > >
> > > > > Regards,
> > > > >
> > > > > Simon Wilks
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: owner-opencms-dev at www.opencms.com
> > > > > > [mailto:owner-opencms-dev at www.opencms.com]On Behalf Of
> > > > Carell, Matthias
> > > > > > Sent: Wednesday, April 25, 2001 11:31 AM
> > > > > > To: 'opencms-dev at www.opencms.com'
> > > > > > Subject: RE: [opencms-dev] The WYSIWYG editor works,but not from
> > > > > > context menu
> > > > > >
> > > > > >
> > > > > > If I click on the HTML Icon at the /content/bodys/ Directory I
get
> > the
> > > > > > following error message:
> > > > > >
> > > > > > [CmsException]: 15 Internal use only. Detailed Error: Internal
use
> > > > > > only/content/bodys/bodyt3.html.
> > > > > > at com.opencms.core.OpenCms.initResource(OpenCms.java:241)
> > > > > > at
> > > >
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:459)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
> > > > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > > > > > at
> > com.opencms.core.OpenCmsServlet.service(OpenCmsServlet.java:89)
> > > > > > at
> > > > > >
> > > >
> >
org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
> > > > > > at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
> > > > > > at java.lang.Thread.run(Thread.java:484)
> > > > > >
> > > > > > If I try the same from the context menu the WSYIWYG Editor is
> > > > > > opened after a
> > > > > > security warning (despite the fact that I set all security
> > > > > > settings in IE 5.
> > > > > > 50 as low as I could). After all the icon for closing this
window
> > (red
> > > > x)
> > > > > > doesn't work.
> > > > > >
> > > > > > Behavior with Netscape Browser seems to be the same.
> > > > > > After typing the javascript: command in Netscape 4.76 the
> > following
> > > > error
> > > > > > message is displayed:
> > > > > >
> > > > > > JavaScript Error:
> > > > > >
> > > > > >
<http://localhost/servlets/opencms/system/workplace/templates/js/o
> > > > > > pencms_edi
> > > > > > thtml.js>
> > > > > >
http://localhost/servlets/opencms/system/workplace/templates/js/op
> > > > > encms_edit
> > > > > html.js,
> > > > > line 258: invalid case expression JavaScript Error:
> > > > >
> > > > >
> > > > <http://demuc1123.hot.de/servlets/opencms/system/workplace/action/
> > > > edit_html_
> > > > >
> > > > main.html?init=true&lasturl=http:%2F%2Fdemuc1123.hot.de%2Fservlets
> > > > %2Fopencms
> > > > >
> > > > %2Fsystem%2Fworkplace%2Faction%2Fexplorer_files.html&file=/content
> > > > /bodys/bod
> > > > > yt3.html>
> > > > >
> > > > http://localhost/servlets/opencms/system/workplace/action/edit_htm
> > > > l_main.htm
> > > > >
> > > > l?init=true&lasturl=http:%2F%2Flocalhost%2Fservlets%2Fopencms%2Fsy
> > > > stem%2Fwor
> > > > >
> > kplace%2Faction%2Fexplorer_files.html&file=/content/bodys/bodyt3.html,
> > > > > line 78:
> > > > >
> > > > > setText is not defined.
> > > > > JavaScript Error:
> > > > >
> > > > >
> > > > <http://demuc1123.hot.de/servlets/opencms/system/workplace/templat
> > > es/js/open
> > > > cms_edithtml.js>
> > > >
> > >
> > http://localhost/servlets/opencms/system/workplace/templates/js/op
> > encms_edit
> > > > html.js,
> > > > line 258: invalid case expression JavaScript Error:
> > > >
> > > >
> > >
> > <http://demuc1123.hot.de/servlets/opencms/system/workplace/action/
> > edit_html_
> > > >
> > >
> > main.html?init=true&lasturl=http:%2F%2Fdemuc1123.hot.de%2Fservlets
> > %2Fopencms
> > > >
> > >
> > %2Fsystem%2Fworkplace%2Faction%2Fexplorer_files.html&file=/content
> > /bodys/bod
> > > > yt3.html>
> > > >
> > >
> > http://localhost/servlets/opencms/system/workplace/action/edit_htm
> l_main.htm
> > >
> >
>
l?init=true&lasturl=http:%2F%2Flocalhost%2Fservlets%2Fopencms%2Fsystem%2Fwor
> > > kplace%2Faction%2Fexplorer_files.html&file=/content/bodys/bodyt3.html,
> > > line 78:
> > >
> > > setText is not defined.
> > >
> > > I'm using OpenCms 4.2 (major version), WinNT and Apache 1.3.
> > >
> > > Hope this helps a little bit.
> > >
> > > Matthias
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Dick Poon [mailto:dick at javacatz.com]
> > > Sent: Mittwoch, 25. April 2001 06:28
> > > To: opencms-dev at www.opencms.com
> > > Subject: [opencms-dev] The WYSIWYG editor works,but not from context
> menu
> > >
> > >
> > > I can call the WYSIWYG Editor this time, but not through the context
> menu
> > of
> > > the html page!
> > > I invoke it by clicking the html page icon directly from the
> > /content/bodys/
> > > directory.
> > > Another bug is that the icon for closing application of the WYSIWYG
> Editor
> > > doesn't work.
> > >
> > > Is the opencms documentation quite erratic?
> > >
> > > Dick Poon
> > >
> > >
> >
> >
>
>
More information about the opencms-dev
mailing list