This content has been marked as final. Show 6 replies
frank1018 wrote:Do you subclass from webutil.olb to your form ?
I have installed and configured webutil on my Linux machine and I can successfully run the webutil_demo.
I have a form with webutil library attached and object group added calling webutil_file.File_save_dialog successfully.
But when I want another form to a procedure in a PL/SQL library (pll_window.pll ) which call webutil_file_transfer.as_to_client,, It reports an error saying
The WEBUTIL object group is not available in this Form. WebUtil cannot work
and pop out a small alert "Please acknowledge"
When I click OK, it says FRM_40734: Internal Error: PL/SQL error occurred
So what might be the problem ? I had webutil.pll attached to my library file pll_window.pll also.
Hope this helps
As the error suggests, you cannot open a new form which does not contain the WebUtil objects (beans) and expect to make calls to it. For the most part, each form is indepentant of the other even if one calls another. There is some functionality that can be shared, but generally speaking each form stands alone.1 person found this helpful
I didn't subclass it, there are more than 200 forms call that procedure to print reports.
Then I tried to subclass the object to one form and it really works.
Thanks for your remind, but I don't want to subclass for 200 forms, is there any way to change the procedure in the library and all forms work ?
If you are using WebUtil, it would need to be part of each form. Depending on your java skills, you may be able to add the sub-classing using JDAPI. This would allow you to update all the forms at once. Refer to the Forms Builder online help for information on using JDAPI
Where can I get the jdapi jar file ? the one at $ORACLE_HOME/jlib doesn't have sorce code.
Source code for JDAPI is not provided as this is part of the supported product and is not a demo. If you are looking for information on how to use it, you can find that in the Forms Builder Help. The Java Doc for JDAPI can be downloaded from the Forms 11 product area of OTN or directly from here: