Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
bjb  
#1 Posted : Friday, February 16, 2007 7:41:45 PM(UTC)
bjb

Rank: Member

Groups: Member
Joined: 1/17/2006(UTC)
Posts: 18

Hi,

I am working with the ActiveX Version of ImageUploader for quite a while, and now I`d like to make my web application cross-browser-compatible. So I added the ImageUploader2.jar in the right dir on localhost.

The applet is loaded in Firefox, but then an error occurs:

Java class com.aurigma.imageuploader.ImageUploader has no public field or method named "LicenseKey"
[Break on this error] imageUploader.LicenseKey = "xxxxxxxxxxxxxxxx";

and

imageUploader.UploadItems has no properties
[Break on this error] if ((imageUploader.UploadFileCount == 0) || (datei_t...

In IE and ActiveX, everything works fine

I am using the iumbed.js and the following code:

Code:
var imageUploader = null;
imageUploader=getImageUploader("ImageUploader");
imageUploader.LicenseKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";


What I am doing wrong?

Best regards

Bernd

Edited by user Wednesday, February 20, 2008 6:39:12 PM(UTC)  | Reason: Not specified

bjb  
#2 Posted : Saturday, February 17, 2007 7:10:20 AM(UTC)
bjb

Rank: Member

Groups: Member
Joined: 1/17/2006(UTC)
Posts: 18

I fixed the LizenceKey with iu.addParam("LicenseKey", "xxxxxxxxxxxxxxxxxxxx");
and changed UploadItems to imageUploader.getUploadFileName(), which works fine

The problem is as following:

the java-applet is in a div with the id "allgemein"

the code:

alert (imageUploader.getUploadFileCount() ) -> return correct number
document.getElementById('allgemein').style.display = "none";
alert (imageUploader.getUploadFileCount() ) -> returns "0"

and the files moved to the upload pane are gone when setting document.getElementById('allgemein').style.display = "";
same happens when setting document.all.allgemein.style.position ="absolute";

it is important to make the IU-applet invisible, how can I achieve this?
best regards

Bernd
Fedor  
#3 Posted : Tuesday, February 20, 2007 1:25:12 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hello,

On what browser have you noticed this problem?
Best regards,
Fedor Skvortsov
Fedor  
#4 Posted : Tuesday, February 20, 2007 1:32:14 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Quote:
Java class com.aurigma.imageuploader.ImageUploader has no public field or method named "LicenseKey"
[Break on this error] imageUploader.LicenseKey = "xxxxxxxxxxxxxxxx";


I also want to add that in runtime for accessing to Java applet properties you should use appropriate getPropertyName/setPropertyName methods.

For example:

Code:
imageUploader.setLicenseKey("xxxxxxxxxxxxxxxx");
Best regards,
Fedor Skvortsov
bjb  
#5 Posted : Tuesday, February 20, 2007 7:51:23 PM(UTC)
bjb

Rank: Member

Groups: Member
Joined: 1/17/2006(UTC)
Posts: 18

Firefox 2.0.0.1 with Sun Java 1.6.0 on Windows Vista
Users browsing this topic
Similar Topics
Icon problem with java (Discussions – ActiveX/Java Uploader)
by far41 6/26/2008 5:10:09 PM(UTC)
Problem with java image uploader (Discussions – ActiveX/Java Uploader)
by tpowers 5/11/2008 1:39:06 PM(UTC)
Mac iPhoto Problem with Java Uploader (Image Uploader)
by whc325 11/21/2007 6:24:47 AM(UTC)
Installation problem with java under vista (Image Uploader)
by far41 5/1/2007 11:42:16 PM(UTC)
Undetermined problem with Java version (Image Uploader)
by darco 10/19/2006 11:34:28 PM(UTC)
Problem with java control (Image Uploader)
by LilyC 10/12/2006 11:56:55 PM(UTC)
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.