File Selection Dialog with Oracle Forms 10g (10.1.2): replacing some of webutil functionalities


Posted by Hafed | Posted in Forms, oracle, PJCs/Javabeans | Posted on 24-12-2008

When you have a directory with a complicated hierarchical structure (nested sub-floders), using webutil to browse the folder is inadequate. This is mainly due to the use of JFileChooser which is notoriously slow in this case.

Since most implementations use JInitiator, one way to circumvent this problem is to implement a bean that will make use of AWT FileDialog.

Based on the fileuploader bean found in the oracle forms 10g demos, I have implemented a bean that provides file selection.

This has been tested on Forms 10g 10.1.2 on IBM AIX. Please note that the bean was put together in about 10 hours in order to resolve this specific directory browsing and file selection.

Download jar, pll and installation doc

Update: Here is the FMB with the demo: fileupload.fmb