Compare ClientContext#chooseFile with ClientContext#loadFile

Etienne



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, April 17, 2007 6:25 AM
To: [email protected]
Subject: [ULC-developer] File Chooser Dialog , open Button has no effect


Hi Community!

I have another question on the FileChooserDialog:

My Source;

FileChooserConfig fcConfig = new FileChooserConfig();
fcConfig.setDialogTitle("Select Directory");
fcConfig.setDialogType(FileChooserConfig.OPEN_DIALOG);
ClientContext.chooseFile(new IFileChooseHandler() {
      public void onFailure(int reason,   String description) {
            System.out.println(description);
      }
      public void onSuccess(String filePath) {
            getDacDecTfiPath().setValue(filePath);
      }
}, fcConfig, bpaSettings);


My Problem is the following: The dialog came up and then when  i select
a file and push the Open Button nothing happen! But if I double Click
the File the Path of the file is copied, as wished!

Is this a bug?

Thanks to all!

Florian Marquardt


_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to