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
|
|
|
|
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
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
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
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
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
|
|
|
|
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
|
|
|
|
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.