Refreshing the page creates a new record – how to avoid this?

I have a 'submit' button that runs a 'record insertion.

After insertion is made I branch (back) to this same page.

The problem is that when I hit page refresh the folder gets reinserted.

How to avoid this behavior?

AZZ says:

fac586,

Yes. You are right. It was a late semi written post. My apologies. You must stop working after midnight.

Let me clarify:

I have a SUBMIT"" button.

There are the conditional 'after send' (if the key) process.

the process calls a function that inserts a new record in the table.

Question:

How can I avoid running the process on refreshing the page?

I've simplified the situation - no record insertion. However, if you refresh the page the success of the function call message will be displayed.

https://Apex.Oracle.com/pls/Apex/f?p=4000:1:126172565551184:no:RP:FB_FLOW_ID, F4000_P1_FLOW:21325, 21325

user/pass help/help

workspace - AZ_

To reproduce:

Click on the submit - observe green popup "OK!"

Refresh the page (F5 or ctrl-R) - see 'OK!' again.

No process is executed to see the page or page refresh. This can be confirmed by looking at track of debugging to see the processing page. The page contains no defined process to run at a show of page processing point; None of the calculations which could call a function that could not perform an insert as a side effect; None of the dynamic actions or calls JS could initiate an insertion using AJAX; Neither the source region contains any code that could do it. I'll draw the line search conditions that can contain deeply buried code which could be responsible and direct you to a previous thread of the same nature: success of process Message not tied to Conditions.

Tags: Database

