Home » Developer & Programmer » Forms » i don't see my icons (forms 10g)
i don't see my icons (forms 10g) [message #309700] Fri, 28 March 2008 09:04 Go to next message
eavomo
Messages: 4
Registered: March 2008
Junior Member
hello every body Surprised

i'm new in this forum

my english is not good (i speack french) but i try to explain my problem and i hope you anderstand me...excuses me for my bad english Embarassed

i don't see my form's icons
i work with forms 10g (developper suite)
my icons are in d:\icons
i create icons.jar

my configuration is that :

**1/default.env**

# $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
# default.env - default Forms environment file, Windows version
#
# This file is used to set the Forms runtime environment parameters.
# If a parameter is not defined here, the value in the Windows registry
# will be used. If no value is found in the registry, the value used will
# be that defined in the environment in which the servlet engine (OC4J
# or JServ) was started.
#
# NOTES
# 1/ The Forms installation process should replace all occurrences of
# <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
# setting, and all occurrences of <percent>O_JDK_HOME<percent> with
# the location of the JDK (usually $ORACLE_HOME/jdk).
# Please make these changes manually if not.
# 2/ Some of the variables below may need to be changed to suite your needs.
# Please refer to the Forms documentation for details.
#
ORACLE_HOME=C:\ids10g

#
# Search path for Forms applications (.fmx files, PL/SQL libraries)
# If you need to include more than one directory, they should be semi-colon
# separated (e.g. c:\test\dir1;c:\test\dir2)
#
FORMS_PATH=C:\ids10g\forms;D:\cdmt\forms10g;D:\icons


# webutil config file path
WEBUTIL_CONFIG=C:\ids10g\forms\server\webutil.cfg

# Disable/remove this variable if end-users need access to the query-where
# functionality which potentially allows them to enter arbitrary SQL
# statements when in enter-query mode.
FORMS_RESTRICT_ENTER_QUERY=TRUE

#
# The PATH setting is required in order to pick up the JVM (jvm.dll).
# The Forms runtime executable and dll's are assumed to be in
# C:\ids10g\bin if they are not in the PATH.
# In addition, if you are running Graphics applications, you will need
# to append the following to the path (where <Graphics Oracle Home> should
# be replaced with the actual location of your Graphics 6i oracle_home):
#
# ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
#

PATH=C:\ids10g\bin;C:\ids10g\jdk\jre\bin\client

#
# Settings for Graphics
# -------------------------------
# NOTE: These settings are only needed if Graphics applications
# are called from Forms applications. In addition, you will need to
# modify the PATH variable above as described above.
#

#
# Please uncomment the following and put the correct 6i
# oracle_home value to use Graphics applications.
#
#ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>

#
# Search path for Graphics applications
#
#GRAPHICS60_PATH=

#
# Settings for Forms tracing and logging
# -----------------------------------------------
# Note: This entry has to be uncommented to enable tracing and
# logging.

#FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server


#
# System settings
# ---------------
# You should not normally need to modify these settings
#
FORMS=C:\ids10g\forms

#
# Java class path
# This is required for the Forms debugger
# You can append your own Java code here)
# frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
# the password expiry feature to work(#2213140).
#
CLASSPATH=C:\ids10g\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;C:\ids10g\jlib\repository.jar;C:\ids10g\ jlib\ldapjclnt10.jar;C:\ids10g\jlib\debugger.jar;C:\ids10g\jlib\ewt3.jar;C:\ids10g\jlib\share.jar;C:\ids10g\jlib\utj.jar;C:\ids10g\jl ib\zrclient.jar;C:\ids10g\reports\jlib\rwrun.jar;C:\ids10g\forms\java\frmwebutil.jar

**2/registry.dat**

