>Rob, I have uploaded a new version of s.htm that should work for you. I'll
>upload a full new version of Jmol now into
>http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.zip
Thanks Bob, s.html works great on both mac ff3 and safari. And the .jar files
in the zip file understands the
r anything else that you want to do with that file contents.
I advise also using preserveState false or at least the reset variables just
because otherwise you could have some VERY large states that involve encoding
the variable "x" being created.
Bob
On Mon, Feb 22, 2010 at 12:
>The signed applet does not have access to the function "getAbsolutePath" any
>more than the browser does. I'm pretty sure >that's true. So you no longer
>have access to exactly where a file is.
the jmolGetPropertyAsString("filename") function actually can return the
absolute path of the
e
> To: jmol-users@lists.sourceforge.net
> Subject: Re: [Jmol-users] how to recompile jmolapplet
>
> On 02/22/2010 06:33 PM, rob yang wrote:
> >
> >> So you would have to replace the command
> >> 'jmolGetPropertyAsString("image")' by a command
> So you would have to replace the command
> 'jmolGetPropertyAsString("image")' by a command to get the file content.
>
> If you were lucky it would be 'jmolGetPropertyAsString("file")'. I don't
> know it. But I am rather sure that there is some way to get the file
> information into a Javascript
For me, I had a browser form and the applet. Before the FF3 security updates
(and now every browser), I used to just have the html file tag and pass the
file path to jmol applet to display, and finally submit to server using html
form again. Now the new security prevents passing the absolute pa
Rolf is absolutely right. I wanted to post whatever file is loaded in the
client-side signed applet to the server. I wanted to display structures on the
client side for my web application, and only send the file over when the user
hits a button. With the new FF3 security, I can only reads the l
never mind, found the wiki on how to run build.xml using eclipse. I then ran
into another problem, JmolAppletSigned.jar is not being re-built. I did
download from svn the selfSignedCertificate/ directory, but just couldn't find
JmolAppletSigned.jar anywhere. What am I missing here? Thank you.
I am trying to add a urlconnection method to the jmolsignedapplet, but run into
a rudimentary question-- where are the source files (.java files)? And how do
we re-build jmol? I downloaded jmol-11.8.18-full.tar.gz. Thanks.
-Rob
> From: angel.herr...@uah.es
> To: jmol-users@lists.sourceforge.ne
Hi List,
I am using the signed jmol applet to display client-side local files (this part
works great). I am wondering if there's a way to upload the file on display to
the server side? Thanks.
-Rob
__
What do people think about this strategy:
To display client-side local file:
Use jmol "load ?".
To upload the file to the server side when the user hits a button:
get the absolute path of the local file from jmol,
Use xmlhttprequest send() to upload the file to server
for reference, this is my
Hi all,
> I am seeing now that Chrome and Safari (Windows) have the same security
> limitation as
> Firefox on reading the value of input file, but cannot use the files.item()
> method which works
> for Firefox. More research needed :-(
This is essentially my problem-- getastext, getasbinar
> Jmol can already send queries to a server (e.g. request a PDB file from
> a server). So it might be possible if Jmol would not send the parameters
> URL-encoded.
> But I guess the major problem would be then that the server response
> would also go to Jmol and not to the browser.
hmm, true, a
00
> Subject: [Jmol-users] Re : Re: display and upload local file
>
> Hi Rob, here is the discussion :
> http://www.mail-archive.com/jmol-users@lists.sourceforge.net/msg10944.html
> Regards
> paul
>
> - Message d'origine -
> De: rob yang
> Date: Mercredi
Thanks Angel,
I have experimented with load inline before but it only works on some browsers.
Also, I am trying to avoid uploading first, displaying second. I'd like to do
client-side displaying, then if they choose to, upload to server.
My new strategy is to use load ? to load (which it appear
Hi list,
I am stuck with a trivial problem: display a local file using signed applet
first, then upload it to the server when users hit the submit button.
Now, before the security overhaul (pre-firefox 3), I was able to use simple
tag to get the full path to the local file, and pass it to jmol
Rolf, it works perfectly on your site, so it's bug on my part then. Cool, this
is good news because it's fixable. Thanks.
> Date: Mon, 13 Oct 2008 17:30:55 +0200
> From: [EMAIL PROTECTED]
> To: jmol-users@lists.sourceforge.net
> Subject: Re: [Jmol-users] firefox 3'
Bob, you are right that only the contents of the file gets "posted" to the
server side cgi.. but I don't think the transfer even starts in ff3 because the
source file is a local file and is considered as either "inaccessible" or
"non-existent" because the path to the file isn't right.. I think
ow doing that). the firefox 3.0 behavior about file uploads
just chabges the way you can access to the file path through javascript, not
the behavior of the form field.Paul
Le 12 oct. 08 à 20:25, rob yang a écrit : Paul,
Thanks for the reply. In addition to loading the files into jmol applet, my
web
r browser's specific behaviour.Paul
Le 12 oct. 08 à 07:52, rob yang a écrit : Hi guys,
As some of you might already know, firefox 3 now eliminates passing the
absolute path of a local file. I know I can get around it by using
getElementById("bleh").files.item[0].getAsText('
Hi guys,
As some of you might already know, firefox 3 now eliminates passing the
absolute path of a local file. I know I can get around it by using
getElementById("bleh").files.item[0].getAsText(''), and load this stream inline
with jmol applet. But that just seems so "hacky", and I still need
I second that, on Leopard.
-Rob
Date: Thu, 25 Sep 2008 23:30:23 -0700
From: [EMAIL PROTECTED]
To: jmol-users@lists.sourceforge.net
Subject: [Jmol-users] Behavior of the Jmol applet console output (on OS X)
Dear All,
Has anybody noticed a change in the console behavior for the applet between
R
d involved in the user clicking can
complete, and the load can go by a different thread.
But really, that's very odd.
Bob
On Thu, Sep 25, 2008 at 10:32 AM, rob yang <[EMAIL PROTECTED]> wrote:
Hi all,
So here's something new that's confusing me. I am loading a multi-stru
}
var load_script = "load " + structure + ";select all; spacefill 20%;
wireframe 0.35;";
jmolScript(load_script);
}
This starts a new thread so that the thread involved in the user clicking can
complete, and the load can go by a different thread.
But really,
always use Safari for local testing.
>
> Jonathan
> On Sep 24, 2008, at 9:19 PM, [EMAIL PROTECTED]
> wrote:
>
> > Message: 3
> > Date: Wed, 24 Sep 2008 21:19:24 -0500
> > From: rob yang <[EMAIL PROTECTED]>
> > Subject: Re: [Jmol-users] fi
Hi all,
I am loading 2 separate files. The 1st file contains 1 structure, and the 2nd
file contains multi-models. In an animation, I'd like to keep the structure in
the 1st file constant in the background, while playing through the models in
the 2nd file. I am loading the 1st file first, then u
Hi all,
So here's something new that's confusing me. I am loading a multi-structure
mol2 file. That's as simple as it gets, right? That's what I thought too till
safari spoke. In Firefox3, the molecule loads no problem. In safari, it
doesn't.. *unless* I put in an alert message right before the
testing appreciated
OH, OK, I'm glad that worked. I had heard about that and was wondering about
it. Is that what then allows one to drag the applet out of the window and onto
the desktop?
Bob
On Wed, Sep 24, 2008 at 3:45 PM, rob yang <[EMAIL PROTECTED]> wrote:
I installed
PROTECTED]
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] frame [array of models]?
frame *
display 1.1,3.1,5.1
On Wed, Sep 24, 2008 at 3:41 PM, rob yang <[EMAIL PROTECTED]> wrote:
Hi list,
Is there a way to overlay any models of your choice? frame range only allows
c
that the firefox3/Mac issue is resolved? What was the
download you had to do to get that working?
Bob
On Wed, Sep 24, 2008 at 3:38 PM, rob yang <[EMAIL PROTECTED]> wrote:
Angel,
The same html was working in firefox2 indeed. Firefox3 was giving me errors
roughly 80% of time (work
Hi list,
Is there a way to overlay any models of your choice? frame range only allows
continuous frames. frame 1 3 overlays models 1 and 3 which is good. But what if
I want to overlay models 1, 3, 5, ...
Thanks.
-Rob
_
---
Angel,
The same html was working in firefox2 indeed. Firefox3 was giving me errors
roughly 80% of time (works occasionally without any intentional tweaking to the
browser). I just installed the java plugins as recommended by browsercheck, and
now I am indeed admiring my jmol webpage in firefox3
ink.
When you go here:
http://jmol.sourceforge.net/browsercheck/
do you get that same message?
I suspect the problem is that somebody's HTML needs updating.
Does Jmol work fine for you in general, anyway?
Bob
On Wed, Sep 24, 2008 at 12:03 PM, rob yang <[EMAIL PROTECTED]> wrote
Final testing appreciated for Jmol 11.6. Anything you can do to try to break it
would be great.
Has anyone had problems with Jmol applet when using firefox 3? I sometimes
(strangely not always) get the following error:
Your web browser is not fully compatible with Jmol
browser: mozilla
> (Also; for some reason our server sometimes sends
> a 'java.security.AccessControlException: access
> denied ' warning when a Jmol applet page is
> opened, which goes away with a page refresh)
I used to have that problem too. Upgrading to 11.5.39 from 11.4.? got rid of
that problem for me.
I use the messagecallback() function to catch it. I am not sure if this is the
best solution since the rest of the jmol commands after the load will still
execute even if you catch the error, but it does the job for me.
if (msg.indexOf("ERROR")>=0 && msg.indexOf("load >>") >= 0) {
alert(msg
Hi J-molers,
I am trying to add 3 sliders to my page so that the user can change the center
of the boundbox by dragging each slider bars. From the wiki, I found Angel's
slider example page: http://biomodel.uah.es/Jmol/sliders/
I followed the instructions to use Web-FX slider implemented by Erik
Thanks Rolf for providing an example. It works as expected. BTW, how did you
display the "Loading, please wait" messages? I like the feedback messages that
keeps the users from thinking that jmol is doing nothing..
-Rob
> The message callback returns two parameters. I think the first one
> id
> I was thinking about this a little more. The standard solution to this
> problem is to set up a callback. You can do this very simply just be using
>
> set messageCallback "somefunctionname"
>
> and then at the end of your script, or whenever you want to be sure you
> are synchronized, j
Thanks Bob for the quick reply.
> Try
>
> x = jmolScriptWait('print getProperty("boundboxInfo")')
I didn't actually do a good job in explaining my setup completely in the
previous post, mainly because I didn't know too much about how javascripts work
before. Some education over the weekend h
Hi Jmol users and developers,
I ran into an interesting problem when I am trying to update the current info
about the boundbox using the getProperty() function. What happened was that
getProperty() seems to return the value before the applet finishes setting up.
I am showing a simplified snippe
Hi list,
I am trying to use the getPropertyAsArray function with my applet as the
following:
var bleh = applet.getPropertyAsArray("boundboxInfo");
alert(bleh.length);
alert(bleh.center[0]);
But the above code does not work because no alerts are raised. However, if it
works if I try:
var bleh
Hi list,
I was wondering if it's possible to load local files from the client side into
the signed jmol applet without having to copy the file back to the server side
first.
I understand that the standard way is to upload the client's file to a temp
directory on the server, and then have jmol a
43 matches
Mail list logo