Similar Questions

  • My iPad detects inactivity while I'm listening to a story.  Then he slips into the mode "sleep" and interrupts the story.  Any suggestions on how to avoid this?

    My iPad detects inactivity while I'm listening to a story.  Then he slips into the mode "sleep" and interrupts the story.  Any suggestions on how to avoid this?

    Setting to never by using the auto-lock settings application.

    Settings > general > auto lock > never

  • Since an incompetent technician clear my settings from mozilla, I get up to a page of useless information about the sender and want to know how to avoid this

    Since an incompetent technician clear my settings from mozilla, I get up to a page of useless information about the sender and want to know how to prevent it. I can't copy / paste an example, but there are things like x-vipre scanned. x-uidl, x-account key. These things print when I make a copy paper, waste of paper and ink.

    The menu bar, select View-Headers-Normal

    No menu bar? Press the ALT key.

  • My laptop desktop settings are changed automatically and I have to restore the same go to the control panel every time. How to avoid this automatic change of personal settings of office.

    I have Windows 7 in my laptop.  I'm only using the same.  Whenever I download any software I find that my control panel is changed and my destop settings is changed.  All files stored on my destop are not visible, and a new destop is available.  Whenever I have to restore my settings from the previous restore point.  This uninstall installed software.  How to prevent these changes in the parameters of the system during the installation of software.

    How to keep all the settings permanently?

    Its possible that you might be infected with a virus.

    Start by downloading the free version of Malwarebytes, it will detect and remove most of the viruses.
    http://www.Malwarebytes.org/products/malwarebytes_free

    There are also Norton Power Eraser
    http://security.Symantec.com/nbrt/NPE.asp?lcid=1033
    Note: Because the Norton Power Eraser uses aggressive methods to detect these threats,
    There is a risk that it can select some legitimate programs for removal.
    You should use this tool very carefully, and only after you have exhausted other options.

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded.
    To restart a scan with the latest anti-malware definitions,
    Download and run the Microsoft Safety Scanner again.

    J W Stuart: http://www.pagestart.com

  • Impossible to apply rights to the visitor without refreshing the page

    Hello

    I created two roles) 1 consumer 2) employee
    and two Office pages 1) consumer Page 2) Page used

    I placed rights to the visitor to these pages Office accordingly. Then when I connect, corresponding page should be displayed after authentication. But it does not work until I refresh the page.

    Anyone can provide a solution for this?

    Kind regards
    MARGI

    Published by: user13389316 on July 19, 2010 15:04

    Published by: user13389316 on July 19, 2010 15:05

    You must redirect, there's no way around that I know

  • How to create a new record with the old values

    Hi all

    I have the creation with 45 page are there fields
    the user will enter all areas and save, it will call the uneditable mode

    If the change button is clicked it will call for the editable mode

    My requirement is user will not change among these ites (45 items) clcik on save again it will call to view mode

    in this user will change one value among 45 Articles and click on the button Save I need to create more than one record in the database

    If the user will not modify one of the field elements of the 45 I will not create a new record in the database

    How can we achieve this feature


    Concerning
    Anthony

    Hi Mary,

    Please try this method to copy a line in the new line...

    public void copy()
    {
    Pervert SuppliersVOImpl = getSuppliersVO1();
    Rank rank [] = pervo.getFilteredRows ("SelectFlag", "Y");
    for (int i = 0; i)<>
    {
    Rowi rank (SuppliersVORowImpl)= SuppliersVORowImpl;
    OADBTransaction trx (OADBTransaction) = getTransaction ();
    Number b = trx.getSequenceValue ("FWK_TBX_SUPPLIERS_S");
    AttributeList a rowi = (AttributeList);
    R = (SuppliersVORowImpl) pervo.createAndInitRow SuppliersVORowImpl (a);
    Define your unique attribute values here, I'll put here Ref supplier as with each new line, it must be different.
    r.setSupplierId (b);
    pervo.insertRow (r);
    }
    }

    Kind regards
    Out Sharma

  • How do I create a branch to the form after you have created a new record

    Hello

    I created a master/daetail form with detail on the same page.
    It works very well.
    When you create a new record, on the details of the page, you enter the data, and you click Ok.
    Then you are directed to the main form, a report containing the lines of recordings.
    You must then click on the link in the column to change the record to add details.

    I want to do it is to branch directly on the same page after you create the record. Order to dot Hat I created a branch whith the value equal to CREATE demand.
    And the target is the same page. The problem is to the value of the primary key. This KP is created after sending, and it is not possible to recover because it is created right now. I hope I'm clear.

    To sum up the question: how to create a branch immediately to the same page after creating a new record?

    I have the page on

    [http://apex.oracle.com/pls/otn/f?p=4550 | http://apex.oracle.com/pls/otn/f?p=4550]

    The workspace is ESPACE2008
    Is the user name: guest
    the password is: noproblem

    The long form is page 42.
    The main form is page 41
    Unfoirtunately tables are not available.
    You can see the process of branch No. 50 on page 42.

    Thank you very much for your help.

    Christian

    Christian,

    I couldn't connect to your ws because I don't think that your guest user has developer privileges. But have you tried 'Back in the agenda key' property in the region of origin of your page DML process. This should return the value of the primary key newly generated in a page element when the page is loaded.

    Anthony.

    -----------
    http://anthonyrayner.blogspot.com

  • [ADF, JDev12.1.3] How to create a new record in a table filling one filed with the IP address of the client?

    Hallo,

    I create a stubborn workflow that begins with a create operation on the table where a new record should be added.

    The recording fields must be filled in by the user, but before committing, I have to fill a field of the reocord with the address IP of the PC of the user.

    Could you kindly advice me which are the possible recommended approaches to achieve this?

    Thank you

    Federico

    Hello

    See this post: Blog of Zeeshan Baig: how to get the IP address of the customer in ADF merge request

    You can use a createWithParams operation and to fill in this field.

    Reference: Andrejus Baranovskis Blog: CreateWithParams operation for Oracle ADF 11g BC

    Kind regards

    Ruben.

  • Need to create a new record with the rules of the takeover bid

    Hi all

    I want to create a new record with OPA according to the result value (Service request is valid)

    For example
    When the demand for services is valid if
    There are (the activity is valid)
    the activity is valid if
    activity type = 'other '.

    Can someone help me how to

    Can you provide a little more information on what you want to do?

    If you want to create an object in, for example, a database based on the results of the OPA assessment or investigation, then that lies outside of the OPA and is usually performed by the client that calls the rules.

    If you want to create an instance of entity within the am Session OPA, then this will be involved custom code. There is an example of this in the OPA 10.2.0 documentation, see: example: enter into instances of entity with an inference listener in policy of Automation Developer Help. It is available online at http://download.oracle.com/docs/html/E20344_01/toc.htm

  • Can someone tell me if there is a way that I can put a webpage to load a new image whenever a visitor refreshes the page?

    I pray that I can find a way to do it without losing my mind/writing and troubleshooting of javascript. I would like to have three images per page main Department on the below website link, but I don't want to show them all at once. I want a new image is displayed whenever a visitor visits or refreshes the page. Does anyone have any idea if I can do this in Dreamweaver and how? Please help if you can.

    Here is the link: http://www.graphicmechanic.com/DEKALBCOUNTY/parks-and-recreation/index.html

    See the words in large print 'Parks and Recreation '. My goal is to have the next clown/face paint picture of him change, to something else, every time it loads. I would like to know if my explanation is confusing if you please.

    Please do a search on the Forum for 'random image '.

    You will find previous discussions of 200 +.

  • How does the APEX 5 'Refresh' Action? Unable to refresh the page items.

    Hello

    I'm 5 APEX developed a page with both regions. Goal is to show the number of cells on the main area and allow to update the same number of cells from another region on the same page.

    Region 1: Added a view-only point P2_CELL_NUMBER_SHOW seen source of sql return the unique value. Like "Select cell_number of user_cell."

    Region 2 (hide this region during the loading of the page): adding an item of text P2_CELL_NUMBER_UPDATED. This region has added a button "Apply Changes". During the click on added dynamic actions in the following order:

    (a) PLSQL: Null; Submit article: P2_CELL_NUMBER_UPDATED

    (b) PLSQL: the UPDATE call sql statement to update the number of cells in the database table.

    (c) masking region 2 and region 1 via java script list.

    (d) refresh region 1 (here I expect at this point P2_CELL_NUMBER_SHOW should show the new update on the step value b). But get the old value that was earlier on region 1. But when submitting the page then region 1 get the new value.

    So, does send the page or set the session state to get the new value on region 1? Will update no help in this situation?

    Thank you

    Ankit

    Hi Pierre,.

    The dynamic Action of the type "Refresh", does not work on the elements and entry areas with elements of entry. It is intended for regions of report with PPR (partial Page Refresh) allowed namely interactive reports, classic and graphic regions.

    Kind regards

    Kiran

  • Generate dynamic elements without refreshing the page

    Hello

    I have a challenge to generate elements on a page dynamically without refreshing the page.

    I tried to do with AJAX, but do not have the elements on the page.

    I see that my process is called as I can warn the outcome of the appeal.

    Here is my code:

    I have a button calling the JavaScript function with AJAX call for the process:

    function f_OnDemand() {}

    get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is NEW_FLOW', $v ('pFlowStepId'));

    invoke

    gReturn = get.get ();

    ajax reminder alert

    Alert (gReturn);

    }

    And here is the process that involves creating a few dynamic elements on a page:

    DECLARE

    Meter number;

    number of items;

    number of p_counter;

    BEGIN

    items: = TO_NUMBER(:P7_NUMBER);

    FOR counter IN LOOP 1. items

    p_counter: = counter + 1;

    HTP. P ("Item" |) APEX_ITEM. DISPLAY_AND_SAVE (p_idx = > counter, p_value = >, p_item_id = > counter). ': ');

    HTP. P ('Checkbox': counter |) ' ' || APEX_ITEM. CheckBox(p_idx => Counter, p_value => 'Test'));

    HTP. P(' ' || APEX_ITEM. SELECT_LIST (p_idx = > counter, p_value = > 'Y', p_list_values = > ' Yes;) Y, no.; N') || br / > ');

    HTP. P ("< br / > '");

    END LOOP;

    END;

    The question is - how can I make these elements of rendering on a page?

    I'm on Apex 4.2

    Thank you.

    The return would be inserted somewhere in the DOM of your page. So, regardless of the call ajax returns, must be added to a zone. Use jQuery for this. See this example:

    https://Apex.Oracle.com/pls/Apex/f?p=93000:803

    Denes Kubicek

  • Line automated fetch fires when you create a new record

    I have a form on a table that allows me to edit, delete or create new records. If I choose to edit a record of the report form get filled out correctly and modifies or deletes the job very well. My problem is when I chose to create a new record. I get a blank form which is what I want, but once I fill him and click on the button create, fetch again automated line fire and gives me a no data found error.
    How do fires do not when you press the button create?

    Published by: dhanderson on April 3, 2013 08:21

    Hello
    Check the direction - after treatment-> to page-> previous page number that displays records.

    Thank you
    Loga-

  • Refresh the page when visibility regained

    I run my app calendar to allow the user to create a new appointment. I do this by using the InvokationManager page and the Page is in turn inside a NavigationPane. I would like to refresh the content of the page when the user closes the application calendar and visibility gains my app page.

    Is it possible to do? I looked for a signal of visibility in the Page class but cannot find anything relatively to the change of visibility.

    The only way to do it with the invocation is if you call them a card.

    You can then hang in to the cardDoneMessage...

    http://developer.BlackBerry.com/native/reference/Cascades/bb__system__carddonemessage.html

  • API in BULK: always create a new record

    Hello

    Anyone know how to configure import definition so that when we are importing the custom in Eloqua object data, it always creates a new record instead of using a field identifier?

    Thanks in advance!

    Best regards

    ADI

    I guess that I am answering my own question. Thanks to Ken Jin (Jian Jin) to the Support of Oracle.

    1. use the BLOCK 2.0 API

    2. use "ExternalId" as "identifierFieldName".

    3. set the "ExternalId" on import a definition. For example {"field": {"ExternalId": "{{Objetpersonnalise [1].}}"}} ExternalId}}"}}

    If someone stuck on it, please let me know. More than happy to help you.