#
# This is the Registry file.
#
# This file contains the logical [Java] Class name and an associated
# [numerical] identifier that will be used to refer to objects of the
# class in order to reduce the amount of information that needs to be
# repeatedly transmitted to the client.
#
# This file is of the Form understood by java.util.Properties (for now)
#
# The System Level sound file is relative to the CODEBASE
#
#
oracle.classById.1=oracle.forms.engine.Runform
oracle.classById.4=oracle.forms.handler.FormWindow
oracle.classById.5=oracle.forms.handler.AlertDialog
oracle.classById.6=oracle.forms.handler.DisplayList
oracle.classById.7=oracle.forms.handler.LogonDialog
oracle.classById.8=oracle.forms.handler.DisplayErrorDialog
oracle.classById.9=oracle.forms.handler.ListValuesDialog
oracle.classById.10=oracle.forms.handler.EditorDialog
oracle.classById.11=oracle.forms.handler.HelpDialog
oracle.classById.12=oracle.forms.handler.FormStatusBar
oracle.classById.13=oracle.forms.handler.MenuInfo
# oracle.classById.14=UNUSED
oracle.classById.15=oracle.forms.handler.ApplicationTimer
oracle.classById.16=oracle.forms.handler.MenuParametersDialog
oracle.classById.17=oracle.forms.handler.PromptListItem
oracle.classById.18=oracle.forms.handler.CancelQueryDialog
oracle.classById.257=oracle.forms.handler.TextFieldItem
oracle.classById.258=oracle.forms.handler.TextAreaItem
oracle.classById.259=oracle.forms.handler.FormCanvas
oracle.classById.261=oracle.forms.handler.ButtonItem
oracle.classById.262=oracle.forms.handler.CheckboxItem
oracle.classById.263=oracle.forms.handler.PopListItem
oracle.classById.264=oracle.forms.handler.TListItem
oracle.classById.265=oracle.forms.handler.CfmVBX
oracle.classById.266=oracle.forms.handler.CfmOLE
oracle.classById.267=oracle.forms.handler.RadioButtonItem
oracle.classById.268=oracle.forms.handler.ImageItem
oracle.classById.269=oracle.forms.handler.IconicButtonItem
oracle.classById.270=oracle.forms.handler.BlockScroller
oracle.classById.271=oracle.forms.handler.JavaContainer
oracle.classById.272=oracle.forms.handler.TabControl
oracle.classById.273=oracle.forms.handler.ComboBoxItem
oracle.classById.274=oracle.forms.handler.TreeItem
oracle.classById.281=oracle.forms.handler.PopupHelpItem

#
# Defaults for the Font details, all names are Java Font names. Each of
# these parameters represents the default property to use when none is
# specified.
#
# defaultFontname represents the default Java fontName.
# defaultSize represents the default fontSize. Note that the size is
# multiplied by 100 (e.g. a 10pt font has a size of 1000).
# defaultStyle represents the default fontStyle, PLAIN or ITALIC.
# defaultWeight represents the default fontWeight, PLAIN or BOLD.
#
default.fontMap.defaultFontname=Dialog
default.fontMap.defaultSize=900
default.fontMap.defaultStyle=PLAIN
default.fontMap.defaultWeight=PLAIN

#
# Default Font Face mapping.
#
# appFontname represents a comma delimited list of Application Font Names.
# javaFontname represents a comma delimited list of Java Font Names.
#
# The number of entries in the appFontname list should match the number in
# the javaFontname list. The elements of the list are comma separated and
# *all* characters are taken literally, leading and trailing spaces are
# stripped from Face names.
#
# Note that this file uses the Java 1.1 Font names in order to be able to
# handle the NLS Plane (BUG #431051)
#
default.fontMap.appFontnames=Courier New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans Serif,Arial
default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif


