Output should open in new page

Hi,
I have a OAF page. I extended the controller which creates the button. When we click this button, it is calling a concurrent request and gets the output in pdf format and gives the option of open, save, and cancel. When we click open, the pdf file gets opened in the current page. How can I open the dialog open, save and cancel in another new page so that when the user clicks open, the page gets opened in the new page.
Thanks,
HC.

Duplicate

Similar Messages

  • To open a new page by appending some values

    Hi,
    I created a button and on click of the button it should open a new page based on a few flag conditions.There are 4 URL's which are stored in a standard table.Please let me know how i can open the page by using the respective URL and then appending the opportunity value to it.
    Thanks,
    Sirisha N

    To open url on button click, you can use the following example, that I used in one of my cases...
    Z P/L analysis
        ls_button-text     = 'P/L analysis monitor'.
        ls_button-tooltip = 'P/L analysis monitor'.
        lv_string1 = 'javascript:window.open( "'.
        lv_string2 = '" );'.
        CONCATENATE lv_string1
        lv_url2
        lv_object_id
        lv_string2
        INTO lv_string3.
        ls_button-on_client_click = lv_string3.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        APPEND ls_button TO rt_buttons.
        CLEAR ls_button.
    Comments:
    - lv_string3 represents the URL
    - lv_url2 contains the url of bsp component, which you can build manualy or read from any table with select single statement
    - lv_object_id represents the id of opportunity which you can read from BOL or with one of crm_order_read function modules
    Regards.

  • I have BSP Page.When i run it should open in new window .

    Hi friends,
    I have BSP Page.When i run it should open in new window .
    I want code also whatever i want i can able change  the height width .

    CLOSED

  • All of a sudden I can no longer open tabs by clicking "+" or right clicking on the tool bar. To open a new page, I have to open a whole newFirefox window. How can I fix this?

    All of a sudden I can no longer open tabs by clicking "+" or right clicking on the tool bar. To open a new page, I have to open a whole new Firefox window. How can I fix this?
    Also, Firefox crashes frequently. Is there a fix for this also?

    Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox 3.6 that prevents new tabs from being opened.
    There are a couple of places to check for the Ask toolbar:
    * Check the Windows Control panel for the Ask Toolbar - http://about.ask.com/apn/toolbar/docs/default/faq/en/ff/index.html#na4
    * Also check your list of extensions, you may be able to uninstall it from there - https://support.mozilla.com/kb/Uninstalling+add-ons
    For the second issue, the [[Firefox crashes]] support article may help.

  • Firefox is set to open a new page when a link is selected, however it opens underneath/behind

    Firefox is set to open a new page when a link is selected, however it opens underneath/behind the page containing the link. In other words I can't see the new page because it is beneath the one I'm looking at.
    75% of the time this happens, 25% of the time it works as it should.

    Do you mean that it is opening links in a new window? If you would rather have a new tab instead, you can set that in Options > Tabs. Some links are set up so that they will open in a new tab or window. I know of no way to make those open in the same tab, short of changing the code on the page.

  • Safari--open in new page--pop under?

    Is there a Safari preference setting that causes new pages to load under the one currently being read instead of on top? I like the sort-of tabbed browsing, but most often, I want to read the linked page only after I've finished the page I started with. As it is now, I see something I want to look at later, click open in new page and am automatically zipped over to it, so I have to switch back to the original page, then wait for it to reload. What sane person uses the Internet the way it does now?!?
    Should I submit it as a bug if there is no way to fix this?

    Easterling wrote:
    Is there a Safari preference setting that causes new pages to load under the one currently being read instead of on top? I like the sort-of tabbed browsing, but most often, I want to read the linked page only after I've finished the page I started with. As it is now, I see something I want to look at later, click open in new page and am automatically zipped over to it, so I have to switch back to the original page, then wait for it to reload. What sane person uses the Internet the way it does now?!?
    Should I submit it as a bug if there is no way to fix this?
    It's not a bug. It's how Mobile Safari works on the iPhone, iPod and iPad. I've gotten used to it, and I'm quite sane! It was annoying at first, now I don't even think about it. Remember, there's limited real estate on the iPad to implement everything we would want. It is supposed to be a stripped down version of a full powered browser, to make it load faster with less bandwidth, to make it visible on the screen, etc. I think it's a good compromise.
    But if you want to make a suggestion to improve it, go to http://www.apple.com/feedback/ipad.html

  • Flash website - need link to open in new page

    I created my web site in Flash and published it as an HTML file. It's a page that has thumbnails.  Clicking on a thumbnail should open a new window to view the full-size version. 
    When I play a SWF file and click on thumbnails, my project opens in a separate window.
    When I open my page (published in Flash as HTML) in Dreamweaver and view it in the browser, when I click on thumbnails, instead of opening a new window full-size version overrides the current window contents -- but there is no "back" tab on the content, and the browser "back" tab takes me to the home page rather than back to the previous window.
    How do I make it so that the link opens a new window (that can then be closed after viewing) rather than overriding the contents of the existing window after I publish my page as HTML file?
    Thanks for suggestions!

    My flash published html file works fine, I cannot open my thumbnails in a separate window when I open my HTML file in the browser from Dreamweaver.
    It doesn't even open in the different tab. It opens over my viewing page and I have to click "back" in the browser, but it goes back to the main menu not to previous viewing page.
    My thumbnails and links to the full-size files are in a separate XML file.
    Thanks again

  • Cannot open favourites using the Firefox tag that usually opens up the menu and a new page.. Now I get the dropdown menu but cannot open a new page, losing the homepage every time I explore, can you say WHY? all other versions worked fine!

    I cannot open a new page from the Firefox favorites menu, it worked before in other versions and this new 5.1 version, but stopped working a few days ago, uninstalled, downloaded a fresh program.. same problem exists. I usually leave my 'Home Page' as a stable page and just open 'new' pages for i.e. Google, Internet Banking etc. the '+' sign on my home page or other loaded pages does not operate, hate having to now constantly sign in to my hotmail home page if and when I open new pages, can you help?

    Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    * http://kb.mozillazine.org/Cookies

  • How to open a new page from a Spry Table click, with element info?

    Hello, Spry experts!
    This is probably simple, but I've searched for hours and can't find what I need. I'm using Dreamweaver CS4 and Spry 1.6.1 to create a simple Spry Table from an XML data set using PHP as my back end.  I've used Dreamweaver's Insert->Spry->Spry Data Set to create everything, and the table is working fine.  Colors, clicks, sorts, etc., are all working correctly as expected.
    What I want is to be able to add a behavior such that when a table row is clicked, I can open a new page.  Moreover, I want to pass a parameter from the table to the new page, like http://www.mydomain.com/newpage.php?aid=12345 or whatever.
    So, for example, my table has two columns, "a_id" and "a_name", and my repeat region looks like this:
    <div spry:region="xml_assignments">
    <table width="500">
    <tr>
    <th spry:sort="a_id" class="spry_header">ID</th>
    <th spry:sort="a_name" class="spry_header">Assignment</th>
    </tr>
    <tr spry:repeat="xml_assignments" spry:setrow="xml_assignments" spry:odd="spry_odd" spry:even="spry_even" spry:hover="spry_hover" spry:select="spry_select">
    <td>{a_id}</td>
    <td>{a_name}</td>
    </tr>
    </table>
    </div>
    What I want is to be able to open an entirely new URL, passing the value of the {a_id} in the selected row as a parameter to the new URL, as in something like:  http://www.mydomain.com/newpage.php?aid={a_id}
    So my questions are: 
    1. How best to apply the action to the table?  Add an onclick to the tr tag?  Something else?
    2. How to extract the {a_id} value from the current row and pass it as a parameter to the action?
    Or maybe just take another approach entirely?
    I know that I can make the actual text in the table cells hyperlinks, and use them to link to the new page, which is fine.  The desire here is just to make it so that the user can click "anywhere" on the table row (as they can currently do with the spry:select behavior) and have the link kick off, whether they actually click on the linked text or somewhere in the row where there is no text.
    I'm sure this is obvious and simple, but I'm new to this level of Spry detail, and my brain is fried from hunting.  Any guidance will be gratefully appreciated!
    Glen Barney

    I found the answer myself, after posting this, of course!
    I changed:
    <tr spry:repeat="xml_assignments" spry:setrow="xml_assignments" spry:odd="spry_odd" spry:even="spry_even" spry:hover="spry_hover" spry:select="spry_select">
    to
    <tr spry:repeat="xml_assignments" spry:setrow="xml_assignments" spry:odd="spry_odd" spry:even="spry_even" spry:hover="spry_hover" spry:select="spry_select" onclick="window.location.href='./newpage.php?aid={a_id}';">
    Basically just added the onclick parameter...
    And it all just worked!

  • Clicking on a link to open a new page or tab gives me a blank page.

    If I click on a link to open a new page or a new tab, the page that opens is always blank and no address is in the address bar. Also, occasionally, my refresh button is "grayed" out so I can't hit that either. I think this is some sort of security setting blocking it. Can anyone help.

    Thanks Jason, I had the same problem and did exactly the steps above. Problem solved! You rock! :)

  • I have an iPad 2, and every time ii attempt to open a new page "about blank" appears. What can I do to get rid of this from my system baring in mind that I am not particularly computer literate.  Many thanks

    I have an I pad 2, and when I attempt to open a new page "about blank" appears. What can I do to remove this from the system baring in mind that I am not particularly co outer literate.
    Many thanks

    Is this in safari?
    try going into settings, safari and clear history. You may also want to clear cookies (means you will need to sign back into sites)
    It's possible that that page is a popup ad of some sort that can't run, for example a flash based ad.  You may have picked the cookie up browsing the internet and now that it's in there the only way to get rid of it is to clear your history and cookies.

  • How do I change from AVG Secure Seach to Goggle as the default search enging bor the the search bar and when I open a new page?

    When I load Firefox, the default search engine goes to AVG Search. I'd like to change it so that the default search engine on the search bar is Google. In addition, when I one a new page, the new page home page defaults to AVG Search. I'd like opening a new page to default to Google. My initial home page goes to the Wall Street Journal, which I want to keep, but want to change for the search bar and when a new page is opened to Google.

    See:
    * https://support.mozilla.org/en-US/questions/810780#answer-185599

  • In Indesign I would like to be able to have the tools and the controls open automatically when I open a new page or document. Now I have to select them in the windows drop down.

    I do not want to have to choose these two controls or tools in InDesign each time I open a new page or doc. How can I make them open automatically?

    With nothing open, try pressing the tab key, and/or resetting the workspace.

  • When I click a link to open the page in new tab, it open the new page beside my page.

    After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab.
    Mmm…I could not make sure the new page or new tab I said is the same with you…?? (I use Chinese version so that I don’t know if it’s the same or not…)
    A window could open several pages with different tabs, and I could click different tab to different page, right?
    If I right clicked a link to open the page to “new tab” in the same window, the new tab opened in the last tab of my window.
    But after I update FireFox to version 3.6.8 and I click a link to open the page to “new tab” in the same windoe, the new tab will open beside my page. (Mmm…Open on right of my page.)
    I would like the “new tab” open to the last tab in my window, not “beside” the tab I used. How could I change the setting??)
    == This happened ==
    Every time Firefox opened
    == After I update FireFox to 3.6.8

    That feature isn't new to 3.6.8, it was changed in 3.6.
    Type '''about:config''' in the URL bar and hit Enter.
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''browser.tabs.insertRelatedAfterCurrent'''
    Double-click that preference to change the value to '''''false'''''

  • Menu bar button hyperlink to open a new page?

    I want to know if there is a way to add a hyperlink to a Menu bar button to open a new page showing a pdf file?

    To open url on button click, you can use the following example, that I used in one of my cases...
    Z P/L analysis
        ls_button-text     = 'P/L analysis monitor'.
        ls_button-tooltip = 'P/L analysis monitor'.
        lv_string1 = 'javascript:window.open( "'.
        lv_string2 = '" );'.
        CONCATENATE lv_string1
        lv_url2
        lv_object_id
        lv_string2
        INTO lv_string3.
        ls_button-on_client_click = lv_string3.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        APPEND ls_button TO rt_buttons.
        CLEAR ls_button.
    Comments:
    - lv_string3 represents the URL
    - lv_url2 contains the url of bsp component, which you can build manualy or read from any table with select single statement
    - lv_object_id represents the id of opportunity which you can read from BOL or with one of crm_order_read function modules
    Regards.

Maybe you are looking for

  • How do i cancel a username to use another

    my husband gave me his IPad2 and it is set up with his user ID, contacts, pictures etc.. How do I remove his information and set it up for my person use?

  • Goal Line Chart in Flex

    Hello All,   I'm creating a project that consists of flex chart componnents. However, client requires a goal line in the charts. I've googled allday on this and cant seem to find any samples. Is this even possible? If so, can you please lead me to th

  • Keep filenames in web gallery export

    Currently Bridge will generate random filenames when using the web gallery export tool. Drawback of this is that when we manually upload the new images to a server, they don't overwrite the old ones. Okay, it's a matter of remembering to delete the o

  • 16 x 9  vs.  4 x 3

    Why when I bring in footage from a widescreen DVD into FCP do I not have to set my sequence setting at 16x9?

  • Video has noise after compression

    Hi, does anyone know why my videos are showing up wavey after compression is complete?  The following is what's going on: Video files originally imported to FCPX at 1920x1080p.  I then realized I should have imported them at 720p per what has been su