WYSIWYG HTML applets to get rid of the textareas for HTML input?
I found a Java applet that allows you to edit HTML right in a web page, replacing a textarea with a WYSIWYG HTML editor. It occured to me that this would be a fabulous thing to use with Zope to do away with textarea inputs for HTML. Is anyone doing this? These tools are not free :-( but they are not very expensive either: Cross Platform (Java Applet) implementation of this. (This is the one I'm interested in): http://www.realobjects.de/index.htm?/english/editonpro_e.htm Windows tools that do this: http://www.ektron.com/ewebeditpro.cfm?doc_id=1035 http://www.mifo.com/comgistics.htm http://www.editlive.com/product/ How would you make Zope serve up a java applet without having to run Apache just for applet serving? How hard would it be to make Zope put this type of stuff in the management pages where ever a text box is currently used to grab HTML input?
<HEAD> <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript> <!-- function scriptForm_onsubmit() { document.scriptForm.HTMLText.value = document.editor.getHTMLData("http://"); } //--> </HEAD>
<BODY> <FORM name="scriptForm" method="post" action="test1.asp" LANGUAGE=javascript onsubmit="return scriptForm_onsubmit()" target="_blank">
<APPLET id="editor" name="editor" code="EditorApplet" archive="edit-on-pro.jar" height=400 width=600 VIEWASTEXT>
<PARAM name="CODEBASE" value="../../eopro/">
<param name="CABBASE" value="edit-on-pro-signed.cab"> <param name="LOCALE" value="en_US"> <param name="BUTTONORDER" value="toolbar.txt"> <param name="BODYONLY" value="true"> <param name="TEXTMODE" value="TRUE"> <param name="SOURCEVIEW" value="TRUE"> <param name="DEFAULTBACKGROUNDCOLOR" value="white"> </APPLET>
I don't get into Zope internals at all yet so this is beyond my knowlege. Is this a viable solution? Scott
Yes, there is the Johanc's IEMethod Product, that works only for IE5.0 http://www.zope.org/Members/johanc/IEMethod/IEMethod/ Ausum Scott Chapman wrote:
I found a Java applet that allows you to edit HTML right in a web page, replacing a textarea with a WYSIWYG HTML editor. It occured to me that this would be a fabulous thing to use with Zope to do away with textarea inputs for HTML. Is anyone doing this?
These tools are not free :-( but they are not very expensive either:
Cross Platform (Java Applet) implementation of this. (This is the one I'm interested in): http://www.realobjects.de/index.htm?/english/editonpro_e.htm
Windows tools that do this: http://www.ektron.com/ewebeditpro.cfm?doc_id=1035 http://www.mifo.com/comgistics.htm http://www.editlive.com/product/
How would you make Zope serve up a java applet without having to run Apache just for applet serving?
How hard would it be to make Zope put this type of stuff in the management pages where ever a text box is currently used to grab HTML input?
<HEAD> <SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript> <!-- function scriptForm_onsubmit() { document.scriptForm.HTMLText.value = document.editor.getHTMLData("http://"); } //--> </HEAD>
<BODY> <FORM name="scriptForm" method="post" action="test1.asp" LANGUAGE=javascript onsubmit="return scriptForm_onsubmit()" target="_blank">
<APPLET id="editor" name="editor" code="EditorApplet" archive="edit-on-pro.jar" height=400 width=600 VIEWASTEXT>
<PARAM name="CODEBASE" value="../../eopro/">
<param name="CABBASE" value="edit-on-pro-signed.cab"> <param name="LOCALE" value="en_US"> <param name="BUTTONORDER" value="toolbar.txt"> <param name="BODYONLY" value="true"> <param name="TEXTMODE" value="TRUE"> <param name="SOURCEVIEW" value="TRUE"> <param name="DEFAULTBACKGROUNDCOLOR" value="white"> </APPLET>
I don't get into Zope internals at all yet so this is beyond my knowlege. Is this a viable solution?
Scott
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
How would you make Zope serve up a java applet without having to run Apache just for applet serving?
Zope can serve any file, so you can of course serve Java applets from Zope. Just upload them and link to them. Remember that Java code in applets is run on the client computer, so the server does not have to know anything about it.
How hard would it be to make Zope put this type of stuff in the management pages where ever a text box is currently used to grab HTML input?
It is not very difficult. The management pages are plain HTML/DTML and could very easily be rewritten. If you are on the Windows platform, I think it makes more sense to use tools like IEMethods (mentioned by Ausum in the other post). It is designed to work as a separate type of DTMLMethod, but you can use the same code to manipulate any HTML code. I just moved the code to the Zope instance and now use it as a method that can be acquired. E.g. if it is called "edit", you can do "MyDTMLMethod/edit". On Linux (taking about the server now) you will have to repair IEMethods, as it does not care about Unix being case-sensitive with filenames. If I have more time, I will publish a patched version ... Joachim
--On 11 May 2001 13:15 -0700 Scott Chapman <scott_list@mischko.com> wrote:
I found a Java applet that allows you to edit HTML right in a web page, replacing a textarea with a WYSIWYG HTML editor. It occured to me that this would be a fabulous thing to use with Zope to do away with textarea inputs for HTML. Is anyone doing this?
These tools are not free :-( but they are not very expensive either:
Cross Platform (Java Applet) implementation of this. (This is the one I'm interested in): http://www.realobjects.de/index.htm?/english/editonpro_e.htm
Windows tools that do this: http://www.ektron.com/ewebeditpro.cfm?doc_id=1035 http://www.mifo.com/comgistics.htm http://www.editlive.com/product/
Scott: I put round a list of such widgets a while back: http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/07BEF5913610EC2E and you've extended it - thanks. I had a more recent one that I shared with the cms-list but their archive is down just now ( see http://www.camworld.com/cms/ for pointer).
How would you make Zope serve up a java applet without having to run Apache just for applet serving?
How hard would it be to make Zope put this type of stuff in the management pages where ever a text box is currently used to grab HTML input?
As Joachim has indicated this it is not a problem getting Zope to work with applets. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
participants (4)
-
Ausum -
Joachim Werner -
Paul Browning -
Scott Chapman