Open another page with a button in popup

Hello



I'm a few examples from Denes Kubicek, and now I have a few questions.



This is the code I'm looking at: http://apex.oracle.com/pls/otn/f?p=31517:93, only the part of opening the Popup page.



JavaScript:doSubmit('SUBMIT_OPENER');

The "SUBMIT_OPENER" is the name of the button will be depressed or the parameter that will be passed on submit?

The button should be the region or in the region of points button and why?

Should I have an audit to check the witch key to this action of fire or of the function must be defined in the button? Where should be written?



popUp2 ('f? p = & APP_ID.:206: & SESSION.: P206_PAGE_TO_REFRESH: & APP_PAGE_ID.', 700, 700);



& APP_PAGE_ID is the ID of the page that I am or that will be open?

700 700 is the height and width?



The model of the page I want to open must be Popup?



Thanks for the attention,

Alan Martini.

Alan,

The URL should be javascript:popUp2('f?p=&APP_ID.:14:&SESSION.::NO::P14_PAGE_TO_REFRESH:&APP_PAGE_ID.',_700,_700);

You have not included "javascript:" in the URL.

If you want to send the page and open a popup, then you must use the two javascript:doSubmit('SUBMIT_OPENER'); and javascript:popUp2('f?p=&APP_ID.:14:&SESSION.::NO::P14_PAGE_TO_REFRESH:&APP_PAGE_ID.',_700,_700);

Thank you
Machaan

Tags: Database