Maybe you are looking for

  • Satellite A500 / 01 M - can not install the driver from nVidia page

    So I bought an A500 / 01 M over a month or two ago, and the NVIDIA drivers are not updated. I have the nvidia site to download new drivers, but they would not install.He said that the pilot was not compatible and I got get the update of my manafactur

  • Re: Need driver for keyboard QKBFILTR. SYS - Satellite P100 PSAPA6

    Hello I need your help. Unfortunately I remove the keyboard of my Toshiba Satellite P100 PSAPA6 driver and I can't get it back! The name of the file is QKBFILTR. SYS and conducting C:\WINDOWS\SYSTEM32\DRIVERS\I don't want to restore the system. If an

  • Satellite A300 screen keeps jumping up down

    Hello What is on my screen continues to jump up and down, ideas, is it a problem with the video card in Satellite A300?

  • No access to Windows Update to get SP3

    Original title: windows sp2 help out in July 2010 Windows sp2 released in July 2010, I can't do windows security updats since then, I tried several times to upgrade to sp3 but my pc keeps denying them access. I go to my security, confidence and typed

  • Cannot install the Nvidia NVS3100 under XP T510

    Hi for some reason, we had to install windows XP instead of windows 7 on a T510 with NVS3100 video card; I'm unable to install the Nvidia driver 6md136ww.exe!  The program gives me that an error could not find the driver for your hardware. I really n