Apex 5 after execution of a dynamic action, want to display message and redirect the page

Hello Experts,

I use 5 Apex on XE 11 g.

One of my page, I have 1 button that performs a dynamic action.

Right now, I've added two real actions on the key. First of all is PL/SQL code, and the second is on the alert, which shows the success message.

I want to show the message (box Apex message and not the simple alert message JavaScript box) on successfully executing this dynamic action and post that redirect to another page.


Can someone help me please in the present.


Thank you

Thierry

Thierry says:

I use 5 Apex on XE 11 g.

One of my page, I have 1 button that performs a dynamic action.

Right now, I've added two real actions on the key. First of all is PL/SQL code, and the second is on the alert, which shows the success message.

I want to show the message (box Apex message and not the simple alert message JavaScript box) on successfully executing this dynamic action and post that redirect to another page.

Use the simple way to do this:

  • A button that submits the page rather than perform a dynamic action
  • A process of PL/SQL after presented with the necessary success message page
  • A branch to the landing page with the option include the success process message verified

General management and the process should be contingent on the button that is clicked.

Tags: Database

Similar Questions

  • After I 'google' a web site address, I am unable to access the page directly by clicking on the link in the address; the page hangs and does not respond.

    After I 'google' a web site address, I am unable to access the page directly by clicking on the link in the address; the page hangs and does not respond.

    What antivirus you have installed before? Is the virus/malware-free system? If you have a current antivirus installed and you went through at least some of the malware removal steps I list in the link I have given if you are sure that the system is clean, uninstall McAfee and see if that solves your problem. If you connect to the Internet behind a router, you can be sure for this quick test. If you are connected directly to a cable/dsl modem, then firstly download Avast or even Microsoft Security Essentials (both free). Then, disconnect from the Internet and uninstall McAfee. Install the antivirus of your choice and test. If all goes well, your problems have been caused by McAfee. This is not surprising since McAfee is perhaps the worst choice for safety, we could do.

    If you had any antivirus installed before McAfee, then you must go through all stages of thorough removal of malware listed in the my link before anything else. MS - MVP - Elephant Boy computers - don't panic!

  • I'm trying to download the free track of After effects.  Keep the error message and get the ' we are currently experiencing some issues, please try again later. " If the problem persists, contact customer service. »

    I'm trying to download the free track of After effects.  Keep the error message and get the ' we are currently experiencing some issues, please try again later. " If the problem persists, contact customer support. "what I'm doing. I have tried for 2 hours and need to complete course work.

    you use the cc desktop app to download?

    If not, https://creative.adobe.com/products/creative-cloud

  • Tips: APEX 5 r IR by a dynamic action after the text fields complete

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    Now if I create a button that submits page or redirects to this page my report can be updated with the values of user entered without problem, basic stuff.  If I create the settings section as a dialog box model once again that I can get the update report as this dialogue submits the page as well as the report can refresh according to closed dialog option.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    I am struggling to get this to work and I even tried to copy these settings and do them as hidden for example bind input P1_A to P1_A_Hidden by a dynamic action and have the report where clause =: P1_A_HIDDEN, but have not managed to get this working.

    It's possible?  I know its easy to simply send the page and make it work, but I want the experience to be quite uniform for the user and act as you never leave the page.

    I saw on the packages of the app in the chart example.  The bubble chart has a list selector (salary) and the table updates dynamically, it seems so that the process can occur, but I need the user to enter text and not use selection lists.

    My apologies if I missed any, but I can give you more if it helps.

    Concerning

    1972903b-5166-494e-8355-08d9d4006e96 wrote:

    Hello I hope I can get assistance on this matter and thank you in advance for any information.

    I have an APEX 5 screen, that has 4 fields of entry of text and under this one IR that has these 4 parameters in its SQL where clauses.

    What I struggle to reach is to allow the user to enter values in the text fields click on a button called 'submit' and there all stages of implementing dynamic action without page reloading.  I want user to P1_A, P1_B, P1_C, P1_D press on "submit" input, dynamic action that links the values entered into the fields, then fire another dynamic action that updates the State when the button is clicked / modified values what works the best.

    The button simply trigger a unique dynamic action of refreshment on the IR region. Session state for page elements must be processed automatically by specifying them in the property Page to submit Items of the IR region.

    Please ensure that you have updated your forum profile with a recognizable username instead of "1972903b-5166-494e-8355-08d9d4006e96": Video tutorial how to change username available

  • 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

  • How to refresh the region after inserting data by dynamic Action?

    Hi friends

    I use APEX 4.1. I created a form master detail and wrote an insert command in dynamic Action through which the data is inserted into the secondary table. I want to refresh the detail region as data is inserted and data must demonstrate in the detail area.

    How can I do this? Help, please. I will be grateful.

    Kind regards.

    Hi Kam_oracle_apex,

    Add real action to the existing dynamic action

    Action: update

    selection type: region

    Region: Detail (the region that you want to refresh).

    Kind regards

    Jitendra

  • Dynamic action to email from automatic calculation of the fields in the form created in the APEX firstname and lastname

    Hello

    I am working in the form based on the employees table. I have email_id (P169_EMAIL_ID), last_name(:P169_LAST_NAME) and 3 fields/items first_name(:P169_FIRST_NAME). I am trying to create a dynamic action Auto Fill the id field of electronic mail with the email ID immediately when the user enters first name and family name, he clicks on the e-mail id field. Please help me with suggestions for the code I should use in dynamic action. For example, if a user enters rakesh in the first name field and choudhury to registered name the by clicking the id field e-mail should automatically show [email protected]

    Thanks in advance!

    Hello

    957450

    You need to change your name to something more appropriate

    I work in the form based on the employees table. I have email_id (P169_EMAIL_ID), last_name(:P169_LAST_NAME) and 3 fields/items first_name(:P169_FIRST_NAME). I am trying to create a dynamic action Auto Fill the id field of electronic mail with the email ID immediately when the user enters first name and family name, he clicks on the e-mail id field. Please help me with suggestions for the code I should use in dynamic action. For example, if a user enters rakesh in the first name field and choudhury to registered name the by clicking the id field e-mail should automatically display [email protected]

    You can use a DA to set the email in the agenda of the Email page when there is a change in the maybe the first name of the person if it follows in the order you presented above.

    E.g.

    Event: change

    Point: P169_LAST_NAME

    Action: Set

    Fires when the event is the result: true

    Parameters

    Set tYpe: PL/SQL body Funtion

    declare
    l_email varchar(40);
    begin
    l_email := :P169_FIRST_NAME||'.'||:P169_LAST_NAME ||'@oracle.com' ;
    return l_email;
    end;
    

    Page items to submit: P169_FIRST_NAME, P169_LAST_NAME

    Items concerned:

    Article: P169_EMAIL_ID

    NB: I recommend that you look at the dynamic Actions of the sample under the application package.

    Hope this helps

    Kind regards

    Benjamin.

  • APEX 4: Dynamic Action to manipulate a search string in the interactive report

    Hello

    I have the following problem. I have an interactive report that shows a few columns and one of them has a barcode that has been saved as a numeric value for display in the column is something like ("123456789"). All works fine so far. If anyone 123456789 they will get the right line and all is well. Unfortunately if I scan in the barcode with a barcode scanner, he enters '01234567890'. I don't have nor the ability to reprogram the scanner BC and I can't change how the data gets displayed.

    So I thought I would create a dynamic action that is triggered when the contents of the textfield object change. So, I've created a dynamic action, selected jQuery and entered .apexir_SEARCH and the Change event.
    I then chose to run JavaScript and entered as cod:

    var newsearch = document.getElementById ('apexir_SEARCH').value.replace (/ ^ [0] + / g, ");
    var inputObj = document.getElementById ("apexir_SEARCH");
    If (inputObj)
    {
    Update of the value
    inputObj.value = newsearch;
    }

    So far so good. When I load the page and enter a value from a '0', it works like a charm and it removes the zero. But if I delete again on the page and the search filter, dynamic action will do nothing. I'm really confused, as if I just made a mistake in the JavaScript code or what is the reason, that the action runs only the first time. I have to reload the page and then it will still be to manipulate the string once, but the second time, it won't.

    I'm very happy for any help you can provide!

    Thank you
    Dennis

    Hi Dennis,

    The thing that comes to mind is to check that the scope of the event of dynamic action is 'live '. If it's on (default) bind, then when a partial page refresh occurs, action will not fire the first time. Direct fires each time.

    Hope this helps

  • After popupURL, must close the window, submit the value and redirect the other window

    Hello

    I use 4 APEX for development.

    Use the following URL target in my main page

    JavaScript:popupURL('f?p=&APP_ID.:99:&APP_SESSION.::&Debug.::P99_PORT_ACC_HEAD_TAX_ID:&P20_PORT_ACC_HEAD_TAX_ID.',300,300);

    This opens the page 99. On page 99, I need to collect some required information. Once a user clicks on the button "send" in the pop-up window, the following actions are needed:

    1. an update of the database in the new value column... create a process, but it does not work because the page closes do not submit.
    2. close the pop-up window, which I use javascript:window.close();
    3 redirect the original page 20 to page 15

    Can someone please give that some advice?

    Thank you
    Ling

    If you are on apex 4, achieve dynamic Action that runs on the key

  • With the first real action runs the PLSQL code required (make sure that you add the elements of the page has changed to "Page elements to send field")
  • The second real action can be of the Js code and put it in your code.

    -----------------------
    Another way a bit more complicated (but works with all versions of the apex) is generating the JS code in PLSQL

    If your button (in the popup page) submits the page
    You will have a PLSQL process that performs the necessary treatment on the sidelines.
    After the treatment, you add the somee code that generates the code JS

    It would be like

    BEGIN
     /* Do your PLSQL Processing here */
    
     /*Js Code to close page etc
      Note that this code will be run only after the PLSQL and on the next page load, don't try to mix up JS and PLSQL expecting a JS code(between two PLSQL blocks) to run between the PLSQL blocks. Remember JS runs in browser and PLSQL in server, so all JS code waits till page is reloded
     */
     htp.p('');
    END;
    

    ---------------------------------------------------

    Another method is to add the JS code to an onload function performed only under certain conditions, he said when a page element is defined with a specific value. You set this element of the page with this is completed only once the PLSQL block value, where the JS code executes only after treatment and not on each load of laundry.

    Use one of these methods depending on what feels easy/comfortable for you.

  • How to convert a message Inline in the Page of the Apex of javascript alert message

    Hi all. IM new at the Apex.

    Current - approach
    I have a region report dynamics developed using the API like APEX_ITEM etc. I use scripts in java to validate these dynamic elements and Alerts popup as shown below.

    function ValidateNotObservedCB (p_row_num)
    {
    var v_row_num = p_row_num;
    var v_not_observed_cb_status = document.getElementById('f_notobserved_'+v_row_num).checked;
    var v_not_in_district_cb_status = document.getElementById('f_notindistrict_'+v_row_num).checked;
    var v_program_code = document.getElementById("f_program_code_"+v_row_num).value;
    If ((v_program_code.length > 0) & & (document.getElementById('f_notobserved_'+v_row_num).checked == true))
    {
    "BOLD" alert ("you have already entered a program code.") "BOLD"
    document.getElementById('f_notobserved_'+v_row_num).checked = false;
    document.getElementById('f_notobserved_'+v_row_num).value = 'n';
    } else if ((v_program_code.length==0) & & (document.getElementById('f_notobserved_'+v_row_num).checked == true)) {}
    document.getElementById('f_notobserved_'+v_row_num).value = 'Y ';
    document.getElementById('f_notobserved_'+v_row_num).checked = true;
    } else
    {
    document.getElementById('f_notobserved_'+v_row_num).checked = false;
    document.getElementById('f_notindistrict_'+v_row_num).checked = false;
    document.getElementById('f_notindistrict_'+v_row_num).value = 'n';
    document.getElementById('f_notobserved_'+v_row_num).value = 'n';
    }
    }

    Question/problem - how can I convert these to Inline messages alert messages to indicate on the page, similar to what appears when we take stock of the Validations at the APEX.

    Waiting for answers because this is urgent.
    Thanks in advance,
    Madhu

    You created an empty paragraph with an Id that you might find in your javascript code with

    document.getElementById ('message')

    After this in your javascript code say you in this paragraph "now your text is:" with the function

    innerHTML = 'your message ';

    And the generated HTML code is

    + Your message +.

    And everything works fine!

    Do not forget to say that my answer was 'Correct '! Thank you...

    Bye and good luck on APEX.

  • The police recovered my IPAD the apple of the thief ID is necessary to access and put in place after clearing there how I could put up my iPad and erase the thieves apple ID

    I am on the page 'activate IPAD' in "set up your iPAD" after having deleted all the data with the restore option after that the police recovered my stolen IPAD the thief apparently put up my ipad with its own appleID and I am not deprived for the password how to regain access to my property and then I discover that , and what is the apple ID or belongs as a secondary concern?

    The police can act as your intermediary?  They are able to contact the thief on your behalf?  I would ask them unless you already know the answer.  Allow the police to try to unlock the iPad for you.

  • Cannot open the com files and executable file in the Original Windows Vista Software activated after updates to the registry and cleaning, error message and all the setup.exe files has been disabled, why?

    I use Vista Ultimate SP2 preloaded o/s and windows is activated with a genuine problems with executable files with product of what ID 89580-OEM-7332132-00031 on PC, the problem happens when I'm uninstalling some registry tools, the error message I got was 'impossible to connect to the microsoft client group policy server' and whenever I try to run the executable file .exe or .com I get error messages "the windows don't. not find the environment option that was entered path c:\windows\system32\msconfig.exe for example. What is your solution if all the drivers I downloaded from microsoft Update site and support Web is unexecutable because of registry files missing that causes all the executable files and com files to display error messages when clicked. What was missing in the original windows registry files after running the tool registry optimizer? What was missing in my windows vista original? Need help 4th level or windows file recovery software onwer.

    I was able to surf the internet, able to do facebooking, capable of voip webcam and chat however installation and admin work on operating system software has been disabled due to lack of the registry files all the executable files was disabled after a registry cleaning registry optimizer and all the setup.exe has been disabled when I run saying them I don't have permission to run setup.exe because I like not connected to the microsoft Group Policy Server, but it is an original windows software, I can download files from the microsoft Web site and save on my drive hard but cannot run the executable installation files, which was lacking in system files that stopped all the executable files to run, except the internet broadband. Need help 4th level or windows file recovery software onwer

    Hello

    Method 1:

    I suggest you to do a scan of the SFC. File system (CFS) Auditor verifies that all Windows 7 system files are where they should be as they are by default and not corrupted, changed or damaged.

    a. Click Start, click principally made programs, accessories, right-click on command prompt and select run as administrator.

    b. click on continue or provide administrator credentials if prompted.

    c. in the type in the following command prompt window and press ENTER:

    d. sfc/scannow

    e. you should see the following message on the screen:

    § Begin the analysis of the system. This process will take time.

    § Beginning verification phase of system scan.

    f. % verification complete.

    g. once the scan is complete, a test to see if the problem you are experiencing is resolved or not.

    For more information, see the article mentioned below.

    http://support.Microsoft.com/kb/929833

    Method 2:

    Create a new account user has administrator rights and check if you are able to install applications or not. Follow the steps mentioned in the article below.

    Create a user account

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

    Method 3:

    I suggest you do a system restore and check. See the article mentioned below

    System Restore: frequently asked questions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    What is system restore?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Get and update the Page Template dynamically

    Hello everyone,

    I use JDeveloper 11.1.2.3

    I am faced with a situation that I thought it would be simple to solve, but in fact, I'm not finding an overview. I had provide some customization to the end-user at my request (to be more precise, each user can set the default language, which would be loaded whenever it connects and do its work). To get the changes immediately, I inserted the standard way to fully refresh the current page.

            FacesContext context = FacesContext.getCurrentInstance();
            String currentView = context.getViewRoot().getViewId();
            ViewHandler vh = context.getApplication().getViewHandler();
            UIViewRoot x = vh.createView(context, currentView);
            x.setViewId(currentView);
            context.setViewRoot(x);
    
    

    The problem is my pages using a page template (actually there three different page templates in use at the present time). And the model did not get updated with the page (he does only after some navigation). It is clear to me from the model it is another page and has it's own pageDef. My question is, "How can I get the updating of page template at the same time as the current page?"

    PS: I can't follow this example: Blog of Andrejus Baranovskis: model Page of ADF refreshing of ADF Fragment , because the direct child of my patterns is one facet and cannot have an affair.

    Please advice!

    Hi Brian,.

    Thank you for your response. My goal was to change the language of the page (ie: the locale), based on a value of the "Language" property on the users table. The problem was on the page of model component that did not change immediately.

    In any case, I think that I managed to solve this problem. Each jsf page has a 'f: view' and a 'Local' property So I make this property value gets a managed bean in which ownership of 'Language' referred to above is extracted, and the problem with the model is solved. The only problem is I want to set it for each page, but it seems that it works pretty well.

    Definition of this topic as resolved!

  • Dynamically set object to display a table of the ADF

    I need set dynamically the view object used by a table based on almost 100 different choices. By example, if you click on departments then use the DepartmentsView object for the table.

    What would be the best way to address the issue? I think I have to essentially dynamically bind the array to a display object, or run the query by program and update the table.

    I'm sure that others had to do something similar, so if there are resources available that address this specific approach if someone could provide a link? Otherwise if you could help me with the code for this and tell me where to go, who would be most appreciated.

    JDeveloper 11.1.2.0

    Thank you!

    Published by: 862567 on August 3, 2011 04:29

    Using Facelets? I just did a test and found that ADF dynamic array is not available (but ADF read-only dynamic Table is) in a Facelets page, but it is in a JSP page.

    John

  • minor bug: status of dynamic Actions is not displayed correctly when DA disabled

    Hello

    It displays 'Parole' instead of 'Never' to the page of the Page definition.

    Hi Edward,.

    Thank you us report this, I agree, it should be compatible with other types of component and display "Never" in this situation. I submitted the bug #10149191 for this.

    Just to note (and I'm sure you're already aware of this), but it is not inconsistent in 'View of the component' on the definition page. In "Tree View", you see the name of the component in italics if it is conditional and then hovering over it you can see that the type of condition is 'never '.

    Kind regards
    Anthony.

Maybe you are looking for