icon buttons steps

Upload: yellanki

Post on 08-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 Icon Buttons Steps

    1/5

    Common Steps in Forms Builder

    In The Form Create A Button By Setting The Following Properties

    o Iconic Yeso 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 \Forms90\ Create A Directory By The Name of 'Image'

    Example \Forms90\ImageNote

    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 \ J2ee\ Oracle9iDS\ Application-Deployments\Forms\Forms90web

    NotePath in My Personal System E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web

    Find The Following Section In orion-web.xml

    D:\9ids/Forms90/Server/Formsweb.cfg

    Add The Line After The Virtual Directory Defined For "/Jinitiator". The "Images" Virtual Directory is Defined As Follows:

    Note

    Path in My Personal System E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web

    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.GIFNote

    Path in My Personal System http://skyess:8888/forms90/image/AFSAVE.GIF

  • 8/7/2019 Icon Buttons Steps

    2/5

    This Should Display The Gif Image. If Not, The Virtual Directory Has Not Been Defined Properly And The Form Will Not

    Display The Icon.

  • 8/7/2019 Icon Buttons Steps

    3/5

    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 ToThe Location of The Icon Files.

    The Registry.Dat File is in \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

    Patho 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:\iconsThe "Icon Filename" Property is Case Sensitive. When The icon is Saved, Make Sure The Case of The Name in The File SystemAnd 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 \ J2ee\ Oracle9iDS\ Application-Deployments\Forms\Forms90webNote

    Path in My Personal System E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web Find The Following Section In orion-web.xmlD:\9ids/Forms90/Server/Formsweb.cfg

    Add The Line After The Virtual Directory Defined For "/Jinitiator". The "Icons" Virtual Directory is Defined As Follows:

    Note

    Path in My Personal System E:\DeveloperSuite \ j2ee\ Oracle9iDS\ application-deployments\ forms \forms90web

    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

  • 8/7/2019 Icon Buttons Steps

    4/5

    Use The Following URL in Your Browser http://ComputerName:8888/Forms90/icons/SAVE.GIF

  • 8/7/2019 Icon Buttons Steps

    5/5

    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 ToThe Location of The Icon Files.

    The Registry.Dat File is in \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.