#
# The Application Level icon files are relative to the DOCUMENTBASE
# example: icons/
# or an absolute URL.
# example: http://www.forms.net/~luser/d2k_project/
#
default.icons.iconpath=D:\icons/*.gif

default.icons.iconextension=gif


#
# Application level settings to control UI features
#
app.ui.lovButtons=false
app.ui.requiredFieldVA=false
# The background color is specified as an RGB triple.
app.ui.requiredFieldVABGColor=255,0,0

**3/ forms.conf**
# $Id: forms.conf 22-nov-2004.03:29:38 osingh Exp $
# Name
# forms.conf
# Purpose
# Apache mod_oc4j and mod_jserv configuration file for Forms Services.
# This file should be included into the Oracle Apache HTTP Listener
# configuration file (typically by adding an include statement to the
# oracle_apache.conf file)
# Remarks
# If Forms is to be used with JServ, the jserv.properties file needs editing
# to add the "forms" servlet zone with properties file forms.properties
# Notes
# Virtual paths: We use AliasMatch when defining virtual paths for
# security reasons (prevents directory browsing).

# Virtual path mapping for Forms Java jar and class files (codebase)
AliasMatch ^/forms/java/(..*) "C:\ids10g/forms/java/$1"

# Virtual path for JInitiator downloadable executable and download page
AliasMatch ^/forms/jinitiator/(..*) "C:\ids10g/jinit/$1"

# Virtual path for runform.htm (used to run a form for testing purposes)
AliasMatch ^/forms/html/(..*) "C:\ids10g/tools/web/html/$1"

# Virtual path for webutil
AliasMatch ^/forms/webutil/(..*) "C:\ids10g/forms/webutil/$1"


# Virtual path for icons

AliasMatch ^/forms/icons/(..*) "D:\icons/$1"

# Configuration for JServ (if mod_jserv.c is available and not mod_oc4j.c)
<IfModule mod_jserv.c>
# Only configure for JServ if mod_oc4j is NOT available:
<IfModule !mod_oc4j.c>
# Virtual path mapping for FormsServlet and ListenerServlet.
# Purpose: paths to invoke the servlets should be /forms/frmservlet
# and /forms/lservlet respectively.
# We map frmservlet to servlet.frm, and lservlet to servlet.frml.
# The apJServAction directives (below) will then remap those.
AliasMatch ^/forms/frmservlet(.*) "/servlet.frm"
AliasMatch ^/forms/lservlet(.*) "/servlet.frml"

ApJServMount /forms/servlet /forms
#
# Let the servlets be called by file extension (e.g /servlet.frm)
#
ApJServAction .frm /forms/servlet/frmservlet
ApJServAction .frml /forms/servlet/lservlet
# Prevent access to the Forms Servlets by paths other than
# /forms/frmservlet and /forms/lservlet.
# 1. Prevent access via the .frm and .frml file extensions:
<LocationMatch ^.*\.frm.*>
order deny,allow
deny from all
</LocationMatch>
# 2. Stop access by class (by paths like
# /forms/servlet/oracle.forms.servlet.FormsServlet)
<LocationMatch ^/forms/servlet/oracle\.forms.*>
order deny,allow
deny from all
</LocationMatch>
</IfModule>
</IfModule>

# Config. for OC4J
<IfModule mod_oc4j.c>
Oc4jMount /forms OC4J_BI_Forms
Oc4jMount /forms/frmservlet OC4J_BI_Forms
Oc4jMount /forms/frmservlet/* OC4J_BI_Forms
Oc4jMount /forms/lservlet OC4J_BI_Forms
Oc4jMount /forms/lservlet/* OC4J_BI_Forms
</IfModule>

**4/orion web**
<?xml version="1.0"?>
<!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">

<orion-web-app
deployment-version="10.1.2.0.2"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
servlet-webdir="/servlet/"
>
<context-param-mapping name="configFileName">C:\ids10g/forms/server/formsweb.cfg</context-param-mapping>
<virtual-directory virtual-path="/html" real-path="C:\ids10g/tools/web/html" />
<virtual-directory virtual-path="/java" real-path="C:\ids10g/forms/java" />
<virtual-directory virtual-path="/webutil" real-path="C:\ids10g/forms/webutil" />
<virtual-directory virtual-path="/jinitiator" real-path="C:\ids10g/jinit" />

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







<session-tracking cookies="disabled" />
<!-- Uncomment this element to control web application class loader behavior.
<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
-->
<security-role-mapping name="administrators">
</security-role-mapping>
</orion-web-app>



where is my error please i don't find that, thank you for your answer and sorry for my bad english Embarassed


Re: i don't see my icons (forms 10g) [message #309729 is a reply to message #309700] Fri, 28 March 2008 10:55 Go to previous messageGo to next message
solisdeveloper
Messages: 48
Registered: March 2008
Location: Mexico
Member
Hi:

Wow that's a lot of code!

Try this:
In the Start menu in windows, click RUN...Then you type this:
"REGEDIT" and hit ENTER.

Then in the tree panel in the left search the following node:
MyPc/HKey_Local_Machine/SOFTWARE/ORACLE.

Click on the oracle node and then in the edit menu click on new/string value to Add a new string value.

Name it "UI_ICON" and then set the value to "d:\icons".

This is how my configuration is and it has worked so fine. Hope this helped.
My best regards!
Re: i don't see my icons (forms 10g) [message #309739 is a reply to message #309729] Fri, 28 March 2008 11:21 Go to previous messageGo to next message
eavomo
Messages: 4
Registered: March 2008
Junior Member
thank you for your answer

i do that
UI_ICON D:\icons
UI_ICON_EXTENSION gif

no change i don't see my icon

Re: i don't see my icons (forms 10g) [message #309741 is a reply to message #309739] Fri, 28 March 2008 11:36 Go to previous messageGo to next message
solisdeveloper
Messages: 48
Registered: March 2008
Location: Mexico
Member
Are your Icons in the .jar file? Can you extract them?

Also...Where are you trying to display those icons? On the window? On a Button?

Re: i don't see my icons (forms 10g) [message #309958 is a reply to message #309741] Sun, 30 March 2008 11:04 Go to previous messageGo to next message
eavomo
Messages: 4
Registered: March 2008
Junior Member
hi,

Are your Icons in the .jar file? Can you extract them?

**yes, icons are in .jar file, i create this .jar file, icons.jar.
how to extract them please?

Also...Where are you trying to display those icons? On the window? On a Button?

**icons are on a button



Re: i don't see my icons (forms 10g) [message #332594 is a reply to message #309958] Wed, 09 July 2008 02:06 Go to previous messageGo to next message
menamaso
Messages: 1
Registered: July 2008
Location: madagascar
Junior Member
Hi,

I think you are not resolve your problem yet.

1. You must copy the jar file in <FORMS_SERVER_HOME>/forms/java

2. and in the forms configuration file (formsweb.cfg) situate in <FORMS_SERVER_HOME>/forms/server you add in the line has an instruction like Archive and Archive_jini the name of your jar file.

like this :
Archive=frmall.jar,images.jar
Archive_jini=frmall_jinit.jar,images.jar

I have a question :
could you tell me how generate a jar file?
My problem is that i have a directory of image file wich associate in forms 10g and i don't know how can i do it.

thank's
Re: i don't see my icons (forms 10g) [message #333941 is a reply to message #309958] Mon, 14 July 2008 23:55 Go to previous messageGo to next message
Hany Freedom
Messages: 256
Registered: May 2007
Location: Egypt
Senior Member

eavomo wrote on Sun, 30 March 2008 18:04

**yes, icons are in .jar file, i create this .jar file, icons.jar


I don't get it how does one convert ico files to jar files ?!
Re: i don't see my icons (forms 10g) [message #397404 is a reply to message #309729] Fri, 10 April 2009 08:59 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member

i create myicons.jar in D:\DevSuiteHome_2\jdk\bin then put in in java folder makes the changes in formweb.config and edit the ui_icons in registry as
D:\DevSuiteHome_2\reports\plugins\resource;D:\ICONS
but it still not worked how can solved this problem.
thanks
Re: i don't see my icons (forms 10g) [message #397406 is a reply to message #333941] Fri, 10 April 2009 09:05 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member

I first create .jar file then put it in java folder and set the formsweb.config then set the regist of ui_icons.
tell me i follow the right sequences becuase my problem is not solved still.
Re: i don't see my icons (forms 10g) [message #398043 is a reply to message #397404] Wed, 15 April 2009 00:24 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You say:
i create myicons.jar in D:\DevSuiteHome_2\jdk\bin [but] the ui_icons in registry as
D:\DevSuiteHome_2\reports\plugins\resource;D:\ICONS

Shouldn't they be the same directory?

David
Re: i don't see my icons (forms 10g) [message #398284 is a reply to message #398043] Wed, 15 April 2009 23:01 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member

sir.
I follow all the steps that you have mentioned but still i can not see icon on button in form 10g.
How i can do more.
need detail.
thanks
Re: i don't see my icons (forms 10g) [message #398589 is a reply to message #398284] Thu, 16 April 2009 20:02 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you worked through http://www.orafaq.com/forum/m/346640/67467/?srch=ui_icon#msg_346640 and http://www.orafaq.com/forum/m/315433/67467/?srch=jar+registry.dat#msg_315433 ?

David
icon12.gif  simple method [message #417209 is a reply to message #309700] Thu, 06 August 2009 09:52 Go to previous message
zain12
Messages: 2
Registered: July 2009
Location: kenya
Junior Member

THERE ARE TWO CHANGES on two files to view icon in forms 10g!
1.orion-web.xml
2.registry.dat
---------------------------------------------------------------------------------------------------

(1) first change orion-web.xml(C:\ORACLE HOME\j2ee\DevSuite\application-deployments\forms\formsweb)
copy one line(of virtual path and real path line) and paste it change it with your icon real path and virtual path is (any name)
---------------------------------------------------------------------------------------------------------------------------

(2) on registry.dat(C:\ORACLE HOME\forms\java\oracle\forms\registry) default.icons.iconpath= then only give virtual path to (any name) which you changes in orion-web.xml
------------------------------------------------------------------------------------------------------------------------------------- ---------
(3)in form buillder on ic0n paletle first iconic select (yes) and icon filename= (only icon name for example:tick.gif)
and your icon is in gif format not other than that.
---------------------------------------------------------------------------------------------------------------------------
YOUR FORMS ICON IS RUN
Previous Topic: How to create Stored Procedure type block in form?
Next Topic: how can we create toolbar?
Goto Forum:
  


Current Time: Sat Dec 10 06:57:04 CST 2016

Total time taken to generate the page: 0.07879 seconds