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

Tags: Database

Similar Questions

  • FTP Dreamweaver CC2015 removes all line breaks in the php files. How can I fix this problem?

    When I upload a php file. The ftp transfer removes all line breaks and creates a continuous line of unique text. I need to download the code with all the line breaks in the original php file correctly.

    I found the problem.

    FTP of Dreamweaver CC 2015 program is not compatible with Yosemite 10.10.5 on all ftp servers.

    The new version of FileZilla (v 3.14.0) is also not consistent.

    Fetch 5.7.5 is fully compatible with Yosemite. With Fetch, I can download the files without any problems successfully.

    In their update, Fetch mentioned that the problem is not with all servers.

    I host on Unix servers with HostGator AMD Opteron processors running on an OS GNU/Linux 64 - bit.

    If you run Yosemite and ftp of Dreamweaver is ruin your line breaks, then use Fetch until Adobe can fix their problem.

  • Add the line break in the field 'ask '.

    Hello

    I am trying to create checkbox with a personal message for my iExpense page. The comment to go here is long enough and puts in place a horizontal scroll bar that damages the look and feel. I tried to adjust without wrap to FALSE, but which is overridden somehow. Can someone suggest how I can introduce a line break in the Guest section... I tried html breaks etc obviously, but they are coming as the exact line breaks not as characters.

    Hello

    As I mentioned in my email, this region is a region shared everywhere ebiz, if we programmatically change which will affect all applications.
    I've updated the other thread (root problem) soln,.
    iExpenses-Help for customization of a Standard of Notification Workflow page. ,

    Thank you.

    With respect,
    Kali.
    OSSi.

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

    How to enter the line break in the TEXT Editor?

    --

    Thank you.

    There is an easy solution.

    If you want to use the Enter key, simply hold down the SHIFT key and the Smiley key become the Enter key.

    Alternatively, if you are a fan of the typing gesture, you have need only drop off shift at entrance to y to insert a new line.

    Hope that helps. Please acknowledge.

    Concerning

  • Automatically convert soft line breaks in the text box to hard breaks

    I have the design of textbooks and convert to ePub recomposable, broke up. These ePub files get formatted then can be used interchangeably on the printed text. A book that I am currently in conversion is a literature book where there are lines of text with the overall line numbers so that teachers can quickly refer to a specific section of the text.

    All the line breaks in the ID file are defined just by the edge of the text box. So the text box change sizes, all line breaks would also change. Isn't a problem until you need to keep these online breeze in recomposable text and add up the numbers in.


    What I'm looking for is a way to insert automatically the line breaks in these LONG sections of text in the right places. Does anyone have any ideas on how to do that?

    Thank you!

    Select a text box and run this script. He puts a soft return at the end of each line that doesn't have a carriage return. For more information on the installation and use of this script see http://indesignsecrets.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-o r-blog - post.php .

    Written by Skemicle

    If (parseFloat (app.version)<>

    main();

    on the other

    app.doScript (principal, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "add end of line returns");

    main() {} function

    lines of the var = app.selection [0].parentStory.lines;

    for (i = 0; i<>

    If (rows [i] .characters [-1] .silence! = "\r") {}

    lines [i] .characters [-1] .silence = "\n";

    }

    }

    }

  • 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

  • line break in the value of the attribute

    Hello

    11g JDevleoper xml document I need to have the line Rodez well instead of having xml attribute value

    <some-xml-element value="this value goes over.... multiple lines!" />

    I want to have


    <some-xml-element> <value>this value goes over...

    multiple lines!</value> </some-xml-element>


    Is this possible?

    Thank you

    Anatoliy

    Your original question was about an XML attribute , but him more later for example does not use an attribute and a child element (). Attributes of the element XML and XML elements are two different things. If the XML schema for the underlying document defines the attributes, you cannot specify the required values as child elements.

    If the XML schema defines the 'value' as an XML attribute, you can specify newlines using characters references, for example:

    value="this value goes over...
    multiple lines!"

    NB. If you put direct line breaks in the attribute (as in your first example above) instead of character references, it will not work. Please, have a look here for precise explanation:

    Is it possible to have HTML or CDATA text inside an XML attribute? -Stack overflow

    If the XML schema defines the 'value' as an XML element, you can set the necessary value in a CDATA section, which will retain the formatting, line breaks including, for example:

     

    multiple lines!]]>

    Dimitar

  • Force a line break in the text of button?

    I'm sure I asked this before a few months ago, but what worked then is not working now.

    Dreamweaver CS 6: I have a menu bar button that contains text that needs two lines. The default line break is awkward. I want to break the line a word before where the default it breaks.

    Now, a few months ago, with a taskbar button previous menus that have had the same problem, I was told to enter the control + return in the window code and divide the text exactly where I wanted. (Note: I'm on a Mac, I don't speak a command.) I mean the control key.)

    What to do with this button and it forces a line break where I want in the code window, but the design window is not follow suit.

    So. How can I force a line break in the text of the button in design mode? I'm sure it's something simple. But what I thought I knew have apparently isn't what I want.

    How can I force a line break in the text of the button in design mode?

    Have you tried Shift + Enter?

    It works in Windows, so it might work on mac as well.

  • In MXML, how can insert you a line break in the label of a mx:Button?

    In other MXML components, you can do things like use curly braces to incorporate scripts, use '& #13' and stuff like that in their text and label attributes.  Apparently the mx label attributes: Buttons are so locked that normal suggestions for other components do not work.  I might try just setting the labels in the main script of an MXML file or something, but it's a sloppy programming if it can be avoided (values of labels will be constant in this case).  Is there a way to put a line break in the attribute in MXML?

    Regarding the use "& #13", which gave me a line break at least, but any text to the right of this sequence has disappeared.  This makes me think that there may be a way to make this work, but so far I have not found the way.

    Thank you!

    The response occurred in the thread that I put at the beginning for this:

    http://StackOverflow.com/questions/11621952/in-MXML-how-can-you-insert-a-newline-into-the-label-attribute-of-a-mxbutton

  • Line or break line break in the text in the UserInterface WEB-Gallery

    How to insert a line break or a line break in the text in the WEB - Gallery UserInterface defined in 'galleryInfo.lrweb '.

    Example:


    Code:

    < pre >

    ToolTip = LOC ' $$$ / AgWPG/Templates/HTML/Panel/WarningIcons/RequiresLarge = change of Image Pages settings are not currently visible.»  Click in the image grid to move to a page of the image. «,

    < / pre >

    Output should be:

    Changes to the settings of the Image of Pages not currently visible.

    Click in the image grid to move to a page of the image.

    Ideas are welcome, thanks.

    \n is a newline and \r is a return to regular text strings.


    is a newline in HTML.

  • Remove the line breaks in the HTML Source Code

    Is it possible to remove all line breaks in the code source HTML generated by Dreamweaver? After using the Dreamweaver design view window, I want to assure you that all the source code of the html page I created is going on a single line. Is there a simple way to remove all line breaks, or tell Dreamweaver to create the HTML code on a line?

    Ki Song says:
    > Is it possible to remove any line break in the HTML source code
    > generated by Dreamweaver? After the use of the design view window in
    > Dreamweaver, I want to assure you that all the source code for the
    > goes from html page I created on a single line. Is there an easy way
    > to remove all breaks online or tell Dreamweaver to create the HTML code
    > code on a line?

    http://www.TJKDesign.com/articles/whitespace.asp

    HTH,
    --
    Thierry
    Articles and tutorials: http://www.TJKDesign.com/go/?0
    Perfect FAQ page: http://www.TJKDesign.com/go/?9
    Templates CSS - P: http://www.TJKDesign.com/go/?1
    CSS tabs menu: http://www.TJKDesign.com/go/?3

  • 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

  • contact form - line break for the field - email format - message

    For example, I have 4 lines in the message box:

    line 1

    line 2

    line 3

    line 4

    but the email looks like this: line 1 line 2 line 3 line 4.

    but I need line breaks:

    line 1

    line 2

    line 3

    line 4

    any ideas where changes are possible (e.g., form - process.php...)

    Hi Christian,

    It is not possible to Muse, but you are right, that if you export of Muse and edit "form_propcess.php" in the scripts folder, you can reach your target audience.

    You just need to redraw the structure of the .php file

    Once done editing the .php file, download all the files to the accommodation.

    Thank you

    Prabhakar Kumar

