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

Notification

Icon
Error

Options
Go to last post Go to first unread
StefanBerger  
#1 Posted : Wednesday, July 26, 2006 7:57:28 PM(UTC)
StefanBerger

Rank: Member

Groups: Member
Joined: 7/25/2006(UTC)
Posts: 5

Hi all,
i'm using a progress bar to display the number of selected images, like the online demo.

I use the iu.addParam("CheckFilesBySelectAllButton", "True"); to check all files if a press select all button.

Everythink works fine in ie, but in firefox the java applet does not fire an update event if i click on the "select all" button. So the progress bar is not updated. If i click on the checkboxes the event is fired and the progress bar works.

activex version: 4,0,33,0
java applet version: 2.0.35.0 and applet not cached.

Best regards,
Stefan
Fedor  
#2 Posted : Thursday, July 27, 2006 1:41:40 AM(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 Stefan,

Do you see the error message in Firefox JavaScript console?

Also could you post the entire code in order we could reproduce the problem?
Best regards,
Fedor Skvortsov
StefanBerger  
#3 Posted : Thursday, July 27, 2006 4:22:07 PM(UTC)
StefanBerger

Rank: Member

Groups: Member
Joined: 7/25/2006(UTC)
Posts: 5

Hmm i dont see any errors.
Just use your online demo

http://www.aurigma.com/Products...nlineDemo.aspx#UserQuota

and add
Code:
iu.addParam("CheckFilesBySelectAllButton", "true");
and
Code:
iu.addParam("ShowButtons", "true");

the code:
Code:
<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 610, 490);

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "../ImageUploader4.cab";
iu.activeXControlVersion = "4,0,33,0";

//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "../";
iu.javaAppletCached = true;
iu.javaAppletVersion = "2.0.35.0";


iu.activeXControlEnabled=false;


iu.addParam("MaxFileCount", "10");
iu.addParam("MaxFileSize", "2097150");
iu.addParam("MaxTotalFileSize", "10485760");

iu.showNonemptyResponse = "off";

//Configure appearance and behaviour.
iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("TreePaneWidth", "205");
iu.addParam("ShowButtons", "true");
iu.addParam("ShowDebugWindow", "true");

//Configure colors.
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("SplitterLineColor", "#0066cc");

//Configure border and splitter line style.
iu.addParam("FolderPaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("UploadPaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("TreePaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("SplitterLineStyle", "Dot"); //NOT SUPPORTED IN JAVA

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");

//Configure upload settings.
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("AutoRecoverMaxTriesCount", "10");
iu.addParam("AutoRecoverTimeOut", "10000");

iu.addParam("LicenseKey", "6173-9279-5549-5309;8721-7968-5785-6968");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.bmp;*.gif");

//Configure URL files are uploaded to.
iu.addParam("Action", "upload.aspx?SessionID=79360c83-1e92-46f5-b718-49499fa1558f");

//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "gallery.aspx");

//ADDED
iu.addParam("CheckFilesBySelectAllButton", "true");

//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("ViewChange", "ImageUploader_ViewChange");
iu.fullPageLoadListenerName = "fullPageLoad";

//Tell Image Uploader writer object to generate all necessary HTML code to embed 
//Image Uploader to the page.
iu.writeHtml();
//]]>
</script>

Edited by user Monday, February 25, 2008 5:13:24 PM(UTC)  | Reason: Not specified

Users browsing this topic
Guest
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.