Redirect button AND perform the dynamic action

Hello

I use Oracle 11 g and Apex 4.2.2

It could be a matter of beginners (but that's what I'm ;-)) but I'll ask anyway.

I created a button and can "redirect to the Page in this application" in the section "Action when the button clicked" or select "defined by the dynamic Action."

Is there a way to select "Redirect."... "AND run the SQL Code?

This is exactly the situation that I was considering. You start at the apex (which means don't not offensively or anything like that) and so the concept of session state can still be fresh for you. Telling me where you're just complicates things for yourself.

Why do you, or makes you think, that you need to run plsql in dynamic action first and then redirect the page?

Running code plsql already involves tracking session state and would require the value of the required items on the server. Running WHAT PLSQL is on the side server, if a call should be made. Given that you want to redirect afterwards, the call should happen synchronously, IE make the browser wait the result in order to continue to the next step. A redirect will just tell the server to send the new page to you.

So why would not just use a send page? A page sent will submit all values of item on the server and thus session state. You can use the values of calculation and validation processes and never worry about having properly put it. You can filter out inappropriate process etc. According to the values of query (for example submit) so no problem there. Finally, a branch should redirect you to the target page. Remember, a branch is a part too and is essentially a redirect server-side. Find yourself on your new page without problem really and just send 1 page (send page, get another back essentially).

That said, I simply don't consider a dynamic action. It is useless to laregely here and creates more problems than is useful to review more.

What you have now is to redirect the client to another page, but in the process, you have lost everything from the original page. No values are stored in the session to all State: no save manual to submit State or session page. Add the element to the redirect link doesn't work either, as the link is built during rendering and is not dynamic (so no ' regenerated' link when you click it).

Again, I advise you to:

-put the button to send the page

-create a process after you submit and run your plsql code

-create a branch to a point after the process and set it to redirect to the target page

or

-put the button to send the page

-create a branch set up to redirect to the target page

-create a process on the target page and run your plsql code (but be aware that it may have to be executed conditionally)

There are several traps on session state, so when you feel better grasp it. Page submits are not all that bad.

Tags: Database

Similar Questions

  • Clear stage and perform the next action with btn?

    Hey,.

    If you know, can you tell pls where know how to clear the scene of everything that I have loaded with. It would click one of the buttons that I have on the scene. This button should also run a different class, that I programmed. You can even just tell us what to look for as to discover these data.

    Explanation: I have 2 different classes. Classes of buttons and videos. Class to load the stage with 9 different buttons buttons. Each button is supposed to lead to his own video. (I have ready programming buttons to load the video and all the programming work).

    The Video class loads the video on the stage and has orders for him to play, pause, stop, etc (works about...).

    Now, I don't know what code put under each buttons to clear the scene and to load the Video class. If you need me to explain more/differently done pls let me know.

    Thanks for any help!

    You can clear a container with numChildren and removeChild - something like:

    {while (mycontainer.numChildren)}

    myContainer.removeChildAt (0);

    }

    If you are just doing addChild (someChild) then you load the MainTimeline object, and you can simply omit the myContainer part.

    HTH

  • Redirecting to a page after the dynamic action

    I stated a dynamic action of a button (its dynamic action of pl/sql). After its been pressed it fills a line in a table.

    I want to redirect it to another page, once completed the dynamic action. How can I do?

    PL/SQL D.A. have an indicator expected result, make sure that is selected.

    Then, action of true of JavaScript:

    Window.Location.href = ' & APP_ID.: 1: & APP_SESSION. :::'

    or simply add a real action of page submit and manage the re - run by a branch of the page?

  • Navigation of the page with the dynamic action button.

    Hi all

    I use apex 4.2.6 on windows 8.1

    I create a button with the dynamic action.

    When the end user, click on the button, I want to access a page.

    How to do this?

    I created a branch of this button to access the page 10 on SUBMIT AFTER TREATMENT CALCULATION VALIDATION.

    but no navigation happens.

    they code plsql works well that is put into the dynamic action, but the page is not navigate.

    kindly guide me.

    Kind regards.

    Maahjoor wrote:

    I create a button with the dynamic action.

    When the end user, click on the button, I want to access a page.

    How to do this?

    I created a branch of this button to access the page 10 on SUBMIT AFTER TREATMENT CALCULATION VALIDATION.

    but no navigation happens.

    they code plsql works well that is put into the dynamic action, but the page is not navigate.

    If you want to run the PL/SQL code and creates a branch to another page, why do you use a dynamic action? The easiest way to do this is the button send page, the PL/SQL to run as a process after submit (potentially conditional, click on the button) and the page navigation to achieve using a plug (once again, perhaps conditional on the button that is clicked).

  • Cannot perform the insert/update on the form of tables, due to the dynamic action

    Hi all

    I created a dynamic action that calculates multiple cells in a table.

    This feature works well, when I change the value of the associated cell then the computed value is changed by the dynamic action.

    But I am not able to insert or update the line in a table when the dynamic action is enabled. When I put the condition 'Never', then the line is inserted or updated without any problems.

    All guess where is the problem?

    Apex version: 4.1.1.00.23

    Jiri

    Nina wrote:

    I don't know why the 123,40 value (or other) is set to the next item in line (f09, fsc, etc.)
    >

    What is hidden and generated Apex elements are always included in the last cell (td) of the line. Thus, it has nothing to do with the next item, only the last cell.
    If you see the last cell of the 888 Page you will see probably the same type = "hidden" entries here also.

    Your problem is not related to the HTML fragment to the last cell in the row showing all those extra items, it's somewhere else.

    Oh, here comes the jQuery selector:

    var clickedRow = $(this.triggeringElement).closest('tr');
    
    $(clickedRow).children('td[headers="SAL"]').find("input").val(myCalculatedTotal);
    

    SAL, COMM, w/e. here you will find the TD with headers = "COMM" and all the input fields and the value of all the entries in total calculated. Your selection is not precise enough in this case.
    So, target the specific entry.
    With the code example:

    
    
    
    
    
    
    
    
    

    change the switch on

    $(clickedRow).children('td[headers="SAL"]').find('input[name="f08"]').val(myCalculatedTotal);
    
  • Confirm the dynamic action does not not as expected in the APEX 4.2.5

    This looks like a bug in APEX 4.2.5.  I have a page with a "Cancel" button that redirects to another page.  There is a dynamic action that fires on the button with a confirmation action and the text ' are you sure?  However, if the user selects OK or cancel in the confirmation dialog box makes no difference - the redirect is always performed.

    I found this question after the migration of a page that worked to 4.1.1-to-4.2.5.00.88 APEX and were also able to replicate on apex.oracle.com here:

    https://Apex.Oracle.com/pls/Apex/f?p=19896:2

    (Press the Cancel button in the top right of the page redirects to page 1, regardless of the user's response to confirm the popup.)

    I don't need someone to suggest the alternative code, I know how to build my own confirmation processing.  I want to just raise this as a bug as possible and see if there is a solution to make the dynamic action works as it should.

    NB I found this in the patch notes for 4.2.5.00.88 on a fix for a similar problem:

    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-425-patch-set-notes-2186274.html

    15984978

    Dynamic action front-Submit with a confirmation message does not

    Hi Tony,.

    I think the problem is that the action of the button is defined as 'Redirect page in this Application', but it must always be "defined by the dynamic Action" as soon as you have set dynamic actions 'click' to a button. Normally, which is automatically changed as soon as you create your first dynamic action of a button, and I just confirmed by creating a test button in your application that has been defined as «Redirect...» ». After that I created a dynamic action the action of the button is set to "defined by the dynamic Action.

    Is it possible that you have modified the action of the back button to «Reorient...» » ? The question why «redirect...» "does not work, it's that we cannot guarantee in what order the browser will process click on events defined with onclick in the tag button itself and those events attached as a click event handlers. This is why it is necessary that everything is defined as dynamic actions. Only in this case you will be able to cancel the treatment.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

    Post edited by: Patrick Wolf

  • error: there is no associated messaging program to perform the requested action. Install an e-mail program or, if such is already installed, create an association in the default programs control panel

    Installed Windows7 Enterprise (evaluation) 32 bits have a database custom (32 bit) when I press the close button, an e-mail icon in the taskbar - nothing happens with the program except the screen turns off, when you press the email icon it is an error message - there is no associated messaging program to perform the requested action. Install an e-mail program or, if such is already installed, create an association in the default programs control panel

    There is no email function associated with the close button

    using the close button of other windows in the work of database correctly.

    TBird is installed and works well

    Have solved the problem - the app was looking for a MAPI - outlook installed e-mail client and not more errors. Thank you much for the help

  • El Capitan - mail rules > ' perform the following Actions: "menu drop-down is hidden.

    Here's the problem: after setting up the mail in El Capitan and synchronization iCloud with mail rules (the rules are still intact), I noticed a strange thing trying to adjust my Mail rules to filter emails with a few new subfolders. Rules are still in place and function (i.e. ' if one of the following conditions is met:' of > Contains > E-mail address > (+ other rules), then, "perform the following actions:' such as moving, e-mail message, icon bounce, etc."), but the top drop-down selector below him "perform the following...". "section, which in my case is generally" move message to: (name of the folder here) ", is hidden from view. It's still there, but I can't physically click top because the table/cell/div that contains this selector is compressed or not large enough to display the menu drop down. I know that this is true is because the other rules that make them several "Perform" actions... ' display the actions of second and third, but are hidden one.

    This is a problem because if I add another "' move to ' action, it is in conflict with the first... but I can't delete the first action, because I can't click on it."

    I realize that it is a strange... Anyone have any suggestions on how to fix this?

    Thank you

    Shane

    You may need to scroll down to see all the criteria and actions in a rule.

  • Lost mail rules section "perform the following actions.

    Hi-

    Install a new version of El Capitan (10.11.2). Set up Mail for the first time. Adding rules to specific e-mail to selected mailboxes. The more rules, I added more I noticed that the section "Perform the following actions" became smaller until this article is no longer usable (see photo). Any ideas what can be done? Is this a bug?

    Thank you!

    -Dave

    Please take these steps to remove the mail folders 'sandbox '.

    Step 1

    Back up all data.

    Triple-click anywhere in the line below on this page to select this option:

    ~/Library/Containers/com.apple.mail

    Right-click or Ctrl-click on the highlighted line and select

    Services ▹ Reveal

    the contextual menu.* A Finder window should open up with a folder named "com.apple.mail" selected. If this is the case, move the selected folder - not only its content - on the desktop. Open the window Finder for now.

    Restart the computer. Launch Mail and test. If the problem is resolved, you may have to re-create some of your e-mail settings. Any writing paper custom that you created may be lost. Ask for instructions if you want to keep these data. You can then delete the folder that you moved and close Finder.

    CAUTION: If you change the content of the sandbox, but leave the folder itself in place, Mail may hang or starts any. Remove the tray to sand everything will be rebuilt automatically.

    Step 2

    If step 1 does not resolve the problem, repeat with this line:

    ~/Library/Containers/com.apple.MailServiceAgent

    * If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

  • Unable to connect to the wireless network, error message "Windows could not finish repairing the problem because it is impossible to perform the following action. Renewal of your IP address.

    Original title: Unable to connect to the wireless network

    Unable to connect to the network wireless Toshiba Satellite A105 PC running Windows 7.  "Windows could not finish repairing the problem because it is impossible to perform the following action. Renewal of your IP address.  Works with Windows XP SP2, IE 8.00.6001.18702 file, I think that Version 3.  It has been installed on a disk provided by Microsoft after that old installation became corrupt (in the sense of Microsoft technical support.)  Before that, wireless network worked well.   (So unable to connect to the Internet for updates.)   Have tried to change the other settings and different messages acquired when it SHOWS that I am connected but cannot connect because of something to do with the certificate.  I don't remember what I did to try to solve this problem in the last days.

    I should add that I have tried the solutions of the previous forum on this topic, and none worked.

    Hi Marilynnla,

    Sorry to hear about the bad experience you encounter. Lets see if the network problem can somehow be archived.

    Read this article and follow the steps. Lets see if it helps in any way.

  • (SOLVED) Windows could not finish repairing the problem because it is impossible to perform the following action: renewing your IP address

    Computer Dell laptop Windows XP SP3 - processor Intel Celeron M 1.40 GHz, 512 MB Ram, ATI MOBILITY RADEON 9000

    The local connection is working fine but my wireless connection does not receive through my laptop. The wireless works since it goes through my PS3 and my sister's laptop perfectly.

    I used the repair, but it will say:
    Windows could not finish repairing the problem because it is impossible to perform the following action: renewing your IP address

    I used in the cmd command:
    ipconfig/renew
    Needless to say a message:
    No operations can be performed on the wireless network connection, although it has its media disconnected.

    Help, please

    Received my solution of another comforter

    Told to go to my router linksy page http://192.168.1.1 setup and change the wireless security mode. It is in mixed mode to WPA2/WPA and I changed it to WPA2 Personal and it worked!
    Thanks for trying to help JW! : D
  • Impossible to install the windows update and perform the system restore

    Original title: what restore systerm causing failure/Vista

    Windows update fails with a few updates, tried to restore the back before I loaded the system machanic - fails

    Hello

    1. What is the description which are impossible to install updates?

    2. What is the message exact error do you get when you try to install updates?

    3. you get any error message while you perform the system restore?

    I suggest you to follow the steps mentioned below and check if it helps:

    Method 1: Reset components from Windows Update from the link of the suite, which would help you to install the updates of windows. http://support.Microsoft.com/kb/971058

    Method 2:

    If the problem persists, then try to put your computer in a clean boot state, and then try to install the update to windows.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

     

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Method 3: Manually try to install updates from the Microsoft Download Center.

    a. go to the Microsoft Download site, type the number of "KB" of the update in the download search box and then click OK.

    b. in the list of search results, click on the (KB) Knowledge Base article link to go to the download page. If there is more than one list, look for a link that goes to the Microsoft Download Center.

    c. If there are several versions on the download page, find the appropriate for your computer. Click on the download button and save the update to your desktop.

    d. When you are prompted, click open to install the update.

    Method 4: You can also try to perform the system restore , safe mode and check if the same problem occurs.

    Note: When the computer is in safe mode, System Restore does not restore points. Therefore, you can not undo a restoration you performed when the computer is in safe mode.

    Hope this information is useful.

  • ERROR. There is no associated messaging program to perform the requested action.

    There is no associated messaging program to perform the requested action. Please install an e-mail program or, if you already install create an association in the default program control panel

    Help, please

    My email

    E-mail address is removed from the privacy *.

    or

    E-mail address is removed from the privacy *.

    thancks...

    This is because you use Yahoo Webmail and not an e-mail client. You don't say what you're trying to do when you see this message, but maybe it's what you need.

    How can I make Yahoo! Mail my default email application?
    http://help.Yahoo.com/l/us/Yahoo/mail/YAHOOMAIL/settings/settings-10.html

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • I can send & receive emails. I can't send documents or photos in an email. I get an error saying that I don't have an e-mail program associated to perform the requested action. How can I fix?

    I can send & receive emails. I can't send documents or photos. I get an error that says: there is no associated messaging program to perform the requested action. It is said to go in the default programs control panel. I did, but then I don't know what to do. I guess I'm not understand it. I'm not too good computers. I have a Dell Inspiron that is 1 1/2 years. Any help would be appreciated.

    1. What email program are you using?
    2. Please post any error message in its entirety. You can left click on it to highlight then right click to copy and then paste in this thread.
     
  • There is no associated messaging program to perform the requested action

    When I right click on a file in the file Explorer and select send to > recipient of the message, I get a message box:

    There is no associated messaging program to perform the requested action. Install an e-mail program or, if such is already installed, create an association in the default programs control panel

    I did it by following the instructions with no result

    This problem may occur if the Outlook registry key is corrupted. When other programs try to use the Simple MAPI Outlook interface, they cannot retrieve the required information from the registry.

    You must first remove the corrupted Outlook registry key, and then perform an operation to detect and repair to ask Outlook to re-create the key. To do this, follow these steps:

    1. Click Startand then click run.
    2. In the Open box, type regedit and press ENTER.
    3. In the registry editor, locate the following subkey in the registry: HKEY_LOCAL_MACHINE\Software\Clients\Mail\Microsoft Outlook
    4. Select the subkey and press DELETE.
    5. Click Yes.
    6. Exit the registry editor.
    7. Start Outlook.
    8. On the help menu, click Office Diagnostics.
    9. Follow the instructions on the screen to complete the repair.

Maybe you are looking for