Similar Questions

  • I want the user to click on a link on the home page that opens to another page with the corresponding ToolTip target openedon this page. How can I go about it?

    I tried to place an anchor in the target area and linked the link to the homepage on the anchor link and it did not work. Tried to tweak the name of the link: services / #managedservices and got a page fault.

    I want visitors to be able to click on a link 'service' on the home page and to open service page with the target already open for this service. Any suggestions? I'm open to sending screenshots and link to view.

    Thanks, Nichole

    You should have no problem link to an anchor on another page. Simply select the anchor point in the menu for hyperlinks. In the case, it may not work are if the anchor is in a tab or a sign of accordion or other gadget.

  • When I click on the download button opens a page with three small boxes, and I think that this means a wait, but they lasted more than two hours, unfortunately and I tried many things and each time gets the same, I work now want photoshop required a

    When I click on on the download button opens a page with three small boxes, and I think that it means a wait, but they lasted more than two hours, unfortunately and I tried much and each time gets the same thingit's working now, I want photoshop necessary and reminders even when I tried to buy the same thing happened to me Please I want to a quick solution

    Make sure that you have enabled cookies and clear your cache.  If he continues to not try to use a different browser.

  • When I open a web page any using firefox, its ok for a few minutes, then he opens another page saying it is redirected for no reason at all

    When I open a web page any using firefox, its ok for a few minutes, then he opens another page saying it is redirected for no reason at all, the homepage remains open, but the other page start for no reason at all in another tab

    It's very consistent, he arrives a few minutes? In this case, I suggest this test:

    To find out if one of your extensions is the culprit, could you test mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    Not all add-ons are disabled: Flash and other plugins still works

    After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).

    Any difference?

  • If I have a page on the computer and to open another page it starts outsmall and I have to type a Max to come to full page why?

    When I have a page up and to open another page it will appear to half way and I have to type max sign so he could see the full page.

    Hi AngeliaNovel,

    · With what application this behavior is displayed there?

    To work around this problem, try the steps:

    a. open the window you want to open in maximized and close by pressing the cross of the window button.

    The next time you open the window, it would open an enlarged page.

  • When I type in a search on the web for anything whether it's IE, eBay or Facebook my PC just redirects research and opens another page, how can I rectify this

    Original title: redirection

    When I type in a search on the web for anything whether it's IE, eBay or Facebook my PC just redirects research and opens another page, how can I rectify this

    Hi Mark,
    Your computer is probably infected by a virus. Try following the steps in this virus/malware removal guide: http://www.selectrealsecurity.com/malware-removal-guide
    It contains instructions which will remove most malware infections. If you have any questions, just ask me. I hope this helps you.
    Brian
  • How to change a text element to have a link that opens another page?

    Hello

    How to change a text element to have a link that opens another page?

    Thank you
    Guy

    Hi guy,

    It is quit simple
    in your P5_TASK_NAME
    in the first text section text element:

    [] 
    

    Replace ' # ' f? p = & APP_ID.: 2: & SESSION.

    in the post text element:

    
    

    and this is

    Published by: Martijnke on March 11, 2009 12:21

    Published by: Martijnke on March 11, 2009 12:22

  • Open the page with the data you have selected to another page

    Hello

    I think this might be a simple question, but everything I have tried does not seem to work.

    I am trying to open a second page in a list, with a value selected, to another list from another page. However, I tried all unique combinations of the tutorial but nothing works I don't know how to explain it so I have attached a diagram.

    the FilterDataContainer.qml and the FilterAlphaContainer.qml are identical except for the data query.

    I tried:

    -ControlDelegate with NavigationTab [AKA save the Green layer, FilteredDataContainer.qml like NavigationTab-> it turns out that white.] Is it because the list itself is inside a .qml file which is then within another container?

    -ComponentDefinition (documentation speaks to add it to the container, but I would like to create a new page;

    What would be the easiest way to make this work?

    Thank you!

    That didn't work either.

    I found the solution: http://supportforums.blackberry.com/t5/Native-Development/How-to-change-a-variable-of-an-attached-ob...

    Basically, I left my original code intact and in fact reloaded data :

    onQueryChanged {
    
    datasource.load()
    
    }
    

    Very weird roundabout and seems to have nothing to do with the IDs/types, etc., I thought it was!

  • Need to open another page jspx as model popup

    Hello world

    I have another question about the popups and model. I'm working on JDev 11gU2 ADFRC

    I have a model to my pages, and there is a link on my model to display information to the user. for this I need to get the info from the user database. so I have to make a definition of the page from my user information page.
    But the problem is when I click on the link my model info to open the information page for the user. It's not open and page refresh error.

    in fact in my model is the source of the page.
    <f:subview id="userInfo">
                <jsp:include page="/popUps/UserInfo.jspx"/>
    </f:subview>
    
    
    <af:commandNavigationItem text="UserInfo"
                                                  immediate="true">
     <af:showPopupBehavior popupId="::userInfo:popup1"
                                                triggerType="action"/>
     </af:commandNavigationItem>
    and in my account Info is the source of the 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:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_popUps_AccountDetailsPopUp-->
      <af:popup binding="#{backing_popUps_AccountDetailsPopUp.popup1}"
                      id="popup1">
              <af:dialog title="Account Detail" type="none"
                         inlineStyle="margin:0.5px,0,0,0.5px;"
                         closeIconVisible="#{!backing_popUps_AccountDetailsPopUp.editMode}"
                         partialTriggers="panelBox1 panelBox2 panelBox3"
                         binding="#{backing_popUps_AccountDetailsPopUp.dialog1}"
                         id="dialog1">
                <af:decorativeBox topHeight="25px"
                                  inlineStyle="margin:0.5px; height:460px;"
                                  theme="dark"
                                  binding="#{backing_popUps_AccountDetailsPopUp.decorativeBox1}"
                                  id="decorativeBox1">
                  <f:facet name="center">
                    <af:panelStretchLayout startWidth="5px" endWidth="0px"
                                           topHeight="0px" bottomHeight="0px"
                                           binding="#{backing_popUps_AccountDetailsPopUp.panelStretchLayout1}"
                                           id="panelStretchLayout1">
                      <f:facet name="center">
                        <af:decorativeBox theme="light"
                                          inlineStyle="height:430px; width:482px;"
                                          binding="#{backing_popUps_AccountDetailsPopUp.decorativeBox2}"
                                          id="decorativeBox2">
                          <f:facet name="center">
                            <af:panelGroupLayout xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                                 inlineStyle="padding:1%;"
                                                 partialTriggers="commandLink1 commandLink2 commandLink3 commandLink4 commandLink5 commandLink6 commandLink8 commandLink9 commandLink10"
                                                 binding="#{backing_popUps_AccountDetailsPopUp.panelGroupLayout1}"
                                                 id="panelGroupLayout1">
                              <af:panelBox text="Employee Information"
                                           partialTriggers="commandLink1 commandLink2 commandLink3"
                                           binding="#{backing_popUps_AccountDetailsPopUp.panelBox1}"
                              .
    .
    .
    .
    .
    .
                                           binding="#{backing_popUps_AccountDetailsPopUp.spacer2}"
                                           id="spacer2"/>
                              </f:facet>
                            </af:panelGroupLayout>
                          </f:facet>
                        </af:decorativeBox>
                      </f:facet>
                      <f:facet name="start">
                        <af:spacer width="10" height="10"
                                   binding="#{backing_popUps_AccountDetailsPopUp.spacer3}"
                                   id="spacer3"/>
                      </f:facet>
                    </af:panelStretchLayout>
                  </f:facet>
                  <f:facet name="top">
                    <af:panelGroupLayout binding="#{backing_popUps_AccountDetailsPopUp.panelGroupLayout8}"
                                         id="panelGroupLayout8">
                      <af:outputText value="Account Detail : 900101"
                                     inlineStyle="font-weight:bold; font-size:14px;"
                                     binding="#{backing_popUps_AccountDetailsPopUp.outputText10}"
                                     id="outputText10"/>
                    </af:panelGroupLayout>
                  </f:facet>
                </af:decorativeBox>
                <f:facet name="buttonBar">
                  <af:commandLink text="Close"
                                  inlineStyle="font-weight:bold; color:Blue;"
                                  disabled="#{backing_popUps_AccountDetailsPopUp.editMode}"
                                  partialTriggers="panelBox1 panelBox2 panelBox3"
                                  shortDesc="#{backing_popUps_AccountDetailsPopUp.editMode ? 'Can not close in edit mode...' : 'Close Window'}"
                                  binding="#{backing_popUps_AccountDetailsPopUp.commandLink11}"
                                  id="commandLink11">
                    <af:resetActionListener/>
                  </af:commandLink>
                </f:facet>
              </af:dialog>
            </af:popup>
    </jsp:root>
    In fact, I need to open a page in the world and I can't put this link to each page. while I put this on the model.
    I made a page popup too to logout of the application in the same way, this is the file to work, but the difference is that this page is not any def page.
    But account info page.
    I want to use without adding the dialog box: page ADF - config.Xml

    Any help to solve this problem?

    Thank you
    FIZZZ...

    Hello

    If you set the commandNavigationItem attribute partialSubmit = true, then that should solve the problem.

    Frank

  • When I open a new tab, it does not make to the top of my home page. It opens another page of sites search engine.

    When I click on the new button tab, a small cross, opens the new tab, it displays another page in search of sites, not my home page. I can't find the place where to tell him to open my homepage on all new tabs that are open from the tab bar.

    The basic build Firefox always open a blank page when you open a new tab.

    Maybe some Add on that you have changed this feature of Firefox which opens now all tabs in a different page. Here's what you need to do.

    Open Firefox-> go to Menu help-> select "restart with disabled modules.

    Firefox closes, then it will open with Firefox comes from base. The tabs will now open to a blank page. You can enable add-ons again and check if its not working properly.

  • Why Firefox opens another Page on Startup tab whenever I hit the home key (which lead me to my home page under the current tab)?

    When I type the original Firefox key brings back me to my home page (AOL), but also opens a new tab in Mozilla Firefox Start Page. I find myself with plenty of unwanted tabs.

    This has happened

    Each time Firefox opened

    is always

    Hello Ismahil.

    Please, check the following:
    Click on Tools > Options.
    Then click on general.
    Now, it must be said: http://aol.com/ (or similar), but please check if it has something after that. For example, if there is a | after him, who says FF open 2 pages when you press the home button: AOL and the other page, which in this case is a blank page.

    If you see a | in there, go ahead and set or remove, if you wish. If this isn't the case, please post here and let me know!

  • How to open a page with a parameter?

    Hello

    1. I have a page 1 and page 2.

    On page 1, there are two elements of text field.

    #1. input field

    #2. output field

    2. I call a stored procedure triggered by a button "submit" and set the output value of the stored procedure in the output field.

    3. I want to open a page 2 with the result field returned by a stored procedure.

    the value of the result of page field 1 is a primary key of page 2.

    I'm not an APEX developer full time. I have no problem with the #1 and #2 steps. But no idea how do with step #3.

    And when the result field is a certain value as "ERROR with validation of the input value", I don't want to open the page 2.

    Can someone show me how do?

    Thank you

    JonDaegu-Oracle wrote:

    1. I have a page 1 and page 2.

    On page 1, there are two elements of text field.

    #1. input field

    #2. output field

    2. I call a stored procedure triggered by a button "submit" and set the output value of the stored procedure in the output field.

    3. I want to open a page 2 with the result field returned by a stored procedure.

    the value of the result of page field 1 is a primary key of page 2.

    I'm not an APEX developer full time. I have no problem with the #1 and #2 steps. But no idea how do with step #3.

    And when the result field is a certain value as "ERROR with validation of the input value", I don't want to open the page 2.

    Can someone show me how do?

    Create a conditional branch on page 1:

    Point of connection: To present: after treatment (after calculation, Validation and treatment)

    Branch of Type: Branch to the Page or URL

    Direction of the target: This Application page

    Page: 2

    The value of these items:

    With these values: (use a substitution of static text reference: &P1_ITEM_NAME. )

    When you press the button:

    Condition of Type: PL/SQL expression

    Expression 1: : not like 'ERROR%' (use a variable binding reference: :P1_ITEM_NAME )

    Conditions and the branches are important concepts and you should familiarize yourself with them regardless of your level of involvement with APEX.

  • Passing a value of item to another page via the button set to redirect to the page

    Hello

    I'm new to APEX and I develop an application to manage Oracle database user accounts.  I have a (8) page that has text elements for the user name and the database name.  I have a submit button (this works very well) who deliver... the ALTER USER statement to reset his password and unlock the account.  I have another button that if:

    1. get the value of username - P8_USERNAME
    2. assign to an element of application - FIND_USER_IN_DB
    3. redirect the page application - page 11

    The issue is that FIND_USER_IN_DB does not get filled and page 11 which is a simple report with the following query:

    SELECT *.

    OF valid_db

    WHERE username =: FIND_USER_IN_DB;

    How to achieve this?

    Thanks for your help.

    Steve

    A page redirect is actually nothing more than the rendering of an anchor tag or call apex.navigation.redirect. The link provided by these is generated when the page is rendered. Thus, when the page is rendered (in charge) and P8_USERNAME session state is NULL, then the link will be an empty value. There is nothing sad about the fact that when you change the value of the element on a page that session state will not change automatically and it's just about understanding session state.

    Let's say that you will present the session before the redirection if status point. Would it change anything? N ° the link, as I pointed out, has already been made, and no substitution of session state not be made on a redirect.

    You'd better be off by submitting the page via the button instead of a redirect. This will set the session state of your object to the desired value. You can then use a branch to redirect to the correct page setting the value of an element whose state of session of P8_USERNAME. You can even choose to use a process or a calculation to set the value of the application instead of by a link element, so that you can keep the application not manipulable by the user element.

  • Form to redirect to another Page with SSL

    I redirect a form submit button to another page on an SSL site, but redirected page becomes secure.

    Here's what I now < input type = "hidden" name = "redirect" value = "RPB_payments.html" / > "

    Worse still, when I use the full URL (https://payments.eventlightingonline.com/RPB_payments.html) result with "not found".

    In other words, when a visitor clicks on the button submit on this page https://payments.eventlightingonline.com/RPB_bookings.html he should go to this page https://payments.eventlightingonline.com/RPB_payments.html and remain secure.

    Any suggestions?

    Thank you!

    GDform.php is not sufficient for your needs.   GD has a webformmailer.php who seems to have more features.

    http://support.GoDaddy.com/help/article/510/using-PHP-form-mailers

    That said, you can get much better security & protection anti-spam if you use another PHP script like this master DB.

    FormM@ailer PHP Master DB

    http://dbmasters.NET/index.php?ID=4

    Nancy O.

  • Redirect to another page with parameter passing using the POST method

    Hello

    I need to redirect to another page and pass parameters to it with the POST (not GET) method. How can I do?

    So far, I tried the 2 options and none of them works very well:
    1. I wrote a pl/sql procedure, but if I run it, then the page runs on my server application instead of actually going to another page in another server (I see the neame of the procedure in the web browser's address bar). Is there a way to work around a bit so that really, it goes to another page and pass the variables?

    procedure do_post)
    p_api_url in varchar2)
    is
    l_http_req utl_http.req;
    l_http_resp utl_http.resp;
    l_response varchar2 (4000);
    l_post varchar2 (4000);
    v_line varchar2 (4000);
    v_wallet varchar2 (100): = "file:/etc/ORACLE/WALLETS/oracle5";
    v_wallet_pwd varchar2 (100): = "test1234".
    Start
    l_post: = ' VK_SERVICE = 1001 & VK_VERSION = 008 & VK_SND_ID = testvpos & VK_STAMP = 88';

    Utl_http.set_Proxy (apex_application.g_proxy_server, NULL);
    Utl_http.set_persistent_conn_support (true);
    Utl_http.set_transfer_timeout (300);
    Utl_http.set_wallet (v_wallet, v_wallet_pwd);
    l_http_req: = utl_http.begin_request (p_api_url, 'POST');
    Utl_http.set_header (l_http_req, "Proxy-Connection ',' Keep-Alive'");
    Utl_http.set_header ("l_http_req, 'Content-Type', ' application/x-www-formulaires-urlencoded; charset = utf-8 ');
    Utl_http.set_header (l_http_req, "Content-Length", length (l_post) ");
    Utl_http.write_text (l_http_req, l_post);
    l_http_resp: = utl_http.get_response (l_http_req);

    LOOP
    Utl_http.read_line (l_http_resp, v_line, TRUE);
    HTP.p (v_line);
    END LOOP;
    Utl_http.end_response (l_http_resp);

    EXCEPTION
    WHEN utl_http.end_of_body THEN
    Utl_http.end_response (l_http_resp);
    end do_post;


    2. the second option, I tried is to put this script to my page of request code:

    < name of the form = 'mounted' action = 'https://www.somekindofurl.com/cgi-bin/dv.sh/un3min.r. '
    method = "POST" target = "_top" >
    < input type = "hidden" name = "VK_SERVICE" value = "1001" >
    < input type = "hidden" name = "VK_VERSION" value = "008" >
    < input type = "hidden" name = "VK_SND_ID" value = "testvpos" >
    < input type = "hidden" name = "VK_STAMP" value = "88" >
    < input type = "submit" value = "Let's's Pay" >
    < / make >

    < / make >

    But it does not work as APEX has its own system of Forms control. Is it possible to play? I tried to delete #FORM # of page templates and it works fine then. The problem is that I have other forms on the page as well (login form + search form) so I can't remove this manipulation of shape native APEX. Is it possible to play with it?


    Thank you much in advance.

    Hi Ibenarobeno,

    Your form can live at the end of the page with all the hidden items.

    You can then control with buttons and fields within the form of the Apex.
    through a bit of javascript.

    Concerning

    Michael

Maybe you are looking for

  • How to find and use my bluetooth Toshiba A100-811

    I bought a Toshiba A100-811 when using, I can't find my Bluetooth on my laptop usually I easily see the bluetooth on other brands of laptop. There is also one thing I notice here is that on the left side exhaust fan, and everytime I open my laptop it

  • Calibrate Image - dialogue

    Hi all! There is a very usable in Vision Assistant called dialogue: Image calibration.  I would like to ask, how can I call this dialog box from my LV code with a few settings?

  • No device found Boot

    Acer laptop: v3 - 551 G - X 419 Hello Problems with the bios. Disabled the power button one night and now there are no bootable devices found. At the start of tours on the property, then a screen indicating there are no bootable devices found and inv

  • DeskJet 3512: Deskjet 3512 Setup but no device can connect

    I recently had to restore and set up my existing router and today is the first time I tried to use the printer. I went through the installation of HP using installation downloaded from HP. He leans on the printer that the printer is connected to my w

  • Impossible to configure the WRT54GX router

    I had to change ISP from AT & T to Covad and am unable toreconfigure my WRT54GX router. I can access the internet directly viathe DSL modem. I am running Windows XP. I did a hard reset on the router. I can run the CD-ROM basedutility, but trying to s