Open a report in new window ADF 11g

I am trying to open a report in a new window. The problem is that I am having a link in a .jsff file when I click this link I go to another view activity using dialog: outcome and in the constructor of the backing for the target page I write the following code:
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletRequest request = (HttpServletRequest) ectx.getRequest();
String temp = "http://localhost:7101/cms/report";
try {
ectx.redirect(temp);
} catch (IOException e) {
This code was working fine with ADF 10g but in 11g this code throws for me ResponseAlreadyCommit exception. I think that this is coming because .jsff is using PPR and this is not a full request but it is XMLRequest.
SO, I tried to use the URL activity and make an outcome to this URL view activity BUT although the report appears but it is not displayed in a new window
I can't use a javascript because to open a new window because some processing is done in the backing bean for the report parameters send from the page.
Please any suggestion for this
Thanks in advance

Hi,
one option I would see is to create a task flow that uses a JSPX page. The input parameter for this page would pass in the URL to call. Then you configure the task flow to be called from a call activity in the bounded task flow with the page fragment. On the task flow call activity configure it to open in a separate window
Frank

Similar Messages

  • How to open Jasper report in New window (new Browser,new Tab)

    Hi,
    I'm Using oracle jdeveloper 11.1.1.4.0 fusion middleware for Jasper report. i want to open the Jasper report in new window
    In Application On click of CommandMenuItem(ExportToHTML)it opens the New Window,.While opnening this window i want to call a method (This method opens the jasper report in current browser)
    I Tried the afterPhase and beforePhase for this but doesnt work for me.while executing this using beforePhase I'm getting following Exception :
    Pls Help on this.Thanks in Advance......!!
    Java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
    at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
    at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:112)
    at ReportsDisplayBean.exportHtmlReport(ReportsDisplayBean.java:272)Is any other way to do this ? :(
    Thanks.

    Hi,
    The view itself is a Web Part called an XSLT List View Web Part (XLV for short). This Web Part is stored on an ASPX page that is by default associated with a list or library on your site.
    I suggest you can check if the view page is valid, also, you can try to create another view, then redirect to the view page to see if there is xslt in the page.
    Here are some detailed articels for your reference:
    Create a custom list view using SharePoint Designer
    Using SharePoint Designer 2010 to Work with Web Parts
    How to: Customize the Rendering of a Field on a List View
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Open Sub Report in New Window

    Hi,
    We have an application which is integrated with crystal reports.
    So when you open a report from the application it opens up in a new window. (Ours is a web based application and crystal reports opens up in IE browser)
    We have some reports which have subreports (on demand ), is there any crystal report configuration through which these subreports can be opened in a new window, as of now they open in the same main report window.
    Thanks in advance

    hello,
    you may wish to look into saving the subreport as a separate report and then:
    1) calling the report via opendocument (if your app sits on top of businessobjects enterprise or crystal reports server)
    2) calling the report via URL reporting if your app does not utilize the above platforms
    i can't guarantee the above will work as it may depend on your environment that you are hosting the reports in.
    see the help guide [here |http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]for more information on linking
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
    as per using a subreport and opening in a new window, this doesn't really work.
    if you want though, you can use a Report Part link to go from the open subreport back to the main report. please see more on Report Part linking in your crystal report's online help.
    jw

  • Open oracle report in new window from method

    Hi,
    I have a requirement to do some stuff in the view object, save changes, launch an oracle report 10g in a new window, and then navigate to a new page on a SINGLE button press.
    I can get all this done using a command button to call may backing bean and a goButton to launch my report, but need to combine these into a single button.
    My question is, is there any way to launch my new window and report from the backing bean?
    Or is there some other way to accomplish these requirements?
    this is a JSF/BC app, jdev 10.1.3.3
    Thanks,
    Jim

    What if I have to do validation against the inputs that are used to dynamically generate the report url in the backing bean when clicking the "Button". I couldn't see there is a way for <af:goButton> to implement that. I think there should be some kind of action or listener in the backing where I can do the validation before I decide to open the new window for report.
    I searched the forum and there is a post that will use a form to open the report window using target="_blank" in the form's attribute, but that works only if we don't have to validate the inputs.
    I also tried to find a solution that will open a new windows in the backing bean by invoking a javascript, that javascript function will have the report url generated in the backing bean as the parameter. But so far, I couldn't find one with my ADF version 10.1.3.2.0. It looks like that in ADF 11, this approach might be feasible.
    Any idea, hints?

  • Need to open click through SSRS report in new window

    Hello :)
    I have a click through report and the requirement that I have is that I should be able to open it in a new window. The report has lot of parameters and I tried to use this query but it gives me error that parameter is missing
    ="javascript:void(window.open('http://reportservername/Reports/Pages/Report.aspx?ItemPath=%Reports%&rs:Command=Render &Parameter1="+Parameters!Parameter1.Value+"&Parameter2=" + Parameters!Parameter2.Value +
    "&Parameter3=" + Parameters!Parameter3.Value+"'))"
    It does open the report in new window, however it says that parameter is missing.....(few parameters are dates and few strings). Please any help would be very appreciated.
    Thanks!!!
    Malini

    Hi,
    You need to use the URL of report server rather than report manager. Modify the URL like:
    ="javascript:void(window.open('http://servername/ReportServer/Pages/ReportViewer.aspx?%2ffolder_name%2fdrillthrough_report_name&rs:Command=Render
    Reference:
    http://msdn.microsoft.com/en-us/library/ms155391.aspx
    http://msprojectnow.com/Blog/tabid/142/entryid/367/SQL-Reporting-Services-2008-R2-Using-URLs-to-call-reports-with-single-and-Multi-value-parameters-HTML-and-Report-Viewer-applicable.aspx
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • Open "Navigate" enabled report in new window - OBI10g.

    Hello Experts,
    May be its novice user question, i have 2 reports, source and target reports. Both reports are connected using "Navigate" functionality.
    Issue is, i wan to open the target report in new window? is that possible?
    using GO URL: we have an option like target='_blank'. but in navigate.. what is the option?
    Thanks in advance....
    Regards,
    Kiran

    The Navigate feature can be modified to open targets in a new window by following the below steps:
    - Edit OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\viewhelper.js
    - Search for function NavigateInfo()
    - Find the line with code this.sWindowTarget = "_self";
    - Replace the line as this.sWindowTarget = "_blank";
    - Clear the browser cache and reload the page.
    The navigation targets will now open in a new window.

  • How can I put OSX 10.7 on a new Macbook Air. Maverick no longer allows "open file in a new window" and I really miss it. At the Apple Store they told me it can't be added to the new OSX 10.10 so I  want to change the OSX on the new Macbook Air and it

    I have been using a 2012 Mac pro to do HD video editing. I bought a new portable Macbook Air only to find that Maverick no longer has "open files in a new window" which I use all the time in the very large folders of video clips and royalty-free music. I asked at the Apple Store how I could get this back on the Macbook Air and they said it couldn't be done so I thought I would re-format the HD and install 10.7 on it and was notified by the Macbook Air I can't put 10.7 on that computer. Apple use to give this as an option but now they have gone more to the attitude of "Do it our way or go to ****!" In anger I went out and bought a Dell Laptop and Pinnacle Studio 17 which I have been learning to use. I have been an Apple/Mac user since 1979 and would still rather do my video editing on a Mac. Is there any way that I can force the Macbook Air to let me load in OSX 10.7 where there is still the option to  "open files in a new window" or is there a way to add this to Maverick? The experts at the Madison, WI Couldn't give me any help on this.

    Choose Preferences from the Finder menu, click on the General tab, and uncheck the box to open folders in a new tab.
    (117195)

  • I would like to open links in a new window but cannot find where to put the setting. Have unchecked the "Open new windows in new tab instead" box in the Options dialog box.

    When I click a link on a webpage or other software, I would like for it to open in a completely new window.

    You can hold the Shift key and click the left mouse button a link to open that link in a new window.
    The setting in Tools > Options > Tabs is only for links that specify a target window and you can divert such a link to a new tab instead.

  • Open URL in a new window by closing the parent window

    Hi Friends,
    Is there any option to open URL in a new window by closing the parent window on a button click?
    Already implemented the logics suggested in /people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications , the thread ' URL in same window '  and the standard component WDR_TEST_EXIT_PLUG .But button is not triggerring any actions .plz help me  ..............
    Regards,
    Radhika

    hi,
    Do the following steps :
    -> Make an Outbound Plug to the Window.
    ->Make the type of Outbound plug to Exit Type.
    ->Add URL of type String as a parameter to the outbound plug of Window.
    ->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
    To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
    DATA lo_zexit TYPE REF TO ig_zexit .   <zexit is name of my Component>
    lo_zexit =   wd_this->get_zexit_ctr( ).
      lo_zexit->fire_out_window_plg(
        url =   'http://www.google.com'                            " string
    I hope it helps.
    Thanx.

  • Issue while opening Shop Link in New Window

    Hi All,
    Recently We have upgraded SRM5.0 to 7.0 and now we are using Portal for Front end application. We have configure the SRM appliation in Portal EP 7.0.
    Now i can fetch the data from SRM but problem is when i am opening Shop Link ( Employee Self Serviece --> Shopping Area ) in new window then it's navigating to Home Page instead of opening the Shop application.
    When i am opening the Shop Link in Content area that time its opening correctly.
    Can you please assist us how we can resolve this issue when i am opening Shop link in new window.
    Regards,
    Rahul Sanas.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Firefox will not open tabs in a new window

    When I right click a tab, and select the option "Open in a new window", Firefox does not respond.
    I can add as many tabs as I like, but can not open them in a new window.
    I can also right click a link and open it in a new tab, but Firefox does not do anything when I try to open the link in a new window.
    I reinstalled Firefox on my computer, and also updated Java and it did not solve the problem.
    This started happening about a week ago for no apparent reason.

    First check to see if an add-on is causing this problem, for details on how to do that see the [[troubleshooting extensions and themes]] article.
    If that does not help, try creating a new profile. Firefox stores user data in the profile folder, creating a new profile will show if the problem is with the old profile. For how to do that see [http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows Creating a new Firefox profile on Windows]. If the new profile works, you can transfer select data such as bookmarks and passwords to the new profile. DO not copy the preferences file, and it is best to re-install add-ons. For details of how to do that see [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox transferring data to a new profile].

  • How do I make Firefox not open the homepage in new windows?

    Hi. I have a collection of 4 pages set to open every time I start Firefox. Whenever I need to open a new window, my 4 pages open again.
    I would like to have those 4 pages open only the first time I start the browser, because I never close them. Obviously I don't need them open again.
    How can I set it so that these 4 pages open the first time I start my browser, but only have a blank page open the next time I select "open new window."
    Even more ideal would be to have the choice to open my homepages or a blank page (in case for some reason they do get closed).
    Any solution that takes more than one extra step is one extra step too many. Otherwise, I'd simply just x out of three of my pages and change the URL of the 4th.
    I'm not entirely technically minded, so if yours is a technical solution, I thank you in advance for clearly laying out the steps one-by one.
    Cheers.

    One possibility would be to change how you open a new window. You can create a bookmark for Firefox's '''about:blank''' page and then, to open it in a new window, shift+click the bookmark.
    (To create it, right-click the Bookmarks Toolbar or Bookmarks Menu near where you want to add it and choose New Bookmark. Enter about:blank in the Location and any description you like in the Name, then click Add Bookmark.)
    But that might be difficult to remember or inconvenient, so the next thought would be to bookmark your 4 home pages as a group in a single folder on your Bookmarks Toolbar or Bookmarks Menu, as you prefer. If you ''middle-click'' that folder with the mouse scroll wheel, Firefox will open all of its pages in separate tabs in the same window. Does that still count as 1 step?
    (To create it, open a new window with your four tabs. Right-click any of the tabs and choose Bookmark All Tabs. This will create the new folder. Assuming it tests out, you can then change your Firefox home page to about:blank to display a blank page.)
    Are we getting closer?

  • When I choose to open a new tab from a website, such as facebook, it always opens it in a new window. How do I change this to just opening a new tab. I tried changing the tab settings but it did not work

    When I choose to open a new tab from a website, such as facebook, it always opens it in a new window. How do I change this to just opening a new tab. I tried changing the tab settings but it did not work. I did not have the problem until I started using firefox 4.

    It is probably a JavaScript link.
    You can probably force it where you want it with a keyboard shortcut
    either "Ctrl+click" or "Ctrl+Shift+click". see
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
    ''Did that work?''
    Some styles that provide a warning as to the type of link:
    * No Follow links, mouseover id of other links - userstyles.org<br>http://userstyles.org/styles/10987
    * Change cursor on some links with JS. - userstyles.org<br>http://userstyles.org/styles/233
    * Link Warning - Themes and Skins for Mozilla - userstyles.org<br>http://userstyles.org/styles/1301
    * Link warning (cursor hover) - various filetypes - userstyles.org<br>http://userstyles.org/styles/2538
    * Red hand cursor for .pdf links - userstyles.org<br>http://userstyles.org/styles/553

  • Windows Explorer always opens folders in a new window

    Yes, yes, I've googled it already.  And bing-ed it just for fun too.
    This doesn't work:
    http://windowsxp.mvps.org/samewindow.htm
    Nor does this:
    http://blog.hansmelis.be/2009/05/17/windows-vista-explorer-opens-folders-in-a-new-window/
    Yes, yes, I've checked the Open in same folder option in folder options.
    I've used shellex to disable context menu items.
    I've rebooted a hundred times.
    This is rediculous.  Windows should only recognize ONE setting for this and that is the one in folder options.  Anything else that affects it is a BUG!
    I'm on build 7100 RC.
    And I'm quite frustrated with this.
    Please help!
    Jared

    <<...tried to import the key from that known-good windows installation ...... (but
    was 64bits)...>>
    importing x64 keys to an x86 installation may not work.  HKLM\WOW6432Node\Classes\Interface would have to be combined with (overwrite)
    the standard location and then that be copied/imported to the x86 install.  Even then, there might be some unanticipated problems. 
    It's good that you had a registry backup available in system restore.  Although I like the inherent security and reliability in the Vista/Win7 system restore implementations, one thing that I miss was being able to pluck only the registry files from
    a restore point; like I used to do with WinXP.
    <<...Yes, my case is precisely (Windows Explorer always opens folders in a new window) on
    Win7. ....>>
    Also, that is too general.  There is more nitty-gritty details that have to be verified, such as whether the issue is per-user,
    or whether the "Explore" option is in bold and works properly when manually selected.  In a lot of cases, that simply may not be in bold which means it's no longer the default action on double-click.  (requires different set of steps to resolve,
    focusing on another part of the registry)  But from what you've stated on JAVA update 20, there well could be some changes to the HKLM portion of that Interface key... don't know.  A before and after registry compare usually helps pin down the issue.
    EDIT 10y04m24d_130735:
     One other thing that occurs to me, is that the dreaded Yahoo toolbar often installs with Sun Microsystems's JAVA.  I've removed such toolbars on many browsers because they render IE8 unstable/unreliable with occasional to routine freezes/crashes.

  • Opening PDF Document in New Window

    Hi,
    I have requirement to open pdf document in new window. I'm using Travel Expense form. I'm using the FM PTRM_WEB_FORM_PDF_GET. When I give 'X' to i_display_form, it displays the pdf document in same session or window. But I would like to open the pdf file in new window.
    The FM gives me pdf data of type RAWSTRING. Is there any FM or class where I can pass this data and open it in New Window.
    Can anyone please suggest on this.
    Regards,
    JMB

    download it using  gui_download and use cl_gui_frontend_services=>execute to execute that pdf file

Maybe you are looking for

  • Unable to adjust backlight in target display mode

    Hi. I am using my 27" iMac as a display on my windows computer and i can nolonger change the display brightness with F1/F2 on the imac keyboard. After a bit of reading ive discovered that its a fault introduced in 10.6.8 that seems to not be addresse

  • Apps cause crash

    I recently bought the Lumia 800 and opening just about anything on it causes problems. Broadly speaking, one of two things will happen. 1. Texts, emails and people will work alright for a while but after a bit whenever I try and open them the screen

  • ERP databases on clouds

    Hi All, I am currently in process of writing my dissertation on "Strategy for migrating ERP databases on clouds". I did some research on traditional ERP vendors like SAP and cloud erp vendors Compiere, As a simple conclusion I can see that majority o

  • Windows 2003 Server Mounts as a Package. Why?

    This is a weird one. Y'all tell me how its even possible. At work, we have a Windows 2003 Server-based server. For the Mac's, we have two shared folders. Now, one of our Macs is a finely aged 800mhz G4 Quicksilver running 10.3.9. It has recently deve

  • Transfering from mini to nano

    Hey guys, I'm new to these boards, but I have a super quick (and probably easy) question. Is it possible, for me to plug both my iPod mini and iPod nano in, and somehow grab all the songs from my mini and put them right on to my nano? I'm not longer