Home » Developer & Programmer » Forms » Dev9i AS Icons Disappear At Runtime
Dev9i AS Icons Disappear At Runtime [message #451497] Thu, 15 April 2010 02:43 Go to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
Hi, anyone can help me??

I develop a form using Devloper9i AS, oracle 9i, Winxp
The problem is: I used icon button at design view ".fmb" but at run time this icon disappears in the file ".fmx"
After reading some topics covered this problem in this forum; The following steps are executed:

1-In regedit I put UI_ICON = c:\icon --where my gif icon file is located

2-At command prompts i type: C:\>jar -cvf icons.jar c:\icons
Then "ICONS.JAR" file is created on D:\Dev9i\jdk\bin

3- I Copy the file "ICONS.JAR" and past into D:\Dev9i\forms90\java

4- I modify the "FORMSWEB.CFG" as follow:
archive_jini=icons.jar,f90all_jinit.jar;
imageBase=codeBase

4- In "Registry.dat" I added the flowing line:
default.icons.iconpath= c:\icons

5- I modify the "orion-web.xml" .as follow:
<virtual-directory virtual-path="/html"
real-path="D:\Dev9i/tools/web90/html" />
is modified to :
<virtual-directory virtual-path="/ICONS"
real-path="C:\ICONS" />

6- In the property palette for the icon item and in the Icon Filename I put just the icon name
called "w_prev" Without any extension , any path...

In the end the problem is not resolved; anyone tell me what I'm doing wrong please?
Re: Dev9i AS Icons Disappear At Runtime [message #451499 is a reply to message #451497] Thu, 15 April 2010 02:45 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Please give examples of the names that you have used for your 'gif' icons.

David
Re: Dev9i AS Icons Disappear At Runtime [message #451503 is a reply to message #451499] Thu, 15 April 2010 02:51 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
thank you a lot Mr david for your reply
about the examples:
at form design i used "w_prev" icon_item related to "w_prev.gif" which is located in the directory c:\icons

[Updated on: Thu, 15 April 2010 03:05]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #451535 is a reply to message #451499] Thu, 15 April 2010 04:28 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
still the probleme not resolved
Re: Dev9i AS Icons Disappear At Runtime [message #451636 is a reply to message #451535] Thu, 15 April 2010 20:31 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have a look at the entry by gonzpard at http://www.orafaq.com/forum/mv/msg/75610/439046/67467/#msg_439046

Perhaps you need the UI_ICON_EXTENSION=gif specified.

David
Re: Dev9i AS Icons Disappear At Runtime [message #451680 is a reply to message #451636] Fri, 16 April 2010 02:00 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi Mr thank u again for your reply
i review the topic referenced by the link sent in your post.

in addition to the last executed steps, i follow them by these steps:

UI_ICON_EXTENSION=gif -- in regedit
FORMS_PATH= .......;C:\ICONS -- default.env
default.icons.iconextention= gif --registry

and i restart my computer but still the icon disapear now from the fmb and fmx file.

[Updated on: Fri, 16 April 2010 02:02]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #451930 is a reply to message #451680] Mon, 19 April 2010 01:00 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
my problem is not solves Sad
Re: Dev9i AS Icons Disappear At Runtime [message #452411 is a reply to message #451930] Wed, 21 April 2010 23:49 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you tried placing the 'gif' icons in the directory that holds your forms?

Please check the 'case' of your icons and their deifinition in your form.

You are using just their name and not their extension or path aren't you? Please confirm.

David
Re: Dev9i AS Icons Disappear At Runtime [message #452735 is a reply to message #451497] Fri, 23 April 2010 12:03 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi Mr thank u again, i appreciate a lot your interesting about my problem.

i tried to place the icons gif file in the directory that holds my forms.

in regedit i search for "FORMS90_PATH" and i added the following path:.....;D:\Dev9i\forms90\Meteo_Projet --where i put all my fmb file and gif icon files

In the property palette for the icon item specificaly in the Icon Filename: I put just the icon name called "w_prev" Without any extension , any path...

still the icon disappear from the fmb file and fmx file at runtime

anything else i must do???
Re: Dev9i AS Icons Disappear At Runtime [message #453429 is a reply to message #452735] Wed, 28 April 2010 23:40 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Go to http://www.orafaq.com/forum/m/439114/67467/?srch=icon#msg_439114

Quote:
1) Edited this file....
D:\oracle\FRHome_1\forms\java\oracle\forms\registry\registry.dat,

default.icons.iconpath=icons/
default.icons.iconextension=gif

Note that the 'iconpath' is a name not a directory.

In 'orion-web.xml' duplicate the 'html' line and THEN modify it. I would recommend using lower case for your name and verify the case of the directory name.

David
Re: Dev9i AS Icons Disappear At Runtime [message #453796 is a reply to message #451497] Sat, 01 May 2010 08:28 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi Mr
i re executed the information u have sent.
recall; the executed steps are :

1- In regedit I put:
UI_ICON = C:\icons --where my gif icon file is located
UI_ICON_EXTENSION=gif -- in regedit

2-At command prompts i type the jar command found in: D:\Dev9i\jdk\bin
C:\>jar -cvf icons.jar c:\icons --" Then "icons.jar" file is created in D:\Dev9i\jdk\bin.

3- I Copy the file "icons.jar" and past into D:\Dev9i\forms90\java

4- I modify the "FORMSWEB.CFG" as follow:
archive_jini=icons.jar,f90all_jinit.jar;
imageBase=codeBase

5- In "Registry.dat" I added the flowing lines:
default.icons.iconpath= icons/
default.icons.iconextention= gif

6- In the "orion-web.xml" where the following block is located.
<virtual-directory virtual-path="/java"
real-path="D:\Dev9i/forms90/java" />
<virtual-directory virtual-path="/jinitiator"
real-path="D:\Dev9i/jinit" />
<virtual-directory virtual-path="/html"
real-path="D:\Dev9i/tools/web90/html" />

I Added : the following row:

<virtual-directory virtual-path="/icons"
real-path="C:\icons" />

7- I modify the "default.env" .as follow:
FORMS90_PATH=D:\Dev9i/forms90;C:\icons

8 Edite the file "D:\Dev9i\forms90\server \forms90.conf" and added
# Virtual path for forms image path (used to display gifs)
AliasMatch ^/forms/icons/(..*) "C:\icons/$1"


9- In the property palette for the icon item and in the Icon Filename I put just the icon name
called "w_prev" for example; Without any extension , any path...
still the icon not displayed from the fmb and fmx file.

Note: somtime if i type a specific icon's name In the property palette like "delete" for example it is displayed in fmb file but disappear at run time from fmx file, since this icon is not found in my icon's directory, also when i search for this icon file(called:"delete") start--->search-->... ; i dont find it.

so i dont know from where Oracle Forms Builder read or take this icon file Confused

[Updated on: Sat, 01 May 2010 08:59]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #453953 is a reply to message #453796] Mon, 03 May 2010 02:47 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I don't need you to repeat everything, I can read it in the thread!!!

You are running Forms 9 NOT Forms 10. I know that you do not need to place the icons in a 'jar' file.

You do not need to modify the 'default.env'. Initially, just place the icons in your forms directory which should be in the 'forms_path' ('forms90_path'?) and then refer to them from there.

You do not need to change the 'forms90.conf'.

David
Re: Dev9i AS Icons Disappear At Runtime [message #454284 is a reply to message #453953] Tue, 04 May 2010 23:48 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi Mr, sry about my repeated topic, i intended just to precise all the steps executed bcz my problem is not solved.


i placed the icons in my forms directory which tagged in the forms90_path "D:\Dev9i\forms90\Meteo_Projet" and i restart my computer still the icons not displayed in "fmb" file nor in "fmx" file
Re: Dev9i AS Icons Disappear At Runtime [message #454323 is a reply to message #454284] Wed, 05 May 2010 01:26 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you placed the directory name "D:\Dev9i\forms90\Meteo_Projet" in the 'Start in' parameter of the shortcut which invokes the Oracle Forms Builder?

David
Re: Dev9i AS Icons Disappear At Runtime [message #454329 is a reply to message #454323] Wed, 05 May 2010 01:39 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
No; i dont know how to do it, can u direct me to do it plz?

what i did is:
in regedit, i search for FORMS90_PATH variable, i put the follwoing path:"D:\Dev9i\forms90\Meteo_Projet" where all my fmb files and GIF icons files are located.

[Updated on: Wed, 05 May 2010 01:59]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #454342 is a reply to message #454329] Wed, 05 May 2010 02:34 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You have a shortcut in your menu that starts Oracle Forms Builder, right click it and change its property.

David
Re: Dev9i AS Icons Disappear At Runtime [message #454351 is a reply to message #451497] Wed, 05 May 2010 03:07 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
ok. i did what u have sugested, stillb my problem not solved.

in the short's cut property for Oracle Forms Builder, there is an option change icon, when i clicked it it gave me the following option:


Look for icons in the file:
D:\Dev9i\bin\ifbld90.exe

Select an icon from the lit below
...... many icons are shown which are different to my own icon Confused
Re: Dev9i AS Icons Disappear At Runtime [message #454491 is a reply to message #454351] Thu, 06 May 2010 01:43 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
The 'Start in' property is the only one your need to change.

David
Re: Dev9i AS Icons Disappear At Runtime [message #454958 is a reply to message #454491] Sat, 08 May 2010 23:16 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi Mr
i changed the "start in = D:\Dev9i\forms90\Meteo_Projet" in the short's cut property for Oracle Forms Builder,still the probleme not solved.
Re: Dev9i AS Icons Disappear At Runtime [message #455064 is a reply to message #454958] Mon, 10 May 2010 01:29 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you removed the change you made to 'default.env'?

Have you changed the 'icons' entry in 'orion-web.xml' to D:\Dev9i\forms90\Meteo_Projet instead of 'C:\icons'?

David
Re: Dev9i AS Icons Disappear At Runtime [message #455789 is a reply to message #455064] Thu, 13 May 2010 00:52 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
yes Mr
still the icons are not displayed in fmb and fmx file.
and i modfiy the orion_web as follow

<virtual-directory virtual-path="/Meteo_Projet"
real-path="D:\Dev9i\forms90\Meteo_Projet" />

--where my gif icons are located (Meteo_Projet)

in addition i dodify the UI_ICON as follow
UI_ICON = D:\Dev9i\forms90\Meteo_Projet

[Updated on: Thu, 13 May 2010 01:15]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #455797 is a reply to message #455789] Thu, 13 May 2010 01:39 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
The virutal path has to match "default.icons.iconpath". Noting that on one there is a leading '/' and on the other there is a trailing '/'.

David
[EDITED by DJM: typo]

[Updated on: Tue, 22 June 2010 00:54]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #455804 is a reply to message #455797] Thu, 13 May 2010 01:57 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member

i re modified the orion web as follow:
<virtual-directory virtual-path="Meteo_Projet"
real-path="D:\Dev9i\forms90\Meteo_Projet" />

i re modified the registery nas follow:
default.icons.iconpath= D:\Dev9i\forms90\Meteo_Projet
default.icons.iconextension=gif

is that what u intended Mr?

Re: Dev9i AS Icons Disappear At Runtime [message #455810 is a reply to message #455804] Thu, 13 May 2010 02:04 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
LOOK AT THE EXAMPLES!!! The 'default.icons.iconpath' is a single name with a trailing '/'! That name is used in 'orion_web' with a leading '/'.

David
Re: Dev9i AS Icons Disappear At Runtime [message #455820 is a reply to message #455810] Thu, 13 May 2010 02:24 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
ok Mr i made the following modification

<virtual-directory virtual-path="/Meteo_Projet"
real-path="D:\Dev9i\forms90\Meteo_Projet" />


default.icons.iconpath= Meteo_Projet/
default.icons.iconextension=gif

is that true?

[Updated on: Thu, 13 May 2010 02:25]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #455823 is a reply to message #455820] Thu, 13 May 2010 02:32 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Yes. I actually prefer to use a name which is 8 characters or less. Stop and start 'oc4j' and run a test please.

David
Re: Dev9i AS Icons Disappear At Runtime [message #455828 is a reply to message #455823] Thu, 13 May 2010 02:40 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
Hi Mr and i appreciate your support.
still ths icon are not displayed in my fmb and fmx file!! Confused since my length icons name (AFFLDOPN)is 8 characters

anything else i must do??
10x
Re: Dev9i AS Icons Disappear At Runtime [message #455859 is a reply to message #455828] Thu, 13 May 2010 03:54 Go to previous messageGo to next message
mahajneh
Messages: 16
Registered: May 2010
Junior Member
hello meteo,
follow these steps, i tried them and it works surely
regards
1- In ORACLE-HOME\forms90\java\oracle\forms\registry
(Registry.dat) file must have the following configuration:

default.icons.iconpath=http://SERVER_NAME:8889/forms90/ICONS/
default.icons.iconextension=gif

2- In ORACLE-HOME\j2ee\DevSuite\application-deployments\forms\forms90web
(orion-web.xml) file must have the following configuration before the line where the session is exist :

<virtual-directory virtual-path="/ICONS" real-path="D:\ORACLE/AIMS/ICONS" />

3- In D:\HOME1\forms90\server
(formsweb.cfg) must have the following configuration:


[XXX]

IE=JInitiator
form=MMMMMM
width=100%
height=100%
separateFrame=True
splashscreen=no
archive_jini=f90all_jinit.jar
archive=f90all.jar
imageBase=CODEBASE
pageTitle=MMMMMMMMMMM
baseHTML=base.htm
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejini.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: base HTML file for use with Microsoft Internet Explorer
# (when using the native JVM)
baseHTMLie=baseie.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
AliasMatch ^/forms90/icons/(..*) "D:\ORACLE/AIMS/ICONS/$1"


3- In Registry  Oracle Home  UI_ICON must have the following value:

D:\ORACLE\AIMS\ICONS
Re: Dev9i AS Icons Disappear At Runtime [message #455911 is a reply to message #455859] Thu, 13 May 2010 07:26 Go to previous messageGo to next message
ganesh_jadhav0509
Messages: 74
Registered: May 2007
Location: Chester
Member

Hi,

Keep the jar file in "$ORAHOME\form\java".

for each button give icon path as /forms/java/icon_name.gif

I think it will work
Re: Dev9i AS Icons Disappear At Runtime [message #456275 is a reply to message #455911] Sun, 16 May 2010 23:14 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
my problem is not solved
Re: Dev9i AS Icons Disappear At Runtime [message #456318 is a reply to message #455859] Mon, 17 May 2010 04:48 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi
i already tried this solution bu it did'nt work, i think what u have suggested goes with dev10g but i m running Developer9iAs
10x
Re: Dev9i AS Icons Disappear At Runtime [message #457074 is a reply to message #456318] Fri, 21 May 2010 00:21 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
I am having problems on my PC also. I have bookmarked this thread and will get back to it when I have a solution.

David
Re: Dev9i AS Icons Disappear At Runtime [message #457180 is a reply to message #457074] Fri, 21 May 2010 09:51 Go to previous messageGo to next message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
ok Mr
10x a lot for u
Re: Dev9i AS Icons Disappear At Runtime [message #457203 is a reply to message #457180] Fri, 21 May 2010 15:51 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What a rich vocabulary!

How come you didn't put it asQuote:

10x a lot 4 u
You'd save two keystrokes.

[Updated on: Fri, 21 May 2010 15:51]

Report message to a moderator

Re: Dev9i AS Icons Disappear At Runtime [message #458409 is a reply to message #457203] Sat, 29 May 2010 11:58 Go to previous message
meteo
Messages: 89
Registered: April 2010
Location: beirut
Member
hi Mr
My technical environment is
Winxp, dev9i AS vers9.0.2, Jinit vers1.3.1.9, OracleDB9i.

icon are not displayed in my "fmb" and "fmx" file!!

i made the following modification

UI_ICON = D:\Dev9i\forms90\Meteo_Projet


<virtual-directory virtual-path="/Meteo_Projet"
real-path="D:\Dev9i\forms90\Meteo_Projet" />

default.icons.iconpath= Meteo_Projet/
default.icons.iconextension=gif

still my problem is not solved!!! anything else i must do??
thank you.
Previous Topic: how to know that file is available or not
Next Topic: key-delrec
Goto Forum:
  


Current Time: Fri Sep 20 00:45:57 CDT 2024