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

Similar Messages

  • 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

  • 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

  • Avoid opening new window on button click

    Hi All,
               I have created BSP pages with flow logic.
    I have the following pages :
    main.htm
    selection.htm
    details.htm
    I have embedded selection.htm and details.htm  in main.htm
    In selection.htm page I have button .On clicking this button, it opens a new window and displays details there. However , i dont want the new window to be opened . The details should be displayed in the details.htm within the same window.
    Here is how i have written the code for button in selection.htm page :
              <ht mlb: butt on id      = "submit"
                            d esign  = "emphasized"
                            te xt    = "<%= otr(zdfps_google/submit) %>"
                            on Click = "submit"
                            toolt ip = "Update Map" />
    How can I avoid opening of a new window onclick of the button(submit buttton)?

    Hi,
    If a new window is opening, I think this is because you specify a target value in your form tag that does not correspond to an existing frame or window. For example:
    <htmlb:form id="details_form" target="details">
    This submits the form in a frame or window with name "details". If it does not exist, a new window shows up.
    If you want to submit your form to page details.htm, in the same window, you can use the following:
    <htmlb:form id="details_form" action="details.htm">
    Note that the target attribute is not specified.
    Hope it helps!
    Regards,
    Tanguy

  • Open URL in new window

    Hi folks,
    I am working on WAD3.5 where in I have created several links to open either WEBGUI i.e to open various customized TCODES in SAP-Bi or other queries. BAsicaly its a work bench sort of thing from where we can access various tools developed for client. I am using below mentioned HTML code:
    <TD class=SAPBEXBtnStd vAlign=top>
          <DIV style="HEIGHT: 20px"><A
          href="/sap/bc/gui/sap/its/webgui?~transaction=ZBI_AUTOMATION_TOOL"><B><FONT
          face=Verdana color=#000080>BI Automation Tool</B></FONT>
        </A></FONT></DIV></TD>
    where ZBI_AUTOMATION_TOOL is a customized TCODE. Issue is whenever i click on the link it opens the WEBGUI in same screen and when i click back the page expires. I want to open the URL in new window.
    Please help me by providing the exact syntax. It would help to resolve my issue. I have tried couple of things but they are not working.
    Thanks
    Rahul Mahajan

    There is a parameter on the web template that should be set..
    it is
    Open dialogs in new window - set this to either automatic or "Open Window  X"
    or add this to your template properties list:
    <param name="ENABLE_OPEN_WINDOW" value="X"/>

  • Transaction launcher: open URL in new window

    Dear all,
    I know many threads have already been posted about "stateful URL" created with transaction launcher, that open a new browser window AND navigate to an empty screen with the following text (which is more than useless):
    "The requested page has been opened in a new window, please press back button to go back to the last page."
    Carsteen gave some useful hints already in the following thread:
    Transaction Launcher in a new window
    But maybe someone found something new since then... At the moment I'm thinking about "simulating" a clic on the BACK button (like mentioned in this useless message), with something like :
      DATA:
      history TYPE REF TO if_bsp_wd_history_manager_disp.
      history = view_manager->get_history_manager_display( ).
      history->go_back( ).
    Any better idea ?
    Thanks & regards,
    Nicolas Busson.

    Hi Nicolas !
    How are you? :-)
    I assume that since then you have found a way to fix your issue, but as the post is not answered I can tell you that SAP has taken into account this point in SAP 702 EHP1, with a new attribute in the customizing of the transaction launcher called "Keep Work area" :
    Keep Work Area When Opening Launch Transaction in New Window
    This indicator defines whether the work area content is kept when you open a launch transaction in a new window.
    Use
    If this indicator is not set and a launch transaction opens in a new window, then the main window loads the base page of the transaction launcher into the work area.
    If this indicator is set and a launch transaction opens in a new window, then the main window keeps its current content in the work area.
    Dependencies
    This indicator is only evaluated if you have also set the indicator for using a new window.
    Imed.

  • I want all pages to open in a new window when I click on a link, and do not want tabs.

    I just downloaded Firefox on my Mac laptop. I don't like using tabs, but prefer new web pages to open in a new window. What command do I use to achieve that?

    Look at:
    *Tab Killer: http://piro.sakura.ne.jp/xul/_tabkiller.html.en
    Use: Download Latest Version (via HTTP) and install via File > Open File

  • Opening new window on button click from pdf without loosing session

    Hi,
    In my Java web applicaion on click of a link, we are opening a new window in which we are displaying a pdf. There are 5 buttons on this pdf.
    On clicking of this button again we are opening a application link in new window. But in this window we are not gettting our session, which is there in first two window.
    For opening new window from pdf button click we are using
    var dynamicUrl3 = myappurl;
    app.launchURL(dynamicUrl, true); 
    How can i open new window with the same sesion from the pdf button.
    Please help for the same.
    Thanks,
    Abhijit Mohite.

    Yes, with target="_blank" in a link or a form.Thanks for ur valuable suggestion. I changed the button to link.
    Its working fine now without JavaScript.
    Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
    Is this possible? Please give me an idea to do this.
    Thanks.

  • Opening New Window on button click

    Hi all,
    On click of a <h:commandButton> i want to display a new window which is containing datatable. Is there any possible way to do this with out using javaScript? Is there any possible way of doing it inside bean?
    If javascript is the only way tell me how to do that.
    Thanks...

    If you want to do it without Javascript, use links instead of buttons. A bean or a servlet cannot push a new window. Using Javascript it's fairly simple:onclick="window.open('foo.jsp');"

  • 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');

  • 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 URL in new window function not working.

    Please please please can someone help. The openURL function that I have linked to a button and a click box will just not work anymore in a new project. I have searched everywhere for an answer and all I can find is that it is something to do with a flash update preventing this and some code was provided as a work around. However I only have captivate 4 and 5 and have no way of editing this code to allow the new windows to function. If these functions are no longer available within captivate then captivate is nolonger any use to me. Can anyone help?

    Welcome to our community
    See if the link below is what you are after:
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Spry Gallery - how to get large image to open in a new window?

    Hey guys,
    I'm building a new website and decided to use Spry for the Gallery section. It works like a charm but I want to get the larger version of the image to open in a new window when someone clicks on the normal image? It shouldn't be that difficult but I'm lost. Can anyone help?
    I believe I have to put a <a href> infront of the image something like this:
    <div id="picture">
            <div id="mainImageOutline" style="width: 0px; height: 0px;"><a href="?????" target="_blank" id="??????"><img id="mainImage" alt="main image" src=""/></a></div>
      </div>
    and something to the XML file...
    <photo
    path = "1.jpg"
    width = "300"
    height = "400"
    thumbpath = "1.jpg"
    thumbwidth = "56"
    thumbheight = "75"
    large = "galleries/xyz/large/1.jpg"   <------- this is the large image I want to open in a new windows
    >
    </photo>
    thanks!!

    Actually, the site is for my friend and she really likes this Gallery: http://labs.adobe.com/technologies/spry/demos/gallery/index-air.html
    I just want to keep this one and just edit it, so when I click on the image it opens the large image...

  • Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL..

    Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL. However, if I right click on a link and select "Open Link In New Tab", the Tab shows URL in address bar. So it's working when it's a New Tab but not a New Window.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • PCUI - open New Window via Button (to call custom URL / HTML viewer)

    Hello group,
    I have followed the "Use CRM PCUI HTML viewer to call a custom URL" in order to create a custom URL to BW web template.
    However, instead of displaying the URL in a tab (this works fine), I want a Button in the Accounts view to open up a New Window displaying the URL there.
    Here is what I have done:
    Create Field Group & Structure
    Create Event
    - Usage: Layout-Relevant
    - Text: Web template call
    Added Event to Toolbar Group ACC_OIC
    Define Application Layout (CRMM_ACCOUNT) for Event
    - Position: New Window
    - Screen Element Type: HTML
    - my field group
    - my structure
    Define Application Set (COMM_BUPA)
    - my structure
    - my access class
    The button is there, when clicked the read-method of my access class is executed, but no New Window is opened with the URL displayed.
    Is there something I am missing? Can the HTML viewer not called in a new window?!
    I appreciate any input you can provide me.
    Thanks and regards,
    Erik

    I have the same problem. PCUI toolbar button open url http://www.google.com in new window   .
    It sames so easy open a link on web page.
    why so hard in PCUI !
    My god , who design the PCUI.
    anyone solve this problem , let me know please. Thanks!
    [email protected]

