New browser window in ADF

Hello to everyone,
I have a question for those who hava experience in this area.
So, I use ADF Task Flow model and my question is how can I open a new browser window from the task flow model?

Hi,
no need to post a single question twice: Open new browser window in ADF Task Flow
Frank

Similar Messages

  • Open new browser window in ADF Task Flow

    Hello to everyone,
    I have a question for those who have an experience in this area.
    So, I use ADF Task Flow model and my question is how can I open a new browser window from the task flow model?
    A know to use the abbreviation "dialog:" in navigation rules, but it opens just modal dialog.
    Thanks in advance.
    Dimitar Saykov

    Hi Frank,
    Thanks for your responce. I appreciated it.
    I've made what you told me to do and it works perfectly with unbounded task flow. But when I try to use bounded task flow in runtime i've had this error:
    oracle.adf.controller.ControllerException: ADFC-02001: ADF Controller cannot find '/WEB-INF/response-flow-definition'.
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:448)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:358)
         at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:170)
         at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:214)
    Here is my code:
    HashMap<String, Object> params = new HashMap<String, Object>();
    String taskflowId="RespEntity";
    String taskflowDocument="WEB-INF/response-flow-definition";
    String taskflowURL = ControllerContext.getInstance().getTaskFlowURL(false,new TaskFlowId(taskflowDocument,taskflowId), params);
    launchWindow(taskflowURL,true);
    So, do you know where I should put or register the definition of my bounded task flow "response-flow-definition.xml" ?
    Regards,
    Dimitar Saykov
    Edited by: saykov on Dec 4, 2008 7:55 PM
    Edited by: saykov on Dec 4, 2008 7:55 PM

  • Opening of an ADF applcn in a new browser window from another ADF applcn.

    The requirement is in the form of a usecase below, can you please let us know how could we resolve this.
    Let us consider we have two ADF applications A and B. Once ADF application A is rendered, in one of the pages of Application A there is a link which takes us to Application B. We want to open the ADF application B in a new browser window.
    There is one more restriction here, the first time the link in Application A is clicked it should bring up the Appliciation B in a new window say W2 , later on if the person clicks multiple links from Application A it should refresh the exisiting open window W2 with the Application B. i.e we do not want multiple windows to come up for a single link.
    I do see the commandlink has a usewindow=true ,this is the functionality we want. basically the first time the link is clicked a new window should pop up, later on every click of the command link we want to refresh the same open window which had come up the first time the command link was clicked.
    Edited by: user504058 on Nov 9, 2010 6:05 AM

    I did try using the Golink with targetFrame with all the values "_blank", "_parent", "_self" , "_top". with targetFrame value set as _blank it brings up multiple windows.
    Let me be more clearer, I do have application A in browser window say W1 and when i click a link from Application A present in browser window W1 the Application B should open up in new browser Window W2. And further on simaltaneous clicks on the link in Application1 should only refresh the Window2 with Application B.
    i.e, at any given time i want only two windows to be present i.e, W1 and W2.

  • New browser window

    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, Mauro

    repost

  • Disable menubar and location from popup dialog in new browser window

    How to hide the toolbar, menubar, location and status for the popup window (not inline, but new browser window style) using ADF 11g?
    Just like HTML javascript:
    window.open ('page.jsp', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')In ADF 11g, I have a jspx refered by a taskflow action with "dialog:" prefix, and I call it from a button like this:
    <af:commandToolbarButton text="Add"
    id="ctbAdd"
    action="dialog:create"
    useWindow="true"
    windowEmbedStyle="window"
    windowModalityType="applicationModal"
    windowHeight="400"
    windowWidth="600"
    />How to control the toolbar, menubar, location and status for the popup window?
    Thanks in advanced,
    Samson Fu

    I tried it but not success. My code as below:
        public void handleAddLaunch(LaunchEvent launchEvent) {
            launchEvent.getWindowProperties().put("toolbar", "no");
            launchEvent.getWindowProperties().put("menubar", "no");
            launchEvent.getWindowProperties().put("scrollbars", "no");
            launchEvent.getWindowProperties().put("resizable", "no");
            launchEvent.getWindowProperties().put("location", "no");
            launchEvent.getWindowProperties().put("status", "no");The popup windows contains all the toolbar, menubar, location...
    Is there any example or reference for the keys and values for getWindowProperties()?
    Regards,
    Samson Fu

  • Opening a bounded taskflow in a new browser window.

    Hello,
    I have links in my application that open the application in a new browser window.
    window.open(/MFRAME/faces/adf.task-flow?adf.tfId=moduleDataMan&adf.tfDoc=/WEB-INF/flows/moduleDataMan/moduleDataMan.xml, "w"+new Date().getTime());
    When I open the link in the new window all beans become with null values.
    It used to work before a big list of bug fixes. But somehow this broke. Any ideas what can be the issue. No errors in the log when I open a new window. The old window is working without problems. Only one of the bounded taskflows is working after open in a new window.
    Any ideas.
    Jdeveloper version 11.1.2.3.0

    <SCRIPT language="JAVASCRIPT">But this is a Java forum, not a Javascript forum.

  • Title in new browser window

    Hello,
    I wonder if someone can reproduce that one.
    I'm using this code to open a new browser window
    <af:commandMenuItem text="blabla" useWindow="true" action="add"
    id="dialogTrigger" windowWidth="800" windowHeight="600" />In that new window, the jspx page includes a template.
    Here is the starting code of that page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:trh="http://myfaces.apache.org/trinidad/html"
              xmlns:tr="http://myfaces.apache.org/trinidad">
        <jsp:directive.page contentType="text/html;"/>
      <f:view>
        <af:document title="blabla">
          <af:messages/>
          <af:form>
            <af:pageTemplate viewId="/WEB-INF/templates/popup.jspx">
    ...Every tag is closed at the end (double checked).
    The new browser window has for title "http://127.0.0.1:8988/app/index.jspx - Mozilla Firefox" but I think it should have "blabla - Mozilla Firefox".
    Correct me if I'm wrong?
    Also, the resulting HTML does not seem to be valid as an orphan closing tag </head> is found just after the opening <html> tag...

    Which tag library is referenced by your "afh" ?
    I can't see it in jdeveloper 11 ...
    According to the reference documentation for tag <af:document />:
    The UnifiedDocument creates each of the standard root elements of an HTML page: <html>, <body>, and <head>, but by abstracting away from those components, can be used in non-HTML pages as well. ...
    title
    String
    Yes
    the title of the document. (This title doesn't have to match the title on any contained panelPage. More on that:
    The generated HTML has a frameset included that points to the real page. Inside "onload" event, that frameset has a call to fixDialogTitle(). The embedded html page has the <title> defined by the <af:document title="fds">, so this works fine... so I guess the fixDialogTitle() function has to transfer the title from that embedded page to the parent one ?
    Message was edited by:
    Jean-Philippe Melanson

  • 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 advance

    Closing 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.
    Chris

    Several 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.com

    I'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&#1629842

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    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.

  • New browser window problem

    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.
    -Kelly

    Hi 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

Maybe you are looking for

  • Path in subdomain

    hello, I am developing web application with subdomain domain: www.mydomain.com subdomain: cms.mydomain.com in the subdomain is an a xx.jsp and I try to get I get the absoulute path in it     String myPath = request.getSession().getServletContext().ge

  • Font size and user form

    Hello, I'd like to know if somebody find a solution for the font size issue on user form. since BO 2005, the user can change the font size. the application will format all the controls of form with the good size. However, the layout does not follow v

  • Extraction time while updating the data from update rule

    Hello Friends, Can you please tell me that why it is taking more time while updating the data from update rule to data target. I believe that it is taking 40% of total extraction time. Is there any specific reason for it? Prompt reply will be appreci

  • Ws reliable message in OSB

    To utilize WS-ReliableMessaging in OSB, I created a OSB proxy by setting Protocol to ws and Get All Headers to Yes. When a message arrives, I want to extract all the header information in the message flow by querying $header. $header is always empty.

  • Why we does not have List.contains(E o) List.remove(E o)

    List class is having bool contains(Object o) bool remove(Object o) I was wondering why the List class doesn't have bool contains(Object o) bool remove(Object o) Isn't user will not protected by compiler if they try to do some wrong stuff? List<String