var file = plugins.file.showFileOpenDialog(0, plugins.file.getDesktopFolder(), false, new Array(“PDF and JPG”,“pdf”,“jpg”));
If I set selectionMode (first parameter) to 0 (both file and directory) with the filter above I can see only the file but no the directory.
If I set selectionMode (first parameter) to 2(directory only) with the filter above I can’t see nothing.
This with servoy 3.5.5 JDK 1.6.0_5