Application Builder - multi row search

Didn't really know where to post this. Feel free to move it to the appropriate forum.
I created an interactive report using application builder. How can I add a multi-row search feature? The default search bar provided is only a single row search.
Thanks.

Didn't really know where to post this. Feel free to move it to the appropriate forum.
I created an interactive report using application builder. How can I add a multi-row search feature? The default search bar provided is only a single row search.
Thanks.

Similar Messages

  • Integrate search bar field into tab bar like in APEX4 application builder?

    Hi,
    i wonder how i can integrate the search bar of my application in the "tab bar".
    Is this possible?
    If you don't know what i mean call the Application Builder of Apex 4 and see the search bar on the top right.
    Thank you
    Regards
    Daniel

    *1)* <u>Page Template modification</u>
    Modify the page template(s) of all pages which uses the search region and add a holder element for the item in it. Position the holder appropriately within the template.
    For instance my page template's body section has this code segment for the displaying the tabs (it could be slightly different depending on your tehems, but the classnames should remain the same, so you can spot them easily)
    &lt;div class=&quot;bg&quot;&gt;
          &lt;div class=&quot;tab-holder&quot;&gt;
            &lt;div class=&quot;first-current&quot;&gt;
                &lt;div&gt;
                   &lt;span&gt;Hrm&amp;nbsp;Roster&amp;nbsp;Zero&lt;/span&gt;&lt;a tabindex=&quot;999&quot; href=&quot;javascript:popupURL('f?p=4000:334:6871592301983461::::P334_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:9973103015616704478,50506,1');&quot; title=&quot;Edit&quot; class=&quot;eLink&quot;&gt;&lt;img class=&quot;eLink&quot; alt=&quot;Edit&quot; src=&quot;/i/e.gif&quot;&gt;&lt;/a&gt;
                   &lt;/div&gt;
                &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
    ..After adding the search bar holder( <b>&lt;div id=&quot;SEARCH_BAR&quot; style=&quot;float:right&quot;&gt;&lt;/div&gt;</b>) it would look like
    &lt;div class=&quot;bg&quot;&gt;
          &lt;div class=&quot;tab-holder&quot;&gt;
            &lt;div class=&quot;first-current&quot;&gt;
                &lt;div&gt;
                   &lt;span&gt;Hrm&amp;nbsp;Roster&amp;nbsp;Zero&lt;/span&gt;&lt;a tabindex=&quot;999&quot; href=&quot;javascript:popupURL('f?p=4000:334:6871592301983461::::P334_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:9973103015616704478,50506,1');&quot; title=&quot;Edit&quot; class=&quot;eLink&quot;&gt;&lt;img class=&quot;eLink&quot; alt=&quot;Edit&quot; src=&quot;/i/e.gif&quot;&gt;&lt;/a&gt;
                   &lt;/div&gt;
                &lt;/div&gt;
          &lt;/div&gt;
          &lt;div id=&quot;SEARCH_BAR&quot; style=&quot;float:right&quot;&gt;&lt;/div&gt;
        &lt;/div&gt;
    ..*2)* Now <u>to move your search item to the "SEARCH_BAR"</u> region.
    Assuming that the item name is P0_SEARCH_ITEM
    <script>
    $(document).ready(function(){
      $('#P0_SEARCH_ITEM').appendTo('#SEARCH_BAR');
    </script><li>If the search item is a page zero item and hence has the same name in all pages , then the JS code to move it, is the same irrespective of the page and can therefore be added to page template.
    You can add that whole block to the page template(s) header section(or even the body).
    <li> If the item names differ with page, then modify the item name appropriately for each page and add the code to the page header.

  • Tabular form - Multi row delete error

    Apex 4.0.2
    We have a simple CRUD type of application on a bunch of tables built using Apex v1.6 that has, over the years, been upgraded to v4.0.2 and it is working mostly fine. It uses all out-of-the-box standard components, forms, classic reports, nothing too fancy. Recently one of the tabular forms started to misbehave, the multi-row-delete process raises a No Data Found error. The tabular form is based on a view with a INSTEAD OF trigger to handle the DML. Manually deleting the row in SQL*Plus works fine delete from mytab here pk_id = :pk_id but selecting the same row in Apex and clicking Delete raises the error.
    How does one go about troubleshooting & fixing this sort of thing? I tried re-saving the region in the Builder, exporting/importing the entire app, nothing. Running in Debug mode doesn't really provide any additional information, just that the MRD process failed. Tabular forms are the most frustrating, opaque component in Apex, wish they were easier to troubleshoot.
    Any ideas?

    Hello Vikas,
    >> How does one go about troubleshooting & fixing this sort of thing?
    By given us a bit more information :)
    • Is it a manual Tabular Form (using the ITEM API) or a wizard created one?
    • Are the Insert/Update operations work correctly? If not, what is the type of your PK column(s)?
    • If the problem is limited to the Delete operation, maybe the problem lies with the checkbox column. Are you sure that on page it is rendered as the f01 column?
    • As triggers are involved, can you save the PK that the trigger sees? Is it the expected value?
    • Are there any other processes that are fired before the DML process? If so, maybe the problem is with them. You can temporarily disable them and see if it change anything.
    >> Tabular forms are the most frustrating, opaque component in Apex, wish they were easier to troubleshoot
    Yes, I agree. However, I believe that 4.1 made some serious advancement where Tabular Form is concerned. Having simplified Tabular Form related Validations and Process should make things easier, and as a result, prone to less errors. Still, the main problem is that the type of error you are talking about is usually the result of metadata problems and these are indeed very hard to track.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Master-Detail Multi-Row Insert

    Im still using Oracle forms 6i. How do we create here in ADF for the transaction in master-detail operation specially in inserting multi-row in detail. In forms we can use key-next item trigger next_record for new record transaction for drugs or we can use bar code scanning to insert new records & automatically go to next records waiting for another input...
    pls help me i want to upgrade & pls sorry for my english...
    just want this adf behave like forms in terms of master-detail transaction entry...
    i appreciate if someone can help me or give me demo file to download & play with it...
    Edited by: user8983555 on Nov 10, 2010 10:30 AM

    tnx for the fast reply..
    im new with jdeveloper and no knowledge in java or html. im concentrated in pl/sql , forms 6i.We still using this until now in character base in unix environment but some module in gui mode.im working in hospital which is complete informations sytem (stock,pharm..etc...gl...) which in bulk transactions specially patients outclinic & inpatients charges.now we have also this reservations system for out clinics thats the reason im like to develop for in a web that a patient can reserve on line and i dont like running our application in different front end (forms 6i &jdeveloper).
    (now currently checking form10g & just set up AS10g which is working.can deploy and connect,LAN). but im very interested in ADF when i see the demo on Oracle website.
    now our company pplanning to change our application to power builder whiich is not good in performance regarding in hadling big databases (slow query,needs burst AS...) thru to the demonstration of the
    apllication vendors.
    im very glad if you can help. can you post a links or demo file to do this as you said....(You can replicate the code in the button in some other event on your page, for example when the value of the last field in the row is changed.
    It all comes down to the question of when you actually want to create a new row, and in that event you call the createInsert method.)
    this is my only problem now to make this master-detail multi-row insert like ora form.
    again sorry for my english...

  • Is it possible to create a multi row selector in Regular report?

    I have to add multi row selector into my reoprt for manipulating with data?
    What is the best way to do this?
    Regards, Kostya

    Hi there,
    If anyone is still here in perticular Denes. Denes i have been using your sample application for a while now. it just helps in every problem.
    I was looking at your page 38 to update an editable report. i see that your region is of type "SQL Query". how did you include the row selector to show up ??
    row selector comes up only if the region is of type Tabular form (updataable). i cant use tabular form as my results comes from a complex query after the user provides some column values and presses search.
    In short, i am done with update to the fields but i dont know how i can perform delete as they needs to be something to select the rows to be deleted.
    Please helpp!!!

  • Multi Row Update Error

    Hello Everyone
    I get the following error when attempting to perform a multi row update. Is anyone able to advise what the issue is?
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "F71A42E70B86E7C8A14343633169264E", item checksum = "43A7146FE322237B683C4139D66E4DC5"., update "CSS_PRODUCTIVITY"."CENTREDATAASSOCIATIONS_TEST" set "MONTH" = :b1, "TM1_PREMISE_NAME" = :b2,

    hi oolite
    i can't help you with your problem
    but i have one suggestion
    i don't know whether you created your tabular form with the wizard or manually
    when you use the wizard
    i would suggest that you try to build a tabular form manully
    in fact it is a little bit more work but i think all what you have done by yourself
    is more transparent and errors should be found easier
    other suggestions take a look
    Error in mru internal routine: Error in MRU
    Error in mru internal routine
    or search for error on mru
    sorry that i can't tell you more

  • Multiple Users - Tabular Forms - Multi Row Update.....

    Greetings All,
    Any comments, assistance, links, or even answers on the following situation would be much appreciated....
    I have a Application Express 4.0 (Could upgrade to 4.1 if it would help this issue)
    I have a wizard generated tabular form on a table, the form will show up to 600 records (rows) on a page.
    Part 1:
    The situation:
    User 1: Opens the form and brings up latest data set.
    User 2: Opens the form and brings up the latest data set.
    User 1: Changes data for record 1
    User 1: Hits submit. The data is saved.
    User 2: Changes data for record 1
    User 2: Changes data for record 2
    User 2: Hits submit. The following error is produced:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "3EE15D666E9DBDC59D34CE4CFB3950C0", item checksum = "922DA12AE1E3D8856695745C4D2830D2"., update "<Removed> Error Unable to process update.
    When this error occurs no updates get made to the table.
    I understand that row 1 can not be updated, however I would like row 2 (and all other rows where there is no conflict) to be updated. I would then like to be able to highlight in the form the rows that failed to update (And reload the data in them from the DB).
    Is this something I can achieve using my own MRU procedure, or in another way?
    Can anyone point me to a good example, tutorial or book showing how to do this.
    Thanks!

    Thanks for the comments guys.
    I have solved my issue in two different ways. Way one was not so clever, but worked, involving writing my own process for handling multi-row updates and would allow a user to fill in data for multiple rows (say 10) and have only the row with changed data rejected. V2 takes a very different approach, it uses Javascript, AJAX and the DOM model of the form to check when data is changed / updated by the user. Essentially, when a user enters an updateable form element, a AJAX request checks if the data has been changed. If it has, the value in the form is updated, and the color changed to blue to alert the user. When the user updates the data item, and AJAX request posts the new value to the database, where it is inserted. I had to build a bit of a framework to make this useable, and have to use dynamic sql in the database packages, but it work really well for what my users need! There are limitations (Currently it only supports date fields, text fields and drop down lists) but it works for me. It also involves traffic back and forth with the server each time a user moves the focus to a new form element, but it is a very light request and the work to do the select / updates in oracle is all based on a primary ke, so is ver quick.
    Solution 1: (Would need to be made much more elegant):
    1: Create a new text Item called P5_MESSAGE (To display error / success messages)
    2: Create a new process:
    DECLARE
    l_cks wwv_flow_global.vc_arr2;
    j pls_integer := 1;
    vUpdatedCount number := 0;
    vErrorCount number:=0;
    vMessage varchar2(4000):='';
    BEGIN
    select wwv_flow_item.md5(firstname,lastname,age) cks
    BULK COLLECT INTO
    l_cks
    from VA_TEST1 ;
    for i in 1..l_cks.count
    loop
    if htmldb_application.g_fcs(i) != l_cks(i) then
    -- Log error
    vErrorCount:=vErrorCount+1;
    vMessage:=vMessage||'Could not update row with ID:' || htmldb_application.g_f01(i) || '. This data has been updated by another user since you retrieved the data.<br>';
    else
    -- Do insert
    vUpdatedCount:=vUpdatedCount+1;
    update VA_TEST1
    set
    FIRSTNAME = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    ,LASTNAME = replace(htmldb_application.g_f03(i),'%'||'null%',NULL)
    ,AGE = replace(htmldb_application.g_f04(i),'%'||'null%',NULL)
    where ID = htmldb_application.g_f01(i);
    end if;
    end loop;
    :P5_MESSAGE := vMessage;
    end;
    Note, this currently updates every row, even if the data is unchanged, this could be fixed by comparing the checksum of the data to be inserted with the checksum of the data in the table, if the same then no need to insert.
    Solution 2:
    Too complex to explain in detail here, if you need to implement this then let me know.

  • Multi-Row Hidden Column Submit Processing

    Hi,
    My attempts to select a hidden column value for use in Submit processing only works when I actually display the column in the report region. I want to store the column value in the array (htmldb_item.?????) without displaying it in the report region.
    I have tried using the following htmldb_item functions: hidden, display_and_save, text. When I use the hidden function and set the column attribute to "Show" then the heading displays, no column data displays, and the htmldb_application.g_f01 value is present for use in Submit processing. When I set various column attributes to cause the column to not display then the column value is not present during Submit processing.
    My code snippets for Region Select and Submit processing are:
    "select htmldb_item.hidden(1, sac.student_acad_cred_id) q_acad_cred_id,..."
    "BEGIN
    for i in 1..htmldb_application.g_f01.count
    loop..."
    Couldn't find answer with Forum search or in the Guide. Thanks for any help!

    Bernhard,
    There are two ways to build tabular forms (multi-row update forms). You can either use calls to the htmldb_item API in your query. Or you can use the built-in display types. The build-in types are generally the better option for a number of reasons, for example, the built-in form elements are only rendered for the rows you actually show on your current page. If you use the htmldb_item API and pagination with several pages, then you would make calls to PL/SQL for every row in your report, no matter whether they are shown or not.
    With the built-in display types you can choose the display type “Hidden”, which will actually append the hidden fields to the last column in your report, so the array is there, but you won’t have to deal with column headings and an empty column.
    When using the htmldb_item API, you should simply append the hidden column to a displayed column, e.g. select htmldb_item.text(…)||htmldb_item.hidden(…) [column alias], … from …
    Hope this helps
    Marc

  • How To Create Multi Row Edit Forms in a JSP

    Hi, Could someone tell me how can i create multi edit rows in BC4J JSP edit page.
    Thanks
    Sirisha

    Refer to
    BC4J Multi-Row Extension API which provides multiple row operations to BC4J-based web application.
    http://sourceforge.net/docman/display_doc.php?docid=19393&group_id=87369
    http://radio.weblogs.com/0118231/2005/04/20.html#a529

  • Enable/disable lov button in a multi-row bloc

    Hi all,
    I have a form in which there is a multi-row block with some lov buttons related to some items,
    in query mode, user should not be able to modify item, item property update_allowed is set to false, that worked, but user is able to modify item when he clicks on the lov button...so i want to disable the button for query records and for record in (insert or new), button should be enable,
    i tried some tips but don't work, do you have any idea
    Thanks for your help.

    Hi,
    Can you suggest some methods to enable/disable LOVs in my search query? I have a customized VC which performs search and I need to enable/disable the LOVs depending on requirement.
    Abhishek

  • Multi-row sub query returns  ORA-00904 :invalid identifier error

    I am creating a report from two tables that I am not joining. I want a single line for every row in table1 that meets a date range. Table2 can contain none or many rows for each recored in table1. I want to get up to two fields from table2.
    I was using a case statement to check if there was data and then an in-line query or subquery. Once again, the idea is to have a single line on the report for each table1 record.
    I get this error with the code below. It seems the nested multi-row subquery can not see the a.cr_mas_cr_no identifier.
    ORA-00904: "a"."cr_mas_cr_no": invalid identifier
    Any help is greatly appreciated,
    Sam
    select
    a.cr_mas_cr_no "CRNO", a.cr_mas_type "TYPE", a.cr_mas_status "CR Status",
    a.cr_mas_date_logged "Logged date", a.CR_REL_REQ_APP_DATE "RTP approved",a.CR_REL_REQ_RTP_DATE "RTP Date",
    a.cr_accepted_date "Complete", a.cr_mas_submitted_by "Requester",
    select doc_user FROM crrm_cr_documents WHERE doc_cr_number =a.cr_mas_cr_no and rownum = 1 and DOC_TYPE = 'BD' ) "Bus Design",
    (select doc_user FROM crrm_cr_documents WHERE doc_cr_number = a.cr_mas_cr_no and rownum = 1 and DOC_TYPE = 'TD' ) "Tech Design",
    (select doc_user FROM crrm_cr_documents WHERE doc_cr_number = a.cr_mas_cr_no and rownum = 1 and DOC_TYPE = 'TE' ) "User acceptance test",
    case
    when (select count(appr_user) from crrm_cr_approvals where appr_cr_no = a.cr_mas_cr_no and appr_type = 'RTP') > 0
    then (select appr_user from (select * from crrm_cr_approvals where appr_cr_no = a.cr_mas_cr_no and appr_type = 'RTP') where rownum = 1)
    end
    "RTP #1",
    case
    when (select count(appr_user) from crrm_cr_approvals where appr_cr_no = a.cr_mas_cr_no and appr_type = 'RTP') > 1
    then (select appr_user from (select * from crrm_cr_approvals where appr_cr_no = a.cr_mas_cr_no and appr_type = 'RTP') where rownum = 2)
    end
    "RTP #2",
    a.CR_REL_REQ_RTP_BY "Released by",
    a.CR_ACCEPTED_BY "Post RTP User Acceptance",
    a.cr_mas_title "Title", a.cr_mas_id "ID"
    from
    crrm_crmaster a
    where
    (a.CR_REL_REQ_RTP_DATE >= :P1109_BEGDATE and (a.CR_REL_REQ_RTP_DATE <= :P1109_ENDDATE) and
    (a.cr_mas_status = 'Complete' or (a.cr_mas_status = 'Release Approved'and a.CR_REL_REQ_APP_DATE < :P1109_ENDDATE))
    Message was edited by:
    slavanaway

    Iceman,
    Thanks for the reply I will try your suggestion.
    I will try and explain why I think two subqueries (an in-line query with a subquery?) are required. I will use the creation of the column RTP #1 as the example as the RTP #2 column is only different in the rownum selected.
    Looking only at the lines that fail, here is my analysis. (If I rem out the two case lines the query runs, I just don't get two columns of data I need.) I will only examine the first case as the second is changed to extract the second approval via the rownum = 2 criteria. The first statement checks there is at least one RTP approval stored for the request and then gets the user who approved the request if the test is true.
    case when
    (select count(appr_user) from crrm_cr_approvals where appr_cr_no =a.cr_mas_cr_no and appr_type = 'RTP') > 0
    then
    The above part works fine and the correct count of approvals is returned.
    (select appr_user from (select * from crrm_cr_approvals where appr_cr_no=a.cr_mas_cr_no and appr_type = 'RTP') where rownum = 1)
    end
    "RTP #1",
    I moved the parenthesis to the correct location. There can be multiple approvals for a given parent record. Some parent records need one, some need two approvals. If I replace
    (select appr_user from (select * from crrm_cr_approvals where appr_cr_no =a.cr_mas_cr_no and appr_type = 'RTP') where rownum = 1)
    with
    (select appr_user from approvals where appr_cr_no =a.cr_mas_cr_no and appr_type = 'RTP' and rownum = 1)
    The correct result is returned because it returns exactly one row as rownum=1 limits the query. When rownum = 2 then the query returns null as the rownum never gets to two as the rownum column is built via the set created by the second subquery.
    The subquery builds a set of approvals for a specific "cr_no" and appr_type of "RTP". the outer query then looks at the rownum of the second query
    Here is where I got the rownum information from;
    http://www.oracle.com/technology/oramag/oracle/06-sep/o56asktom.html
    So here is what I think is happening;
    1. Main query From and Where are processed. This should provide the "set" for the query
    2.The from subqueries for RTP #1 and RTP #2 should be able to access the a.cr_mas_cr_no field and build a set from the approvals table.
    3.The RTP #1/2 subquery (inline maybe a better description?) would then get the correct row from the from subquery.
    The error "invalid identifier" refers to the a.cr_mas_cr_no field. I assume it means it can not resolve the table alias inside the subquery.
    So maybe your grouping would help, I will try.
    Sam

  • Exchange 2010: Multi-Mailbox Search causes log out

    This could well be the freakiest problem I have seen in years, or at least the more unexplainable. 
    We have the Multi-Mailbox Search feature in place, all things have been configured properly that I know of, and it has been working fine for about a year or two with several past searches done. 
    So we have a person named Jill. And we have a domain user account named Search.  Jill has been asked to be able to do multi-mailbox searches.  But it's not always her that does them, sometimes it's other people in legal, so instead of
    enabling Jill's Exchange account to have access, we created another generic user called "Search" that anybody with authority can use.  "Search" has been given the necessary setup options to enable them to do Multi-Mailbox Search. 
    The normal process is to go to OWA 2010 as the user "Search", go to Options > View All Options, then instead of Manage Myself, go to My Organization, and then to the Mail Control section.  This is where the search gets done.  The search
    is performed, the completion status shows, and this is normally where the person clicks the little link called Open, which then opens a new tab and displays the contents of the Discovery Search Mailbox 0565406545640 (or whatever it's name is) with the results
    displayed.  . 
    The problem is, for Jill whenever she does this on her computer, it opens a new tab but instead of showing the Discovery Search mailbox, it instead just gives her an OWA login screen. 
    That alone is an odd problem, however here is the big kicker.  If I remote into Jill's computer (RDP), taking over her session, if I click that same little Open link, it works properly.  To be clear, I am not logging her out and then in, or anything,
    I am simply logging in to take over her session. 
    And further on that, every time I have ever remoted into the computer to test this over the past several days, it works when I'm logged in as her.  And if I access OWA from outside the network, that also works fine. 
    I really have no idea what to say about this.  Any ideas? 

    Hi,
    Is there any error event ID in the application log?
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Problem with multi row delete

    Hi, I'm new in apex and I tried to build master detail report on some view. Everything is cool but "delete checked" doesn't work.
    "ORA-20001: Error in multi row delete operation: row= , ORA-06502: PL/SQL: numeric or value error: NULL index table key value,"
    the problem is that I don't know what is wrong :), I have a special trigger "instead of delete on MY_VIEW", but in this error problem is not explained.
    Anybody knows what can be wrong? It is probably a problem with trigger or multi row doesn't work with views? I couldn't find how MRD knows what kind of statement use to delete rows so I don't know if the statement that program used is correct. In debug it lokks that:
    0.32: ...Do not run process "ApplyMRU", process point=AFTER_SUBMIT, condition type=REQUEST_IN_CONDITION, when button pressed=
    0.32: ...Process "ApplyMRD": MULTI_ROW_DELETE (AFTER_SUBMIT) #OWNER#:MY_VIEW:ITEM1:ITEM2
    0.33: Show ERROR page...
    0.33: Performing rollback...
    thanks for any help
    //sorry for english mistakes
    edit: it doesn't matter if I use in trigger delete from ... where item1=:OLD.item1 ; or if I use item1=:P4_item1 (which actually saves correct values)
    Edited by: user5931224 on 2009-06-13 08:55

    I realised that this is not a problem with trigger, I changed trigger to "NULL;" and problem is the same. Maybe sb used master detail on view not only on tables and know what can be wrong in this situation?

  • Application builder page error ORA-06502

    We get an intermittent error with the application builder page of application express. The report that normally shows the icons or rows for each application returns the error "report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value". is this a know issue? is there anything we can do to fix it?
    Tom

    Scott,
    Thanks for the reply.
    I will try my best to explain, following is the navigation:
    1. After logging into my workspace --> Click on Application Builder --> Click either on a custom application or sample application --> I get report error: ORA-06502: PL/SQL: numeric or value error: NULL index table key value (Default View of the pages is set to Details)
    2. If I change the page[s] View to Icons then there is no error.
    3. We bounced the web but still having the error, did not try flushing the shared pool on the server.
    HTH
    Thanks
    Pradeep
    PS: How can I upload a screenshot?

  • Issues in Table with Multi-Row Insert

    I have created a master detail screens using jheadstart on 2 separate pages, Master in the Form layout and detail in the Table Layout with multi-row insert, update and delete flags ON. Have set the New Rows count = 2.
    Issue 1
    If I try to delete any existing rows, it gives error for new rows saying value is required for the mandatory fields. It should just ignore the new rows if I have not updated any values for any attributes in the those row(As it does for non Master-Detail Table layout). I guess this might be happening because the jheadstart code is setting the foreign key for new rows the detail, but not resetting the status of the rows back to INITIALIZED.
    I also noticed that the create() of underlying EO is getting called for those blank rows when I click on 'Save' button, even if I have not changed any data in those rows.
    Issue 2
    When I try to select the new rows also for deletion, I am getting a '500 Internal Server Error' with following stack trace... This is also happening for normal (non Master-Detail) Table layout.
    java.lang.IllegalStateException: AdfFacesContext was already released or had never been attached.     at oracle.adf.view.faces.context.AdfFacesContext.release(AdfFacesContext.java:342)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:253)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    Issue 3
    I have put some validation code in the validate() method in the MyEntityImpl.java class.
    The validate method seems tobe getting called lots of times, in my case 20 times, where the new rows are just 2.
    Environment:
    Jdeveloper 10.1.3, JHeadStart 10.1.3 build 78, Windows XP
    thanks

    Thanks for the reply.
    Issue 1:
    What I have observed that in case of multi-row select enabled tables, the blank rows do not have any data. This is because the EO's create() method is called only when we post the data using 'Save' button. Thus the Foreign Keys are also not setup. This is a correct behavior since create() and FK setups etc should get done only if the user has inputted any value in the new rows and thus intend to insert new data into the table.
    I am able to find the exact cause of this issue. It is happening because in the details table, I have a column which needs tobe shown as checkbox. Since we can only bind checkbox to an Boolean attribute in VO, I have created a transient attribute of type Boolean, which basically calls the getter/setter of actual attribute doing the String "Y"/"N" to true/false conversion. Here is code for the transient attribute getter/setter
    public Boolean getDisplayOnWebBoolean() {
    return "Y".equals(getDisplayOnWeb()) ? Boolean.TRUE : Boolean.FALSE;
    public void setDisplayOnWebBoolean(Boolean value) {
    if(Boolean.TRUE.equals(value))
    setDisplayOnWeb("Y");
    else
    setDisplayOnWeb("N");
    Now when I click on the "Save" button, the setter for the boolean field is getting called with the value = false and this is resulting into the row being maked as dirty and thus the validation for the required attributes is getting executed and failing.
    Issue 2:
    Confirmed that correct filter-mapping entries are present in the web.xml.
    Now when I select the new blank rows for deletion and click save, following exception is thrown:
    java.lang.ClassCastException: oracle.jheadstart.controller.jsf.bean.NewTableRowBean at oracle.jheadstart.controller.jsf.bean.JhsCollectionModel.getRowsToRemove(JhsCollectionModel.java:412) at oracle.jheadstart.controller.jsf.bean.JhsCollectionModel.doModelUpdate(JhsCollectionModel.java:604) at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.processModelUpdaters(JhsPageLifecycle.java:541) at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.validateModelUpdates(JhsPageLifecycle.java:571)
    thanks - rutwik

Maybe you are looking for

  • How to fix a page in a multiple resolution

    Hi I am designing a page in the portal 3.0.9.8.0 for a standard resolution of 800*600. The page is divided into 3 regions (150px,325px,325px)and I publish portlets within these regions. The page is displaying perfectly, but when i change my resolutio

  • SAP PI Party setup IDoc - HTTP: no receiver agreement found

    Hi, We have setup SAP IDoc -> SAP PI --> HTTP with 2 parties, as described in the the 'HOW..TO Sample IDoc - XI scenario's' case 7: For the clarity of the example, the sender at our side is 'AAA', and the receiver side is 'BBB'. 1. Sender Party Agenc

  • Flash Player not working in Chrome.

    I updated google chrome and ever since then the flash player won't work.  I have the latest flash player also.  I've tried everything I could find on help sites and still nothing.  Help! 

  • New Thinkpad Yoga 12.5" cover got hardly removable stain

    I just bought thinkpad yoga a few days ago. I found out that there is either scratch or oil mark stick on the screen cover.  I was using my computer when eating burger, maybe I got oil stain on top of it, but I couldn't manage to remove it. I have al

  • Changing a panel in a frame at runtime

    I have a frame setup with buttons on the BorderLayout.WEST area. Now for each clicked event those buttons generate I want to add a panel to the SOUTH area depending on which button was pressed. I have all the action listeners setup, and when a button