Problem JSAPI. Events don't work

Enhanced frontend add-on to queue files.

Problem JSAPI. Events don't work

Postby mcompte » Fri Jan 16, 2015 11:32 am

I have a problem with JSAPI. The events don't work.
I have got:

<script type="text/javascript">
<!--
function JSAppletInitialized(version)
{
alert(version);
}

function JSTransferDone(filelist)
{
alert(filelist);
}
-->
</script>

I don't receive any alert when applet is loaded and files are transfered.

But in html code I have got:

<input name="field3a" type="text" size="20">
<input type="button" name="Button3" value="Test"onclick="this.form.field3a.value=document.fileupload.getFilenames()">

and it WORKS!!

Thanks and regards!

Manel
mcompte
 
Posts: 1
Joined: Fri Jan 16, 2015 11:14 am

Re: Problem JSAPI. Events don't work

Postby support » Sun Feb 01, 2015 7:41 pm

Are you sure you have jsapi.jar declared in ARCHIVE parameters AND JSMApplet.class declared instead of MApplet.class?
User avatar
support
 
Posts: 1500
Joined: Sun Jan 27, 2008 6:19 pm


Return to JBatchUpload



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.