Hi Alexander I would like to mention that your code does not look like it will work in a deployed application since you create a file object on the server-side using a path from the client-side (which is typically another machine).
Regards, Etienne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Vegh Sent: Friday, October 13, 2006 5:30 AM To: [email protected] Subject: [ULC-developer] ClientContext.chooseFile doesnt work Hi For some reason ClientContext.chooseFile ( ClientContext.loadFile ) do not work. There is no exception on client or server, no error message. I have another place in the same program where the same code does work,so I have no idea what am I doing wrong here: private void importFiles () { FileChooserConfig config = new FileChooserConfig (); config.setFileSelectionMode ( FileChooserConfig.FILES_ONLY ); config.setDialogType ( FileChooserConfig.OPEN_DIALOG ); IFileChooseHandler loadHandler = new IFileChooseHandler() { public void onSuccess ( String filePath ) { File[] files = new File[]{new File(filePath)}; m_DocumentsTable.doArchiveFilesWithWizard (files); } public void onFailure ( int reason, String description ) { } }; ClientContext.chooseFile (loadHandler,config,this ); } I already am using AllPermissionsFileService on the client and all the jars are signed. Thanks for any help Alexander Vegh Abacus Research _______________________________________________ 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
