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.

Tags: Database

Similar Questions

  • 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

  • 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 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

  • Lightroom Import carriage returns in the IPTC captions

    I use Lightroom 3.3 with Windows.  When I import pictures that have the IPTC caption field created in another program (ThumbsPlus or IrfanView), in the original carriage returns do not appear in Lightroom.  Anyone know why or what to do about it?  I would like to import a lot of photos with existing captions, and some have carriage returns, I would like to keep.

    Windows LR 3 has a bug of long date in the treatment of the line breaks in the metadata.  LR represents always returns to the line in the metadata with a single character (the Unix/Linux/Mac ' \n', Ctrl + J, ASCII decimal 10).  It will preserve the preexisting line breaks in the metadata (even if edit you it), and if you enter a line break in the metadata pane using Ctrl-J or Ctrl + Enter, this new line is going to get written correctly as a single character. However, LR does not correctly display the pre-existing line breaks - they get silently élidés.

    So if you enter a new line in the caption area of the metadata pane using Ctrl + Enter, this new line is displayed correctly.  If you then save the metadata to a file, the line break is properly registered as a single character.  But if you then reread the metadata in LR with reading metadata file, the line break appears more correctly (it will be kept).

    This is a bug of elementary programming caused by the differences between Mac (which uses a single character to represent returns on line) and Windows (which uses the two characters, Ctrl-Ctrl-M-J, although many modern Windows applications accepts a representation).

  • Indicator automatic resizing of string with carriage returns in the chain

    I try to have a string on my front indicator automatically resize to put different strings that are sent to it.

    I found the function 'Get the Rect.vi text' and it seems to do exactly what I want, but only for the first line of my string.

    It is not resized to display characters after a carriage return / newline.

    Here is a picture of the chain resized automatically next to a picture of the complete string that I size manually.

                       

    How do I autosize my chain indicator box to include all of my text?

    The node to invoke "Text size" would work?

  • 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

  • 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

  • Remove the carriage returns in the text in an oracle SQL table column

    Hello

    Someone knows how to remove carriage returns in a text column in an Oracle table
    using SQL. So far, I have:

    Replace (text_field, Chr (13),' ')


    but this is ignored.

    (We use db 10g (enterprise Edition Release 10.2.0.4.0) and SQL * more 10.2.0.1.0)

    I would be very grateful for any help.

    -Mark

    How does the following:

    UPDATE table_name SET col_name = REPLACE (col_name, Chr (13), ");

    But if your new line is CR + LF, then use REPLACE (col_name, Chr (13) + Chr (10), ")

  • Carriage returns in the HTML Code, creating additional spaces between elements

    I looked everywhere online and cannot find the solution to my problem. I found several pages explaining a similar event, but no solution.

    When you put several divs side by side, I would like to visually display the code as a div by line: (see image) to do this, I have to use returns in my code (this method makes editing much easier visually). But doing so adds an extra space between the divs that turns a game of 3 columns of thumbnails to 2 columns. I can fix it if I adjust the physical margins between the divs, but this isn't the only solution.

    with-carriage-returns.jpg

    The other difficulty is that if I put the code back to back to back (see picture): what makes the div behave and appear as they should, but now the code is a Visual disorder because it is very crowded.

    no-carriage-returns.jpg

    What I want is to be able to use as many carriage returns in my code and for browsers to ignore these types of line breaks in the code. So, basically, how can I get away from these extra spaces when you use returns in the code?

    I think that your two pages have a missing at the end somewhere.

    OPPS... it happened when I was stripping down the page to create a working example of my question. I set the div missing and re-uploaded both pages. The problem is still there.

    Change display: inline; float: left; and add margin: 0 0 4px 4px; (as shown below)

    I had already tried to use floats, but something else in the code forced the columns to 2 instead of 3.

    'Apply Source Formatting' did you use?

    I use that religiously. I'm quite anal about visually clean code.

    Well, I just fixed the problem while responding... funny... I removed the margins of the element img real (.imageThumb img) and placed on the div that surrounds the img (.imageThumb). I also reapply the float. Thank you all for the help - it helped me rethink. But I could have sworn I had once placed the margins on .imageThumb before and it didn't work.

    {.imageThumb}

    Width: 100px;

    height: 75px;

    display: inline;

    float: left;

    margin: 0px 10px 10px 0px;

    cursor: pointer;

    }

    .imageThumb img {}

    / * margin: 0px 10px 10px 0px; * /

    }

  • 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

  • Carriage return to the AutoNumber Format?

    Hello

    I have configured my EDD structured with some headings as autodial.  I wonder if there is a way to put a return between the number and the text?

    In other words, can I do this:

    Chapter 2: This is the title of the chapter

    look like this:

    Chapter 2:

    This is the title of the chapter

    As a secondary issue, in my search for the answer to this question, I discovered the < r >. < r + >, < R >, etc. '' building blocks. ''  I can not find them mentioned anywhere in the user manual or the manual of structured development application.  Can someone tell me exactly what is their function?

    Thank you!

    I use \r in my prefixes to get a newline at the end of the prefix. I have not tried to use it in an auto-numbering format. HOWEVER, the structured development guide says:

    If a paragraph with an AutoNumber item features include a prefix or a suffix, prefix appears just after
    automatic numbering at the beginning of the paragraph and the suffix appears just before the
    AutoNumber at the end of the paragraph.

    Because the AutoNumber appears BEFORE the prefix, I think you just need to define your prefix like \r (or maybe \n) to insert a line break between your AutoNumber and content.

  • 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

Maybe you are looking for

  • I get messages on my IPAD, "Safari cannot download FOXFIRE.". Help!

    Simple. How to download FIREFOX on my IPAD? I've already downloaded SAFARI. I get the message that I can't download FIREFOX for free using SAFARI browser. What should I do?

  • Where is the location for SIM in Tecra R10?

    How to install or change 3 G SIM card in Toshiba Tecra R10 embedded 3 G Modem?Where is the SIM card slot? Thank you best regards &,.Rui

  • support site and pilot down?

    I tried to download the driver for CM1415fnw. But he urged that the site has been moved. Y at - it a problem on the website. problem occurred around: Singapore time: 20:40 date: 03July 2012.

  • Cannot access the background settings of screen (Vista HomePremium)

    In the customization settings, it seems not able to change my wallpaper settings. Only the following options are displayed: The window color and appearanceScreen saverSoundsMouse pointersThemeDisplay settings It's my own laptop, so I'm the admin. I r

  • Updated between the values

    HelloCould someone help me with a very trivial problem.I have after the update clause, but it gives the error ORA-01427. Seems that it is between the two problem. How should I change what he begins to work?Update sales_inthe value of sale = (select a