Action Messages - Want to print the message with a break (newline)

Hi,
Have an application where i need to do a Bulk submit. It is such that, the data will be send to DB
one by one, processed and the result is displayed at the end. So once it is submitted I need to
collect the ids submitted successfully and show a message with all ids.
Like IDS Submitted Successfully - ID1, ID2, ID3....
What i do is I concatentae all the Ids in a String object and at the end I use
ActionMessages.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage("Success", submittedIds));
Now the problem is I will be submitting more than 1000 Ids and if all were sucessful the Ids are printed in same line
without break.
Can someone help me how can i print them in a new line after 10 /15 ids.
Thanks

Linebreaks in HTML are to be represented using the <br> tag.
So if you add it at the desired locations in the String, then it will expose itself in the HTML output.

Similar Messages

  • I don't want to buy a calender I want to print the one I made on iPhoto with my own picture pages.

    I don't want to buy a calender I want to print the one I made on iPhoto with my own picture pages. There is also a problem with the cover page. Ihe title will not present the same in the source column as is on the larger picture, and It won't let me change it.
    Virginia

    Do NOT buy the book
    Preview the calendar exactly the same way you preview the book
    Preview the calendar the same as a book -
    or with really minor edits
    Preview the calendar using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF and print it
    LN

  • I want to print the LOGO on the report output

    Hi ,
    i want to print the LOGO on the report output. How can tyhis possible ?

    using "SMWO" to upload LOGO image.
    add a customer "customer control" named P1 using "SE51"
    the following program for your reference:
    =============================================
    REPORT  ytest17.
    DATA ok_code TYPE sy-ucomm,
              save_code TYPE sy-ucomm.
    DATA  container TYPE REF TO cl_gui_custom_container.
    DATA  picture TYPE REF TO cl_gui_picture.
    DATA  init.
    CALL SCREEN 100.
    MODULE user_command_0100 INPUT
    MODULE user_command_0100 INPUT.
      save_code = ok_code.
      CLEAR ok_code.
      CASE save_code.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                    "user_command_0100 INPUT
    MODULE status_0100 OUTPUT
    MODULE status_0100 OUTPUT.
      IF init IS INITIAL.
        DATA url(255).
        CLEAR url.
        CREATE OBJECT container
        EXPORTING container_name = 'P1'.
        CREATE OBJECT picture
        EXPORTING parent = container
        EXCEPTIONS error = 1.
        IF sy-subrc NE 0.
        ENDIF.
        PERFORM load_pic_db CHANGING url.
        CALL METHOD picture->load_picture_from_url
          EXPORTING
            url = url.
        IF sy-subrc NE 0.
        ENDIF .
        init = 'X'.
      ENDIF.
    ENDMODULE.                    "status_0100 OUTPUT
    *&      Form
          text
    FORM load_pic_db changing p_url.
      data query_table like w3query occurs 1 with header line.
      data html_table like w3html occurs 1.
      data return_code like w3param-ret_code.
      data connect_type like w3param-cont_type.
      data connect_length like w3param-cont_len.
      data pic_data like w3mime occurs 0.
      data pic_size type i.
      refresh query_table.
      query_table-name = '_object_id'.
      query_table-value = 'TESTPIC'.
      append query_table.
    CALL FUNCTION 'WWW_GET_MIME_OBJECT'
      TABLES
        query_string              =  query_table
        html                      =  html_table
        mime                      =  pic_data
      changing
        return_code               =  return_code
        content_type              =  connect_type
        content_length            =  connect_length
    EXCEPTIONS
       OBJECT_NOT_FOUND          = 1
       PARAMETER_NOT_FOUND       = 2
       OTHERS                    = 3
    IF sy-subrc <> 0.
    pic_size  = connect_length.
    ENDIF.
    CALL FUNCTION 'DP_CREATE_URL'
      EXPORTING
        type                       = 'image'
        subtype                    =  cndp_sap_tab_unknown
        SIZE                       =  pic_size
      DATE                       =
      TIME                       =
      DESCRIPTION                =
        LIFETIME                   = cndp_lifetime_transaction
      CACHEABLE                  =
      SEND_DATA_AS_STRING        =
      FIELDS_FROM_APP            =
      tables
        data                       = pic_Data
      FIELDS                     =
      PROPERTIES                 =
      COLUMNS_TO_STRETCH         =
      changing
        url                        = url
    EXCEPTIONS
       DP_INVALID_PARAMETER       = 1
       DP_ERROR_PUT_TABLE         = 2
       DP_ERROR_GENERAL           = 3
       OTHERS                     = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.
    *&      Module  CANCEL  INPUT
          text
    module CANCEL input.
    LEAVE PROGRAM.
    endmodule.                 " CANCEL  INPUT
    =============================================

  • I am unable to open files on amything!!! a box pops up that asks me what do i want to open the file with..every time!! I want files to open when i click on them!! This happens with emails, websites, everything

    I try to open attachments in emails and they will not open! A box comes up asking 'what do I want to open the file with', and it wants me to select from a list of options like - Firefox, IE, Word, Yahoo Browser. When I make a selection (usually Firefox) a new tab opens with a blank page! This always happens on attachments, links, websites......everything!

    These files were lost two years ago.
    That's not consistent with what you wrote in your first message. I can't help you unless I know what's going on. Either you do, or do not, have backups of all the data you want to keep. If you do not, then the first thing you need to do is back up those files. It makes zero sense to do anything else. In order to back up, you'll need either of two things: another Mac, in working order, with a FireWire port and enough space on its internal drive to hold your files; or an external drive, also with enough space.
    On the other hand, if you do have backups, or if you simply don't care about any of the data, then the solution to your problem may be quite simple. All you have to do is boot from your installation disc (your profile says you're running Mac OS 10.5), erase your internal drive, reinstall the Mac OS, then restore your data from backup. You will need to be selective in restoring software, because incompatible software may be what caused the issue.
    But it's also possible that you have a hardware failure, in which case you can't get your computer working again until it's repaired.

  • I bought the iphone 4s about a year ago, he was not new. The seller told me that he did the factory unlock, but he lied. Now I live in Russia and want to use the iPhone with a local GSM sim card.

    I bought the iphone 4s about a year ago, he was not new. The seller told me that he did the factory unlock, but he lied. Now I live in Russia and want to use the iPhone with a local GSM sim card. Serial number (removed), IMEI (removed). Thank you!
    Personal info removed to comply with the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • I want to print the front panel without all the header stuff while the vi is running

    I want to print the vi front panel without all the header information that Labview puts at the top. I want to do all this while the vi is running by pushing a button.

    One option is to use the the 'Print VI to Printer' method. Beware that invoking this method repeatedly with complex front panels has caused me graphics problems in my VI's display that persist until the development environment or the built .exe app is exited and re-entered.
    See: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000005F5A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=spaz+print&USEARCHCONTEXT_QUESTION_S=0
    NI has confirmed this to be a bug in 6.0x and 6.1 and has indicated that it will be fixed in the next version.
    I was forced to fall back on the Append Front Panel Image to Report.vi in the report toolkit. Which does not produce printed graphs of as high as quality as the Print VI to
    printer method.

  • How do i print out a menu list; I want to print the titles in my iTunes folder

    I want to print the titles in my iTunes folder, can you say how to do it?
    Grab only takes a screen grab.
    Copy and paste won't keep the albums together.
    iTunes album list is too many pages.
    Thanks

    I have found an answer in the finder and dock section which has allowed me to copy and paste into Word or Excel. It has not copied the format of the window, but with some work will let me print the lists:-
    Print a list of files and folders
        184 Views   2 Replies Latest reply: May 28, 2012 10:54 AM by BDAqua                             
            Level 1 (0 points)    jdrescher
    jdrescher May 28, 2012 9:18 AM  
    Dose anyone know an easy way of listing files and folders from a disk? I need an inventory of the names on some ZIP disks.
              Level 10 (171,925 points)     Niel
    Re: Print a list of files and folders     May 28, 2012 10:15 AM    (in response to jdrescher) 
    Find and open the Script Editor or AppleScript Editor in the Applications folder and run the following:
    do shell script "ls -R " & quoted form of POSIX path of (choose folder)
    Copy and paste the resulting text.                                                            (66765)
    BDAqua
    Re: Print a list of files and folders     May 28, 2012 10:54 AM    (in response to jdrescher) 
    You can also get TextWrangler...
    Drag any Folder, even a Whole drive to a new text window & get a list like this...

  • I need to create an action or script to save the file with the name of the selected layer

    I need to create an action or script to save the file with the name of the selected layer (not including the hidden layers, but including those visible).
    How could modify the script: 'Layer Comps To Files.jsx' to get the result?
    Warning: I do not need to export all layers as files.
    Who can help me?
    THX in advance

    Versione in Italiano (Further down the English version)
    NB - Nella versione inglese ho messo tutte le immagini dei menu in italiano.
    Versione per Mac, ma credo sia identico per Windows.
    Spiego passo passo cosa ho fatto:
    - Ho creato un file esempio con tre Livelli, salvato sulla scrivania e ho chiuso il file.
    - Ho aperto il file e selezionato il Livello al centro per iniziare a registrare una azione che ho chiamato: Save with Name of Selected Layer
    - Nuova azione
    - Dare il nome e premere Registra
    Ora salva…
    - Menu --> Livello --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Ancora una volta Menu --> Livello... --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Menu --> Livello --> Ordina --> Dietro
    - Menu --> Livello --> Unisci sotto
    - Menu --> Livello --> Unisci visibili
    - Menu --> Livello --> Nuovo --> Livello... e premi -ok-, (lascia il nome che viene mostrato)
    - Menu --> Livello - Nascondi Livello
    - Menu --> Elimina --> Elimina livelli nascosti (press -Yes-)
    - Menu --> Livello --> Nuovo --> Livello... Inserisci questo: 'Move this to the trash' e premi ok
    - Menu --> File --> Script --> Esporta Livelli in File... (Nella finestra che si apre scegliere l’opzione che si desidera, ma togliere il prefisso del nome) e premere -Esegui-
    - Selezionare il pannello Storia cliccare su Elimina premendo -Si- ogni volta che si apre la finestra di dialogo (Ripetere 8 volte questa operazione sino ad arrivare nella storia alla condizione di partenza. Ho visto che è meglio di Ripristina -F12-)
    - Fermare la registrazione.
    A questo punto, mandando in esecuzione questa Azione, ho raggiunto parzialmente l’obiettivo perché i file così creati mantengono, purtroppo, dei prefissi numerici per evitare probabilmente la sovrascrizione di file (credo senza avviso) nel posto dove vengono creati.
    Per ottenere l’obiettivo occorre un nuovo passo ed a proposito di questo riferisco quanto segue:
    ATTENZIONE - L’operazione descritta qui di seguito deve essere fatta su di una copia del file, per cui:
    - Duplicare il file,
    - Spostare l’originale in altra cartella
    - Lavorare sul file duplicato.
    mi riferisco a questo...
    ATTENZIONE - Questa modifica è effettuata a proprio rischio e pericolo ed il sottoscritto non si assume alcuna responsabilità su quanto venga fatto soprattutto da mani inesperte.
    ATTENZIONE - Questa modifica sovrascrive qualsiasi file che abbia nome uguale al layer che viene selezionato più l’estensione del file naturalmente.
    Comunque la modifica è banalissima e a portata di chiunque.
    Procedere così:
    - Chiudere Photoshop
    - Aprire (nel percorso specificato dall’immagine) il file “Export Layers to Files.jsx” (Export Layers To Files.jsx 1.0.0.16) con un editor di testo puro.
    - cercare la stringa (dovrebbe essere in riga 1029)
    var fileNameBody = fileNamePrefix;
    fileNameBody += "_" + zeroSuppress(i, 4);
    fileNameBody += "_" + layerName;
    - sostituirla con:
    var fileNameBody = fileNamePrefix;
    fileNameBody += layerName;
    - cercare la stringa (dovrebbe essere in riga 1047-46)
    var fileNameBody = fileNamePrefix;
    fileNameBody += "_" + zeroSuppress(i, 4) + "s";
    - sostituirla con:
    var fileNameBody = fileNamePrefix;
    fileNameBody += "";
    - salvare e uscire.
    - riavviare Photoshop
    - provare l’azione registrata facendo attenzione che il nome del layer non sia identico al nome di un file già presente altrimenti questo verrà sovrascritto.
    Domanda:
    Perché ho creato livelli che poi ho eliminato ecc.
    Risposta:
    Semplice per evitare errori di esecuzione delle azioni nel caso di operazioni con livelli mancanti o altro.
    Semplice... no?
    English version
    Mac version, but I think it's the same for Windows.
    First of all, I'm translating the actions that I made using the Italian version of Photoshop, you look at the position of the menu that I have chosen to do the work with other languages.
    I explain step by step what I did:
    - I created a sample file with three layers, saved to the desktop and I closed the file.
    - I opened the file and select the layer at the center to start recording an action that I called: Save with Name of the Selected Layer
    - New action
    - Give the name and press Save ( I think it is so in English )
    Now save ...
    - Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Once again Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Menu -> Layer - > Arrange (order) -> Behind
    - Menu -> Layer - > Merge Down
    - Menu -> Layer - > Merge Visible
    - Menu -> Layer - > New —> Layer… and press -ok- , (leave the name that is shown)
    - Menu -> Layer - Hide Layer
    - Menu - > Delete - > Delete hidden layers (press -Yes- )
    - Menu -> Layer - > New —> Layer… Enter this: ' Move this to the trash ' and press ok
    - Menu -> File - > Scripts -> Export Layers To Files... (In the window that opens select the option you want, but take away the name prefix) and press - Run -
    - Select the History panel and click Delete (on menu opened) pressing -Yes- every time when open the dialog box (8 times Repeat this step until you get into the story to the starting condition. Not use Restore -F12-).
    - Stop recording.
    At this point, by executing this action, I have reached the goal partly because the files created in this way remain, unfortunately, the numerical prefixes to avoid possibly overwriting of files (I think without notice) in the place where they are created.
    To achieve the goal we need a new step and thinking about this as follows:
    WARNING - The operation described below should be made on a copy of the file, so :
    - Duplicate the file
    - Move the original folder to another
    - Work on the duplicate file.
    WARNING - This modification is performed at your own risk and the undersigned assumes no responsibility on what is done mostly by inexperienced hands.
    WARNING - This change will overwrite any files with the same name as the selected layer plus the file extension of course.
    However, the change is trivial and within reach of anyone.
    Proceed as follows:
    - Close Photoshop
    - Open (in the specified path from the image ) file " Export Layers to Files.jsx " (Export Layers To Files.jsx 1.0.0.16) with a pure text editor.
    - Search for the string (should be in line 1029 )
    var = fileNameBody fileNamePrefix ;
    fileNameBody = + "_" + zeroSuppress (i, 4 ) ;
    fileNameBody + = "_ " + layerName ;
    - Replace it with :
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = layerName ;
    - Search for the string (should be in line 1047-46 )
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = "_ " + zeroSuppress (i, 4) + "s" ;
    - Replace it with :
    var = fileNameBody fileNamePrefix ;
    fileNameBody + = "";
    - Save and exit.
    - Restart Photoshop
    - Try the recorded Action, making sure that the layer name is not identical to the name of an existing file otherwise it will be overwritten.
    Question:
    Why I created levels which I then deleted etc..
    Answer:
    Simple to avoid errors of execution of the actions in the case of transactions with missing levels and other.
    Simple ... is not it?
    Sorry for my bad English...
    Thanks in advance for any hint.
    --->>> Please think about this... Adobe <<<---

  • I want to print form directly with out using spool request

    hi,
            i want to print form directly with out using output type screen (spool request or print preview ) , i want to supress the screen and get output directly to the printer. plz help me
    thanks&regards
    praveen

    Hi Praveen,
    In your program, where you are calling the OPEN_FORM function.. pass the name of the printer in the 'DEVICE' parameter of the function module..
    Also, there is a parameter OPTIONS of sturcture ITCPO in the same function module.. in this parameter you will find lot of options to set properties for the printing..
    There will be one field for immediate printing, set that field to 'X' and other settings for print in the same structure and pass to the function module..
    Thanks and Best Regards,
    Vikas Bittera.

  • How can I view all comments in a Pages doc and print the doc with comments?

    It seems that we can no longer view comments in the margin of a document.  It is also not possible to print the document with comments visible.  Anyone else having this problem?  Pages 09 Help does not even offer an up-to-date explanation.  "Show Comments" only shows color shading.  The option “Show Comments and Changes Pane" does not even exist.  How can I get the comments to print???

    You will have to wait for Apple to fix this deficiency in a forthcoming update to Pages v5. Or, you could use Pages ’09 v4.3, if originally installed before the v5 upgrade, and located in /Applications/iWork '09.
    Otherwise, use another solution (e.g. Office for Mac 2011, LibreOffice).

  • Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?

    Hi! I sold my Iphone on ebay. The seller wants to connect the Iphone with his Apple ID, but it did not work because it says that the Iphone is already connected with another Apple ID. How can I get rid of this old connection? What do I have to do?

    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5661
    MaggySimpson wrote:
    Hi! I sold my Iphone on ebay.
    Follow the instructions to remove a device you no longer have.
    From here  >  http://support.apple.com/kb/PH13695?viewlocale=en_US

  • I have a Mac book pro with regular drive, I want to replace the drive with SSD, so can I do t for Mac book pro purchased in 2012 and which SSD is recommended. I am looking for 500 to 700GB SSD.

    I have a Mac book pro(13 inch non-retina, i7) with regular drive, I want to replace the drive with SSD, so can I do it for Mac book pro purchased in 2012 and which SSD is recommended.
    I am looking for 500 to 700GB SSD.
    Thanks

    Upgrading your MacBook Pro with a Solid State Drive...
    ...call back with any questions.
    Clinton

  • I have recently bought an iphone 5 and have synced it with my girlfriends laptop and taken some of her music. i have also bought music off my iphone. i want to sync the iphone with my parents imac and take some of my dads music. Is this possible?

    i have recently bought an iphone 5 and have synced it with my girlfriends laptop and taken some of her music. i have also bought music off my iphone. i want to sync the iphone with my parents imac and take some of my dads music. Is this possible without wiping the iphone?

    An iOS device can only be synced with one iTunes library.

  • Im using iphone 4 uk unlock , it has ios 4.2.1 and it does not have software update option.Now i want to update the phone with latest ios is it possible and tel me how ?

    Im using iphone 4 uk unlock , it has ios 4.2.1 and it does not have software update option.Now i want to update the phone with latest ios is it possible and tel me how ?

    The update to iOS 5.0 & higher is an erase/restore deal, so make sure you follow the directions here to update your phone:
    http://support.apple.com/kb/ht4972
    iOS 7.0.4 will be installed.

  • I want to use the iphone4 with local GSM providers in Nigeria

    I have an iPhone4 which I bought as a pay-as-you-go from O2 in England (UK). But now I have moved to Nigeria. I want to use the iphone4 with local GSM providers. How do I go about it? Please help.Thanks.

    You contact o2 as they are the only ones who can unlock the phone for you.

Maybe you are looking for