From: Rolf H. <rh...@fl...> - 2013-12-12 21:57:51
|
Am 12.12.2013 22:06, schrieb Robert Hanson: > > This leads to related questions. > > In the 'Jena3D Viewer' you can request specifically Jmol or JSmol. > And this decision is also inherited by subsequent viewer openings from > the current viewer or from a QuickSearch result from within the viewer. > > Q: How should this be handled regarding the fallback setting? > (It would be quite tricky to discriminate between the different > cases.) > > > Generally I cache that setting and then, when I construct a new page, I > add *?_USE=xxxx* to the URL. This overrides *Info.use* and forces Java > or HTML5. There are four settings: > > > *_USE=HTML5 > _USE=SIGNED > *_USE=JAVA > _USE=WEBGL > The situation is a little bit more complicated within the 'Jena3D Viewer'. Since there is also a QuickSearch option integrated someone might first select between Jmol/JSmol before knowing if it will work. And then start the actual viewer. Currently a similar system like the one described above is implemented. But I'm not sure if one should really force the Java usage even on platforms that don't support it. > I recommend the first two. "SIGNED" is really "Trusted-signed" whereas > "JAVA" is sandboxed -- what we used to call "unsigned". (All applets > must be signed now, even the sandboxed ones.) > That's what I also intended to do. But I wasn't aware that the 'use' parameter is also responsible for selecting the sandboxed versus the non-sandboxed applet. I thought by setting the 'jarFile' parameter the Java applet type would be determined explicitly. It at least seems to override the 'use' setting since the non-sandboxed version is actually used in the 'Jena3D Viewer' with 'use: JAVA" and 'jarFile: "JmolAppletSigned.jar"'. Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rh...@fl... Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 296, Amtsgericht Jena Tax Number: 162/141/08228 |