You are on page 1of 5

Common Steps in Forms Builder

• In The Form Create A Button By Setting The Following Properties


o Iconic  Yes
o Icon Filename  Save
Note
• The "Icon Filename" Property is Case Sensitive.
• When The Icon is Saved, Make Sure The Case of The Name in The File System And in The Form Icon Filename Property is
in Same Case.

Configuration Method 1
• Copy The Icon To The Desired Directory on The File System.
• In The <9ids_HOME>\Forms90\ Create A Directory By The Name of 'Image'
• Example  <9ids_HOME>\Forms90\Image
Note
Path in My Personal System  E:\DeveloperSuite\forms90\image
• Open The orion-web.xml File in A Text Editor Like Wordpad OR Edit Plus.
• This File Can Be Found in Path <9ids_Home>\ J2ee\ Oracle9iDS\ Application-Deployments\Forms\Forms90web
Note
Path in My Personal System  E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web
• Find The Following Section In orion-web.xml
<Context-Param-Mapping Name="Configfilename">D:\9ids/Forms90/Server/Formsweb.cfg</Context-Param-Mapping>
<Virtual-Directory Virtual-Path="/Html" Real-Path="D:\9ids/Tools/Web90/Html" />
<Virtual-Directory Virtual-Path="/Java" Real-Path="D:\9ids/Forms90/Java" />
<Virtual-Directory Virtual-Path="/Jinitiator" Real-Path="D:\9ids/Jinit" />

Add The Line After The Virtual Directory Defined For "/Jinitiator". The "Images" Virtual Directory is Defined As Follows:
<Virtual-Directory Virtual-Path="/Image" Real-Path="Drive:\9ids_HOME/Forms90/Image" />
Note
Path in My Personal System  E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web
<virtual-directory virtual-path="/image" real-path="E:\DeveloperSuite\forms90\image" />
• Save The orion-web.xml
• Stop And Restart The OC4J Instance To Pick Up The Changes Made in The orion-web.xml File.
Steps in Windows
• Select the Start/Stop OC4J Instance By Clicking Start  Programs  Oracle 9i Developers Suite  Forms Developer 
Start OC4J
Verify That The Image Virtual Directory Has Been Mapped Correctly
• Use The Following URL in Your Browser  http://ComputerName:8888/Forms90/Image/SAVE.GIF
Note
Path in My Personal System  http://skyess:8888/forms90/image/AFSAVE.GIF
• This Should Display The Gif Image. If Not, The Virtual Directory Has Not Been Defined Properly And The Form Will Not
Display The Icon.
Configuring The Registry.Dat File
• When The Icons Can Be Displayed Via The Browser, The Registry.Dat File Used By Forms Should Be Modified To Point To
The Location of The Icon Files.
• The Registry.Dat File is in <9ids_Home>\Forms90\Java\Oracle\Forms\Registry.
Note
Path in My Personal System  E:\DeveloperSuite\forms90\java\oracle\forms\registry
• Open The "Registry.Dat" File in Word Pad OR Edit Plus, To Use The "Images" Virtual Directory Describe The Following
Path
o Default.Icons.Iconpath=Image/
o Default.Icons.Iconextension=GIF
• Run The Form From The Form Builder And The Icon Should Be Displayed on The Button.
Configuration Method 2
• Create OR Find A Directory on The File System To Place The Icons. I Have Assumed That A Directory C:\Icons Exists on
The File System.
Note
Path in My Personal System  C:\icons
The "Icon Filename" Property is Case Sensitive. When The icon is Saved, Make Sure The Case of The Name in The File System
And in The Form Property is The Same.
Configuring The orion-web.xml File
• Open The orion-web.xml File in A Text Editor Like Wordpad OR Edit Plus.
• This File Can Be Found in Path <9ids_Home>\ J2ee\ Oracle9iDS\ Application-Deployments\Forms\Forms90web
Note
Path in My Personal System  E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web
• Find The Following Section In orion-web.xml
<Context-Param-Mapping Name="Configfilename">D:\9ids/Forms90/Server/Formsweb.cfg</Context-Param-Mapping>
<Virtual-Directory Virtual-Path="/Html" Real-Path="D:\9ids/Tools/Web90/Html" />
<Virtual-Directory Virtual-Path="/Java" Real-Path="D:\9ids/Forms90/Java" />
<Virtual-Directory Virtual-Path="/Jinitiator" Real-Path="D:\9ids/Jinit" />
Add The Line After The Virtual Directory Defined For "/Jinitiator". The "Icons" Virtual Directory is Defined As Follows:
<Virtual-Directory Virtual-Path="/Icons" Real-Path="C:\icons" />
Note
Path in My Personal System  E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web
<virtual-directory virtual-path="/icons" real-path="C:\icons" />
• Save The orion-web.xml
• Stop And Restart The OC4J Instance To Pick Up The Changes Made in The orion-web.xml File.
Steps in Windows
• Select the Start/Stop OC4J Instance By Clicking Start  Programs  Oracle 9i Developers Suite  Forms Developer 
Start OC4J
Verify That The Image Virtual Directory Has Been Mapped Correctly
• Use The Following URL in Your Browser  http://ComputerName:8888/Forms90/icons/SAVE.GIF
Note
Path in My Personal System  http://skyess:8888/forms90/icons/AFSAVE.GIF
• This Should Display The Gif Image. If Not, The Virtual Directory Has Not Been Defined Properly And The Form Will Not
Display The Icon.
Configuring The Registry.Dat File
• When The Icons Can Be Displayed Via The Browser, The Registry.Dat File Used By Forms Should Be Modified To Point To
The Location of The Icon Files.
• The Registry.Dat File is in <9ids_Home>\Forms90\Java\Oracle\Forms\Registry.
Note
Path in My Personal System  E:\DeveloperSuite\forms90\java\oracle\forms\registry
• Open The "Registry.Dat" File in Word Pad OR Edit Plus, To Use The "Images" Virtual Directory Describe The Following
Path
o Default.Icons.Iconpath=Icons/
o Default.Icons.Iconextension=GIF
• Run The Form From The Form Builder And The Icon Should Be Displayed on The Button.

You might also like