Rank: Advanced Member
Groups: Member
Joined: 2/5/2008(UTC) Posts: 30
|
Good afternoon,
We're usign ImageUploader Dual 6.0. Our need is to set the folder of uploadable files via GoToFolder method, but while in the ActiveX version all is working fine (and we have our folder correctly set), the Java Applet seems to completely ignore the GoToFolder method.
All samples and documentation that we have read confirm that the GoToFolder method is available both in ActiveX than in Java Applet versions of ImageUploader.
So where is the problem?!? We need urgently a solution to this very big and absurd problem. It's unbelievable that a simple operation like folder selection isn't working in the last version of the component.
We'll wait for a quick response Thank you and best regards
Code Excerpt: . . . function initComplete() { getImageUploader("objImageUploader").GoToFolder('C:/epoca_store/pluto/'); } iu.addEventListener("InitComplete", "initComplete"); . . .
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hello, I just tried to reproduce your problem locally but everything worked well. So, I need additional information from you: - Your OS version
- Your browser version
- Java Runtime Environment version
|
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 2/5/2008(UTC) Posts: 30
|
Good morning Tamila and thank you for your quick response.
Here's my configuration:
1. Windows XP Service Pack 3 in Italian 2. Mozilla Firefox 3.0.11 3. JRE Standard Edition 1.6.0.13
If you need I can post you my complete code to verify that all is ok.
In case, could you post here your test code so I can try it in my environment and see what's going on?
Thank you and best regards Ivan Braidi
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Ivan, I just tried to reproduce the problem using your configuration but everything worked well. Maybe you experience this problem because GoToFolder method is called before Image Uploader applet is initialized. I recommend you to use FullPageLoad event instead of InitComplete as follows: Code:function ImageUploader_FullPageLoad() {
getImageUploader("ImageUploader1").GoToFolder('c:/temp/');
}
iu.addEventListener("FullPageLoad", "ImageUploader_FullPageLoad");
I hope it helps you. |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 2/5/2008(UTC) Posts: 30
|
Dear Tamila, with the use of the FullPageLoad event instead of the InitComplete, all works fine even in java applet. These are very good news! :)
But I want to advice you that I found the use of the InitComplete event in samples and documentation, so please, correct docs to avoid similar problems to future developers.
Last but not least: after the selection of the folder, I have the need to put automatically all the files present in the folder in the upload pane, without user intervention. Is it possibile to do such a thing and, if it is, could you show me the api methods to reach the desidered result?
Thank you very much: you're very quick and smart in your answers, and I really appreciate this so much!!!
Kindly regards, Ivan
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Ivan, Quote:But I want to advice you that I found the use of the InitComplete event in samples and documentation, so please, correct docs to avoid similar problems to future developers. Thank you for information, our developers will fix it. Quote:Last but not least: after the selection of the folder, I have the need to put automatically all the files present in the folder in the upload pane, without user intervention. Is it possibile to do such a thing and, if it is, could you show me the api methods to reach the desidered result? Unfortunately, this feature is not supported in standard version of Image Uploader due to security issue. But if you need it, please contact us at sales@aurigma.comEdited by user Friday, July 3, 2009 6:07:26 PM(UTC)
| Reason: Not specified |
|
|
|
|
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.