New browser window in BSP
Hi everyone,
I am writing a BSP application that output a table. I want to know how to display the field select-options in a new browser window and refresh the table in the main browser after selection.
Thank you,
Eric
The only way I know is using javascript.
Here I give you an example:
*main.html*********
<html>
<head>
<script language="javascript1.2">
<!--
function Change(){
window.open("child.html","","toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=120,left=300,top=260");
-->
</script>
<body>
<center>
<form name="form1">
<table>
<tr><td>Selected value:</td><td><input type="text" name="tf" value="(none)"></td></tr>
<tr><td colspan="2" align="center"><input type="button" value="Change Value" onClick="Change()"></td></tr>
</table>
</form>
</center>
</body>
</html>
*child.html*********
<html>
<head>
<script language="javascript1.2">
<!--
function Change(){
window.opener.document.form1.tf.value=document.form2.select.value;
-->
</script>
<body>
<center>
<form name="form2">
<table>
<tr><td>Value:</td><td><select name="select"><option value="1">1</option><option value="2">2</option><option value="3">3</option></select></td></tr>
<tr><td colspan="2" align="center"><input type="button" value="Change" onClick="Change()"></td></tr>
</table>
</form>
</center>
</body>
</html>
Best Regards!
Similar Messages
-
BSP opens in new browser window where it shouldn't
Hi all,
I am facing a strange behaviour:
I have 2 BSP IViews on a page. One of them contains a ticker. When navigating to that page the ticker is opened in a new browser window. Interestingly enough this behaviour is not given with all clients. In one browser the page is displayed correcty and the ticker is shown as part of the page. In another one the behaviour described above is shown.
Has anyone faced this kind of behaviour already? If yes, how did you resolve it?
Besides, the portal is accessed via https.
Thank you in advance for any input!
Best regards,
HelgaStart Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
EP6 SP11: BSP opens in new browser window where it should not
Hi all,
I am facing a strange behaviour:
I have 2 BSP IViews on a page. One of them contains a ticker. When navigating to that page the ticker is opened in a new browser window. Interestingly enough this behaviour is not given with all clients. In one browser the page is displayed correcty and the ticker is shown as part of the page. In another one the behaviour described above is shown.
Has anyone faced this kind of behaviour already? If yes, how did you resolve it?
Besides, the portal is accessed via https.
Thank you in advance for any input!
Best regards,
HelgaHi,
What is the link that you are trying to open.
Please check if you have placed the protocol - like this http://www.xmy.com" format
and used "_blank" as target in navigateToURL API.
Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/ -
Open discoverer report in new browser window and without connections page
Hi All,
We are using Oracle 11g Discoverer 11.1.1.4. Requirement is to open the discoverer report in a new browser window and without connections page.
When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
This excerpt is from the documentation available in the link
" _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
and Here is what we use to invoke our reports.
http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
Thanks in advanceClosing the thread
We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing. -
Opening New Browser window for click event on an image
hi all,
I want someone to help me out solving the problem of opening
a new browser window on the mouse click event of an image or a
button etc.... The new window would contain the datagrid details
from the main window, but in an expanded form. If at all there is a
solution, I even want to know whether there is anyway for sizing
the poped up window,because I dont want the new poped up window to
cover the entire screen.
For getting better idea of my problem, the best example I
could give is the popup window that appears when we click on the
preview button while posting the message to the forum.
Someone please do help me out in this regard.
Thanks,
amar.I'd definitely try to use a Flex popup... but the
flash.net.navigateToURL method is a simple way to open a popup
window in a new browser. You can pass any data needed by the new
page using the URLRequest and/or URLVariables. The URL you navigate
to could, of course, be another Flex application if necessary. I
use this only when I need to open a popup window on another site,
or an HTML formatter report or something similar.
Concerning yourself with the size of the popup window may be
a bad design choice also. I, for example, have my browser
configured to open all popups in a new tab regardless of sizing
constraints imposed by the designer. If it is absolutely necessary
for you to have control over the size of your popup window, you
should follow the advice given by others and use a Flex
popup. -
Command to open a PDF generated Oracle Report in New browser window
I know this is probably something for the Oracle Forums but I'll ask anyway because I can't find any info out there on this, without some extra work.
I am generating a PDF file from 10g Oracle reports on Linux RHEL 5 and storing the PDF file to the server. I can send that PDF file directly to a printer with the "lpr" command and that part works fine.
What I'm wanting to do now is "View" the PDF from within the server in a new window. We are using RHEL 5 (Linux) platform and I'm trying to see if there is a way to open the file with a "command line" command that will open it in a new browser window or new window period (opening it with Adobe Acrobat).
Does anyone have a command that will do this? Otherwise, how has everyone else been handling this. The idea of just viewing the previously generated PDF Report file will save us overhead on our database servers because they won't have to re-run some of the same reports over and over.
Any help and assistance is appreciated.
ChrisSeveral options:
- If you only want to show the pdf to the client without printing, use destype=cache and use WEB.SHOW_DOCUMENT after the RUN_REPORT_OBJECT (for examples search the forms-forum, there are lots)
-If you have to generate the pdf to a file to get it printed, you could
+use WEBUTIL_FILETRANSFER.AS_TO_CLIENT after the printing to transfer the file to the client, then use CLIENT_HOST to view it.
+map the appserver-directory you generate the report to as a virtual directory in the application-server then use WEB.SHOW_DOCUMENT to directly access the generated file via url. -
Open URL Link in new browser window
Can someone please help me? I've tried to use code as if I were using Dreamweaver without any luck(i.e. blank target).
Is there a way to make the url in the PDF open a new browser windows once clicked? Hopefully this is an easy fix! Thanks in advance!Jono, if you are still out there. I am also having trouble with this function. The button works just fine, but it does not open another browser window. I am trying to keep my pdf open, and send them to a url. That way they can come back to the form. Like you would with the target="_blank" function in javascript.
What am i doing wrong? I have tried opening the script editor, but I am not sure what to do there. So I put the same as you did on your form, no effect. I put target="_blank" and set it to javascript on just about every option. I have tried to go into the code on the xml source tab, no luck anywhere. I have tried to just use a text field, no luck.
Seems like everything I have tried has no effect.
Hopefully you can tell me it is something simple...
Thanks in advance.
Jodi -
Making a hyperlink open the linked page in a new browser window
Does anyone know if iWeb allows a way to create a hyperlink such that it will open a new browser window rather than navigating away from your site?
Thanks for any and all help.
Brian
www.productionmax.comI've scoured the forums. It's just not in the software as of yet. This is best solution I could find:
http://discussions.apple.com/thread.jspa?messageID=1629842� -
I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
Best regards,
Arkady.Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.
-
I have many links on one page of my site that open in a new window. After clicking on an image that is in the middle of a page to open a new browser window, when returmning to the original page it has scrolled back up to the top of that page again.
Is there any way of ensuring that the orginal page stays in the place where you left it when returning from a new browser window?
See link:
http://www.nigelhewitt.com.au/_links/MainMenuLinks/CurrentArtwork.htm#
See, for example, if you click on even the second image down and then press close window, that the original page has scrolled back to the top.
Please help!Your behavior is improperly applied directly to the <img> tag. It SHOULD have been applied to the anchor tag that surrounds the image. In addition, the symptoms you report are caused by your use of the octothorpe to create the 'null link'. In general, behaviors should never be applied directly to image tags. So, change this -
<a href="#"><img src="../../_images/Transience- small.jpg" alt="Transience" width="350" height="321" border="0" onClick="MM_openBrWindow('../EnlargedImages/Transience.htm','CurrentImages','scrollbars=yes,resiza ble=yes,width=1000,height=800')"></a>
to this -
<a href="#" onClick="MM_openBrWindow('../EnlargedImages/Transience.htm','CurrentImages','scrollbars=yes,resiza ble=yes,width=1000,height=800')"><img src="../../_images/Transience- small.jpg" alt="Transience" width="350" height="321" border="0" ></a>
Next, to get around the use of the octothorpe for the null link, you have to kill the link completely 'onclick' by adding 'return false' to the behavior call, like this -
<a href="#" onClick="MM_openBrWindow('../EnlargedImages/Transience.htm','CurrentImages','scrollbars=yes,resiza ble=yes,width=1000,height=800');return false"><img src="../../_images/Transience- small.jpg" alt="Transience" width="350" height="321" border="0" ></a>
Finally, to give yourself a hedge against someone coming to your site with javascript disabled (in which case your open browser window will no longer work), copy the popup's filename to the link to replace the octothorpe, like this -
<a href="'../EnlargedImages/Transience.htm" onClick="MM_openBrWindow('../EnlargedImages/Transience.htm','CurrentImages','scrollbars=yes,resiza ble=yes,width=1000,height=800')"><img src="../../_images/Transience- small.jpg" alt="Transience" width="350" height="321" border="0" ></a>
Now you're all set.
You can find a DW extension to do this dirty work for you by searching the Adobe exchange for "Smart Link" by David Powers. -
New browser window with javascript
Hello,
I'm trying to accomplish something similar to what has been
discussed in other threads (Jess Learnin, 9/30/2008, and another
thread from back in '07). I've tried the advice given in these
threads and have had no luck. I would like to create a button to
call a new browser window that displays a URL of my choosing. I'd
like to specify the size and attributes of the new window. I've
created a small dummy tutorial in order to work on this feature.
I'm using the "Execute Javascript" option when configuring
the button. I include the following javascript:
window.open('
http://lib.berkeley.edu/BIOS/index.html',
'myWindow','height=400, width=700, toolbar=no');
I have the Captivate button context set to "Current". I have
deselected "Continue Playing Project" (though I've tried it with
that option selected as well).
I've tried prefacing the script w/
"javascript:window.open...", but no luck.
I'm testing the file on a development server, rather than
from a local copy. When I test in Firefox, my movie simply stops
when I click the button, without opening a new window or loading a
web page. When I test in IE7, the movie stops and I get a message,
"Error on page"; still no new window.
I do notice that I'm currently running Flash Player 10. I'm
using Captivate 3. When I publish my file, my options only go up to
Flash Player 9, which is what I have chosen. I don't know if this
would make a difference.
I have also tried altering the standard.js file in the manner
that jbradley88 suggested in the 9/30/08 thread, and using the
corresponding javascript in the button properties window, with
similar unsuccessful results.
I have tried running the movie on a different computer, in
case some local setting was somehow mucking things up. I get
nothing.
Any suggestions? If anyone's willing to take a look, I can
send along my small dummy .cp file that I've been working on.
Thanks in advance.
-KellyHi John,
Here's the exact javascript that I currently have associated
with the button:
void(window.open('
http://lib.berkeley.edu/BIOS/index.html',
'myWindow','height=400, width=700, toolbar=no'));
I've tried multiple permutations, including placing
"javascript:" in front of the script, both with and without the
void().
The message in IE7 just says "Error on page". It's not a
pop-up message; it's just the small message that appears at the
bottom left of the browser window in IE7 when a page fails to load
properly. The message doesn't appear until I click on the button
that's supposed to call the javascript. There's a yellow
exclamation point icon that appears next to the "Error on page"
message. When I click on that I get:
"Problems with this Web page might prevent it from being
displayed properly or functioning properly. In the future, you can
display this message by double-clicking the warning icon displayed
in the status bar."
It also displays a pointer to the error:
Line: 1
Char: 111
Error: Syntax error
Code: 0
URL:
http://library11.berkeley.edu/bios/kelly/Practice_demo.htm
I looked at the source for the page as displayed by IE7 (have
also looked at the .htm and .js files generated by Captivate) and
haven't seen anything obvious, but I'm somewhat unschooled in such
matters.
If it would help to see what it does, you can view the demo
at the URL above.
Thx again,
Kelly -
I would like my application (which is built with adf uix) allows the user to open a new browser window when he needs.
Unfortunately this functionality creates some problems.
1) I set and get some sessionScope attributes to manage some behaviour of the program. When I open a new browser window if I set a sessionScope attribute (e.g. âsessionScope.attr1â) with a value while working in this window then I will read this value also in the other browser window, and this is a problem for me.
2) In one page I display the values of the current row of a view object. The current row is set with some operation. If the user opens a new browser window and performs this operation he will set a new current row in the view object, so in the other browser window he will see the data of the wrong current row.
Is there a solution to this problems or should I force the user to work with only one browser window?
Could it be a solution to âforce the creation of a new sessionâ when a new browser window is opened? And if this is a solution, how to do this?
Please help.
Thanks, Maurorepost
-
Open New Browser Window Behavior Issue
I've got a site that has a list of names of deceased people.
When a viewer clicks on a name I have a new browser window open
that is a small memorial page specific for that person. This list
is fairly long so the viewer has to scroll down a ways to get to
the bottom. If the viewer clicks a name towards the bottom and then
closes that new browser window they have to scroll all the way back
down and find where they left off. This of course, is assuming they
are going in order to view the memorial pages for each person. Is
there a way to make the "original page (with the list of names)"
not refresh to the top of the page? I'm using and would like to
continue using tables and not layers or styles.
Information can be sent onto [email protected]
Any help would be much appreciated!
Thanks,
CodyCody,
It sounds like you are using <a href="#"
Try using <a href="javascript:;"
Or better yet, use David Powers' Smart Link:
http://japan-interface.co.uk/webdesign/tools/index.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"csnodgr2" <[email protected]> wrote in
message
news:fmc4tf$feq$[email protected]..
> I've got a site that has a list of names of deceased
people. When a
> viewer
> clicks on a name I have a new browser window open that
is a small memorial
> page
> specific for that person. This list is fairly long so
the viewer has to
> scroll
> down a ways to get to the bottom. If the viewer clicks a
name towards the
> bottom and then closes that new browser window they have
to scroll all the
> way
> back down and find where they left off. This of course,
is assuming they
> are
> going in order to view the memorial pages for each
person. Is there a way
> to
> make the "original page (with the list of names)" not
refresh to the top
> of the
> page? I'm using and would like to continue using tables
and not layers or
> styles.
>
> Information can be sent onto [email protected]
>
> Any help would be much appreciated!
>
> Thanks,
> Cody
> -
it also opens in the parent window at the same time. For
instance, I have a home page and when you click on a link I want it
to open up in a new browser window. so i set the behavior to do
this and it works. However, the first window also changes to the
new link so I then have two windows open with the same link I just
clicked on. The main window doesn't stay as the home page. any
suggestions? Thanks.Also David Powers' Smart Link extension may come in handy:
(2nd extension on the page)
http://japan-interface.co.uk/webdesign/tools/index.html
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
Forum Posting Guidelines:
http://www.adobe.com/support/forums/guidelines.html
CSS Tutorials for Dreamweaver:
http://www.adobe.com/devnet/dreamweaver/css.html
": Nadia : ** Adobe Community Expert **"
<[email protected]> wrote in message
news:[email protected]...
> You need to add a "return: false" statement to the link
so that it
> doesn't open onto itself....
> A better explanation can be found here:
>
http://apptools.com/rants/popups.php
>
>
> Project seven has this niftly little app available
(commercial - but it's
> served me well over time :)
>
http://www.projectseven.com/products/prodtools/powertoys/powertoys_retfalse.htm
>
>
> --
> Nadia
> Adobe® Community Expert : Dreamweaver
> ----------------------------------------
> CSS Templates |Tutorials |SEO Articles
>
http://www.DreamweaverResources.com
> ~ Customisation Service Available ~
>
http://www.csstemplates.com.au
> ----------------------------------------
> Forum Posting Guidelines:
>
http://www.adobe.com/support/forums/guidelines.html
> CSS Tutorials for Dreamweaver:
>
http://www.adobe.com/devnet/dreamweaver/css.html
>
>
>
>
> "Alexandra Christensen"
<[email protected]> wrote in message
> news:[email protected]...
>> it also opens in the parent window at the same time.
For instance, I have
>> a
>> home page and when you click on a link I want it to
open up in a new
>> browser
>> window. so i set the behavior to do this and it
works. However, the first
>> window also changes to the new link so I then have
two windows open with
>> the
>> same link I just clicked on. The main window doesn't
stay as the home
>> page. any
>> suggestions? Thanks.
>>
>
> -
Open another website in a new browser window
I can't seem to create links to external websites that open
as intended in a new browser window while leaving the main browser
window unchanged. Except in Safari on a Mac. See sample code.
In Safari on a Mac this opens the new window and behaves as I
want. In Safari on a PC it opens a new window, but in back. In
Firefox on Mac I get an error message in which, when the "OK"
button is cliked on, a new window opens in back of the main window.
Same thing on a PC. Internet Explorer on a PC opens a new window
but displays an error message forcing you to clik the back button
to return to the main page.
If I specify the main page url in the link field, then the
main page gets reset to the top, which I don't want.
How can I get FireFox and IE to accomplish this gracefully?
To observe behavior go to
http://www.digifon.com/framesetal_id.htmDon't use Frames. However, the issue of opening a new window
is still
hotly debated. My own approach is to mark the link with an
icon and
then to open a new window (or tab if the user prefers). If
done
properly with javascript, this will not spawn a myriad of
windows and
Standards-compliant. (And further, if javascript is off, the
new page
will simply open in the current window.)
Based on this philosophy, I offer a DW Extension that makes
adding this
behavior dead simple. Here is an example of a page that uses
it to good
advantage. Despite all the external links and pdf links on
the page,
the Extension only needed to be added once to the page,
rather than
adding it to each and every link. Links added to the page
AFTER the
Extension is applied are ALSO acted on, a great time saver in
my
opinion, and easy on the user:
http://squamscott.org/scc_green.asp
The DW Extension is available here:
http://divahtml.com/products/divaPOPgold/open_popup_windows.php
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia
Maybe you are looking for
-
BAPI_SALESORDER_CHANGE add new line and conditions with a condition value
Hi, I am using BAPI_SALESORDER_CHANGE to add new lines to a credit memo. All works fine except that I can not seem to put a condition value on the new lines. The condition is created but with a value of 0. I can popluate the condition amount field, K
-
LaserJet Pro P1606dn and Windows 8 problems
I recently upgraded an office of 7 computers to Windows 8. The office has a networked LaserJet P1606dn printer. I had pre-installed the driver, downloaded from the HP website, onto the new computers. I had Group Policy Preferences push out the new pr
-
Dear All We are using Standard business content to extract FIAR Data. We have not written any rules for Item status field for AR. We are getting wrong item status field. For some customerseven if document is cleared and moved to BSAD table, The docum
-
Any good webcam suggestions?
Any good suggestions for a webcam that is: -Not large, preferably a small one or medium-sized (one that can clip onto a flat screen monitor is ok, or one that stands on the desk) -Compatible with Snow Leopard -Mic included -USB/Firewire -High quality
-
Sales BOM in different warehouse
Hello short question I upload productTree Sales BOM with an artcile sold in different warehouses It seems that the same article code can not be used in different places Exemple Article A sold using article B and C in stock in warehouse 01 Article A c