Home » Developer & Programmer » Forms » icons not visible in 10g DS
icons not visible in 10g DS [message #215285] Sat, 20 January 2007 09:18 Go to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Hi Friends

I'm new to 10g developer suite, I designed an application in 6i. Now I compiled this application in 10g DS but there is an error of global variables and also icons are not visible. It displays in designer but not at runtime in browser. Please help, Thanks in advance
Re: icons not visible in 10g DS [message #215370 is a reply to message #215285] Sun, 21 January 2007 21:55 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Forms 9i and 10g use gifs for their graphic elements. Search this forum for 'ico gif' there are links provided.

David
Re: icons not visible in 10g DS [message #215439 is a reply to message #215370] Mon, 22 January 2007 05:18 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

I used the gif files also but still not visible. I did the followin tasks already;
1. set UI_ICON in registry
2. update icon path in registry.dat file
Re: icons not visible in 10g DS [message #215549 is a reply to message #215439] Mon, 22 January 2007 18:55 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
The following instructions are part of my 9i DS implementation instructions. You will have to modify the names to suite your installation.
Quote:
1) Find C:\oracle\ora9i\forms90\java\oracle\forms\registry\Registry.dat, make it read-write, then edit it.

Change line 89
default.icons.iconpath=
to
default.icons.iconpath=icons/

Save the file and back it up.

2) Find C:\oracle\ora9i\j2ee\Oracle9iDS\application-deployments\forms\forms90web\orion-web.xml and edit it.

Duplicate one of the 'virtual-directory virtual-path' lines and make it read as below:
<virtual-directory virtual-path="/icons" real-path="R:\Casetrack\application\icons\gif" />

Save the file and back it up.

Verify your placement of the '/' on the two references to 'icons'.

David
Re: icons not visible in 10g DS [message #215568 is a reply to message #215549] Mon, 22 January 2007 23:19 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Its done.

Thankx Mr. David
Re: icons not visible in 10g DS [message #215582 is a reply to message #215549] Tue, 23 January 2007 00:10 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Dear Mr. David

I done what u said and it works fine, but when I call another form with OPEN_FORM, icons of those form again not display.

saleem
Re: icons not visible in 10g DS [message #215758 is a reply to message #215582] Tue, 23 January 2007 15:18 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
All the icons have to be gifs. When you use them in your form make sure that you do NOT specify the path. Just specify the 'name' WITHOUT extension (that is, without '.ico', '.gif', etc).

David
Re: icons not visible in 10g DS [message #215904 is a reply to message #215758] Wed, 24 January 2007 04:32 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

Its done

Thanks Mr. david
Re: icons not visible in 10g DS [message #257378 is a reply to message #215758] Wed, 08 August 2007 04:02 Go to previous messageGo to next message
atulwagh
Messages: 18
Registered: June 2007
Location: Mumbai
Junior Member
I have put icons in forms directory which is default documentbase
in button properties i have done following setting
iconic=yes
icon filename=wzclose (icon name it's a gif file)
By default icons r searched in forms directory or relative to that, but it is not working
plz provide any suggestion....
Re: icons not visible in 10g DS [message #257389 is a reply to message #215904] Wed, 08 August 2007 04:26 Go to previous messageGo to next message
atulwagh
Messages: 18
Registered: June 2007
Location: Mumbai
Junior Member
Hi............
plz tell me what setting u have done for icons...
tell al the settings.........
i tried but still nont working
Re: icons not visible in 10g DS [message #257645 is a reply to message #257378] Wed, 08 August 2007 19:44 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you placed your forms directory in the 'forms_path' in the registry?

David
Re: icons not visible in 10g DS [message #257672 is a reply to message #257645] Thu, 09 August 2007 00:16 Go to previous messageGo to next message
atulwagh
Messages: 18
Registered: June 2007
Location: Mumbai
Junior Member
forms_path is by default set but i checked it.It is correct and my all forms r resided in that directory.
In forms directory i created icons directory and put all the icons in that.By default icons r searched from forms directory as it is documentbase
I think above settings that i have done r right????????????
but still not working any other setting i have to do...
Re: icons not visible in 10g DS [message #257697 is a reply to message #257672] Thu, 09 August 2007 00:51 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
What is this concept of 'documentbase' that you keep writing about?

I suggest you print out this thread and review your PC's configuration against each of the entries in the thread.

How are you starting your first form? From the Forms Builder or from a command line?

David
Re: icons not visible in 10g DS [message #258113 is a reply to message #257697] Fri, 10 August 2007 05:14 Go to previous messageGo to next message
atulwagh
Messages: 18
Registered: June 2007
Location: Mumbai
Junior Member
documentbase and codebase settings r done in formsweb.cfg
documentbase=forms directory (by default)
codebase=forms/java(by default)

i tell u what i am doing?????????
I created one simple form with one single button
in button property i done following settings
iconic=yes
icon filename=game (without extension)
i compiled form and then copied fmx along with gif icon in forms
directory
then i called the form through explorer
I am calling this from my system(clint) itself not uploading on server
I think this is sufficient to work the form on client machine
but bot working even i tried UI_ICON setting in regedit
Any more settings i have to do so that it can run on client machine...
Re: icons not visible in 10g DS [message #258478 is a reply to message #215285] Sun, 12 August 2007 09:47 Go to previous messageGo to next message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
ok.... this is a very good question. I have done this very very long time ago... so please excuse if the folder/file/link names are not exact.

If you are using Forms from 10g IDS... UI_ICON is NOT going to help. It does not function here.

These are the things you need to take care of...
1) ALL your ICONS should be in GIF (image) format. The image size does matter so if you have a button that is 18 x 18, the gif image should also be of 18x18 or less.

2) Unlike 6/6i, the name of the icon/image file in 10G IS case sensitive. so if you have given the name in the button property as "CLOSE" or "Close", change it to "close".

Now to the procedure...
1) Make a collection of all your gif icon files and zip it. If you are using WinRAR, keep the extension of the file as JAR. If you are using WINzip or Windows Compression, compress the file first and then change its extention to JAR.
2) Copy this file to the FORMS/JAVA folder of your IDS home.
3) Now we will have to make some changes in your IDS Forms Settings.

IF you have access to the Forms settings, go to the default settings. Add the icon.jar file to the "initial files"
This section you may have to do some trial and error testing.

The gist is this... you have to have a JAR file and you have set the Initial files variable to include this JAR file as well.

Hope this helps... when i get more precise info i will post it here.

Hemangi
Re: icons not visible in 10g DS [message #259586 is a reply to message #258478] Thu, 16 August 2007 00:59 Go to previous messageGo to next message
atulwagh
Messages: 18
Registered: June 2007
Location: Mumbai
Junior Member
Thank u very much.......poblem is solved
The problem was with gif images they were not in 89a format.
So can u tell me how to convert these icons to 89a.Bcoz i have to use these inons only..........
thnx again............
Re: icons not visible in 10g DS [message #260275 is a reply to message #215285] Fri, 17 August 2007 23:36 Go to previous messageGo to next message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
have u tried using photoshop?
Re: icons not visible in 10g DS [message #303870 is a reply to message #258478] Mon, 03 March 2008 01:18 Go to previous messageGo to next message
mksenthil
Messages: 15
Registered: February 2008
Location: chennai
Junior Member
hi,

i am using oracle form builder 10.1.2.0.2.

in that where i can see the forms settings..
Re: icons not visible in 10g DS [message #303874 is a reply to message #215549] Mon, 03 March 2008 01:28 Go to previous messageGo to next message
mksenthil
Messages: 15
Registered: February 2008
Location: chennai
Junior Member
djmartin wrote on Tue, 23 January 2007 06:25
The following instructions are part of my 9i DS implementation instructions. You will have to modify the names to suite your installation.
Quote:
1) Find C:\oracle\ora9i\forms90\java\oracle\forms\registry\Registry.dat, make it read-write, then edit it.

Change line 89
default.icons.iconpath=
to
default.icons.iconpath=icons/

Save the file and back it up.

2) Find C:\oracle\ora9i\j2ee\Oracle9iDS\application-deployments\forms\forms90web\orion-web.xml and edit it.

Duplicate one of the 'virtual-directory virtual-path' lines and make it read as below:
<virtual-directory virtual-path="/icons" real-path="R:\Casetrack\application\icons\gif" />

Save the file and back it up.

Verify your placement of the '/' on the two references to 'icons'.

David


hi,

i have done all the things what u was mentioned in the above quote's.

I have stored all the icons in "D:\DevSuiteHome_1\reports\plugins\resource\icons" path so i gave this path in the second step what u have mentioned.

The icons are in .ico .gif formats.i used .ico format icon in the button it was displayed in the design stage but at runtime it not so.....

and if i am using .gif format both runtime and design time not displayed..

please help me...

thank u

senthil
Re: icons not visible in 10g DS [message #304041 is a reply to message #303874] Mon, 03 March 2008 19:30 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Please confirm that you have two files for every image - one as an '.ico' and the other as a '.gif'.

Look at http://www.orafaq.com/forum/m/128353/67467/?srch=gif+form+builder#msg_128353 and http://www.orafaq.com/forum/m/224284/67467/?srch=gif+form+builder#msg_224284 and also http://www.orafaq.com/forum/m/162345/67467/?srch=gif+form+builder#msg_162345

Also read http://www.orafaq.com/forum/m/113138/67467/?srch=gif+form+builder#msg_113138 for a discussion on sizes.

If you wish you can use the 'gif' icons in the Forms Builder by specifying the 'ui_icon_extension=gif' in the registry. See http://www.orafaq.com/forum/m/131890/67467/?srch=ui_icon_extension#msg_131890

David
Re: icons not visible in 10g DS [message #439023 is a reply to message #304041] Wed, 13 January 2010 11:42 Go to previous messageGo to next message
gonzpard
Messages: 10
Registered: January 2010
Location: Lima
Junior Member
I had tried many thing by reading many posts including those you recomend Martin, and I can´t make my icons appear in web. Look, what I have done:

--------------------------------------------------
Registry.dat:

default.icons.iconpath=icons/
default.icons.iconextension=gif
--------------------------------------------------
D:\DevSuiteHome_2\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml:

<virtual-directory virtual-path="/icons" real-path="C:\FORMS\WORKPLAN_1\PIC" />
--------------------------------------------------
default.env:

FORMS_PATH=C:\FORMS\WORKPLAN_1\LIB;C:\FORMS\WORKPLAN_1\FMX;C:\FORMS\WORKPLAN_1\PIC
--------------------------------------------------
formsweb.cfg:

imageBase=CodeBase (I have also tried with DocumentBase)
archive_jini=frmall_jinit.jar,PIC.jar

(PIC.jar have all the .gif images that are in the file C:\FORMS\WORKPLAN_1\PIC)
--------------------------------------------------
forms.conf:

AliasMatch ^/forms/icons/(..*) "C:\FORMS\WORKPLAN_1\PIC"
--------------------------------------------------
Run>regedit (Oracle Register)

FORMS_PATH=C:\FORMS\WORKPLAN_1\LIB;C:\FORMS\WORKPLAN_1\FMX;C:\FORMS\WORKPLAN_1\PIC
UI_ICON=C:\FORMS\WORKPLAN_1\PIC

Now i dont´t know what is missing, the icons don´t appear. I will appreciate a lot your help.

Thanks in advance, and I respect a lot your concern is this posts.

Augusto Gonzales

[Updated on: Wed, 13 January 2010 13:20]

Report message to a moderator

Re: icons not visible in 10g DS [message #439046 is a reply to message #439023] Wed, 13 January 2010 13:24 Go to previous messageGo to next message
gonzpard
Messages: 10
Registered: January 2010
Location: Lima
Junior Member
Finaly Razz , I get the solution at adding ui_icon_extension to the register of oracle and giving it the value gif and restarting my computer:

UI_ICON_EXTENSION=gif

Augusto Gonzales

[Updated on: Wed, 13 January 2010 13:24]

Report message to a moderator

Re: icons not visible in 10g DS [message #487461 is a reply to message #215285] Mon, 27 December 2010 07:13 Go to previous messageGo to next message
msaadkhan
Messages: 1
Registered: December 2010
Location: Pakistan
Junior Member
I follow above cited steps by Augusto Gonzales
But I still don't find solution.
i don't know what is the reason.
Re: icons not visible in 10g DS [message #487466 is a reply to message #487461] Mon, 27 December 2010 11:41 Go to previous messageGo to next message
msaleem
Messages: 37
Registered: November 2006
Location: Pakistan
Member

hi msaadkhan

just copy your icons folder in forms/java and run application, it will work for both OC4J and APS environment if you have alreadt done all above steps.

Re: icons not visible in 10g DS [message #565210 is a reply to message #487466] Fri, 31 August 2012 10:37 Go to previous message
ashora
Messages: 22
Registered: November 2010
Junior Member
Hi,

After following above steps I have managed to show a icon at design stage and run time but only one icon is getting displayed, rest still are coming blank at both levels, if possible kindly help me out on same.

Win 7
Forms [32 Bit] Version 10.1.2.0.2 (Production).

Regards.
Previous Topic: displaying no. of records with condition
Next Topic: email send from oracle 6i
Goto Forum:
  


Current Time: Mon Sep 26 17:54:36 CDT 2016

Total time taken to generate the page: 0.06380 seconds