9iDS forms 9i gif icons won't display

I have been on metalink and have yet to get a ggod answer on how to make my gif icons appear on my forms in 9iDS Forms 9i. I am on adevelopment machine and have modified my %ORACLE_HOME%\forms90\j2ee\orion-web.xml by addidng the folling lines:
<virtual-directory virtual-path="/webicons"
real-path="d:\webicons" />
Then I modified %ORACLE_HOME%\forms90\java\forms\registry\registry.dat file to read:
default.icons.iconpath=/webicons/
default.icons.iconextension=gif
and I've tried
default.icons.iconpath=/webicons
default.icons.iconextension=gif
and I've tried
default.icons.iconpath=webicons/
default.icons.iconextension=gif
My %ORACLE_HOME%\forms90\server\formsweb.cfg reads:
imageBase=DocumentBase
I was told to remove imageBase=DocumentBase from %ORACLE_HOME%\forms90\server\basejini.htm but I only found:
<PARAM NAME="imageBase" VALUE="%imageBase%">
imageBase="%imageBase%"
in that file. But, even commenting on or the other or both did not yield positive results.
After each modification to the above files I made sure that I closed the browser and stopped and re-started the OC4J Instance before opening the browser.
Once again, I am doing this on a development computer with all files on that computer and I am NOT deploying any of this to 9iAS.
What is wrong?
TIA,
Ed.

Ed,
You're right, there's no reason that you must use the jar file method. For testing, it makes sense to use your images "as is".
I think I see the problem with your config. You should always do this test to to verify that you can see your icons before running your Form: look at your icon in a browser.
You said that you modified %ORACLE_HOME%\forms90\j2ee\orion-web.xml and created the following virtual path:
  <virtual-directory virtual-path="/webicons" real-path="d:\webicons" />Restart your OC4J listener, and see if you can see the icon in your browser:
  http://host:port/[color=red]forms90[color]/webicons/someicon.gif
I bet you can. That's because you edited the orion-web.xml for Forms, which affects everything under the /forms90/ path. That is, host:port/forms90/ is the document root to that orion-web.xml. This is perfectly ok, but in your registry.dat, you need to put in the full thing:
  default.icons.iconpath=/[color=red]forms90[/color]/webiconsIf you want to do it the "normal" way, modify the following:
%ORACLE_HOME%\j2ee\Oracle9iDS\application-deployments\default\defaultWebApp\orion-web.xml
This is the xml file for the base web listener. Now you can see the icon in your browser:
  http://host:port/webicons/someicon.gif
which will let you use the following in your Registry.dat file:
  default.icons.iconpath=/webiconsSee, I told you that you were close!
Regards,
Robin Zimmermann
Forms Product Management