Maybe you are looking for

  • HP Pavilion 15-n004eu unknown Drivers

    Hello I have a laptop HP Pavilion 15-n004eu. I had a missing driver after installation to win 8.1 64-bit, and that's the problem- Unknown device Location - on the PCI Express Root Complex in the BOX: The drivers for this device are not installed. (Co

  • Pavilion g7-2201sd windows 8 ends not configure updates

    My HP Pavilion G7 2201sd / Windows 8 ends not configure windows updates, it gets stuck on 12%, no error message. A few times a week the laptop wants to update, but does not then complete it. Anyone know what is the cause of this and how do I solve th

  • IDriver.exe wild race

    I'm trying to reinstall Palm Desktop V. 4 on a machine running XP Pro. The installation process hangs and the Task Manager shows idriver.exe use 50% CPU.  I tried to remove idriver.exe for all locations and its replacement by a newer version of a wor

  • Problem turning on Windows Defender

    Windows Defender is disabled for unknown reasons. When I try to turn it on I hit a dead-end error message: 0x800705b4. What can I do?

  • Copy questions

    Hello I recently bought a Mac desktop computer. My HP all-in-one Office Jet Pro 8600 Plus works fine wirelessly for printing and scanning with the new computer. But I tried earlier to make copies and it starts the process, but a quarter in printing t