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

Reply via email to