In the success message page elements?

All,

Is it possible to refer to a page element in a message of success of the process? If so, what is the syntax? We tried & P1_ITEM. and #P1_ITEM #, but neither seems to work...

Thank you
-David

Hi David,

This thread implies that * & P1_ITEM.* should work. Maybe something else in this thread will help.

{message: id = 9652784}

Jeff

Tags: Database

Similar Questions

  • How to display the success Message on the left side of the screen

    I have a message for success of the process after the process of ApplyMRU * #MRU_COUNT # line (s) update *. By default, this message is displayed in the center of the screen. I want to show this message to the left of the screen.

    I use APEX 4.0; Sand theme - 10. I tried to change the position of success message alignment in the Page template - level tabs, HTML Body section. But I'm not having any luck.

    Someone know how to change/replace the default position for the success message?

    Thank you

    Hello DP,.

    Try this...

    
    

    Thank you
    Machaan

  • Line break in the success message

    I want to display messages of success in this way:
    Message1
    Message2
    Message3
    ...

    But it is currently displayed in this way:
    Message1Message2Message3...

    I tried to combine my processes in a single process like this
    declare
       v_vc_message   varchar2(200);
    begin
       -- process 1
       /* my process*/
       v_vc_message := 'Succes message1';
       
       -- process 2
       /* my process*/
       
       if v_vc_message is null then
          v_vc_message := 'Succes message2';
       else
          v_vc_message := v_vc_message || *[char_for_line_break]* || 'Succes message2';
       end if;
       
       :P17_MESSAGE_PR := v_vc_message;
    exception when others then 
       :P17_MESSAGE_PR := 'Error message';
    end;
    and then I put &. P17_MESSAGE_PR in my message of error and success

    I tried different things to get a line break.
    I tried
    '<br>'
    '&# 60;br&# 62;'  (without the spaces)
    chr(10) || chr(13)
    Can someone help me?

    Thank you

    Max,

    I tested on my application using
    , and Interestingly, it has to do with what type of element that you choose to use

    If: P9_MSG (yours is: P17_MESSAGE_PR) is just a hidden element or text, it won't work. But if it's "View only" type, it will work.

    Note that you can conditionally display the item forever, so that you won't see it.

    DECLARE
     v1 varchar2(30) := 'Succes message1';
     v2 varchar2(30) := 'Succes message2';
     v3 varchar2(40) := to_char(sysdate,'hh24:mi:ss');
    BEGIN
     :P9_MSG := v1 || '
    ' || v2 || '
    ' || v3; END;

    Then it's what in the success message

    & P9_MSG.

    Sample is at
    http://Apex.Oracle.com/pls/OTN/f?p=51832:9

    Published by: Alphonse on March 12, 2009 22:49

  • change the success message in the APEX

    Hello

    I would like to show the user that the process is a success or a failure. I can do this easily by writing a text in the boxes provided for the success message and the failure message but everytime I get a sign 'X' as well as these messages. Is it possible to avoid that?

    Thanks and greetings
    VG

    Hello

    Just to be a little more specific... If you change your model page and scroll down to sub-model section, you will find models from 'Success Message' and 'Notification '. You will see something like this:

    #SUCCESS_MESSAGE#

    To remove the "X", you need to remove this part of the code:

    
    

    --
    Paulo Vale
    http://Apex-notes.blogspot.com

  • Name of the application is not running, the success message appears always

    Hello

    I use 11.1.2 and config application form in formsweb.cfg as below, the problem is when I call this link... I show the success message (never call application form, always see the success message wile I change the name of the application that never).

    any suggestion?

    [LOCALjpi]

    applet_name = FormsID

    jpi_download_page = http://w-CPC-IT-018.CPC.gov.AE:9001/Forms/Java/Download/JDK-6u25-Windows-i586.exe

    jpi_classid = clsid:CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA

    jpi_codebase = http://Java.Sun.com/products/plugin/AutoDL/jinstall-1_6_0-Windows-i586.cab#version=1, 6,0,17

    jpi_mimetype = application/x-java-applet

    separateFrame = FALSE

    width = 1166

    height = 780

    colorScheme = titanium

    pageTitle = TEST

    UserID=usename/Password@Conn

    Form=D:\Project\apps\Forms\menu_new.FMX

    WebUtilLogging = off

    WebUtilLoggingDetail = normal

    WebUtilErrorMode = alert

    WebUtilDispatchMonitorInterval = 5

    WebUtilTrustInternal = true

    WebUtilMaxTransferSize = 16384

    imageBase codeBase =

    splashScreen = Loading.gif

    enableJavascriptEvent = true

    Archive = frmall.jar, laf_11112.jar, Jacob.jar, frmwebutil.jar, icons.jar, SimpleAppletBrowser.jar, jdic.jar

    WebUtilArchive = frmwebutil.jar, jacob.jar, frmall.jar, lablediconbutton.jar

    Hello

    This community is to discuss specific issues of Oracle Application Server, you can publish this request in for a better response:

    Forms

    Kind regards

    Prakash.

  • How to delay or not to fade the success message?

    Hello

    I use Apex version 4.2.2. I noticed that error messages do not fade and disappear only if we click on the 'x '. How could I achieve this with the success message? I would like to know how I could delay AND remove the auto fade. After that, I would be able to decide who is best for me. I tried referring here to make the delay, but it doesn't seem to work:

    https://forums.Oracle.com/message/11159689#11159689

    Would it be possible and if yes, where I was able to change?

    Thank you.

    Hello

    I had a situation in which, to have changed the fade time of success messages. You can find the code here: https://gist.github.com/vincentdeelen/7516812

    In the setTimeout of this function, the 4000 is the time in mili seconds that the message remains on the screen. You can change this value at your convenience.

    If you don't want the successmessage to fade at all, you can create an overload of the function like this:

    autoFadeSuccess = function() {return true ;};}

    Kind regards

    Vincent

  • Display of the results of the process beyond process success Message page

    I have a page where the user can re - set their password. They are to enter a new value for password in both boxes, click a button and if the value is non-null and the same in the two areas, the password and the user sees the "Message of success of the process.

    The problem is that even when the user does not enter the correct values, they see now the "Message of success of the process" even when they go bad values. They don't see what I'm trying to provide through the lines of htp.p below.

    What follows is a page process that is triggered after a click on the Send button:

    Start
    If (: p26_pwd2 is null or: p26_pwd3 is null) then
    HTP.p ("Please enter a value for your new password.'");
    on the other
    If: p26_pwd2 =: p26_pwd3 then
    apex_util.change_current_user_pw(:p26_pwd3);
    HTP.p ("your password has been changed.'");
    on the other
    HTP.p ('your password values do not match. Check your values and try again. ") ;
    end if;
    end if;
    end;

    This seems like it should be easy to solve, but I obviously have difficulties.

    Published by: DDysart on July 16, 2009 11:04

    The recommended way to do this is to use Apex "validations.
    1. the point not null validation for p26_pwd2
    2. the point not null validation for p26_pwd3
    3. a validation of PL/SQL to check expression if: p26_pwd2! =: p26_pwd3

    Each validation returns the appropriate error message you need.

    If the validation fails, another page processing is not performed.

    Now your process page can simply be apex_util.change_current_user_pw(:p26_pwd3) with the appropriate message.

  • Add pagination to the top of the screen messages page - new and improved

    I have a phase beta Javascript that puts a third set of pagination and icons located at the top right of the screen CSA post web page information.

    Here is the web page with my improvement Linc Davis is not nearly enough recognition :

    If it was not easy for me to code, it must not be easy for you to install.

    Installation:

    (1) install GreaseMonkey in Firefox. GreaseMonkey does not work in other browsers like Chrome, but I have not tried.

    How to install improved pagination

    (2) add the javascript code of

    http://pastebin.com/raw/9MBCkakf

    R

    PS. Hiroto has a solution too: Hiroto, javascript fix for CSA.

    Hello

    Here's my javascript which now includes the cloning of pagination in header. The pagination_in_header() of service as well as the relevant rules of style injected by CSSStyleSheet.insertRule () does the job. You can adjust the positioning of the cloned by CSSRule element defined in javascript.

    FC.

    Document Object Model (DOM) level 2 Style specification

    https://www.w3.org/TR/DOM-level-2-style/

    // ==UserScript==
    // @name            ASC thread content view (d2)
    // @namespace       bubo-bubo/gmscripts
    // @description     ASC - disable jquery animation, initially show all replies, hide rollup solved answer in page 2 or later, clone pagination navigator in header.
    // @grant           unsafeWindow
    // @run-at          document-end
    // @include         https://discussions.apple.com/*
    // @include         https://discussionsjapan.apple.com/*
    // @include         https://discussionskorea.apple.com/*
    // @include         https://discussionschinese.apple.com/*
    // @include         https://communities.apple.com/*
    // @version         0.2.1
    // ==/UserScript==
    
    var _debug = 0;
    var $ = unsafeWindow.jQuery;
    var watchdog1, watchdog2, watchdog3;
    var watch_interval          = 300; // [ms]
    var re_thread               = new RegExp('^https://[^/]+/thread/');
    var re_thread_or_message    = new RegExp('^https://[^/]+/(thread|message)/');
    
    // disable jquery animation (globally)
    $.fx.off = true;
    
    // supplementary styles for pagination nagivator cloned in header (.thread-container-wrapper)
    // pagination navigator
    document.styleSheets[0].insertRule(
    '.thread-container-wrapper .j-pagination.top {\
        position: absolute !important;\
        top: -10px !important;\
        right: 0px !important;\
    }', 0);
    // loading gear icon
    document.styleSheets[0].insertRule(
    '.thread-container-wrapper .j-loading-big {\
        position: absolute;\
        top: -6px;\
        left: 0;\
        margin-left: -60px;\
        z-index: -1;\
    }', 0);
    
    // modify thread content view behaviour (in post-load phase)
    window.onload = function() {
        // register event listeners
        window.addEventListener('unload', function(e) {
            if (_debug) console.log('unload is observed');
            stop_watchdog(watchdog1);
            stop_watchdog(watchdog2);
            stop_watchdog(watchdog3);
            window.removeEventListener('_locationchange', _locationchange_handler, true);
            window.removeEventListener(e.type, arguments.callee, true);
        }, true);
    
        window.addEventListener('_locationchange', _locationchange_handler, true);
        function _locationchange_handler(e) {
            if (_debug) console.log('_locationchange is observed');
            var href = window.location.href;
            if ( href.match(re_thread) ) {
                setTimeout(show_all_replies, 100);
            }
            if ( href.match(re_thread_or_message) ) {
                setTimeout(hide_solved_p2, 100);
                setTimeout(pagination_in_header, 100);
            }
        }
    
        // _locationchange watch dog
        var prev_href = '';
        watchdog1 = setInterval( function() {
            // watch for location to change
            var curr_href = window.location.href;
            if (curr_href != prev_href) {
                if (_debug) console.log('_locationchange is issued');
                window.dispatchEvent(new Event('_locationchange'));
                prev_href = curr_href;
            }
        }, watch_interval);
    };
    
    function show_all_replies() {
        window.addEventListener('_helpfuldisplay', function(e) {
            if (_debug) console.log('_helpfuldisplay is observed');
            $('.helpful-all-switch li.helpful').addClass('inactive').removeClass('active').hide();
            $('.helpful-all-switch li.all-replies').addClass('active').removeClass('inactive').show();
            $('#helpful-container').hide();
            $('.all-replies-container').show();
            window.removeEventListener(e.type, arguments.callee, true);
        }, true);
    
        watchdog2 = setInterval( function() {
            // watch for helpful container to appear
            if (_debug) console.log('watchdog (for helpful container) is active : ' + watchdog2);
            if ($('#helpful-container').css('display') != 'none') {
                if (_debug) console.log('_helpfuldisplay is issued');
                window.dispatchEvent(new Event('_helpfuldisplay'));
                stop_watchdog(watchdog2);
            }
        }, watch_interval);
        setTimeout(stop_watchdog, 3000, watchdog2);
    }
    
    function hide_solved_p2() {
        var u = window.location.href;
        var re = /[?&]start=([0-9]+)/;
        var m = re.exec(u);
        var p = m ? m[1] : 0;
        if (_debug) console.log('current start post numebr = ' + p);
        var div = $('.j-answer-rollup.recommended-answers.span-full-width');
        if (!div) { return; }
        p > 0 ? div.hide() : div.show();
    }
    
    function pagination_in_header() {
        window.addEventListener('_pagereday', function(e) {
            if (_debug) console.log('_pagereday is observed');
            var pg = $('.all-replies-container .j-pagination.top');
            if (pg) {
                $('.thread-container-wrapper .j-pagination.top').remove();
                pg.clone(true).appendTo($('.thread-container-wrapper'));
            }
            window.removeEventListener(e.type, arguments.callee, true);
        }, true);
    
        watchdog3 = setInterval( function() {
            // watch for reply container opacity to be 1 (which is .5 while loading)
            if (_debug) console.log('watchdog (for page ready) is active : ' + watchdog3);
            if ($('.all-replies-container').css('opacity') == 1) {
                if (_debug) console.log('_pagereday is issued');
                window.dispatchEvent(new Event('_pagereday'));
                stop_watchdog(watchdog3);
            }
        }, watch_interval);
    //  setTimeout(stop_watchdog, 5000, watchdog3);
    }
    
    function stop_watchdog(dog) {
        clearInterval(dog);
        if (_debug) console.log('watchdog is inactive : ' + dog);
    }
    

    Tested with Greasemonkey 3.9 and Firefox 45.3.0esr OS X 10.6.8.

    All the best,

    Hiroto

  • Display the success Message in a Popup Style

    Apex 4.2

    Is it possible to display success messages in a popup style.

    For example, as the apex notification plugin

    Gus

    Hi Gus,

    Gus C wrote:

    Hello

    I got this job using the third link above

    Process using notification plugin success message

    I have a few questions.

    When I save the changes, the notification appears, but is the standard message.

    If I uncheck the display success message box in the branch, or poster then.

    How can I just have the display of notification

    How can I get this to work, when you use the Skillbuilders Page modal plugin

    Gus

    Do not turn off the indicator of successful display, instead of this message you can remove the standard success message by adding the following to your Page-> Execute attributes when the charges article page:

    $("div#success-message").hide();
    

    More better if you add this to zero page if you prefer to use throughout the application.

    About, Skillbuilders Modal plugin Page I would say please submit more information or if possible set up for example in apex.oracle.com.

    I hope this helps!

    Kind regards

    Kiran

  • Preserve carriage returns in the success Message

    Apex 3.2

    I have a page process that calls a procedure in the database.

    The procedure of database returns that a message with carriage returns.

    My page process is as follows

    Declare
    v_message varchar2 (4000);
    number of v_bmiid;
    V_bmikey varchar2 (128);
    number of v_dmatid;

    Begin

    p_vpeapx.pr10_update_bmi (p_ldeid = >: F300_LDEID,)
    p_bmiextkey = >: P10_BMI_EXTKEY,.
    p_promextkey = >: P10_BMI_PROM_EXTKEY,.
    p_bmilongdescr = >: P10_BMI_LONGDESCR,.
    p_bmishortdescr = >: P10_BMI_SHORTDESCR,.
    p_bmiid = >: P10_BMIID,.
    p_bmikey = > v_bmikey,
    p_dmatid = > v_dmatid,
    p_process = > 'update BMI. "
    po_message = > v_message.
    p_checksum = >: P10_CHECKSUM);

    : P10_MESSAGE: = v_message.

    End;

    I then use P10_MESSAGE as my message of success of the process;

    displayed on the page is all in a single line, without carriage returns.

    P10_MESSAGE is a hidden and protected

    The message of the database may be very large, so I need cart returns to display to the user

    Gus

    Gus C wrote:

    I tried the front line, does not work in Internet Explorer, but worked in FF.

    Unfortunately, users do not FF.

    Before I tried and it put everything on one line

    Any other suggestions please

    Set the Message of the success of the process:

    &P10_MESSAGE.
  • Using the procedure output parameter in the success message

    I have a page process that calls a procedure of database with 2 output parameters.

    The source of my page process looks like this:
    DECLARE
       --variables to hold output parameters
       matched_count NUMBER;
       unmatched_count NUMBER;
    BEGIN
       USP_MATCH_PROCESS (matched_count, unmatched_count);
    END;
    I would like to be able to display the value of the 2 output settings in the Message of success of the process for the process.

    Is there a simple way to do this or I have to create the hidden page items and complete these source code, then reference these? Or even better, can reference variables in the source directly from the success of the process Message?

    Hello

    You can use something like this: -.

    apex_application.g_print_success_message: = matched_count | » '|| unmatched_count;

    Concerning

    Paul

  • Dynamically update a numeric field as the sum of the values of page element.

    Hello

    I am updating a numeric field on a page of the apex by summing the values of several components of the page. I have tried to follow this tutorial http://st-curriculum.oracle.com/obe/db/apex/r40/apexdynactions/apexdynactions_ll.htm, especially the part "create a Set value dynamic Action with the help of PL/SQL'.

    In the example of the tutorial, they return a value of page element P3_SAL multiplied by a multiplier determined by the case of another page. What I want to do is much more simple that I just want to add multiple values page element and then display them in a numeric field at the bottom of the page.

    so the code I tried to use based on the tutorial is in the tab: Home > Application Builder > Application 103 > Page 3 > Dynamic Action change > create / edit Action

    Set type: PL/SQL function body

    PL/SQL function body:

    BEGIN
    return: P3_ITEM1 + P3_ITEM2 + P3_ITEM3;
    END;

    Page items to submit: P3_ITEM1, P3_ITEM2, P3_ITEM3

    But it gives me an error that I need to declare identifiers, and yet it works if I use only one article and I can perform arithmetic.

    That is to say.

    BEGIN
    return: P3_ITEM1 + 1000;
    END;

    Any help would be appreciated.

    PL/SQL function body:

    BEGIN
    return: P3_ITEM1 + P3_ITEM2 + P3_ITEM3;
    END;

    Page items to submit: P3_ITEM1, P3_ITEM2, P3_ITEM3

    But it gives me an error that I need to declare identifiers, and yet it works if I use only one article and I can perform arithmetic.

    In your code, it lacks the ":" for articles P3_ITEM2 and P3_ITEM3.
    Try this:

    BEGIN
    return :P3_ITEM1+:P3_ITEM2+:P3_ITEM3;
    END;
    
  • In the success message SYSDATE

    How can I use SYSDATE in the "Message of success of process" a plsql block?
    I want a message like: procedure performed at the 25.10.2011 00:24:25

    Hello

    The value of the item application end-of-process session state

    :MY_APP_ITEM := TO_CHAR(sysdate,'DD.MM.YYYY HH24:MI:SS');
    

    And the success process set message

    Procedure executed at &MY_APP_ITEM.
    

    Kind regards
    Jari

  • Disable the entry on the loading of the page according to the level of page element

    Hi all

    I am trying to set the disabled property of an HTML input button when loading a page APEX. This can be achieved easily using getElementById and setting the * "off" * property in the body onLoad event.

    However, I need to keep the State of the button is disabled if the page is updated by the user or a mailing. I kept that State in a page element, however the + $x (PAGE_ITEM_NAME) + in the event onLoad of body does not return me the value stored in the page element. Calling the same code using an onClick of a dummy button me returns.

    1. What is the appropriate way to get the value of page_item during the loading of a page?

    2. If it is not possible to do it on a page load, is there a way to set the State of an entry button html to the disabled using a process page for example?

    Thanks heaps
    Raihaan

    Raihaan salvation,

    Let's make it a little different, that this approach gets you into trouble.

    Create an application process, called "GETLOCK" (components shared > procedures > Create), make sure that the "point" is set to "onDemand". Paste in the following source:

    DECLARE
      result NUMBER;
    
    BEGIN
      FOR c IN (select count(flag) lock_status from c_locking where rownum = 1) LOOP
        result := c.lock_status;
      END LOOP;
    
      HTP.P(result);
    
    END;
    

    Then, return to your page, to go to the definition of the page, paste the following code in the HTML header:

    
    

    Change Button_1 and Button_2 for button names accordingly (make sure that it is the 'id' attribute).

    Then, paste the javascript code in Page "footer text:

    
    

    What just you did, is to create an application process, which is called by an AJAX call in the header of javascript, that is triggered by the javascript code in the page footer.

    I think you already have your DML supported, with the shipment of your buttons. Now, everytime the page loads, it checks which button to turn off.

    It will be useful,
    Greetings,
    Rutger

  • Since I've upgraded to firefox 5.0.1 ever time I open ff I get the successful upgrade page.

    Since I've upgraded to firefox 5.0.1 ever time I open Firefox, I get Your Firefox's page updated. http://www.Mozilla.com/en-us/Firefox/5.0.1/whatsnew/ How can I stop this.

    Try this link - Preferences are not saved

    https://support.Mozilla.com/en-us/KB/preferences%20are%20not%20saved

    Check and tell if its working.

Maybe you are looking for

  • How can I close FF w/o reboot?

    Often, I get a message when I try to go to a Web site that shows 'FF is already running, close FF or reboot. FF orange button is not displayed when this message? I'm tired of rebooting is not their best?

  • What happened to the notes in mail el capitan?

    I just (finally) upgraded a MacBook from 2006 to an iMac and have slowly learned my way with el capitan (which of course my old computer could not operate.  I forgot that I was on what operating system.  I used to store important information in the n

  • Where is the tab key went using Pages on iPad 2 Air version iOS 9.2

    on my iPad (iOS 9.1) 2 Air' and in the application of Pages is no longer able to find even less to use a key of tabs.  Anyone know how to get back the tabs in Pages of documents?

  • Dynamically manage the names of legend by using nodes of property

    I have to draw several temperature - time data on a XY Chart. Now traced works perfectly fine, but when I try to stup the legend name using property nodes, it gives error if I use something like in the first picture. It seems that the "ActPlot" prope

  • installation of window with all users customize software exe

    Hello hy? my name is Rachel and I need assistance. How can I make windows 7 bootable with all other software like vlc nessary, pilot, chrome and other software I want to run our window having recently these instal download other software with them. I