| Title of the browser displaying a report output through web.show_document [message #349681] |
Mon, 22 September 2008 11:30  |
shahmayur
Messages: 22 Registered: November 2007 Location: London, UK
|
Junior Member |
|
|
Hiya
We are using Oracle Forms 10g 10.1.2.0.2
All our Forms and Reports are working well.
We are using Java Script in Web.Show_Document so that when the report is displayed on the screen, the browser's toolbar and menubar should not be visible.
The code looks like this:
v_url_in := 'reports/rwservlet' || '/getjobid' || v_job_id || '?server='|| 'my_rep_server';
v_url_out := 'javascript:window.open("'||v_url_in||'", " ", "toolbar=no,menubar=no");self.close();';
Web.Show_Document (v_url_out, '_blank');
The above code is working absolutely fine. No issues about this.
Now when the report opens in a new browser window, the title of the browser window reads as follows:
http://<hostname>:8889/reports/rwservlet/getjobid1234?server=my_rep_server - Microsoft Internet Explorer
So rather than displaying the title of the browser window as the URL of our Application Server, we want to show the title to Reports name so that it reads as
'Customer Sales Summary Report - Microsoft Internet Explorer'.
Does anyone has any idea if it is possible to change the title of the browser window, if so, how ?
Cheers
Mayur
|
|
|
|
|
|
|
|
|
|