On Mon, Dec 15, 2008 at 3:18 PM, Robert Hanson <[email protected]> wrote: > first let's find out what's breaking the GWT. It's probably something simple. I think you are completely right. The problem is that I am not savvy in javascript debugging. Plus the GWT does some funny things (crosscompiling etc) that lead to a crash of the JVM (due to non native function) if i try to initialize the Jmol applet in a GWT page. This "crash" makes it relatively hard to debug...
I circumvented the whole problem by using a non-GWT jsp page that displays my files. The other solution is - as I already said - not to use the Jmol.js and it's functions, but to embed Jmol as <object ...>. At least in the latest versions of IE and Firefox this imho works. But Angel is right - the complete Browser abstraction layer gets lost + the nice Jmol.js functions (buttons etc) get lost too. Another question is, if anybody out there managed to get Jmol.js up and running in a AJAX DOM changing application. At least for prototype I know it does not work either... I'll make that a separate thread... Thanks for your help! Raphael > > On Mon, Dec 15, 2008 at 6:03 AM, Angel Herraez <[email protected]> wrote: >> El 15 Dec 2008 a las 11:46, Raphael André Bauer escribió: >>> it seems that your observation is right and using the jmol.js breaks >>> the GWT. However it is easily possible to use jmol without jmol.js and >>> thus avoiding this problem. An idea is to use the Firebug plugin for >>> Firefox that gives you the "real" html generated by jmol.js. A simple >>> copy and paste into the GWT application solves that issue and GWT and >>> Jmol work nicely together... >> >> It will likely work without any trouble, but note that Jmol.js >> renders different code depending on the browser (at least for >> insertion of the applet). So it's not that simple. >> That's one of the reasons why using Jmol.js is the recommended >> method. >> The best would be to find the exact confilct between GWT code and >> Jmol.js code. >> >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. >> The future of the web can't happen without you. Join us at MIX09 to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> Jmol-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> > > > > -- > Robert M. Hanson > Professor of Chemistry > St. Olaf College > 1520 St. Olaf Ave. > Northfield, MN 55057 > http://www.stolaf.edu/people/hansonr > phone: 507-786-3107 > > > If nature does not answer first what we want, > it is better to take what answer we get. > > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Jmol-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-users > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

