![]() ![]() ![]() If you want to use a Jar file to store icons and images, you must specify that the search path is relative to CodeBase using the imageBase parameter in the formsweb.cfg file or HTML file. However, when you want to use a Jar file to store those files, the search path must be relative to the CodeBase directory, the directory which contains the Java applet. The default search path for the icons and images is relative to the DocumentBase. Table 4-12, "Icon Location Guide" describes the correct locations where to place your application icons: (for a relative path, relative to the CodeBase directory) In a specific named configuration section in the formsweb.cfg file, modify the value of the serverApp parameter and set the value to the location and name of your application file. (for a relative path, starting from the DocumentBase Directory) Modify the iconpath parameter specifying your icon location: Rename this new file (for example, myapp.dat). ![]() This directory must be mapped to a virtual directory for your Web server (for example, /appfile). To create a copy of the Registry.dat file:Ĭopy the Registry.dat text file found in the ORACLE_HOME/forms/java/oracle/forms/registry directory to another directory. If you want to add icon changes to the Registry.dat file used by your application, it is recommended that you make a copy of the existing Registry.dat file and edit the copied file. Changing the image location in the Registry.dat configuration file is useful if you want to store images in a central location independent of any application and independent of the Oracle Forms installation.Ĥ.9.2.2 Adding Icon Changes to Registry.dat #Iconjar pc archive#Use this setting if your images are stored in a Java archive file. Setting the imageBase parameter to codebase enables Oracle Forms to search the forms/java directory for the icon files. ![]() Alternatively, you can change the value of the Registry.dat file in the forms/java/oracle/forms/registry directory. To change the default location, set the imageBase parameter to codebase in the Forms Web Configuration page of Enterprise Manager Application Server Control Console. As the start HTML file is dynamically rendered by the Forms Servlet, the forms directory becomes the document base.įor example, if an application defines the icon location for a button with myapp/, then the icon is looked up in the directory forms/myapp. That is, DocumentBase looks for images in the directory relative to the base directory of the application start HTML file. When deploying an Oracle Forms application, the icon files used must be in a Web-enabled format, such as JPG or GIF (GIF is the default format).īy default, the icons are found relative to the DocumentBase directory. The parameter is deleted and the Configuration page reappears. The Confirmation page appears, click Yes. Select a radio button next to a parameter and click Delete. To delete a Registry.dat parameter and its value: To add a Registry.dat parameter and its value:Īt the bottom of the Registry.dat page, enter a name for the parameter in the Name text field.Įnter a value for this new parameter in the Value text field. Select a radio button next to a parameter and change the value(s) for it in the Value text field. Select the Configuration page of Enterprise Manager.įrom the View dropdown list, select Forms Font and Icon Mapping (Registry.dat). To change a Registry.dat parameter value: Use Application Server Control to change, add, or delete parameters from Registry.dat. 4.9.1 Managing Registry.dat with Application Server Control ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |