[Zope-Moz] Python in a XUL file

brk@jenkon.com brk@jenkon.com
Fri, 17 Mar 2000 14:04:50 -0800


That's true, too. For my application I unfortunately need page scripting.
If, as it now seems, this goal is presently unattainable, maybe I can squeak
by with a LiveConnect or PerlConnect-like solution.

> -----Original Message-----
> From:	Paul Everitt [SMTP:Paul@digicool.com]
> Sent:	Friday, March 17, 2000 2:20 PM
> To:	zope-mozilla@zope.org
> Subject:	RE: [Zope-Moz] Python in a XUL file
> 
> 
> This conversation has focused on the goal of having Python be a page
> scripting language, and thus has run into the brickwall of the DOM.
> 
> However, as we'll soon probably find out in Zope Studio, it sure would
> be nice to have access to Python for client-side processing independent
> of Python manipulating the document or being embedded in pages.  For
> instance, parsing the syntax of DTML.
> 
> --Paul
> 
> > -----Original Message-----
> > From: David Ascher [mailto:DavidA@ActiveState.com]
> > Sent: Friday, March 17, 2000 5:01 PM
> > To: zope-mozilla@zope.org
> > Subject: [Zope-Moz] Python in a XUL file
> > 
> > 
> > > If I could just put python into XUL documents and have
> > > it work, why, I'd be a happy man. But you have to have an 
> > interpreter
> > first.
> > > Anybody know enough about the JSConnect stuff to have a 
> > guess at how hard
> > it
> > > would be to do the same for python? Or maybe JPython?
> > 
> > Short answer: very hard, impossible without a fork of the 
> > source.  Access to
> > the DOM can't be done currently through anything besides 
> > JavaScript.  The
> > Mozilla team is aware of the problem and has plans to remedy 
> > the situation.
> > It will not happen soon.
> > 
> > --david ascher
> > 
> > 
> > _______________________________________________
> > Zope-Mozilla maillist  -  Zope-Mozilla@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-mozilla
> > 
> 
> _______________________________________________
> Zope-Mozilla maillist  -  Zope-Mozilla@zope.org
> http://lists.zope.org/mailman/listinfo/zope-mozilla