Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Problem loading upload list in Firefox (Java applet)
Rank: Newbie
Groups: Member
Joined: 12/28/2008(UTC) Posts: 2
|
Hi, I'm having a problem where our private-label version of the upload applet fails to load the upload list in Firefox v3.0.5 (Java applet). However, the same code seems to be working fine on IE7 (ActiveX). A stripped down version of the code on our JSP page is as follows: Code:<script language="javascript" src="iuembed.js"></script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 650, 450);
...
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
....
iu.fullPageLoadListenerName = "fullPageLoad";
function fullPageLoad(){
uploader = getImageUploader('ImageUploader');
try
{
uploader.LoadUploadList(1);
}
catch (e)
{
alert("An exception occurred in fullPageLoad(). Error name: " + e.name
+ ". Error message: " + e.message);
}
alert("Loaded");
}
// functions to switch between Thumbnail and Full Image modes.
function UploadThumbnails() {
uploader = getImageUploader('ImageUploader');
try
{
uploader.LoadUploadList(1);
}
catch (e)
{
alert("An exception occurred in UploadThumbnails(). Error name: " + e.name
+ ". Error message: " + e.message);
}
uploader.setAction("<%= basePath %>ThumbnailUpload");
uploader.setUploadThumbnail1FitMode("Width");
uploader.setUploadSourceFile("false");
// set custom POST field so server knows we're uploading thumbnails
uploader.AddField("UploadType", "thumbnail");
uploader.Send();
return false;
}
</script>
<input type="button" onclick="UploadThumbnails()" value="Upload Thumbnails" />
The specific exception that is shown in firefox (due to the try/catch) is "An exception occurred in fullPageLoad(). Error name: TypeError. Error message: getImageUploader("ImageUploader").LoadUploadList is not a function". Another point to note is that if I click the "Upload Thumbnails" button, the call to LoadUploadList() that is in the UploadThumbnails() function works fine. Any ideas what's wrong with this? -Barrie
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 12/28/2008(UTC) Posts: 2
|
It's fine. I got this working. I just updated from JRE 1.6.0_7 to 1.6.0_11 and everything seems to be alright.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello,
Thank you for the information. |
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Problem loading upload list in Firefox (Java applet)
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.