Hi René, please dont send HTML to a list! To your problem: Whatever a server can send can be send with zope as well. (Ok, multipart documents are another thing, but IE does not work with them anyway) The scripting basically calls a page on the server which is provided via scripting. There can ba a CGI or whatever script. The whole conversation looks like this: GET /rs/jsrs/select/select_rs.asp?C=jsrs1&F=modelList&P0=[4]&U=997788891480 HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */* Referer: http://www.ashleyit.com/rs/jsrs/select/select.asp Accept-Language: de,en;q=0.5 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) Host: www.ashleyit.com Connection: Keep-Alive Cookie: ASPSESSIONIDQQQGGGCS=IDLLAEGAEPFFEAOFPKJECGNG HTTP/1.1 200 OK Server: Microsoft-IIS/4.0 Date: Tue, 14 Aug 2001 11:36:10 GMT Content-Type: text/html Expires: Tue, 14 Aug 2001 11:36:10 GMT Cache-control: private Transfer-Encoding: chunked df <html><head></head><body onload="p=document.layers?parentLayer:window.parent;p.jsrsLoaded('jsrs1');">jsrsPayload:<br><fo rm name="jsrs_Form"><textarea name="jsrs_Payload">10~Elantra|11~Sonata|</textarea></form></body></html> 0 So your script on zope side (ideally a Python Script) has to produce a <textarea> with the elements in it. This gets parsed by the script in the browser. While this is a nice mechanism you schould really think about if it is really a plus for your application. There are several riscs connected to this solution. One important is that the browsers must be recognized by the script. This is really a weak point in it. Imagine users with browsers which could in theory use the script, but are not recogniced. The other thing is with people without scripting enabled because of serious security concerns. I think a form with all elements and a supporting JavaScript can be helpful. But without scripting, the page schould at least be useable. Regards Tino --On Dienstag, 14. August 2001 11:43 +0200 René Olsthoorn <rol@mediasys.nl> wrote:
Hello,
Remote Scripting means: calling server-side code from a client-side script without causing the active page to be reloaded.
(for more information see http://www.ashleyit.com/rs/)
The website mentioned above contains an HTML page which contains two comboboxes. The choices offered in the second combobox are calculated on the server, depending on the choice that the user makes in the first combobox.
The values of the second combobox are retrieved from the server by communicating with a java-servlet, and all this is done without reloading the active page. (using DHTML, ofcourse).
Has anyone done such a thing with Zope, in stead of a java-servlet?
Cheers, René Olsthoorn, Mediasystemen, The Netherlands.