Get rid of the success_msg when the page refreshes

Hello

By default, success for the Apex (4.0.2) process messages are embedded in the URL like this:
http://server/apex/f?p=1:1:752495074277700::NO:::&success_msg=All%20changes%20saved
For this reason, if the user refreshes the page the message obviously shows once again. Users say it's confusing because it looks like to other changes have been saved.

Their hope is that, if they refresh the page, the success message should not appear.

Is it possible to change this behavior? I think not, but you never know... I hope that makes sense!

Thank you
Luis

Best Solution this time :)

  • Create a component of demand, say F_SHOW_MESSAGE
  • Create application processes - "Set F_SHOW_MESSAGE"

     Process Point: On Submit: After Page Submission - After Computations and Validations
    Type: PL/SQL Block
    Process Text: :F_SHOW_MESSAGE := 'YES';
    

  • Create another process request - "show or hide the Message.

    Process Point: On Load: Before Header (page template header)
    Type: PL/SQL Block
    Process Text:
         IF :F_SHOW_MESSAGE = 'YES' THEN
          :F_SHOW_MESSAGE := 'NO';
         ELSE
          APEX_APPLICATION.G_PRINT_SUCCESS_MESSAGE := NULL;
         END IF;
    

    This should solve your problem :D

    Kind regards
    Hari

  • Tags: Database

    Similar Questions

    • cannot display the thumbnails tab or to get rid of the page "you have opened a new tab".

      I get this(see pic) when I open a new tab, I solved this problem before, but I forgot how I did the last time.
      I tried clicking on the "don't show me this page again.
      What is a crunch the words more near getter.
      tried the zoom out without result
      then I tried to go into everything: config and permutation of the browser.newtab.url in about: newtab just to see that it was still defined as about: newtab.
      How can I get rid of that? Unable to see thumbnails is kind of annoying.

      I never have this page soon. Looks like a malicious extension for me.

      Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

      If Firefox is open, you can restart Firefox Safe mode in the Help menu:

      • Click the menu button

        click Help

        then select restart with disabled modules.

      If Firefox does not work, you can start Firefox in Mode safe as follows:

      • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
      • On Mac: Hold the option key during the startup of Firefox.
      • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
        (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

      When the Firefox Safe Mode window appears, select "start mode safe."

      If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

      To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

      When find you what is causing your problems, please let us know. This might help others with the same problem.

    • How can I get rid of the page "you have opened a new tab" that appears when I open a new tab?

      There is also a search function that brings me looking for yahoo. Not good.

      Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > themes).

      • Makes no changes on the start safe mode window.

      See:

    • How can I get rid of the page "Welcome to Firefox!" at startup?

      It is a pain in the neck.

      You can check the setting of the homepage:

      Firefox supports several home pages separated by ' |' symbol (pipe).

      Delete a possible user.js file and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

      If you do not keep the changes after a reboot or have problems with preferences can also see:

    • How can I get rid of the ball of small tennis on the login page when starting?

      How can I get rid of the ball of hail [tennis?] on the login page when starting? Thank you.

      If you go to the users of the system of preferences. You will see a box with a picture of the ball. If you click on it, you can ether edit photo or choose one of the other ones...

    • We were members of creative cloud and when the membership was to be renewed, we asked one month free. This leads to 2 accounts creative cloud on our page... a renewed and paid for and the other related to the temporary use.  How to get rid of the tempo

      We were members of creative cloud and when the membership was to be renewed, we asked one month free. This leads to 2 accounts creative cloud on our page... a renewed and paid for and the other related to the temporary use.  How get rid of the temporary use of a month?  They both have the same ID and both appear on the administration page.  Thank you.

      Please contact customer service to get this resolved.

    • Can we get rid of the eye on the front page? Me slide out!

      Filled with the sign the petition for INTERNET security. Now I can't get rid of the eye on the front page. I want to get rid of because I've already signed. The eye slips out, can it be done away now?

      I am in the United Kingdom and do not see it, but I doubt that Mozilla put there. However I see you are using a theme, then in the case which is originally he Try Firefox Safe Mode see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

      If Firefox is open, you can restart Firefox Safe mode in the Help menu:

      • Click the menu button

        click Help

        then select restart with disabled modules.

      If Firefox does not work, you can start Firefox in Mode safe as follows:

      • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
      • On Mac: Hold the option key during the startup of Firefox.
      • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
        (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

      When the Firefox Safe Mode window appears, select "Start mode safe" - does NOT REFRESH!

      If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

      To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

      If it goes further, remove the theme and if you need to reset the homepage, please see my initial response.

      By the way, you should be able to see the homepage at any time by typing on: House in the address bar and pressing ENTER.

    • How to get rid of the zoom line when scrolling with the mouse wheel

      In windows 7, I tried the about.about.config and the set zoom.max %; 100.Zoom.minPercent; 100
      also... set view_source.wrap_long_lines; true. This does not prevent the problem of zoom .This is - that I can do to fix, its driving me crazy

      HI MaryMyers,
      Thank you for your question, I understand you want to get rid of the zoom when you scroll.

      You can set the pref mousewheel.withcontrol.action (Mac mousewheel.with_meta.action) 1 on the topic: page config to avoid zoom if you press the Ctrl/command key.

    • I want to click to open the message, but it is to open when I select it, and I can't get rid of the open under the messages pane.

      I want to click to open the message, but it is to open when I select it, and I can't get rid of the open under the messages pane.

      The preview area is called the messages pane. You can activate the message on and outside pane using either:

      • F8 key
      • Press the Alt key to display the classic menu bar > View menu > page layout > the message pane

      I don't know why I can't find it in the new menu (3 bars). There has got to be somewhere.

    • How can I get rid of the box that appears when you start Firefox 'Restore previous Session'?

      How can I get rid of the box that appears when you start Firefox 'Restore previous Session'?

      Subject: House is the default in Firefox 4 home page - look at the address bar containing the addresses of web page - it is the container for Google search, with a 'extract container' and below these elements is the Previous Session Restore button. It's not the same homepage that previous versions of Firefox used (although it is similar in appearance), it is a 'local' page that won't load the Internet.

      Set this page as your home page, which is what Firefox 3.6 and earlier versions had for the default home page. He has Previous Session Restore button/link.

      http://www.Google.com/Firefox

    • How can I get rid of the annoying video on the start page.

      Everyone wants to be free of ads and to go about their business without interruptions. This video is like an announcement that I am forced to see every time I go to the start screen. And, if no one complains, there will be more. If I click on the video and select "Inspect element" and then delete everything, will it get rid of the video without damaging the programming for the start page?

      Mozilla rotating exhibitions of excerpts on the topic: home page to run regularly for various campaigns and these changes.
      You can consider putting another page than the home page for the moment.

      If you prefer not to see excerpts on the topic: home page or if there are problems with a snippet of code, you can set this pref to a value of empty string on the topic: config page by removing the current value through the context menu (change) or a double click.

      • topic: config page: browser.aboutHomeSnippets.updateUrl (current value to delete)

      Delete the storage\persistent\moz-safe-about + House in the closed Firefox with Firefox profile folder (Firefox '3-bar' menu button > exit/Quit) remove code snippets stored in IndexedDB and make Firefox to use a default extract value.

      You can reset the pref browser.aboutHomeSnippets.updateUrl through the context menu on the default to reactivate the code snippets and make Firefox recreate the moz-trunk-fort-about + folder.

      Close and restart Firefox after changing the value of the preference of browser.aboutHomeSnippets.updateUrl.

    • How can I get rid of the practice (news this morning) of messages that appear at the bottom of the Inbox message list when I don't want to see them?

      Until this morning, I could the cursor up and down on my list of the Inbox for messages I wanted to open (or delete without opening). Now, each message darn, the cursor stops on - or sometimes even just past above - appears below the line at the bottom of the list of messages. This means that I can't see so many messages listed at the same time as I could yesterday.
      I can get rid of the line (and the message that open automatically below) only by moving the cursor down on the line. I don't want to do that with every message that I make a break on or exceed. If I want to open a message, I'll open - it is not so difficult.
      I imagine that some people wanted this feature or that it would not have been installed. All I want is to be able to turn it off.
      Thanks for any help.

      Re; I guess that some people wanted this feature or that it would not have been installed. All I want is to be able to turn it off.

      There is no such feature added, because it would be ridiculous to implement.
      The problem you are experiencing is not a problem with Thunderbird.
      It is likely to be your mouse, mouse pad or keyboard.

      Emails do not open without a statement to open. That statement comes from the mouse, mouse pad, keyboard, then this is where to look.

      Either you're inadvertently clicking or your settings are too sensitive or maybe something is stuck, your mouse/keyboard mat is recording your action and act on it.
      Action comes from the mouse or carpets to mouse or keyboard and the computer includes an action is required and performs this action in Thunderbird.

      Determine if what you are doing when it occurs, what method to use and check the settings.

      I would go in your computer control settings to get for example: mouse pads
      and check the settings for sensitivity.

      If you use a mouse pad, it's too easy to press slightly harder and move cursor is interpreted as a left click. Check the sensitivity settings.
      Maybe your keyboard should be cleaned as keys become sticky.
      If you use a mouse, then make sure that your hands are not inadvertently pressing the buttons, the checksensitivity settings or maybe the mouse begins to fail, if not too sentive.

    • How can I get rid of the pesky "what's new in Pages '?

      How can I get rid of the pesky "what's new in Pages '?

      Unless there is a check box on that, what's new dialogue to prevent future events, and then create and save a Pages document. In both cases, who must still remove the instances of that message. There is no preferences, or the menu setting.

    • don't get rid of the classic theme - I HATE TABS squared & I miss the toolbar at the bottom that tells me where I'm trying to go to a new page.

      1. How can I get rid of the classic theme?-hating to the square of the tabs.
      2. where is low toolbar that lets me know (such as to empty the trash on my Mac) where I am trying to go to a new page?

      Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

      Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

      • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
      • Do NOT click on the reset button on the startup window Mode safe
    • How can you get rid of the "new tab" page that flashes what you did recently? I don't like this option...

      How can you get rid of the "new tab" page that flashes what you did recently? I don't like this option. If I wanted to Flash all the pages I've visited, I would. It is not YOUR place to do it for me. I'll change the browser if it is not changed.

      Hello, please refer to customize the page new tab to turn off the function.

    • How can I get rid of the gap of 1-2 seconds between the song when I go to burn a CD with WMP

      How can I get rid of the gap dry. 1-2 between the song when I go to burn to a CD.

      You don't say what version of Windows you are using, so these instructions refer to Windows Media Player 12 in Windows 7.

      1 open Windows Media Player.

      2. click on organize , then Options of the burn tab.

      3. check the box for CD burning without gaps , and then click OK.

      I believe that not all CD/DVD burners can burn without gaps however.

    Maybe you are looking for

    • Problem Driver WiFi HP 255 G2

      Hello, I just bought my G2 255 HP and I spend a lot of time to find the driver of apropriat. All the drivers that I tried to install start to load and then close any whitout a clue. The led of the button WiFi (f12) is always orange. In the device man

    • Envy 17 t-j000: Win8 activation key lost in envy 17 t-j000

      I had a disk error hard mbr and couldn't get my laptop to come. I had to go to the recovery partition and restore the laptop to how when purchased in July 2013. I ordered the laptop directly from hp and it has no key Windows 8 in email, or on laptop

    • HP Pavilion Slimline (HP s5000: I need more memory on my s5000 HP (HP s5710f))

      I have had this machine for about 4 years and am currently running out of memory when in common applications such as Facebook.  The machine has 3 GB of memory on the motherboard that contains only 3 memory locations.  The maximum memory seems to be o

    • Windows 'Help and Support' loading extremely slowly

      When I press 'F1' on my help desk and Support Windows can take a full 1 minute to load. Information support: Running Vista Edition Home Premium on an Intel Centrino Duo Machine I recently installed Visual Studio 2010 and also set to upgrade to Office

    • HP icons

      Bit of a trivial question, but is it annoys me and I am determined to solve. I have a HP officejet 6500 has installed on my old desktop running on Vista and have now installed on my new desktop running Windows 7. I have a HP icon on my old computer t