Maybe you are looking for

  • Printing a Special Message in ALV Report

    Hi, I have a requirement to print a special message in an ALV report. Customer wants to see this single line message between Report Header and ALV grid. This is a dynamic message to be displayed based on the values in the ALV table. Please suggest me

  • My "top sites" no longer display and I cannot make new ones appear. Why?

    I used to have Top Sites capability where my favorite websites were displayed as icons on one page so I could easily click the icon and go to that page. They disappeared in the last month and I cannot get them back nor can I create them again using t

  • My Time Machine external hard drive is not recognised anymore under 10.9.1

    Hi, I am running 10.9.1 on my MBP13" mid 2010. I plugged in my external hard drive (Western Digital Elements 500GB portable drive) and it is no longer recognised. This has been going on for a couple of weeks. TM says its not connected. Icon not on de

  • How Can I Get Videos I've Shot, Onto My PC?

    I've shot several videos I'd like to get onto my PC (iTouch 4th Gen). I read the iTouch .pdf docs, and it doesn't explain it very well. So how do I can I get my iTouch videos from my iTouch to a folder on my PC? Thanks for any help! Dan Kap, Whittier

  • WS-Security - Single element encryption ?

    Hi Guys, The credit card data is sensitive and we have messages going through XI which has CVV code the 3 digit code and since XI logs this, we are planning to use single element encryption (XML encryption) in the web service security. Customer asked