Home » Developer & Programmer » Forms » Icons not appearing in 10g forms after webutil configuration on OAS (Oracle forms 10g )
Icons not appearing in 10g forms after webutil configuration on OAS [message #546142] |
Mon, 05 March 2012 08:08 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
millsoft
Messages: 3 Registered: March 2009 Location: karachi
|
Junior Member |
|
|
I want to open word document on client machine and to do this I have configured webutil and Its working fine. before configure the webutil icons are appearing on forms and after webutil icons are disappeared I have found that when I comment
baseHTMLjinitiator=webutiljpi.htm icons appears but word document not open and the following error shows
oracle.forms.webutil.ole. Ole functions beans not found
CLIENT_OLE2.Create_Obj will not work.
Kindly help me to resolve this issue.
|
|
|
Re: Icons not appearing in 10g forms after webutil configuration on OAS [message #546162 is a reply to message #546142] |
Mon, 05 March 2012 08:53 ![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) |
owais_baba
Messages: 289 Registered: March 2008 Location: MUSCAT
|
Senior Member |
|
|
http://www.baigzeeshan.com/2010/01/open-file-dailog-box-example-using.html
First u install only oracle Development suit oracle cd 1 , 2After installing1.
Start ocj4.
2. =====================================
ICONS SETTINGS
3.=====================================
DEV_SUITE\forms\java\oracle\forms\registry\registry.dat
default.icons.iconpath=file:///C:\\icons(Not applicable for Application Server)
To show icons at design time go my computer properties go to tab advance andadd environment variable at system variables
UI_ICON=C:\icons (Applicable for DEV_SUITE Only)UI_ICON_EXTENSION =gif(case sensitive) (Applicable for DEV_SUITE Only)
Make an entry in
DEV_SUITE\forms\server\forms.conf
# Virtual path for ICONS (used to show icons in a form) AliasMatch ^/forms/icons/(..*) "C:\icons/$1"
Open Command PromptSet path=DEV_SUITE\jdk\bin;
command for jar file at dos prompt
go to c:\icons\
give this command to create jar icons file.
jar cvf icons.jar *.gif
where icons is name of folder
=====================================
[Updated on: Mon, 05 March 2012 08:54] Report message to a moderator
|
|
|
|
Re: Icons not appearing in 10g forms after webutil configuration on OAS [message #546197 is a reply to message #546193] |
Mon, 05 March 2012 12:45 ![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) |
owais_baba
Messages: 289 Registered: March 2008 Location: MUSCAT
|
Senior Member |
|
|
Icon Settings (To get icons from jar files) (Applicable for Application Server)
Forms applet parameter
imageBase=codebase
To close the Window of explorer(Applicable for Application Server)
Close.html text
<html>
<head><script language="javascript">
function closeit()
{win = top;
win.opener = top;
win.close ();
}</script>
</head>
<body onload="closeit()">
close window
</body>
</html>
To close explorer window put the close.html file into this location
DEV_SUITE\tools\web\html
Then at form level create a post-form trigger and edit the trigger with this command
Web.Show_Document('/forms/html/close.html','_self');
---------------------------------------------------
Standard Fonts and Icons File
This section describes the file used to configure font and icon settings for Oracle Application Server Forms Services.
Registry.dat
Location: forms/java/oracle/forms/registry
This file allows you to change the default font, font mappings, and icons that Forms Services uses.
hope this will work for u
[Updated on: Mon, 05 March 2012 12:54] Report message to a moderator
|
|
|
Re: Icons not appearing in 10g forms after webutil configuration on OAS [message #546201 is a reply to message #546197] |
Mon, 05 March 2012 13:29 ![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) |
owais_baba
Messages: 289 Registered: March 2008 Location: MUSCAT
|
Senior Member |
|
|
u need to know also these things
Registry.dat
The main reason you would want to edit this file is to change the icon settings (see Deploying Application Icons). You can also change the default font and font settings by changing the following section in the Registry.dat file:
default.fontMap.defaultFontname=Dialog
default.fontMap.defaultSize=900
default.fontMap.defaultStyle=PLAIN
default.fontMap.defaultWeight=PLAIN
Change any of the settings above to reflect your desired font setting. For example, if you want to change your default font to Times New Roman, replace Dialog with Times New Roman.
You can change the default font face mappings:
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
Some fonts on Windows are not supported in Java. For this reason you can specify (map) Java-supported fonts that will appear when a non-supported font is encountered. In the previous sample, each font in default.fontMap.appFontnames corresponds to a font in default.fontMap.javaFontnames. For more samples, see Default Registry.dat
Default 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=
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
[Updated on: Mon, 05 March 2012 13:29] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sat Aug 24 18:12:47 CDT 2024
|