Re: [Divmod-dev] LiveEvil for Internet Explorer?

This should probably move to the twisted-web list. Donovan had a working version that required flash in woven (called LivePage then). Unfortunately the current version doesn't work with IE because IE doesn't implement its XMLHTTPRequest object the way microsoft documented it. :-( I did get a working version that uses the XMLHTTPRequest object to perform refreshes in the background, looking for more JS to execute. Last I checked it worked with the latest Nevow. See sandbox/justinj/liveevil.py in the Nevow repository. Your code should be the same as for normal liveevil, except you use refreshGlue instead of glue, passing in a refresh rate, and you have to call activate and deactivate to determine when you want to start and stop refreshing. This was necessary in order to just stop needless refreshing, but also to guarantee you don't have left over JS from a previous page get sent to the wrong page. So once deactive is called, future sendScripts are just ignored, until you call activate again. Let me know if you have any problems with it. -Justin On Sat, 24 Apr 2004 13:06:01 -0700, "Kurisaki, Lance" <lance.kurisaki@gd-ais.com> said:
Hi, Has anyone gotten LiveEvil to work with Internet Explorer? Any plans for it in the future? Thanks... Lance Kurisaki
_______________________________________________ Divmod-dev mailing list Divmod-dev@divmod.org http://divmod.org/users/mailman.twistd/listinfo/divmod-dev
participants (1)
-
Justin Johnson