At 21:04 22/02/2004 -0800, David Rushby wrote:
--- CLIFFORD ILKAY <[EMAIL PROTECTED]> wrote:
>
> I am used to an event driven style of programming...
> How do you handle this type of situation in WebWare?

In a situation such as this, I use DHTML (document.createElement) to
instantiate a new SCRIPT element whose SRC is pointed to a
GET-parameterized Webware servlet.  The servlet responds as appopriate
to the GET parameters with some generated JavaScript code (content-type
text/javascript), which the browser runs as soon as it's loaded.  This
code typically updates the user interface in some way via DHTML.

Thank you David. Do you generate the JavaScript using Python or do you hand code it? What about generating XUL? It seems to me that Mozilla's XUL offers a rich array of widgets and events, which would be perfect for this sort of thing.


Regards,

Clifford Ilkay
Dinamis Corporation
3266 Yonge Street, Suite 1419
Toronto, Ontario
Canada M4N 3P6

Tel: 416-410-3326



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to