How to bring up a browser to a managed bean window?

I have a case of user like this:

The Web site of our home user login. He or she clicks a button. Control flow goes to a managed bean (MB here after) to check certain conditions. If the conditions are met, rather than return the user to the homepage, the user will receive a new web site (for example, forums.oracle.com) in a pop-up window on top of our place of origin.

Can we invoke a Web site in a popup adf? If so, how? If not, any idea on how to develop this use case?

Any idea is appreciated.

If you want to display the web site in a popup, you can use af:inlineFrame for the same thing:

Sample:

eventContext "Launcher" = >


**


Thank you
Nini

Tags: Java

Similar Questions

  • HOW TO BRING BACK THE BROWSER MORE OLD?

    REVISED ORIGINAL QUESTION =
    AFTER ALL THE ~ through the MESS you created and YOU in ME SAYING that "in order to have a chance to get the answer to my question ~ to give you ALL THE DETAILS I can ', you REFUSE to accept by saying, ' Please keep the length of your question to 255 characters or less...» » !!! You are ABLE to say that BEFORE I go through all the other MESS? HOW TO BRING BACK THE BROWSER MORE OLD?

    ISSUE INITIAL = I got SEVERAL plugins that WORKED! Then, I 'upgraded' {like you, LAUGHING, claim} to your version of Firefox 4 after promising to you that it is BETTER and, supposedly, an IMPROVEMENT over the old version. After you install the NEW one ~ IT TURNS OUT ALL MY PREVIOUS PLUGINS! Your WISHTHEYWUZ "PROGRAMMERS", very skillfully {and, in fact, HATEFULLY} uh, kinda "forgot" to make the new browser for COMPATIBILITY ASCENDANTE so that it does not DESTROY us, already, had ~ that WORKED before YOU put your hands on it! So, now, * HOW * I get the OLD version back? I think you need to KNOW what you can do with this new 'UPGRADE' which is, in fact, a LIE! UPGRADES don't take you BACKWARDS ~ make things WORSE ~ real upgrades make things BETTER! DUH-H-H!

    ORIGINAL DETAILS =
    I, recently bought, a new HP 4500 printer and it came with an extension to capture video/plugin. Attempt to use, the program informed me that I had to use, either, an IC or a Firefox browser mentioning the version1.5 {I think it was} or later. The Firefox browser I was using was 3.something; then, everything was going along FINE. When I installed the video capture program, she added the plugin for the browser ~ PERFECTLY! I had too MUCH other plugins that worked and I used somewhat regularly! NO MORE! YOU and your TOTALLY INEPTE, WISHTHEYWUZ 'PROGRAMMERS' STOLE half of my COMPUTER! I can't, is more, USE ALL OF THOSE PLUGINS, simply because you "forgot" {say} to INCLUDE in your new browser version 4. WHAT WAS WRONG WITH THEM? WHY DON'T * YOU * WANT ME TO BE ABLE TO USE THEM, MORE?

    Apparently, YOU think that the computer world revolves around YOU, and YOU are its AXIS! You feel that YOU have NO RESPONSIBILITY to make YOUR programs in no way compatible with what is already available ~ according to the "advice", I noticed on one of YOUR pages WHILE REACHING THIS ONE, you said that everyone must adapt to YOUR claimed "improvements" that are just DESTROY!

    All I want is for YOU to either MAKE YOUR VERSION 4 COMPATIBLE; or advise me on HOW to get the EARLIER back version that * IS * compatible. Otherwise, I'll switch to another browser and advise all the others that I have one any influence to do the same for the good of their overall computer enjoyment!

    PLEASE ADVISE!

    I see that you have provided this window} {below a space for, probably, a UNIQUE Extension / Plugin.} Therefore, a PARTIAL LIST follows ~

    ArcSoft video 2.0.0.8 Downloader extension
    Copy into Wordperfect Lightning 1.0
    Google Photos Screensaver 2.0
    HP Smart Web Printing 4.5
    iWinGames Plugin 1.5
    Microsoft.NET Framework Wizard 1.2.1
    2.0.0.11 RAW thumbnail viewer
    Real Player browser Record 1.1.3 Plugin
    TVU Player 2.5.3.1 Web
    Yahoo! Toolbar 2.1.3.20100310105313

    http://support.Mozilla.com/en-us/KB/installing+a+previous+version+of+Firefox

    http://www.Mozilla.com/en-us/Firefox/all-older.html

  • I hit a button and now this tab takes up the entire screen. How to bring back my browser?

    Website of the tab takes over the entire screen, even the line apps Windows downstairs. Hit the ESC does nothing. If I close FF and re - start, it goes back to the same state that it was when I killed him. Order No. FF buttons there so there is no way to reset it. The tab web site occupies the entire screen. Help! I use MS Internet Explorer to send this info that FF is currently useless.

    Sounds that you have enabled Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    If you are in full screen view then hover over with the mouse to the top of the screen to facilitate the bar appear Navigation and tab bar.

    Click the expand (in the top right Navigation bar) to exit full screen or right-click on a space empty on a toolbar and select "exit full screen" or press the F11 key.

  • How to get the value of varStatus in managed Bean

    Hi all

    I use jDeveloper 11.1.2.4 version.

    I had a table with table with departments view object. I added an extra column to the table to display the serial numbers of the lines like this.

    < af:table...

    varStatus = 'vs' rowSelection = "multiple" id = "t1" binding = "#{ReferenceBeans.departmentTable}"> "

    < af:column id = "c5" headerText = "varStatus" >

    < af:outputText value = "#{vs.index + 1}" id = "ot1" binding = "#{ReferenceBeans.varStatus}" / > "

    at the bean, I get all the values of the selected line, but I don't get the varStatus value of the column.

    If I use

    Object varStatus is getVarStatus () .getValue ();.

    System.out.println("varstatus::"+varStatus);

    That's the impression first value only, but not the values of the selected line.

    varStatus.jpg

    How to get the varStatus value in the bean selected lines.

    Best regards

    Claude Reynier.

    You can get the index of the line of the ViewObject.getRangeIndexOf (row) method. Something like this:

    empIter.getViewObject () .getRangeIndexOf (currentRow)

    example:

        RowKeySet selectedEmps = getTable().getSelectedRowKeys();
        Iterator selectedEmpIter = selectedEmps.iterator();
        DCBindingContainer bindings = (DCBindingContainer) BindingContext.getCurrent().getCurrentBindingsEntry();
        DCIteratorBinding empIter = bindings.findIteratorBinding("EmployeesView1Iterator");
        RowSetIterator empRSIter = empIter.getRowSetIterator();
        while (selectedEmpIter.hasNext())
        {
          Key key = (Key) ((List) selectedEmpIter.next()).get(0);
          Row currentRow = empRSIter.getRow(key);
          System.out.println("FirstName" + currentRow.getAttribute("FirstName") + "  - Row Index= " + (empIter.getViewObject().getRangeIndexOf(currentRow) + 1));
        }
    
  • How to communicate between JSP and jsf/jspx/managed bean using ADF11gR2

    Hello

    Scenario1.

    I use Jdeveloper 11 g R2, I am developing an application in the ADF. In our application, we implement of payment gateway.
    Application of the ADF, we call payment gateway.
    inside the payment2.jspx
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    * < af:commandButton text = "#{res ['makepayment_2.totalpaymentthroughknet ']}" id = "cb1" action = "#{makePayment2.callPaymentGatway}" / > * "
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    PaymentGatwayManagebean Method callPaymentGatway()
    public void callPaymentGatway() {
    > System.out.println ("Hi callKnetMethod method called");}
    > String payUrl, payId = null;
    > HashMap hm = new HashMap();
    > HttpServletRequest request = (HttpServletRequest) (JSFUtils.getFacesContext ()) .getExternalContext () .getRequest ();
    > logger.info ("-> callKnetMethod method called");
    > hm = KnetUtils.knetInitialize ("1", "2", "3", "4", "5", "6", "7");
    > payUrl = (String) hm.get ("PayUrl");
    > payId = (String) hm.get ("PayId");
    > request.setAttribute ("knetRedirect", "true");
    > try {}
    > KnetUtils.knetPay (payUrl, payId);
    >} catch (Exception e) {}
    > e.printStackTrace ();
    {>}
    }
    the above method called Paymentgateway after response from gateway payment successful return transaction with some data as the id of the transaction, the name of the Bank, amount, train etc. all data by adding to the URL
    Exodus http://192.168.102.41:7101/amificweb/faces/ami/repback.jsp?paymentId="+paymentId+"& result ="+ result +"& auth ="+ auth +"& ref ="+ ref +"& postdate ="+ post +"& trackid ="+ trackid +"& amp; tranid = "+ tranid + ' & udf1 =" + udf1 + ' & udf2 = ' + udf2 + ' & udf3 = "+ udf3 +" & udf4 = "+ udf4 +" & udf5 = "+ udf5;

    *Current repback.jsp page*
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    < %
    Payment gateway data take into repback.jsp
    > String paymentId = request.getParameter("paymentid");
    > String ErrorNo = request.getParameter("Error");
    > String udf1 = request.getParameter("udf1");
    > string udf2 = request.getParameter("udf2");
    > string udf3 = request.getParameter("udf3");
    > string udf4 = request.getParameter("udf4");
    > string udf5 = request.getParameter("udf5");
    > System.out.println (request.getParameter("result").toString ());
    > if (request.getParameter("result").equalsIgnoreCase ("CAPTURED")) {}
    > result = request.getParameter("result");
    > are later = request.getParameter ("postdate");
    > tranid = request.getParameter("tranid");
    > auth = request.getParameter("auth");
    > trackid = request.getParameter("trackid");
    > Ref = request.getParameter("ref");
    >
    > out.println ("REDIRECT = http://192.168.102.41:7101/amificweb/faces/ami/*voucherPrinting1.jsp*?paymentId="+paymentId+ "& result =" + result + "& auth =" + auth + "& > Ref =" + ref + "& > postdatent =" + postdatent + "& trackid =" + trackid + "& tranid =" + tranid + "& udf1 =" + udf1 + "& udf2 =" + udf2 + "& udf3 =" + udf3 + "& udf4 =" + udf4 + "& udf5 =" + udf5 "); {
    } else if (request.getParameter("result").equalsIgnoreCase ("CANCELED")) {
    > result = request.getParameter("result");}
    >
    out.println ("REDIRECT =http://192.168.102.41:7101/amificweb/faces/ami/Error1.jsp?paymentId=" + paymentId + "& result =" + result + "& ErrorText =" + ErrorText);
    >}
    > % >
    -
    In the present scenario I can redirect from repack.jsp to voucherPrinting1.jsp and I can take all of the data in the jsp page.

    But I want all the data * CallPaymentGatwayManagebean * method, how can I do. ?

    How communication between jsp and jsf, jsff, jspx, managedbean?



    Maroof

    You must save the config.xml file adfc bean in the scope of the request this ways you can call the method any page bean.

    Also have you tried using the pages in a taskflow with jspx and saving the bean in the taskflow which is a better approach?

  • How to get the value of the user interface component in managed Bean

    Hi people,

    How to access the value of a component managed bean?
    <af:inputText value="#{bindings.Name.inputValue}"
                            label="#{bindings..Name.hints.label}"
                            required="#{bindings..Name.hints.mandatory}"
                            columns="#{bindings.Name.hints.displayWidth}"
                            maximumLength="#{bindings..Name.hints.precision}"
                            shortDesc="#{bindings.Name.hints.tooltip}"
                            id="Name"
                            partialTriggers="Type">
                <f:validator binding="#{bindings.Name.validator}"/>
              </af:inputText>
    I want the input value of the component name.

    thnks

    You can use this in your managed bean

    ...
    // get the binding container
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    
    // get an ADF attributevalue from the ADF page definitions
    AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Name");
    String val = attr.getInputValue();
    
    ...
    

    Timo

  • New tab page to view the 15 links. Now it just shows 3. How to bring back the rest?

    New tab page to view the 15 links. Now it just shows 3. How to bring back the rest?

    You can zoom the subject: newtab page to resize tiles and tiles most enter on the page.

    • View > Zoom > Zoom out; CTRL and -
      'Zoom text only' should not have a tick

    This will affect all elements of the page, text so get more smaller institutions.
    Make sure that a tab with the subject: newtab page is open when you change the zoom of the page.
    Toggle the pref browser.newtab.preload false on the topic: config page in case of problems with remembering the zoom on the page of the on: newtab page.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

    See also:

  • How to bring back my Norton toolbar!

    How to bring back my Norton toolbar!

    Run Norton Live Update - several times if necessary.

  • email and electronic mail files are missing... How to bring them back?

    My Thunderbird account suddenly disappeared. I have Thunderbird back, but all of my saved emails are missing. Some of the Inbox went back to June 20, returned in a single account, but all the others are missing. Sent folder is empty like the others. I can find where the files are located on the computer, but I don't know how to bring back them to Thunderbird, if I'm right.

    I don't know if I've been hacked or whether it is a quirk that can be fixed. If anyone can help me, I'll be really grateful. Thank you!!!

    My best guess what happened was Thunderbird lost track of your profile (for some reason any) and started with a new clean profile.
    You could recover the existing profile, but since you already took the trouble to recreate your accounts, it is not necessary.

    I can find where are all the emails/files, but I can't find a way to restore them.

    Install this add-on.
    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

    Then you can it use to import existing e-mail files of the old profile. Note that e-mail files are those without file extension, for example, "Inbox" or "sent".

    If there is anything else, you can retrieve it from the old profile, see this article.
    http://KB.mozillazine.org/Transferring_data_to_a_new_profile_-_Thunderbird

  • How to anchor the console browser

    I feel like this is one these questions silly, but for the life of me I can't find the answer.
    The first time I opened the console to the browser (Ctrl + Shift + J) it was anchored at the bottom of the Web page I'm viewing. For some reason any it undocked himself and opens in a new window whenever I open it now.

    How can I get the browser console to anchor it at the bottom of the page again?

    Note that this is recorded in the pref devtools.toolbox.host (window, at the bottom) that is modified accordingly if you click on the toolbar buttons.

  • All of a sudden, the Yahoo homepage is different with Firefox. How to bring back the old home page? I prefer the one that is always displayed on Internet Explorer

    All of a sudden, the Yahoo homepage is different with Firefox. How to bring back the old home page? I prefer the one that is always displayed on Internet Explorer. I deleted Firefox and re-installed but the rest of the problem. Help, please.

    Well, it's a problem in your Firefox. To me this https://www.yahoo.com/ page looks like the screenshot of IE.

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Click the menu button

      , choose historic, then on clear recent history...

    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

  • How to bring back my old firefox?

    This weekend I stupidly installed the new Firefox. It came with loads of malware. How to bring back the old version?

    Must have downloaded some unofficial site, the official Firefox Firefox has no malware.

    Uninstalling Firefox

    Search the malware Firefox Refresh - reset the parameters and modules

    So download Firefox from getfirefox.com and install it

  • How can I change the browser title suffix "-Mozilla Firefox"? If I don't want to see the.

    How can I change the browser title suffix "-Mozilla Firefox"? If I want to change it.

    See:

  • How to enable webrtc Firefox browser support?

    How to enable webrtc Firefox browser support?

    Hello

    Please see this.

  • During the closure after a browsing session I find several windows behind the window of the main browser I have not opened and they must be closed individually. What is the cause and how can I stop it?

    During the closure after a browsing session I find several windows behind the window of the main browser I have not opened and they must be closed individually. What is the cause and how can I stop it? Edit

    These windows display ads? They could be 'pop-under' designed to show when you are finished with your main window. Orbitz has these, for example. Irritating. I'm not sure of the best solution, i.e., advertising blocker blocker vs.

    If they are not ads, can you think anyway that they are related to the sites you visit?

    In addition, to close a tab (or window, if there is only one tab), you can press Ctrl + w. could speed up the process of their release until you find a real solution.

Maybe you are looking for