El 7 Apr 2008 a las 14:11, Andreas escribió:
> this was the new code:
>
> <script>
> jmolInitialize("Jmol");
> jmolApplet(500, "load " +"${Page3_protein.valueForJmol}");
> </script>
Maybe there's no difference, but I meant the second part without
quotes:
jmolApplet(500, "load " + ${Page3_protein.valueForJmol});
(with quotes, I think it won't get evaluated)
Anyway, try to open the Jmol console and the Java console and see
what the trouble command looks like. There you should see the real
file name it is trying to load.
You must realize that Jmol.js functions are used to build the html
source code at load time.
In javascript, for example, I cannot use
var myFile = "protein.pdb"
jmolApplet(500, "load myFile");
or
jmolApplet(500, "load " + "myFile");
but must use
jmolApplet(500, "load " + myFile);
So I guess it'll be the same for your scripting language
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers