[Zope] Wysiwyg frontend -- how I used the Java applet as a editor in zope

Heimo Laukkanen huima@iki.fi
Tue, 01 Jan 2002 19:16:58 +0200


Try the Java applet from http://www.realobjects.de, which I have found
as a killer tool -- if you use it with good network connections. I
noticed that in one of our project users who used the net through 56
kbps modems felt it too slow loading.

In our project we boughth the intranet licence for 10 users, since the
customer website is updated by named users through Zope  Management
interface. The licence was bought through the web. Licence key came in a
couple of hours, when I made the order on a normal working day.

I created a ZClass - actually my first Zclass -- product that included
all the functionality that I wanted. It wass automaticly indexed in to
ZClass and also Renderable, so that it was possible to use product as a
index_html in a folder. Now I would propably do it a bit differently,
propably create a Python based product that inherits dtml-document and
adds some functionality to that.

In the product's editing functions dtml-method applet is loaded and to
applet is given a http-addres, which is actually url to the products
method called getBody. The getBody returns the content of the product
without headers and footers etc.

When user has done all the needed editing, he or she saves the edit by
pressing savre button. Save button launches a small javascript that
exports the content in the java applet to a hidden field in the
edit-form -- and then sends the form to a method, that saves the changes
to the Products properties.

Works well. 

If you have any questions, just send email and I see if I can help you.

-huima