Gunter, You must make other changes to the twFile.js file besides changing the driver order. Did you apply my full patch?(attached)
Specifically, I commented out a guard condition that prevents the Java applet from being inserted if the browser is Mozilla/IE. Let me know if that works~ John On Wed, Oct 27, 2010 at 9:09 AM, John Murphy <[email protected]> wrote: > Hi Gunter, > > "An applet is a program written in the Java programming language that can > be included in an HTML page." <http://java.sun.com/applets/> > > The TiddlySaver driver inserts a Java applet into the web page DOM in order > to access java.io.FileReader. Search for "applet" in the twFile source > code: http://svn.tiddlywiki.org/Trunk/core/jquery/plugins/jQuery.twFile.js > > Now, the TiddlySaver driver clearly successfully uses java.io.FileReader from > an applet (on Windows, anyways). There may be two facts Igor may not be > aware of: > - The TiddlySaver driver is meant to work from a web page opened *locally* > by the browser; it does not work for pages loaded from a server. > - The TiddleySaver driver uses a signed applet (although it also worked > before being signed by UnaMesa; it just needed more user permission) > > John > > > 2010/10/27 gWAHL <[email protected]> > > FYI, >> >> writing to TiddlyWikiDev failed .. what a surprise :-( :-) >> >> g >> >> -------- Original Message -------- Subject: Re: MOZ apps with >> LiveConnect Date: Tue, 26 Oct 2010 22:44:58 +0200 From: gWAHL >> <[email protected]> <[email protected]> To: Igor Kitsa >> <[email protected]> <[email protected]> CC: Nickolay >> <[email protected]> <[email protected]>, TiddlyWikiDev >> <[email protected]> <[email protected]> >> >> Thanks Igor, >> >> see comment below, please. >> Günter >> >> [26.10.2010 21:31] »Igor Kitsa« wrote: >> >> Hi Gunter, >> >> On 2010/10/26 12:06:38 +0200 you wrote: >> >> Hi, >> >> I have found your mail address >> athttps://developer.mozilla.org/en/JavaScript/Guide/LiveConnect_Overview >> and hope you can help here. >> >> -------- Original Message -------- >> Subject: >> MOZ apps with LiveConnect >> Date: Tue, 26 Oct 2010 11:09:03 +0200 >> From: neandr <[email protected]> <[email protected]> >> To: [email protected], [email protected], [email protected] >> CC: Nickolay <[email protected]> <[email protected]> >> >> Hi there, >> I'm working on a specific WEB page to be used with FX and TB(as a >> private start page). That page is coded with HTML/CSS/JS but uses some >> JAVA based calls -- one example is with jQuery.twFile.js >> (http://jquery.tiddlywiki.org/twFile.html) . >> I understood newer Moz-apps have disabled Java access, but it's >> mentioned a plugin is available to re-establish JAVA. >> My FX 3.6.11 has an plugin "Java(TM) Plug-in 1.6.0_22" and my TB 3.1.5 >> no plugins. Both installations don't work with the "java.io.FileReader" . >> Any help here? >> >> Thanks >> Gunter >> >> You can not use java.io.FileReader in an >> applethttp://download.oracle.com/javase/tutorial/deployment/applet/security.html >> . Try to choose a different approach to solve your problem. >> >> Maybe your answer about 'applet' is right .. but I don't understand why >> that all is about an "applet". >> >> I'm working on a WEB page build with plain HTML/CSS/JS using some jQuery >> libraries. One of those is >> *jQuery.twFile loading a file and saving data to a file ( >> http://jquery.tiddlywiki.org/twFile.html)* >> >> That lib makes it possible to read/write local files. It's using a driver >> list like this: >> *driverList: ["javaLiveConnect", "activeX", "mozilla", "tiddlySaver" ],* >> >> "mozilla" is using calls like : Components.classes["@ >> mozilla.org/file/local;1"] >> "javaLiveConnect" : java.io.FileReader >> >> Using mozilla it works with Firefox/Thunderbird. And it's said pre FX 3.6 >> is working with "javaLiveConnect" also. >> >> Starting FX 3.6 it should work with the "Java(TM) Plug-in 1.6.0_22" ... >> but it seems I'm missing something here. >> >> Any further idea? >> >> Günter >> >> >> > > > -- > www.leftium.com <http://www.leftium.com?sig_gmail> > > -- www.leftium.com <http://www.leftium.com?sig_gmail> -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
alter_twFile_driver_order.patch
Description: Binary data