Similar Messages

  • Desktop icons won't display on Desktop

    I recently installed a couple of what seemed to be interesting menubar items (MenuStrip and Isolator). Shortly after (not concurrent with) I lost the icons that show up on the Desktop of files in the Desktop folder. The files are all intact - nothing lost, they just don't show up on the Desktop.
    I've removed these two applications using AppZapper, run the new DiskWarrior 4.1.1, repaired the permissions, run repair disk from Disk Utility, reinstalled Leopard from the DVD, and now I'm at a loss on how to bring back those icons.
    I'm running OS X 10.5.5 on an Intel Mac Mini. I use a Newer MiniStack as my boot drive. If I boot from the internal drive (which is virtually virgin from the day of purchase), the Desktop icons from that user are displayed as they should be.
    Is there someway to "rebuild" the Desktop or otherwise bring things back to normal?
    Thanks in advance,
    -Tod

    Added info:
    I also recently tried using Path Finder 5. It also has been "shredded."
    I was just poking around my Desktop and found that clicking on the Desktop itself while another app (say like Safari) is frontmost, clicking won't bring the Finder to the front. Sounds like something left over from Path Finder, though I deleted all its prefs using AppZapper.
    -T

  • Custom Folder Icons won't display in Cover Flow

    When I paste a PNG or PICT or JPG file on the highlighted folder image in the Get Info window, the new icon for the folder will appear everywhere - icon view - list view - column view - except Cover Flow - What gives?

    I use a different method to get custom icons on my folders, and they are displaying correctly in Cover Flow. Tried what I presume you are doing: open graphic file in Preview, select Copy, go to GetInfo window of the folder and paste. That folder does not show up in Cover Flow AT ALL, just a blank space. Weird. Definitely a bug.
    Francine
    Francine
    Schwieder

  • 7th generation ipod icon won't display in itunes

    I just purchased the 7th Generation Ipod Nano.  I have gone through the troubleshooting in the Support section and it still will not display.  I used to have a 3rd generation Nano and that still shows up when I plug it into my laptop.  Any assistance would be greatly appreciated.

    Start here assuming you have a PC.
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • Menu bar icons won't display

    After upgrading to Mavericks, I can't see any of the usual menu bar icons (date/time, battery, wifi, etc.).
    When I check them in System Preferences, it momentarily checks and then unchecks.
    Any suggestions? Tried restarting already.

    Go to your Finder "Go" menu hold the option key to choose "Library". Then go to Preferences/com.apple.systemuiserver.plist and delete that file. Log out and back in or restart.

  • Converting GIF images to JPG - display problems in browser

    I am currently writing a program that uses the ImageIO package (javax.imageio.*) to take GIF and PNG images and convert them to JPG images. The program seems to convert them correctly, especially for the PNG images, but the converted GIF images don't open in a browser. They open just fine in Windows Picture and Fax viewer, but when I try to open them in IE or Firefox, it only diplays the little red 'x'.
    Is anyone familiar enough with Images and the ImageIO package in Java that they may have some insight on why these converted GIF files won't display in a browser.

    Bonjour,
    In my [website|http://iweb.debutersurmac.com>, all the images are JPG files,
    By default iWeb '09 converts images to JPG (yes, it's true)...
    ...unless you use masked images*
    !http://i32.servimg.com/u/f32/09/02/44/99/masked10.jpg!
    Crop your images (with Preview) before you paste them in iWeb. Don't use mask, Unmask an image if it's masked. That's the trick!
    !http://i32.servimg.com/u/f32/09/02/44/99/unmask10.jpg!
    (* images with transparency areas (ex : some PNG and GIF), rotation and shapes in iWeb make also PNG files in your website.)

  • GIF icon wont display in JList

    Hello.
    During development of a single application I've encountered a strange bug:
    I am unable to display a gif icon in JList using JLabel as the cell renderer. Png icons work.
    Could someone please point me to the obvious flaw in my example? :)
    Example as netbeans project:
    http://www.megaupload.com/?d=GVCDVO1F
    Example code:
    * GifIconInList.java
    * Created on 28. srpen 2008, 11:03
    package gificoninlist;
    import java.awt.Color;
    import java.awt.Component;
    import java.net.URL;
    import javax.swing.DefaultListModel;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.ListCellRenderer;
    * @author  Bedla
    public class GifIconInList extends javax.swing.JFrame {
        DefaultListModel listModel = new DefaultListModel();
        /** Creates new form GifIconInList */
        public GifIconInList() {
            initComponents();
        class labelCellRenderer extends JLabel implements ListCellRenderer {
            public labelCellRenderer() {
                setOpaque(true);
            public Component getListCellRendererComponent(JList list,
                    Object value,
                    int index,
                    boolean isSelected,
                    boolean cellHasFocus) {
                if (value instanceof JLabel) {
                    JLabel label = (JLabel) value;
                    if (isSelected) {
                        label.setBackground(list.getSelectionBackground());
                        label.setForeground(list.getSelectionForeground());
                    } else {
                        label.setBackground(Color.white);
                        label.setForeground(Color.black);
                    return label;
                return this;
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jScrollPane1 = new javax.swing.JScrollPane();
            jList = new javax.swing.JList();
            addPngButton = new javax.swing.JButton();
            addGifButton = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jList.setModel(listModel);
            jList.setCellRenderer(new labelCellRenderer());
            jScrollPane1.setViewportView(jList);
            addPngButton.setText("Add PNG");
            addPngButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    addPngButtonActionPerformed(evt);
            addGifButton.setText("Add GIF");
            addGifButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    addGifButtonActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 287, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(addPngButton)
                        .addComponent(addGifButton))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(31, 31, 31)
                            .addComponent(addPngButton)
                            .addGap(37, 37, 37)
                            .addComponent(addGifButton))
                        .addGroup(layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 278, Short.MAX_VALUE)))
                    .addContainerGap())
            pack();
        }// </editor-fold>
    private void addPngButtonActionPerformed(java.awt.event.ActionEvent evt) {
        URL iconURL = GifIconInList.class.getResource("otevren.PNG");
        Icon icon = new ImageIcon(iconURL);
        JLabel label = new JLabel("PNG icon: " + icon, icon, JLabel.CENTER);
        listModel.addElement(label);
    private void addGifButtonActionPerformed(java.awt.event.ActionEvent evt) {
        URL iconURL = GifIconInList.class.getResource("otevrenblik.gif");
        Icon icon = new ImageIcon(iconURL);
        JLabel label = new JLabel("GIF icon: " + icon, icon, JLabel.CENTER);
        listModel.addElement(label);
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new GifIconInList().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JButton addGifButton;
        private javax.swing.JButton addPngButton;
        private javax.swing.JList jList;
        private javax.swing.JScrollPane jScrollPane1;
        // End of variables declaration
    }

    I had write a program to display gif images inside a JList.
    Here is the code
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class ImageList
        BufferedImage[] images;
        JList list;
        public ImageList()
            loadImages();
            list = new JList(images);
            list.setCellRenderer(new ImageRenderer());
        private void loadImages()
            String[] fileNames = {
                "1", "2", "3", "4"
            images = new BufferedImage[fileNames.length];
            for(int i = 0; i < images.length; i++)
                try
                    String path = "images/" + fileNames + ".gif";
    URL url = getClass().getResource(path);
    images[i] = ImageIO.read(url);
    catch(MalformedURLException mue)
    System.out.println("url: " + mue.getMessage());
    catch(IOException ioe)
    System.out.println("read: " + ioe.getMessage());
    public static void main(String[] args)
    JFrame f = new JFrame();
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(new JScrollPane(new ImageList().list));
    f.setSize(400,400);
    f.setLocation(200,200);
    f.setVisible(true);
    class ImageRenderer extends DefaultListCellRenderer
    public Component getListCellRendererComponent(JList list,
    Object value,
    int index,
    boolean isSelected,
    boolean cellHasFocus)
    // for default cell renderer behavior
    Component c = super.getListCellRendererComponent(list, value,
    index, isSelected, cellHasFocus);
    // set icon for cell image
    ((JLabel)c).setIcon(new ImageIcon((BufferedImage)value));
    ((JLabel)c).setText("");
    return c;
    Here is netbeans project:
    [http://www.mediafire.com/?nl29dl4tteu]
    Note: If you check image 2.gif inside the src/images dir you will found that it is an animated gif but JList is displaying it as static image.
    Bedla if you want both image and text then create a class like thisclass ListItem {
    private BufferedImage image;
    private String value;
    public ListItem(
    BufferedImage c, String s) {..}
    public Color getImage() {..}
    public String getValue() {..}

  • Error in applying gif icon on a button in 10g forms

    Dear users...I wanna apply a gif image on a push button named "Pb_Ext" in my form but I'm being failed in this simple task :( For this purpose I've taken the following steps.
    1: I made Iconic property to "Yes" and in icon filename property I gave the gif file name, in my case that is "bdone", which I got from 10g forms directory. (Is it necessary to write file extension with file name? Although I've tried both ways.)
    2: I set up icons path value in registry.dat file as: default.icons.iconpath=H:\10g_Tst\03\03
    default.icons.iconextension=gif
    3: In formsweb.cfg file registry.dat file is defined as:
    serverApp=default
    So is there anything else remaining to be set up? Can u guess that where is the fault?

    One of this may help
    Re: icons not displaying in oracle forms.
    Re: Icon deploy issue in 10g forms
    Re: cannot show icon images
    Re: Step by step creation of iconic buttons

  • I purchased an album that won't play now that my match subscrription has ended. Not interested in re-subscribing, but I paid for that album. How can I download it again since the cloud icon doesn't display?

    I purchased an album that won't play now that my match subscrription has ended. Not interested in re-subscribing, but I paid for that album. How can I download it again since the cloud icon doesn't display?

    Hi,
    Does the track play? Did you purchase track from iTunes? Download past purchases - Apple Support
    Jim

  • My ipad won't shut off...apple icon is on display and cannot get red slider

    My ipad won't shut off...apple icon is on display and cannot get red slider.  I've tried holding down the shut off button and home button at the same time and the apple icon disappears for a few seconds and comes right back up. 

    Try a reset a few more times.
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • Ipod icon on itunes won't display

    Hi, I just recently got a nano and i put all my songs on it... then i went to update the ipod and i didn't realize all the songs would be deleted... whoops... well now i'm trying to put them all back on and now when i go onto itunes my ipod icon won't show up... so therefore... i can't put any songs on it! someone help please!
    Maddi

    Usually If your using the iPod updater to update the software on your iPod it doesn't wipe off your music. Now If you use the iPod updater and hit restore instead of update, yeah that will wipe the iPod clean.
    First we have to see if the iPod is connecting to the PC or not. You say it doesn't show in iTUnes, so when you first plug in the iPod, look in "My Computer" in windows and see if its listed there. Sometimes its listed as "IPOD" other times its listed as "Removable Disk". If it does not show up there look at the iPod and see if the little battery icon has a flashing battery showing its atleast charging
    Just to cover basics, the latest iPOd updater can be downloaded here, http://www.apple.com/ipod/download/
    You can read about restore and the 5R's here http://www.apple.com/support/ipod/five_rs/

  • JPG won't display in Image box.

    Trying to add a logo in JPG format to the top of the form using the Image control, but it won't display the image nor print it. If I use a GIF file it works fine, but looks horrible. I'm new at this, any ideas?

    I finally figured it out after posting another frustrating comment to this thread. I can't take the credit, however, as it was quickly solved by Irv Kanode in another thread. I have copied his exact post below. It solved this issue in seconds:
    ADOBE SUPPORT REPLY:
    Irv Kanode - 4:15pm May 5, 06 PST (#1 of 2)
    Check some of your JPEGs for CMYK vs RGB.
    Might the ones that fail be CMYK and the ones that work be RGB?
    When images don't work are you seeing a broken image icon or...?
    Irv
    Adobe Support
    USER FOLLOWUP TO ADOBE SUPPORT SUGGESTION:
    Kurt Wedberg - 5:27pm May 5, 06 PST (#2 of 2)
    Irv,
    Thanks for the reply. The images that didn't work were CMYK. When I converted to RGB they worked.
    The images that didn't work were coming up with random grey scale colors.
    Thanks again,
    Kurt
    Hope this helps everyone!

  • Dev 6 Tree and Gif icons, SDI mode on WEB URGENT

    Has anybody successfully displayed an icon in GIF format in the
    Dev 6 hierarchical tree in a browser?
    Even when I hardcode the path to the GIF icon it is not
    displayed as part of a node in the browser window. Everything is
    fine in C/S mode.
    Second problem is that in Netscape Navigator or MS IE the window
    is displayed inside he browser even when I give usesdi=NO as a
    parameter. So some things are not displayed correctly and my
    users really like the separate window.
    Thanks for any answer
    Frank
    null

    Frank Huether (guest) wrote:
    : Has anybody successfully displayed an icon in GIF format in the
    : Dev 6 hierarchical tree in a browser?
    : Even when I hardcode the path to the GIF icon it is not
    : displayed as part of a node in the browser window. Everything
    is
    : fine in C/S mode.
    : Second problem is that in Netscape Navigator or MS IE the
    window
    : is displayed inside he browser even when I give usesdi=NO as a
    : parameter. So some things are not displayed correctly and my
    : users really like the separate window.
    : Thanks for any answer
    : Frank
    Hi Frank,
    The gif image in the tree item works well. The fact is that you
    have to put the image in the directory where the registry.dat
    file in the forms60\java\oracle\forms\registry directory points
    to. Nearby the end of the file you find the possibiity to enter
    the directory of your gif files. It's advisable to use the
    absolute URL pointing to your gifs.
    To achieve a separate window for the forms applet just implement
    the parameter "SeparateFrame=true" to yout start HTML File.
    Since
    you are using IE you should do it like follows:
    <PARAM NAME="separateFrame" VALUE="true">
    Hope it helps
    Frank
    null

  • Twistie image won't display

    RH 9 / WebHelp output
    I added twisties to my project a couple of weeks ago and they worked fine.
    Recently I re-organized my images and the twistie graphics were not displaying so I went into the css and updated the path.
    The collpage icon displays fine, but the expand will not. I even tried using the collapse icon for the open icon and it still won't display. I put the images back at the root and re-did path, and nothing changed.
    Attached pictures of the 2 outputs, and the code.
    Have a release going out tomorrow so any help much appreciated.

    Hi there
    For starters, the CSS seems that you are referencing the same exact file. So your Expand and Collapse should be identical. But in your screen capture, it appears that the collapse isn't showing?
    If you are really wanting the same image, perhaps make a copy and name the copy slightly differently. Then specify it in the CSS editor or code.
    Another thing to try is to right-click and add both images to your project as Baggage files.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for

  • Book Changes in FM cause RH to crash

    When I have an existing RH project with a reference to a FM book, and I then add a chapter to the FM book OR I rename chapters in the book, and then update my RH project where the book is referenced, my project hangs. I have tried Update, Force Updat

  • Sound no longer working

    Last night we had a big storm. My wife's computer was asleep and when we woke up, it was frozen. We didn't lose power, but I suppose there could have been a surge of some kind. Anyway, the computer is behaving normally except for one thing: there is

  • How do I change what I see when I open a new (blank) tab?

    I always get "MyStart" by intellibar and I do not want that when I first open a blank tab. How do I go back to what I used to have?

  • Creating Queries from Cubes and ODS

    Dear Gurus: I'd like to learn how to make queries from ODS and CUBES.  can any Guru out there prescribe a particular infocube / ods project for me to make report on in both 3.5 and BI 7?  I can send daily reports on my progress.  I think this is the

  • Deleting iPhoto subscriptions

    Does anyone know how to delete iphoto subscribed photos? You may rememeber in the old iphoto, you could subscribe to web photo feeds, now the feature has been removed, how do i delete those feeds thanks