Multi-line success messages

APEX 4.2.1
How does one go about creating multiple lines (with the HTML BR tag) in a success message? Using BR in the Process Success Message attribute works e.g. Line1 BR Line2 but when creating a dynamic success message by assigning the value (with embedded BR tags) to a page item and using &P1_X. notation in the success message attribute, the BR tag is escaped and shows up on the message shown on the screen
Ideas? Thanks

Figured it out. Create a Display Only page item with Save Session State=No and Escape Special Characters=No with a display condition of Never
In the process code, assign the success message including the BR tags to this display-only page item. Use &P1_DISPLAY. in the process Success Message.
Hope that helps someone.

Similar Messages

  • How to display multi-line popup message in user exit?

    Hi,
    I need to display a multi-line popup text message with controllable response buttons in a user exit.
    I looked at POPUP_TO_CONFIRM with its DIAGNOSE_OBJECT, but I need substitution parameters and the FM doesn't support this functionality. So this won't meet my needs.
    Does anyone have any suggestions (maybe with some example code?) about how to do this?
    Thx.
    Andy

    Code:
    LOOP AT I_KNB1 WHERE ZTERM NE ZPAGDESCR-ZZTERM.
    IF SY-TABIX = 1.
      IF I_TEXT_TABLE[] IS INITIAL.
         PERFORM HEADER TABLES I_TEXT_TABLE.
         REFRESH :  I_T052U.
            SELECT ZTERM ZTAGG TEXT1
           FROM T052U
           INTO TABLE I_T052U
           FOR ALL ENTRIES IN  I_KNB1
           WHERE SPRAS = SY-LANGU AND
                 ZTERM = I_KNB1-ZTERM.
        ELSE.
        REFRESH :  I_T052U.
        SELECT ZTERM ZTAGG TEXT1
           FROM T052U
           INTO TABLE I_T052U
           FOR ALL ENTRIES IN  I_KNB1
           WHERE SPRAS = SY-LANGU AND
                 ZTERM = I_KNB1-ZTERM.
           I_TEXT_TABLE-TDLINE = TEXT-T01.
           APPEND I_TEXT_TABLE.
           CLEAR I_TEXT_TABLE-TDLINE.
      ENDIF.
         MOVE 'Company' TO I_TEXT_TABLE-TDLINE+0(10).
         MOVE 'Payment' TO I_TEXT_TABLE-TDLINE+10(10).
         MOVE 'Day' TO I_TEXT_TABLE-TDLINE+20(5).
         MOVE 'Description' TO I_TEXT_TABLE-TDLINE+26(100).
         APPEND I_TEXT_TABLE.
         CLEAR I_TEXT_TABLE-TDLINE.
         MOVE 'Code' TO I_TEXT_TABLE-TDLINE+0(10).
         MOVE 'Term' TO I_TEXT_TABLE-TDLINE+10(10).
         MOVE 'Limit' TO I_TEXT_TABLE-TDLINE+20(5).
         APPEND I_TEXT_TABLE.
         CLEAR I_TEXT_TABLE-TDLINE.
         I_TEXT_TABLE-TDLINE = TEXT-T01.
         APPEND I_TEXT_TABLE.
         CLEAR I_TEXT_TABLE-TDLINE.
    ENDIF.
         MOVE I_KNB1-BUKRS TO I_TEXT_TABLE-TDLINE+0(10).
         MOVE I_KNB1-ZTERM TO I_TEXT_TABLE-TDLINE+10(10).
         LOOP AT I_T052U WHERE ZTERM = I_KNB1-ZTERM .
           MOVE I_T052U-ZTAGG TO I_TEXT_TABLE-TDLINE+20(5).
           MOVE I_T052U-TEXT1 TO I_TEXT_TABLE-TDLINE+26(100).
          APPEND I_TEXT_TABLE.
          CLEAR I_TEXT_TABLE-TDLINE.
         ENDLOOP.
    ENDLOOP.
    ENDIF.
    IF NOT I_TEXT_TABLE[] IS INITIAL.
      CALL FUNCTION '/RWD/POPUP_TO_DISPLAY_TEXTLIST'
        EXPORTING
      TASK             = 'DISPLAY'
          TITEL            = 'Inco term payment term mismatch'
    IMPORTING
      FUNCTION         =
        TABLES
          TEXT_TABLE       = I_TEXT_TABLE .
    ENDIF.

  • Permanently save line spacing in a multi-line text field

    Me: Adobe Acrobat 8 Pro, Windows Vista
    (I think the people who will be using the form have Reader 7 on Windows)
    I work in a doctors' clinic, and we use phone message sheets to document conversations between the patients/us/nurses/doctors, and I scanned the form and made it into a fillable PDF for our secretaries to fill out more quickly. The "message" area has pre-printed lines on it, and the multi-line text field I placed there needs to match up to the lines. I used the Rich Text Formatting options to set it to "Exactly 24 Points," but I can't get it to KEEP the formatting permanently. The only way I could get it to save the formatting in that field was to put a space in it and then save it, and then give that to the 2 phone secretaries. It works perfectly the first time, but instead of just closing/re-opening the file to start a new message, one of the secretaries highlights everything in the "message" field and deletes it... which deletes the line spacing formatting. I've told her
    b numerous
    times to leave that starting space in the field, but she "forgets" so all of her messages look messed up. So is there a way to force that line spacing
    b PERMANENTLY
    ???? Here's a shrunken screenshot of the field -- I wish I could just erase the lines altogether so the spacing wouldn't matter, but the secretaries type/print the message out, then the nurses/docs write on the page with pen so the lines have to stay. http://img187.imageshack.us/my.php?image=notepreviewph8.jpg
    Thanks!

    You can set the font size of the text. Then play with the underlines in the original document to match the needs of the font that is used. Print to a new PDF and then use replace pages to put the new page into the form without changing the form fields. I was able to do this with a word processing document by adding underlining in the document with 12 pt and setting the font to 12 pt in the text field. You can play with the font, the border of the field, and the underlining in the original document to get the desired result. Is this optimal, probably not. However it does the job.

  • How to Remove the /Div in a Multi-line Field when reporting in Excel, getting

    I am uisng Excel Services to extract data from PS2013.  And the Multi-line text fields include the </Div> syntax.  I have looked at a lot of the links regarding how to do this.  I have even borrowed code that was on someones blog. 
    When I try and use it I get the following message and cannot not seem to resolve it after reading varous links regarding this issue. 
    Any ideas?  As a work around I have created an Excel Macro to remove it, however would like to solve it in the query
    Error Message
    The data types
    Nvarchar and Ntext are incompatible in the add operator
    Here is the syntax
    declare @Headxml nvarchar(350)
    declare @Footxml nvarchar(50)
    set @Headxml = N'<?xml version="1.0"?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"
    [<!ENTITY  nbsp "&#xA0;"><!ENTITY quot "&#x22;">]><html><body>'
    set @Footxml = N'</body></html>'
    SELECT   ProjectOwner.ProjectUID as [ProjectUID],
    ProjectOwner.ProjectName as [Project Name],
    ProjectOwner.[Project Number] as [ECP#],
    TaskRelated.TaskName as [Task Name],
    MSP_WssRiskToTaskLinks_UserView.RiskID as [Risk ID],
    MSP_WssRiskToTaskLinks_UserView.Title as [Risk Title],
    MSP_WssRiskToTaskLinks_UserView.Status as [Status],   
    MSP_WssRiskToTaskLinks_UserView.AssignedToResource as [Assigned To],
    MSP_WssRiskToTaskLinks_UserView.Owner as [PM], 
    MSP_WssRiskToTaskLinks_UserView.DueDate as [Due Date],  
    MSP_WssRiskToTaskLinks_UserView.Probability as [Probability],
    MSP_WssRiskToTaskLinks_UserView.Impact as [Impact], 
    MSP_WssRiskToTaskLinks_UserView.Exposure as [Exposure],
    MSP_WssRiskToTaskLinks_UserView.Cost as [Cost],
    MSP_WssRiskToTaskLinks_UserView.CostExposure as [Cost Exposure],  
    MSP_WssRiskToTaskLinks_UserView.Category as [Category],
    ISNULL(LTRIM((CONVERT(xml,(@Headxml+MSP_WssRiskToTaskLinks_UserView.[Description]+@Footxml),3)
            .value(N'(/)','nvarchar(4000)'))),'') AS [YourMulti-lineCustomFieldNewName],
    MSP_WssRiskToTaskLinks_UserView.MitigationPlan as [Mitigation Plan],  
    MSP_WssRiskToTaskLinks_UserView.ContingencyPlan as [Contingency Plan],
    MSP_WssRiskToTaskLinks_UserView.TriggerTask as [Trigger Task],
    MSP_WssRiskToTaskLinks_UserView.TriggerDescription as [Trigger Description],
    MSP_WssRiskToTaskLinks_UserView.CreatedDate as [Created Date],
    MSP_WssRiskToTaskLinks_UserView.CreateByResource as [Create By],
    MSP_WssRiskToTaskLinks_UserView.ModifiedByResource as [Modified By],
    MSP_WssRiskToTaskLinks_UserView.ModifiedDate as [Modified],
    TaskRelated.TaskUID as [TaskUID],
    TaskRelated.TaskName as [Task Name],
    TaskRelated.TaskStartDate as [Task Start],
    TaskRelated.TaskFinishDate as [Task Finish] FROM dbo.MSP_WssRiskToTaskLinks_UserView
    LEFT OUTER JOIN dbo.MSP_EpmProject_UserView AS ProjectOwner ON ProjectOwner.ProjectUID = MSP_WssRiskToTaskLinks_UserView.ProjectUID
    LEFT OUTER JOIN dbo.MSP_EpmProject_UserView AS ProjectRelated ON ProjectRelated.ProjectUID = MSP_WssRiskToTaskLinks_UserView.RelatedProjectUID
    LEFT OUTER JOIN dbo.MSP_EpmTask_UserView AS TaskRelated ON TaskRelated.ProjectUID = MSP_WssRiskToTaskLinks_UserView.RelatedProjectUID 
    AND TaskRelated.TaskUID = MSP_WssRiskToTaskLinks_UserView.RelatedTaskUID LEFT JOIN dbo.MSP_WssRelationshipType ON
    MSP_WssRiskToTaskLinks_UserView.RelationshipTypeID = MSP_WssRelationshipType.RelationshipTypeID                
    ORDER BY ProjectOwner.ProjectName ASC,  MSP_WssRiskToTaskLinks_UserView.RiskID
    Andrew Payze

    Hi Andrew,
    We normally create a function to do this. Some examples can be found here:
    http://blog.sqlauthority.com/2007/06/16/sql-server-udf-user-defined-function-to-strip-html-parse-html-no-regular-expression/
    http://lazycoders.blogspot.co.uk/2007/06/stripping-html-from-text-in-sql-server.html
    http://stackoverflow.com/questions/457701/best-way-to-strip-html-tags-from-a-string-in-sql-server
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • HOW can i rotate the loop as many lines of multi line container in BPM

    Hi All
    I have to send an idoc to 2 Receivers by spliting the message.
    Based on the occurance of a particular source segments i need to create those many instance of targets.
    IDOC ---> Rec1 (More than one message instance)
         ---> Rec2  (More than one message instance)
    I have taken messages of Receiver into a multi line container1
    and messages of Receiver 2 into another multi line container2.
    HOW can i rotate the loop as many lines of multi line container.
    Thans
    Prasad

    Hi Raj
    There are two webservices are 2 receivers.
    In the idoc there is specific segment , which occurs unbounded,Each occurence we Need to check the value of a particual field and send to corresponding Receiver.
    For Ex:
    ZE1KONH (1..Unbounded)
       >MSFGN =004 --> Rec1
      >> MSFGN==0009 Rec2
    It could be like , 1 or more segm for Rec1 and 1 or more segm for Rec2
                            all are for Rec1 or All are for Rec2.
    so in the tranformation we need to put all message of Rec1 in corresponding multiline container as well for Rec2. Then i need to send to correspongind Receiver.
    So here i need to send all splited messages to appropriate receivers

  • New lines created in excel when displaying multi-line text item value

    Hi all,
    I put the value of a multi-line text-item into a csv file :
    DECLARE
    file_filter VARCHAR2(256) := 'Export Files (*.csv)/*.csv/All Files (*.*)/*.*/';
    fExp VARCHAR2(256);
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(4000);
    BEGIN
    fExp := get_file_name ( directory_name, file_name, file_filter, NULL, SAVE_FILE, TRUE);
    IF fExp IS NOT NULL
    THEN
    set_application_property(cursor_style,'BUSY');
    in_file := Text_IO.Fopen( fExp, 'W');
    linebuf := NVL(:com_bnc_possibles.LIBEL_TRAITE,'') || ';' ||
    NVL(:com_bnc_possibles.NUM_ANFR_ID,'') || ';' ||
                             NVL(:com_bnc_possibles.ver_fiche,'') || ';' ||
                             NVL(:com_bnc_possibles.titre,'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_creat, 'dd/mm/yyyy'),'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_valide, 'dd/mm/yyyy'),'') || ';' ||
    NVL(:com_bnc_possibles.LIBEL_STATUT,'') || ';' ||
    NVL(:com_bnc_possibles.label_reg,'') || ';' ||
    NVL(:com_bnc_possibles.nom,'') || ';' ||
    NVL(:com_bnc_possibles.prenom,'') || ';' ||
    NVL(:com_bnc_possibles.nom_societe,'') || ';' ||
    NVL(:com_bnc_possibles.comp_bnc,'') || ';' ||
    NVL(:com_bnc_possibles.motifs,'') || ';' ;
    Text_IO.Put_Line( in_file, linebuf);
    Text_IO.Fclose( in_file);
    set_application_property(cursor_style,'DEFAULT');
    END IF;
    END;
    And when I opened the csv file then the remaining lines , that is from the second line , of the column "motifs" are displayed through the column A of excel. The "motifs" multi-line text-item has 500 as its Maximum Length property value, and has a Char Data Type property value.
    So how to display all the motifs' lines through the same column M without displaying the remaining lines in column A ?
    Or are there tips to remove CHR(13) characters from a multi-line text-item ?
    Thank you very much indeed.
    Message was edited by:
    andrianiaina

    Hi,
    I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
    <html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
    So I am able to see the prompt like :-
    User authentication failed.
    Cause: Invalid password.
    Hope this helps you...
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Multi line custom field badly saved to database

    Hello community,
    we're fighting currently against a strange issue.
    All projects has some multi line custom fields to fill every week for project status.
    During this exercise, some of the comments seems not well saved to database.
    While coming back to the PDP, we are seeing a strange behavior :
    Starting from that, I tried to look in the database and the saved html format is badly formatted, you can see a </div> in the middle and a missing one at the end of the sentence:
    <div>Révision et approbation de l&#39;ODS de Facilité.</div> <div>&#160;</div></div> <div>Compléter&#160;le questionnaire à soumettre aux experts.</div>
    <div>&#160;</div> <div>Présentation et choix des experts.
    As of now, we did not find any reason why this is happening.
    While opening back the PDP in edition and saving back ,the problem is solved.
    This is annoying because we are treating the html code as xml for reporting as seen here (http://aboutmsproject.com/converting-rtf-to-text-in-sql-revisited/
    ) and this is crashing because of badly formatted html code
    any advices?
    regards
    Jérome

    Hi Jerome,
    I've seen this issue occur when text is pasted into the field from other applications, like Outlook and Word. I've not yet been able to determine how to get it to stop. The error then causes the invalid XML issue you are seeing. A former co-worker had successfully
    integrated the use of jQuery into PDPs. I'm wondering if they have a HTML clean function.
    Thanks for finding my post useful!
    Treb Gatte, Project MVP, Tumble Road LLC |
    @tgatte | http://AboutMSProject.com

  • How to create a multi-line table/column comment

    Can someone tell me how to create a multi-line table or column comment?
    Apparently, the concatenate operator (||) does not work with the COMMENT statement.
    I've searched the Oracle manuals and couldn't find an answer.
    COMMENT ON TABLE sometbl IS 'i would like to break up this comment into several lines in order to improve readability'; Effectively, this is what I'd like to do (but it doesn't work):
    COMMENT ON TABLE sometbl IS
      'i would like to break up ' || CHAR(10) ||
      'this comment into several lines ' || CHAR(10) ||
      'in order to improve readability' || CHAR(10); Oracle version is 10.2.0.4

    Why not just
    SQL> create table t (a int)
    Createtable successfully completed.
    SQL> comment on table t is 'i would like to break up 
    this comment into several lines 
    in order to improve readability'
    Commenton successfully completed.
    SQL> select * from user_tab_comments where table_name = 'T'
    TABLE_NAME           TABLE_TYPE  COMMENTS                               
    T                    TABLE       i would like to break up               
                                     this comment into several lines        
                                     in order to improve readability        
    1 row selected.?

  • How to display Success Message on the Left side of Screen

    I am displaying a Process Success Message after the ApplyMRU process, *#MRU_COUNT# row(s) updated*. By default, this message is displayed at the center of the screen. I would like to display this message at the left hand side of the screen.
    I am using APEX 4.0; Theme Sand - 10. I have tried changing the alignment for the success message position in the Page Template – One Level Tabs, HTML Body section. But I am not having any luck.
    Does anyone know how to change/override the default position for the success message?
    Thanks

    Andy,
    I tried what you suggested and the success message is still being displayed in the center of the page.
    I went to Template --> Page --> One Level Tabs. In the Header, I put the following lines before the </head>
    <style type="text/css">
    .t10messages {text-align:left;}
    </style>
    </head>
    <body #ONLOAD#>
    #FORM_OPEN#
    I do not have any other custom CSS. Just strictly using Theme 10 - Sand
    Any ideas on what else could be the reason?
    Thanks,
    DP
    Sorry for the delayed response - out for holidays.

  • How to make multi-line report headings?

    Hi all,
    By default, Apex creates a single-line report heading for each column in a report.  To minimize white space, multi-line column headings are sometimes appropriate.  How can Apex be directed to split a column heading at certain place(s)?
    Thanks,
    Kim
    P.S. I'm running Apex 4.2.2. 

    See https://forums.oracle.com/message/11154533

  • FormsCentral PDF Form- How to View Multi-line Fields

    I have a FormsCentral PDF form, which allows users to fill out the form and save as a PDF. However, after receiving the completed forms, I am unable to see all the text in the multi-line field boxes without opening them and scrolling down. Since I will be sharing several of these competed forms with a review panel, please let me know:
    1) How to display the entire content of the multi-line field boxes rather than having the reader scroll down, then
    2)  How to save the completed forms so that its read-only when I send it to the review panel

    I can point you to some online information.  I really don't know the steps myself.
    This blog talks about how to do it in LiveCycle Designer: http://blogs.uoregon.edu/developments/2010/12/29/pdf-making-text-fields-grow-to-accommodat e-text/comment-page-1/
    You could also consider asking the user in this post for their idea on how to do it without making a dynamic form (LiveCycle): http://forums.adobe.com/message/4841774
    Is there a reason you don't use FormsCentral to collect the responses?  You could sign up for a 1-month subscription unless you have security or other reasons not to collect with FormsCentral, and then you'd be able to collect your responses and download each one as a PDF form individually and that form would be locked and have expanded text fields.  You could stop automatic renewal and you would still have access to the form and responses in your Free level account (but could not collect more than 50 responses, if you already have greater than 50 those would remain).
    Thanks,
    Josh

  • How to discover multi-line of String that will come Flex by Java?

    Hi all,
    I am programming a little application by using Java and Flex.
    One of the functions that Flex contains will have the responsibility to
    send the TextArea value to Java as parameter.
    But that value could contain multi-lines string. Java recieved successfully but the problem that Java read it as single line.
    so, how can I fix this problem?

    Hi,
    so, is there any solution available right now for my problem.
    A text that will come from TextArea that could contains multi-lines
    will be sent to Java as paramenter.
    How can I distinguish the multi-lines onec I deal with it as String?

  • Multi-line reading from applet?

    I just began using a technique to get a single value
    from the web server to my applet via CGI-BIN.
    Please see relevant code below.
    With this technique -I was given a chunk of code, I don't
    even understand its behavior completely- I can retrieve
    one value from the server. Now I would like to retrieve
    multi-line data, such as that coming from a SQL statement which
    will be used to populate my applet's menus.
    So, how should I retrieve this cursor-like, or stream data?
    I suppose I need to put the "s = d.readLine()" statement inside
    a loop, but what loop variable shoould I use??
    TIA,
    -Ramon F. Herrera
    URL url;
    URLConnection urlConn = null;
    DataOutputStream dos;
    DataInputStream dis;
    InputStream is;
    url = prepareServerCommand(Id, true);
    try {
    urlConn = url.openConnection();
    } catch (IOException ex) {
    urlConn.setDoInput(true);
    urlConn.setDoOutput(true);
    urlConn.setUseCaches(false);
    urlConn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    String s = null;
    try {
    dos = new DataOutputStream(urlConn.getOutputStream());
    String message = "NEW_ITEM=1";
    dos.writeBytes(message);
    dos.flush();
    dos.close();
    is = url.openStream();
    BufferedReader d = new BufferedReader(new InputStreamReader(is));
    s = d.readLine(); // <-- THIS NEEDS TO BE INSIDE A LOOP!!
    d.close();
    } catch (IOException ex1) {
    jButton1.setText("Number of Items:");
    jTextField1.setText(s);
    done = 1;
    return (done);

    Here's a way:
    String $URL = "http://server.com/cgi-bin/a.cgi?whatever=1";
    try{
    URL url = new URL($URL);
    BufferedReader in =
    new BufferedReader(new InputStreamReader(url.openStream()));
    String $nextline, $returned = "";
    while(($nextline = in.readLine()) != null){
    $returned += $nextline + '\n';
    if($returned.indexOf("END OF DATA") > -1) break;
    in.close();
    }catch(Exception e){System.out.println("ERROR: " + e);}
    System.out.println($returned);
    Note the line containing "END OF DATA". The reason I did that was that the connection was just getting stuck in that loop for too long. By using something to mark the end of the data, I was able to break out of the loop sooner. Maybe there's a better way but I don't know it.

  • Multi-line regexp

    What at first seemed like a two minutes action turned out to be 3 hours google session with a shattered ego, because I failed to find a solution.
    The task looks pretty simple: Remove all empty (i.e. untranslated) messages from a po file. A quick grep -v '\#:.*msgfmt ""\n\n' file.po should have done the job...if grep would work on a per line base. The same applies for sed and awk. I failed at making perl do the job and all hacks involving awk or sed didn't work the way I wanted - one sed line was really close, but a bit too greedy - it searched for the biggest possible match and killed 99% of the file instead of every single occasion of the regexp.
    Do you have any idea on how to do it properly? Here's an example file content: (first two are empty, the last one is translated)
    #: src/libs/ec/cpp/RemoteConnect.cpp:91
    msgid "Invalid password, not a MD5 hash!"
    msgstr ""
    #: src/libs/ec/cpp/RemoteConnect.cpp:136
    msgid "Connection failure"
    msgstr ""
    #: src/libs/ec/cpp/RemoteConnect.cpp:194
    msgid "EC Connection Failed. Empty reply."
    msgstr "EC connection failed: empty reply."

    The problem is a non-fixed length, too. Some of these strings are multi-line and therefore I cannot say: ignore the last 2 lines when you encounter an empty string.
    Zepp's link looks very promising, I was close to writing myself a simple C program to do the job. (I have to improve my Python or learn some Perl...seriously...)
    Edit: Procyon: Your second project looks very promising, thanks a lot! I just have to add a white-space remover and my problem is gone! I'll have to understand the command later.
    Edit2: Unfortunately it fails to remove strings similar to the following:
    #: src/amule.cpp:971
    #, c-format
    msgid ""
    "Port %u is not available!\n"
    "\n"
    "This means that you will be LOWID.\n"
    "\n"
    "Check your network to make sure the port is open for output and input."
    msgstr ""
    Last edited by wuischke (2008-06-07 19:31:15)

  • Need to create a multi line form

    Hi All,
    I have to create a Multi line form for which I have used the following:
    1. Created an EO
    2. Created a VO based on EO.
    3. Created a Page that has two regions:
    a. Main Region
    b. Table Region
    This Table region is of style Table. But when I run the page it shows that No Data has found. Even its not a search page.
    Kindly suggest me that how can I make this page and this page should have 10 rows at a time available to insert.
    Thanks in Advance.
    Thanks,
    Sandy

    Hi Gaurav,
    I have done in the same way as suggested by you but not got success. I am not getting why it shows always 'No Search Conducted' even its not a search page. I have created this page for insert data.
    Following I have added in CO for processrequest:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean table =
    (OATableBean)webBean.findIndexedChildRecursive("SupTable");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createSupEntry");
    String buttonLabel =
    pageContext.getMessage("AK", "FWK_TBX_T_ADD_ANOTHER_ITEM", null);
    OAAddTableRowBean addRow = (OAAddTableRowBean)table.getColumnFooter();
    addRow.setText("Add 10 Rows");
    I have added the following code in AM:
    public void createSupEntry()
    SuppVOImpl vo = getSuppVO1();
    System.out.println("AM Inside AM:: ");
    // We need to do this on a VO that has not been queried before we insert
    // our first row. We don't want to do it for subsequent inserts.
    if (!vo.isPreparedForExecution())
    // Complies with the view object initialization guidelines for a detail
    // view object in a master-detail relationship.
    vo.executeQuery();
    System.out.println("AM Not prepared for execution:: ");
    for(int j=0;j<10;j++)
    Row row = vo.createRow();
    System.out.println("AM Creating Row:: ");
    vo.insertRowAtRangeIndex(vo.getCurrentRowIndex()+1,row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createSupEntry()
    Thanks,
    Sandy

Maybe you are looking for

  • Edit in External Editor does not work

    Hi, I added as External Editor Photoshop CS3, but no matter what option I chose as file format, bit depth or color space, Lightroom will always apply the defaul setting in "Edit in Adobe Photoshop CS3" preference tab, rather than the one I select. Do

  • How to calculate a KPI

    Hello. I'm using Essbase Administration Services 9.3.1 and I've a problem. I would like to calculate a KPI with a formula like this: (percent variance between actual and budget * weight) / (# of indicators * sum of weights) I translate it in this way

  • The actionscript 3.0 reference site is serving results in various languages

    The actionscript 3.0 reference site at: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html is serving up query results in various languages (looks like Italian) even though my regional settings is Australia or US. This beha

  • Pcmcia wireless card

    Hi all! I have just installed arch and I'm trying to get my wireless card (DWL 650+) running. I followed the wireless instructions on the site but I can't get it to work. Can anyone help? $ lspcmcia Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:00:0

  • CR2 files wont open on CS6

    I just downloaded some RAW CR2 files from my EOS 6D and tried uploading onto CS6 but I got a pop up saying the file cannot be opened using CS6 HOWEVER, CR2 files from my 5D MARK II opens just fine. Can someone please help me understand why this is?