Open Page in new window from button

I have a button that need to open up a page in new window when clicked. The page it needs to open is dynamic and stored in an item called 'P0_STUDENT_RECORD_LIST'.
I added this to item pre-element text:
<button onclick="javascript:PopupSTUDENT()">
How can I get the function to open the page name stored in the item?
Is there a different method I should use?
function PopupSTUDENT(){  popUp('f?p=&APP_ID.:DYNAMIC_PAGE_NAME:&SESSION.::NO:::');}

how about this:
function PopupStudent()
javascript:window.open('f?p=&APP_ID.:&DYNAMIC_PAGE_NAME.:&SESSION.::NO.:::','Popup','width=800,height=500,scrollbars=1,resizable=1');

Similar Messages

  • BSP code to open new page in new window after button click

    Hi expert,
    I have a requirement to write a BSP code to open new page in new window after button click. I have done the same for opening in same window but not for opening in new window.
    Can you please help me out with the code in which the page opens in new window and the menubar & Addressbar is displayed in hide mode.

    Hi,
    To add more with Anubhav...
                              onClientClick = "javascript:window.open( 'pop.htm' ) "
    You can create a pop.htm page, and call the same in another page using the above code.
    Refer standard BSP examples, SBSPEXT_HTMLB, SBSPEXT_PHTMLB, SBSPEXT_XHTMLB. You can run the default.htm pages and see what way you want to design your BSP.
    Thanks,
    Sreekanth

  • Open Page in new window

    ..................... I use JDeveloper 11g TP4 ......................
    How Can I Open Page In New Window when I press In Command button or link??
    Thank You.

    Hi,
    You have to set the "useWindow" property on the button to "true", and the action must start with "dialog:", like "dialog:action". And, in adfc-config.xml you have to have navigation defined also with "dialog:action".
    <af:commandButton text="Button"
             action="dialog:action"
             useWindow="true">
    {code}
    Pedja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Opening page in new window on click of link in Global button bar section

    Hi,
    I have created a custom global link to appear alongside Home, Logout links. The requirement is to open a page in a new window when i click on the custom global link. Please let me know how to achieve this functionality.
    Thanks,
    VG

    VG,
    I think you should be able to open in a new window using the javascript in the function defn,
    please check the blog http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html and try it out.
    Let me know if you are not able to achieve the same.
    With regards,
    Kali.
    OSSi.

  • Open Page in new window using hyper link

    I put the window.open method on OnClick event of outputlink to open a page in new window, but the page is started in a old window.
    How do I start the page in a new window.
    My sintaxe of outputlink:
    <h:outputLink binding="#{P0110.hyperlink1}" id="hyperlink1"
    onclick="WindowObjectReference = window.open('about:blank', '','menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes');" value="http://www.sun.com/jscreator">
    </h:outputLink>

    Hi,
    Following are the steps to open a new window using the window.open method for the hyperlink component:
    1. Drag and drop a hyperlink component onto the page
    2. In the properties sheet go to the Value property and delete the value present there
    3. Click on the ... button next to the onclick property
    4. Enter the line of code given below:
    window.open("http://www.yahoo.com","New window");
    5. Save and run the project
    On clicking on the hyperlink a new window will open with the www.yahoo.com page.
    Hope this helps
    Cheers
    Giri :-)
    Creator Team

  • Open swf in new window from parent swf

    I'm making a gallery for some flash banners that I had
    created in AS3. When I click on a "launch" button, I wanted the
    flash banner swf to open in a new window separate from the parent
    swf (the gallery). I also wanted the parent swf to remain open.
    Is this possible and what would the code look like for
    something like this?

    ok, I should've also mentioned this, the flash gallery I'm
    making is not for the web, it's more for just opening in a flash
    player. So I don't really want it to open in a new browser window,
    but rather a new swf window, if there is such a thing.

  • Open url in new window on button click of adf table

    Hi,
    I have a requirement in which i need to open the constructed URL in a new tab/window on button in adf table.
    I am using action listener for the button, using action event i am getting the values of the particular row to the bean and using those values i am constructing url.
    Now i have to use the URL and open it in a new tab/window.
    Please suggest me different approaches.
    jdev version 11.1.1.5

    Hi,
    Check following will match for your use case
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/33-open-page-in-new-tab-169175.pdf

  • Open iviews in new window from detailed navigation context menu function

    hello,
    when we click in the detail navigation menu and in the context menu (because many of ours users are used to right click to open a link in a new window on the internet) on the functionnality "open in new window", the start page is always display instead of the corresponding iview ...
    could you tell me if there is a configuration into the portal to :
    1- suppress the function "open in new window" from the context menu in the detailed navigation !
    2- make the iview displayed into the new window really the iview desired !
    best regards,
    Olivier.

    Hi Olivier,
    The frist part is very precise. Not possible. Period. The reason is that the links are calling JS and not directly calling a http target.
    About the second part: Within the Light Framework, you create a Light Detailed Navigation. And in this case, the links are direct http links. So with that, you have what you want.
    For the Light Framework see http://help.sap.com/saphelp_nwce10/helpdata/en/43/0174a642406db7e10000000a422035/frameset.htm and around.
    Hope it helps
    Detlev

  • Open URL in new window when button pressed

    Version: 4.1.1
    Hi there,
    Under the button options we can set it to redirect it to a URL. However, the page opens in the current window. Is it possible to get it to pop open in a new window?
    Thanks,
    Ryan

    Hello Ryansun,
    Just make the button to be Defined by DA.
    Create a new DA.
    Event: Click
    Selection Type: Button
    Button: MY_Button
    Action: Execute JS
    Code
    window.open("http://www.w3schools.com")
    Best Regards,
    Fateh

  • Opening link in new window from cfgrid

    Hi all, I am using the following code to create a link to a
    more info page for the selected row of data:
    <cfinput type="button" name="MoreInfo" value="More Info"
    width="100" tooltip="Click here to view more information on the
    selected data"
    onClick="getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'])">
    how can I make it open in a new window please?
    many thanks

    getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'],
    "_blank")

  • IWeb - cant adjust hyperlinks to open page in new window

    Anyone know of a work around to this obvious shortcoming? ...other then hacking the html code? the website is: www.apexjiujitsu.com
    My Links page is the one that I'd like to set parent=_ or whatever the value is for new window instead of same window

    Hi all.
    New to iWeb as well and am enjoying creating my website.
    Having played with HTML in the past and dreamweaver for creating pages, remembered there is a way to do this in a non-iweb way.
    The extra code that needs to be added at the end of your link is:
    target="_blank"
    Now how to get that in your iWeb page.
    What I did (worked for me each time) - copy the page you want to edit from your iDisk in the Finder window to a folder on your mac. Make sure to make a copy of this file in case you want to go back to the original.
    - Next open the page in Netscape (using ver 7.2). Pics did not show as I did not copy those.
    - In Netscape click File, Open File. Just navigate to your page location and click Open.
    One really neat feature I like about Netscape is that it comes with a built in web page editing tool.
    - Click File, Edit Page. Editing window appears.
    - Find the link you want to change and double-click it. It may try to open the link in new window, if it doesn't, don't worry about it. Or give you an error - close the error window.
    - Go back to the editing window and double-click on the link again. You should see a drop-down menu appear.
    - Click Advanced edit. There are two columns here - Attribute and Value.
    Attribute is what you want - ie open in a new window (target) and the Value is what happens next ie. opens the link in a new window.
    - Click on the Attribute drop-down at the bottom and choose "target".
    - Click on the Value drop-down and choose "_blank" (usually defaults to this).
    - Click OK and then OK again.
    Close the file and make sure to save.
    All I did then was copy the edited page to the iDisk folder wence it came from and overwrote the original (did you save a copy of the original in a safe location?).
    Opened the page in Safari or any other browser and voila' - link now opens in a new window/tab.
    Sorry for the long winded reply explanation. Wanted to be sure I didn't miss anything. ***Just be sure to save a copy of the original page your working on in a safe place in case you need to revert to the original.***
    Hope this helps.
    ps. Agree, adding an option to open links in new window should be put into the enhancements to come for iWeb.
    Stewy
    G5 Dual 2.3 ghz   Mac OS X (10.4.2)  

  • How to open page in new window while handling event on link.

    Hi all
    I have a requirement where page should be opened in new window when I click on link.My item style is 'link'.Despite of mentioning target frame _blank, I m not able to open it in new window.I m handling event by setting Action Type as fireAction.I hope this might be the reason because of that this happened. Can somebody suggest some solution so that I can open it in new window.
    Thanks,
    Bhupendra

    Hi ,
    though i am not able to answer, i can get some answer for my question.
    How the link item is handled thru the ActionType and event in the Client Action..?
    The reason for this question is that we are trying to extend the customer search page in AR - EBSR12. there the search result page has the Account Name as a link and the Action event says viewAccountName and the action type says firePartialAction. I am trying to understand this so that i can add more parameters to the link so that i can use them in the target page of the link..
    Any help is appreciated..
    Thanks
    Chidam

  • Open page in new window when click on HELP TAB

    Hi
    I have a number of tabs which work on my pages. My very last Tab is a Help Tab.
    What I'm trying to achieve is that when a person clicks on the Help tab, the page should open in a new window.
    The rest of the tabs should function normally, ie just switch pages in the same window.
    Message was edited by:
    Keith Jamieson
    Made it more readable

    Hi all
    is there any other property along with the target frame what we need to set to get this working?
    i have tried it again and still the new page when clicked on the link opens in the same window
    I am using a link item which has a fire action set to yes
    In the fire action i am calling a new page using
    pageContext.setForwardURL
    thanks
    abc
    Edited by: abcdxyz on May 18, 2011 1:56 PM

  • Open URL in new window from page process

    I have a Page process that returns a URL (stored in 'l_val' field). Within this process, what is the best way to open that URL (stored in l_val) in a new window?
    thanks
    DECLARE l_clob clob;
    l_xml xmltype;
    l_val clob;
    BEGIN
    for c1 in (select clob001
    from apex_collections
    where collection_name = 'CENTRIS_IEP_VIEWER') loop
    l_clob := c1.clob001;
    exit;
    end loop;
    l_xml := xmltype.createxml(l_clob);
    l_val := dbms_xmlgen.convert(
    l_xml.extract(
    '//GetIEPUrlWithAuditResult/text()'
    , 'xmlns="http://www.iepdirect.com/CentrisWebServices/IEPViwer"'
    ).getstringval()
    , 1
    END;

    Hello,
    You can create a application process using this code and call that process from a javascript function and return that URL to the javascript function there you can open a popup easily.
    If you want you can open a popup from process, you can do that using htp.p() function, I had tried this once but what it does was, it opens a popup but it clears out my parent page, I was not be able to see anything on my parent page.
    Thanks
    Tauceef

  • Open pdf in new window from an iframe

    i have a web page with an iframe that displays pdf's chosen  from a drop down menu.
    i need to be able to make the current pdf open from the iframe into a new window.
    any ideas?
    thanks
    Larry

    heres an example.
    http://www.sixmanmagazine.com/cev test/CEV00152/CEV00152.html
    i uploaded that so you can see what i am trying to do.
    the left side is for video and the right side is the iframe.
    i want the content of the iframe that i want to display in a new window.
    Thanks for your time.
    larry

Maybe you are looking for

  • Error 150.30 with Photoshop Elements

    My Windows 7 PC died, and I've transferred photographs to my old Dell XP machine.  When I execute Elements, I get the error 150.30 message asking me to restart the maching.  I did that, but still get the error when executing Adobe.

  • :: NWA does not show table view for monitoring reports ::

    Hi, We are facing an issue in one of our portal system. I click on Portal index page, then I go to Net weaver Administrator --> Monitoring --> Java system reports. Here I get the resource utilization graphs. The graphs show proper values however when

  • Can I have 2 apple Ids and share apps

    I just got an iPad mini and my husband and I share an apple is which is listed with his phone number I tried to change our Id to my phone number so that I could use iMessage through my iPad and iPhone but I couldn't change it. Apple said to creat a n

  • My new HP office jet pro 8610 is LOCKED.

    somehow while setting up my new HP office jet pro 8610  it locked It . I am trying to set up internet wireless and i am so frustrated! message states: you cannot use the device's built in networking capabilities because these capabilities have been d

  • How to get count of records inserted and errored out in an email

    Hi I have following question I want to send report statics of scenario i.e Number of rows inserted during the scenario and Number of rows in error in the scenario in an email.Here in my scenario I am trying to insert data into Essbase database and wh