|
Re: how to eleminate default Menubar in developer 10g [message #271641 is a reply to message #271237] |
Tue, 02 October 2007 05:19   |
fontanel@sinelec.it
Messages: 2 Registered: October 2007
|
Junior Member |
|
|
in oracle three tier environment form is embedded in a browser and the menu bar of your browser can't disable...oracle can do something only in the frame of your application...
you try to set separateframe=true in formsweb.cfg...the problem after is a parent windows... see document in metalink
How to Close the Browser Window When Closing Forms And How to Simulate SeparateFrame By Javascript
Doc ID: Note:201481.1
best regards
Fontanel
|
|
|
|
Re: how to eleminate default Menubar in developer 10g [message #272179 is a reply to message #271237] |
Thu, 04 October 2007 03:15  |
fontanel@sinelec.it
Messages: 2 Registered: October 2007
|
Junior Member |
|
|
i don't know well when you say "browser window will disappear" but like i sayd you before
oracle with inner procedure doesn't action closing of the browser depending of ie version=20
(7 ie version have many problem tested by me ) in the oracle note that I link you before there is a javascript code
that when you call with web.show_document built-in in form call an html-page, take care virtual-path in *.conf file,
and then close it
I think a login form from your user :if you write in when-button-pressed trigger=20
=20
WEB.SHOW_DOCUMENT('http://ip_appress:port/forms/java/close.html','_self');
in close.html
copy this code that is taken by a oracle note that I mentioned before
=20
<html>
<body onload=3D"closeit()">
<script>
function closeit()
{
win =3D top;
win.opener =3D top;
win.close ();
}
</script>
</body>
</html>
if an user don't want to login and press a cancel button...this goes well
take care that the virtual path is in file *conf
in the same directory of formsweb.cfg
I hope to have response you
bye
Fontanel
|
|
|