Jsapi - getting applet id

All others add-ons (Secure FTP, SCP, Flickr, scripts ...).

Jsapi - getting applet id

Postby cactuscomputing » Tue Feb 17, 2009 10:04 pm

It would be handy to get the applet id when the Jsapi Javascript methods are called. This feature can be easily added to Jsapi without breaking the existing code. JSMApplet needs to be altered so that the extra parameter is appended to the argument list being passed to notifyJS. The existing Javascript will still work, for example:
Code: Select all
function JSTransferCompleted(filename) {
   // do something useful
}

Or the method signature could be altered to pick up the new value:
Code: Select all
function JSTransferCompleted(filename, name ) {
  // do something useful
}
cactuscomputing
 
Posts: 10
Joined: Wed Feb 11, 2009 6:59 pm

Re: Jsapi - getting applet id

Postby support » Wed Feb 18, 2009 7:25 am

You plan to have several applet instances on the same page ?
User avatar
support
 
Posts: 1398
Joined: Sun Jan 27, 2008 6:19 pm

Re: Jsapi - getting applet id

Postby cactuscomputing » Wed Feb 18, 2009 2:14 pm

Not in the near future, but it is very likely longer term.
cactuscomputing
 
Posts: 10
Joined: Wed Feb 11, 2009 6:59 pm


Return to Others



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.