You can also just use the applet itself to pass data back to the server.
Just use the load() function in Jmol script. No need for AJAX with that.
Remember, AJAX was designed with JavaScript in mind, not Java. Java already
has the capability to communicate with your server.
Bob
On Tue, Mar 22,
That said, think about your overall information model. The most efficient
use of Jmol is via calculations in the client using JavaScript or even just
JmolScript.
On Wed, Mar 23, 2011 at 7:07 PM, Robert Hanson hans...@stolaf.edu wrote:
You can also just use the applet itself to pass data back to
The unsigned applet cannot save any files. Don't worry - there are several
MUCH easier ways. Here are two ways that you can access atom colors:
[JavaScript]
var jmolEvaluate({*}.label('%[atomIndex] %[color]'))
[/JavaScript]
If you really are coloring them. Or perhaps they are just selected:
Hi Jmol users,
I am developing a web server with Jmol Applet (Jmol version 12.0.22). I need
the user to select a set of atoms by, say, coloring them red. When the user is
done selecting and is ready to move on to the next page, I would like my Python
script to know which atoms are selected.
I
Hi Yingjie,
keep in mind that the Jmol Applet is executed inside the Browser of
the user whereas your python script runs on the webserver.
So you'll need to communicate data from the client back to the server.
The first step would be passing the data that you need from the
Java-Applet into the
5 matches
Mail list logo