Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WebUtil not working

bassFreakeJul 21 2011 — edited Jul 22 2011
I have configured webUtil and tested it on the demo and the demo worked just fine. But on my own program it isn't working. I did the OBJ file and the pll file and all that development time configurations. My program compiles with no errors. But when I run the program when I get to the webUtil part it doesn't do anything. The particular thing I am working on right now is just a simple browse button that will open up an open file dialog box and save the file path of the file the client picks into a text item. I took my code directly from the demo so I know there shouldn't be anything wrong with the code because I saw it work on the demo but when I try to use it on my program it doesn't do anything. Here is my code:

declare
l_filename varchar2(254);
begin
:global.user_home := webutil_clientinfo.get_system_property('user.home');
SYNCHRONIZE;
l_filename := client_get_file_name(directory_name => :global.user_home
,file_name => null
,file_filter => null
,message => null
,dialog_type => null
,select_file => null
);
:FILE_UPLOAD_BLOCK.file_upload_text := l_filename;
end;

any help would be greatly appreciated
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2011
Added on Jul 21 2011
18 comments
2,482 views