Home » Developer & Programmer » Forms » deploying icons  () 1 Vote
deploying icons [message #236168] Wed, 09 May 2007 04:12 Go to next message
sahadevanr
Messages: 9
Registered: May 2007
Location: pune
Junior Member

i have cerated a custom menu , to my application in Oracle forms 9i ,, now i want to use icons to my menu ,,
where do i place the icons & how do i attach the code to it;
Re: deploying icons [message #236247 is a reply to message #236168] Wed, 09 May 2007 07:11 Go to previous messageGo to next message
shankar muthusamy
Messages: 21
Registered: November 2006
Location: singapore
Junior Member
go to menu (mmb), go to properties of menu item which u want to place the icon,

set
icon in menu = YES
icon file name = give the path of icon

immediately u can see the icon in the menu,
there is no seperate code for icon, there is only coding part is pl/sql editor (by right click the menu u can get it)

Re: deploying icons [message #236415 is a reply to message #236247] Wed, 09 May 2007 23:42 Go to previous messageGo to next message
sahadevanr
Messages: 9
Registered: May 2007
Location: pune
Junior Member

thank u for the reply ,

i tried that , but when i start my application it gives an error that "FRM-92100 : Your connection to the server was interrupted
You need to reestablish your session"

do we need to create a JAR file in Oracle 9i for deploying the icons ..
Re: deploying icons [message #236787 is a reply to message #236415] Fri, 11 May 2007 00:49 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
That sounds familiar. Please verify that the application works without icons and that a single icon causes it to fail.

Are you running Application Server or Developer Server?

Also search this forum for 'ico jar' and you will get http://www.orafaq.com/forum/m/136853/67467/?srch=ico+jar#msg_136853 which may be of help. Also, search for 'icon jar', there are quite a few entries there and one of them may be of assistance.

David
Re: deploying icons [message #236810 is a reply to message #236787] Fri, 11 May 2007 01:23 Go to previous messageGo to next message
sahadevanr
Messages: 9
Registered: May 2007
Location: pune
Junior Member

thanks David ,,

my application doesn't fail with the icon , its just that the icon is not shown ,,

i have created a jar file with all the icons in it.

i have also made the path of the JAR file available in
1) formsweb.cfg (archive_jini=f90all_jinit.jar,/forms90/pracs/myAppIcons.jar
imagebase = codebase)

i also created a virtual path using the following :

2) forms90.conf (AliasMatch ^/forms90/pracs/(..*) "D:\pracs/$1")
3) orion-web.xml(<virtual-directory virtual-path="/pracs" real-path="D:\pracs"/>)

i gave this virual path to the following ...

4) registry.dat (default.icons.iconpath=/forms90/pracs/)

i have created buttons in the form and changed the property to
iconic and gave the name of the gif file to it ..
but the icon doesn't show up ..

are there any other setings to make ,, plz help me out

thanking in advance ...


Re: deploying icons [message #236829 is a reply to message #236415] Fri, 11 May 2007 01:54 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
On Thu, 10 May 2007 14:42, you wrote
i tried that , but when i start my application it gives an error that "FRM-92100 : Your connection to the server was interrupted
You need to reestablish your session"

To me that means your application failed.

Look at http://www.orafaq.com/forum/m/225604/67467/?srch=orion-web.xml#msg_225604

David
Re: deploying icons [message #236888 is a reply to message #236829] Fri, 11 May 2007 03:49 Go to previous message
rajesh4851
Messages: 89
Registered: January 2007
Member
You need to put the icons in form located path. Try it....
Previous Topic: list item
Next Topic: Checked and Unchecked
Goto Forum:
  


Current Time: Thu Sep 26 22:50:27 CDT 2024