Problems to display Icons [message #314692] |
Thu, 17 April 2008 08:49 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Aruki
Messages: 1 Registered: April 2008 Location: Panama
|
Junior Member |
|
|
Hello everyone, i have problems to display icons in a task bar in an application that is being migrated from oracle 4.5 to 10g in windows xp.
The task bar shows all the icons in the original aplication but when the application runs in 10g, just some of the icons are shown, not all of them.
All the icons are in the same file direction "C:\file\iconos" and they're all gif files.
I have added the file locatoin to the configuration of the registry.dat,forms, in the registry of the computer, in the orion and orion-web files and in the default file following advice given to other threads here but the problem stays in the application.
I have added also the variables to the registry of the coputer for UI_ICON and UI_ICON_EXTENSION with their values.
I have read and followed the help of oracle forms builder but it has not helped.
Please give me your advice on this problem,
Greetings.
|
|
|
Re: Problems to display Icons [message #315433 is a reply to message #314692] |
Mon, 21 April 2008 08:33 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Manoj.Gupta.91
Messages: 239 Registered: March 2008 Location: Delhi
|
Senior Member |
|
|
Hi Aruki,
I'm also facing the same problem. I've achieved this in Developer Suit (10g) but I'm not able to achieve it on Application Server (10g)
what I did on Developer Suit (10g) is
1) Edit this file....
C:\DevSuiteHome_1\forms\java\oracle\forms\registry\Registry.dat,
default.icons.iconpath=
to
default.icons.iconpath=ICONS/
Save the file and exit.
2) Edit the file....
C:\DevSuiteHome_1\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml .
<virtual-directory virtual-path="/ICONS" real-path="X:\ERP\ICONS" />
3) Edit the file....
C:\DevSuiteHome_1\forms\server\default.env.
FORMS_PATH=X:\ERP\FORMS;C:\DevSuiteHome_1\forms
and save it
4) Edit your registry
Name Data
FORMS_PATH X:\ERP\LIB
UI_ICON X:\ERP\ICONS
UI_ICON_EXTENSION gif
5) Make your JAR file with following command on DOS where JAR file exist.
Type the Command on C:\DevSuiteHome_1\jdk\bin > jar -cvf final.jar X:\ERP\ICONS\*.gif
copy this jar (final.jar) to........
C:\DevSuiteHome_1\forms\java
Developer Suit uses ICO (Icon Files) at design time but GIF files at runtime. To use GIF files at design and runtime we need to add parameter in windows registry i.e. UI_ICON_EXTENSION
Hope to solve your problem.
If u get something extra on your way post a reply back
[Updated on: Mon, 21 April 2008 08:34] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Problems to display Icons [message #402045 is a reply to message #314692] |
Thu, 07 May 2009 07:16 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Kevin58
Messages: 79 Registered: January 2009
|
Member |
|
|
Hi Dave,
That could be something to think about.
I was using the method of deploying icons in a virtual directory.
It is one way to keep one application's icons separate from another.
The document I was looking at is named "Oracle9iAS Forms Services How To Deploy Icons". It was published in June 2003.
Thanks,
Kevin
|
|
|
Re: Problems to display Icons with Forms Services 10.1.2.3 [message #439114 is a reply to message #315900] |
Thu, 14 January 2010 06:12 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
FionaM
Messages: 1 Registered: January 2010
|
Junior Member |
|
|
I know this topic has been covered many times however I still haven't found a solution.
We are moving from client server forms 6i to web forms 10g. Software currently being used: Oracle Forms and Reports Services 10.1.3.1 and Forms and Reports Developer 10.1.2
The forms have been converted and are running via the web browser, but they don't display the toolbar icons. In order to try and correct this I have done the following, but with no success.
All my forms; librarys; menus; icons; gifs; and jar file are in d:\applications\AFT\icons.
1) Edited this file....
D:\oracle\FRHome_1\forms\java\oracle\forms\registry\registry.dat,
default.icons.iconpath=icons/
default.icons.iconextension=gif
2) Edited the file.....
D:\oracle\FRHome_1\forms\j2ee\orion-web.xml .
<virtual-directory virtual-path="/icons" real-path="D:\applications\AFT\icons" />
3) Edited the file....
D:\oracle\FRHome_1\forms\server\default.env.
FORMS_PATH=D:\applications\AFT;D:\applications\AFT\icons
4) Converted my *.ico files to *.gif (GIF89a) using free software off the internet, created a jar file using D:\oracle\FRHome_1\jdk\bin\jar.exe making sure it didn't store any pathnames.
e.g.
D:\applications\AFT\icons >D:\oracle\FRHome_1\jdk\bin\jar -cvf icons.jar *.gif
copied the jar (icons.jar) to D:\applications\AFT\icons
5) Edited D:\oracle\FRHome_1\forms\server\formsweb.cfg added path to archive_jini
[AFT]
form=AFTSmain.fmx
codebase=/forms/java
archive_jini=frmall_jinit.jar,d:/applications/AFT/icons/icons.jar
imageBase=codebase
6) Edited D:\oracle\FRHome_1\forms\server\forms.conf and added
# Virtual path for forms image path (used to display gifs)
AliasMatch ^/forms/icons/(..*) "D:\applications\AFT\icons/$1"
I've downloaded oracles white paper on oracle9ias forms services how to deploy icons and been through that. But I still cannot get the gifs to be displayed. - and I've checked that the icon filenames are the correct in the form. - and I've checked the virtual path and that works fine.
Can you tell me what I'm doing wrong please?
|
|
|
|
|
|
|
|
Re: Problems to display Icons [message #477000 is a reply to message #476929] |
Mon, 27 September 2010 14:55 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Kevin58
Messages: 79 Registered: January 2009
|
Member |
|
|
AAKHEEB wrote on Mon, 27 September 2010 06:40no sir,
the problem not yet solved.
also i tried using default icons comming along with installation
by extracting frmall_jinit file but still the same.
I've done one additional thing. Edit the formsweb.cfg file
and add your virtual location to the end of the "archive" line.
For example:
archive=frmall.jar,jcalendar.jar,JCalendarJinit.jar,frmwebutil.jar,jacob.jar,/forms/icons/icons.jar
You will need to tweak your virtual directory name to match your definition. This should solve the issue.
|
|
|
Re: Problems to display Icons [message #477029 is a reply to message #314692] |
Tue, 28 September 2010 01:15 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
AAKHEEB
Messages: 9 Registered: June 2004
|
Junior Member |
|
|
i also tried all posible entry's as follows
archive_jini=frmall_jinit.jar,c:\sshouse10g\icons.jar,/forms/icons.jar,/icons.jar,C:\DevSuiteHome_2\forms\java\icons.jar
archive=frmall.jar,c:\sshouse10g\icons.jar,/forms/icons.jar,/icons.jar,C:\DevSuiteHome_2\forms\java\icons.jar
but still the smme
|
|
|
Re: Problems to display Icons [message #477093 is a reply to message #477029] |
Tue, 28 September 2010 08:39 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Kevin58
Messages: 79 Registered: January 2009
|
Member |
|
|
AAKHEEB wrote on Tue, 28 September 2010 01:15i also tried all posible entry's as follows
archive_jini=frmall_jinit.jar,c:\sshouse10g\icons.jar,/forms/icons.jar,/icons.jar,C:\DevSuiteHome_2\forms\java\icons.jar
archive=frmall.jar,c:\sshouse10g\icons.jar,/forms/icons.jar,/icons.jar,C:\DevSuiteHome_2\forms\java\icons.jar
but still the smme
If you have edited the orion-web.xml file to show something like this:
<virtual-directory virtual-path="/icons" real-path="C:\icons" />
Then one does not use the physical path in the formsweb.cfg file to locate a "virtual" directory. The idea is to be secure and promote application independence. At least that's my take.
So assuming that your orion file was done like that then
change the archive entry of the formsweb.cfg file to this:
archive_jini=frmall_jinit.jar,lablediconbutton.jar,/forms/icons/final.jar
archive=frmall.jar,lablediconbutton.jar,/forms/icons/final.jar
There should not be any drive letters there. It is a relative path from "/forms".
[Updated on: Tue, 28 September 2010 08:44] Report message to a moderator
|
|
|
Re: Problems to display Icons [message #616359 is a reply to message #477093] |
Mon, 16 June 2014 02:54 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
kilimanjaro
Messages: 151 Registered: May 2009 Location: Tanzania
|
Senior Member |
|
|
Hello friends
Please I'm having the same problem of not getting the toolbar om my forms.I migrated from form 6i to 10G developer 10.1.2.0.2.I'm using 10G database window 7 ultimate 32 bits.
If I can get step by step configuration please.
Thank you.
|
|
|