hi @,
has anybody an idea how to create a Directory Chooser with ULC ?
private void directoryChooser(File fileDir, ULCButton button, ULCTextField
txfPath) {
String dirName = null;
FileChooserConfig chooser = new FileChooserConfig();
if(fileDir != null && fileDir.exists())
chooser.setCurrentDirectory(fileDir.getAbsolutePath());
chooser.setDialogTitle("Select Import File");
chooser.setFileSelectionMode(FileChooserConfig.DIRECTORIES_ONLY);
chooser.setDialogType(FileChooserConfig.OPEN_DIALOG);
MyFileHandler mfh = new MyFileHandler(txfPath);
ClientContext.loadFile(mfh, chooser, button);
}
this if I use throws an exception "directories are not supported"
thx for any help