Master Detail Navigation/Refreshment?

Hi, I have created a JSP application that uses BC4J. The BC4J has its basis in 4 database tables; 3 foreign keys to each of the other three tables link one of the tables. These Master tables have a one to one relationship with their respective Entities, Views and JSP's, and these JSP's work fine. Next to these 3 JSP's I have created another 3 JSP's that reflect the MD-relationships in the database; except for some navigational problems these JSP's work nicely too, but for one major problem: it seems to be possible to throw away a Master in one (not MD) JSP, and subsequently add another Detail to the same (still existing) Master in a MD-JSP.
I do understand that I have to refresh something somewhere, but I don't seem to be able to find the exact answer.
1. Can anyone tell me how to set this refreshment?
2. In the MD-JSP's any query, insert or edit results in Navigation towards the Master-JSP or Details-JSP. I would like to navigate to the View Link-JSP. Is there a way to accomplish this navigation?
Thanks
null

Hi Sakthivel,
We solved it . And you guessed right, using scaffolding and it was related to routes only.
Modified routes as follows:
masterPageRoutes:{
        "master":{
        pattern:"",
        view:"master",
            subroutes: [
    pattern: "master/{contextPath}/detail",
    name: "detail3",
    view: "detail"
        "master2" : {
        pattern : "master2/{contextPath}",
        view : "master2",
        subroutes: [
  pattern: "master2/{contextPath}/detail",
  name: "detail2",
  view: "detail"
Referred DEMO APP and following URL:
SAPUI5 SDK - Demo Kit
Thanks for your kind attention to my problem. Keep it up
Regards,
Rauf

Similar Messages

  • Master-Detail Navigation Behavior Problem

    Hello,
    I am having problem in navigating from Master to Detail.
    Scenaio:
    Master1 ---> Master2 ---> Detail
    Problem and Requirement
    I navigate to Master2 from Master1 properly.
    When I click list item of Master2 and navigate to Detail, my master page automatically navigates to Master1.
    There is no error or such. Detail page gets loaded perfectly but navigation from Master2 ---> Master1 is not required which is happening automatically.
    I am using this.oRouter.navTo() method.
    Any idea how to deal with this?
    Kind regards,
    Rauf

    Hi Sakthivel,
    We solved it . And you guessed right, using scaffolding and it was related to routes only.
    Modified routes as follows:
    masterPageRoutes:{
            "master":{
            pattern:"",
            view:"master",
                subroutes: [
        pattern: "master/{contextPath}/detail",
        name: "detail3",
        view: "detail"
            "master2" : {
            pattern : "master2/{contextPath}",
            view : "master2",
            subroutes: [
      pattern: "master2/{contextPath}/detail",
      name: "detail2",
      view: "detail"
    Referred DEMO APP and following URL:
    SAPUI5 SDK - Demo Kit
    Thanks for your kind attention to my problem. Keep it up
    Regards,
    Rauf

  • Master Detail Relation

    Can I design Master detail using one block for master and display like 5 records and each of this has 10 detail records. I am not sure if I can achieve this.
    Other scenario is have one master block(5 records) and have 5 detail blocks. Please give any information related

    Husna,
    1. To only show 5 reords in teh master block, just set the display record property to 5 (records displayed). Selecting one of teh master records queries the detail records (as many as there are available)
    2. Master/Detail navigation works only for the current selected master record. i get th eimpression that you want to show all detail records that belong to the five master records currently visible. If this is the case then I would'nt use a master-detail relation in Forms, but read the PK from the block record and set it as the where clause to one of the detail blocks.
    Frank

  • Master-Detail Detail does not refresh after it's been empty

    I have a master detail page (both are tables) that works just fine, until I click a master record that has no details.
    After that the panelHeader of teh detail is refreshed with the PPT but the table underneath it is not, I keep seeing "no rows yet", no matter which master record I click.
    When I go to a different page and return it's fine again.
    Only one of my pages has this behavior, I tested this on another and it was fine. Has anyone seen this behavior before?
    My console has this message:
    May 11, 2007 10:52:38 AM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    Message was edited by:
    Wendy Tromp

    Ok I found it,
    My details iterator had the following properties:
    <iterator id="AfdelingMedewerkersIterator" RangeSize="-1"
    Binds="AfdelingMedewerkers"
    DataControl="PRBAppModuleDataControl"
    Refresh="IfNeeded" RefreshCondition="#{!adfFacesContext.postback}" />
    I have no idea why I set it like that, but removing the Refresh properties fixed my problem.
    I am still clueless as of why this led to the behavior as described above. I could have understood it if my iterator was not refreshed at all, but I have no idea why it stopped working only after the details were empty and not a second before...
    Anyway, problem solved!

  • Help!  After validation failure, Detail region of Master Detail page does not refresh.

    Hello.
    I am running a validation to prevent deletion of a purchase order (PO) when invoices exist for the PO.
    When the condition is found (invoices exist), the deletion process is halted and a message is posted to the page.
    I would like for both Master and Detail data of the PO to be refreshed.  However, only the Master
    record is refreshed.  I get the following error for the detail data:  The detail is found through the Master Header primary Key (DetailRecord.PO_ID = :P230_PO_ID )
    ORA:01445: Cannot select ROWID from, or sample, a join view without a key preserved table.
    ORA-06510 - PL/SQL unhandled user-defined exception.
    I'm not sure why this message should come up.  I do not clear cache or reset the page or anything like that.
    Any hints?

    Just an FYI for everybody who may have this very same problem in the future.  I fixed the error and it had nothing to do with ROWID or views or anything like that.  Under the Page Rendering section where you define the region definition under the source section, I had included the 'order by' clause in my SQL statement.  This was the cause of my ORA-01445 error!  When I removed the clause from the source definition and instead included it within the Report Attributes by checking the Sort box for the appropriate column (thus allowing APEX to generate the sort for me), the error disappeared!  The Oracle error message would NEVER have given me a clue into what caused the error.  I just happened to think 'what if I take the order by clause out'!  How's that for a flukey fix! 

  • I need to understand how to get my master-detail html dataset to refresh.

    My SPRY master-detail dataset does not refresh.  Following is a description of what I have and what I am trying to do.
    The data source is an embedded table.  Each row of the table has two fields: a thumbnail (for the master section) and a full size image (for the detail section).  Each "tr" tag has a class which identifies the category of photos to be displayed.  This feature of the applicaation is loacated on a panel of a SPRY tabbed panel object.  I have links from other pages to open specific tabbed panels.  this part works just fine.
    To select the various categories of photos I have a radio button group.  By default the first category.in the group is selected and when the page initially loads it selects the correct photos and the thumbnails are displayed in the master section and the first full size photo displays in the detail section. All is well to this point.
    Each radio button has an "onClick" behavior which calls a javascript function with an argument specifying the desired category.  The javascript function uses "window.location.assign" to refresh the page passing URL parameters to open the appopriate tab (this works properly) and to pass along the selected category.  The URL parameters show up in the browser just as they should, but the page does not seem to refresh.  I have disabled the caching of the data and that doesn't help.  I put an alert() function in to examine the incoming URL parameters but it does not process at all.  This convinces me that the page just isn't reloading.
    Any help will be appreciated.

    I have something similar, but instead of clicking a radio button, I click the tab of a Spry TabbedPanel widget. Clicking the tab activates a function that changes the XPath and reloads the data. All very simple.
    function newXPath(thepath) {
        ds1.setXPath(thepath);
        ds1.loadData();
    Incidently the above is for a SpryXMLDataSet.
    For a SpryHTMLDataSet you would use setDataSelector("theDataSelector") or setRowSelector("theRowSelector"). For more info see here http://labs.adobe.com/technologies/spry/articles/html_dataset/index.html
    I hope this helps.
    Ben
    PS. We try to help as much as possible. The best way for us to help you is to dispense with long stories and to supply an online URL so that we we see the issue in context.
    PPS. I must admit, your description was spot on.

  • Refresh problem by combination of programmatic view and master-detail page

    I am using the latest versions of both ADF (10.1.3.2.0.4066) and JHeadstart (10.1.3.1.26) and I have an application with 1 page in which I have as root page a programmatic view (table-form) which I fill with request parameters.
    Under that programmatic view I have a master (table) with 3 detail pages (table).
    The programmatic view is populated with always 1 row, which goes always correct.
    The problem is occuring when iterating through the first entity based master table which contains lots of rows. Then the problem is that when you navigate through the master table the detail pages are refreshed correctly, but when you navigate back to the first row that row won't get updated.
    The next thing I tried is create a new jheadstart application with only the master-detail pages (entity based), so without the programmatic view, and then the iterating through the master table and the refresh of the child tables is working correct.
    What can be the problem here.

    Have you tested this in the ADF Business Components Browser? That's the tester that you can find by right-clicking your ADF BC Application Module and choosing Test. If you go to the View Object instance for the programmatic view, and using the ViewLinks to its children, do you get the same behavior as in the JHeadstart application?
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Photo gallery navigation Master/Detail

    I am trying to make a photo gallery with Master/Detail pages
    in one - which is working up to a point.
    I have 2 recordsets:
    - A: one with all records which displays thumbnail icons in a
    horizontal looper.
    - B: another with a single url-parsed value.
    With the help of Tom Muck's Detail Page Navigation Suite, I
    can have First/Prev?Next?Last navigation set to the recordset B
    and I can have the full set of thumbs with links to the
    correct pic.
    What I can't figure out is how to get the thumbnail icons to
    have a 'Down' state based on the URL variable. I have tried onload
    image swaps based on the dynamic id of the thumbnail images, to no
    avail.
    Any suggestions much appreciated.

    what code are you using that's failing?  copy and paste only the relevant code, not all the code used in your app.

  • Navigation failure on master/detail form

    I have a master/detail (tabular) form that was created with the wizard. I have purposely not modified much of the two pages, so as to see how they work.
    For the most part, it works as I expect. As it sits, it is nearly as it was on creation. I've not added any real processing, just a little cosmetic work.
    One of the errors, involves adding a detail row once the master record has been created. It'll add two rows, and fails on the third try. Always. The error message is this:
    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 = "04494A03A6B0C8A660B1AAD2534C0BA8", item checksum = "0F030E70AFF4659E8FD3BA2CAC13D820"., update "GEMS"."EQUIP_DETAILS" set "ID" = :b1, "HEAD_ID" = :b2, "DATA_CALL" = :b3, "GEMS_ID" = :b4, "GEMS_HULL" = :b5, "GEMS_SYSTEM" = :b6, "L1" = :b7, "L2" = :b8, "L3" = :b9, "HEADING" = :b10, "NRE_AMT" = :b11, "FY1_YEAR" = :b12, "FY1_AMT" = :b13, "FY2_YEAR" =
    Manually, I've created default detail rows for some of the master records. When I pull one of these master records up, it pops up with the master and the subsequent 62 rows of detail that I expected to see. Except that when I hit the 'add row' button now, I get a page not found error on my browser, with this as a URL:
    http://cberry29-1:7777/pls/apex/wwv_flow.accept
    The other part that fails, is the next/previous navigation button on the master section of the form. It works sometimes, sometimes it doesn't. What I've noticed is that sometimes the pagination will say 2 of 17, even though I'm clicking on the first row item displayed on the report. The item 'P15_PAGE_COUNT' is not working properly.
    I un-hid (made visible as display text) the P15_ID item for the master table, and it appears to be scrolling right along. For awhile. And then, on another 'previous' click, I get the page cannot be displayed message on my browser again. One thing I've noticed, is that on the fetch for the previous master record that still displays okay, there's a delay in retrieving it. It's like the screen blinks, and there it is - number 564. And then one more click of the previous button, and boom. Page cannot be displayed.
    Getting wise, I've looked at the log file for my database. And there are a boatload of this one:
    [Wed Jan 17 11:44:28 2007] [error] [client 169.254.25.129] [ecid: 1169052268:169.254.25.129:4688:4796:838,0] mod_plsql: /pls/apex/wwv_flow.accept
    HTTP-400 Too many arguments passed in. Got 2050 parameters. Upper limit is 2000
    How am I going to deal with this?

    The problem of navigation between my master records was solved, by upping the count for PlsqlMaxParameters 15000 in plsql.conf.
    Found that here in the forum using Google.
    Anyway, I still had the problem of inserting (using the add button) for my details. I had tightened up the for my reformatting the columns. By adjusting the elements. And just for good measure, I had chosen to not show the little selector box and the id. Had me a nice tight tabular form. That was broken.
    I re-displayed/enabled the select box and the id, and all is well.
    Until I open up something else.

  • Master-Detail and Detail-SubDetail navigation.

    Hi!
    I am facing an issue regarding navigation in a second (subDetail) level child table.
    I have Master-Detail-subDetail like lilnks of three VOs.
    I have created 2 VLs for Master-Detail and Detail-SubDetail.
    Now on my custom page, navigation is fine for Master-Details but for 2nd level navigation between Details-SubDetails is dependent on SingleSelection that i have used to display related reocrds in SubDetail table.
    Is there any way to display subDetails automatically (without using single selection) just like in Master-Detaills. Or at least on page load it display related records in all the tablelayouts.
    I'm using Header Layout for Master , Table layout for both Deatil and Sub Details VOs.
    Kindly help
    Regards.
    Abbasi

    Hi All!
    I think there is no solution to this problem, only single selection is the solution.
    If any one has anyother solution plz let me know.
    Thanks and regards.
    Abbasi

  • Master - Detail application problem navigation

    Hello everyone
    i have a problem with my proyect Master - Detail Application, i can't show more DetailViewController  in the xcode 4.2.
    in the MasterViewController have 4 options the first option show me a DetailViewController in the second option show me other DetailViewController, but the masterView must not do any navigation to DetailViewController only in the  right of DetailViewController
    best regards

    What application?

  • JDev 11g unable to refresh master-detail-detail using WebService proxy

    Hello,
    I need to access multiple webservice operations and display them in a master -> detail -> detail2 tables. I've created web service proxy and javabean data control on top of the operations. All three tables are loaded fine on the initial call. When I select a new row in the master table, the detail gets refreshed but when I click the a new row in the detail, detail2 does not get refreshed based on the row selected in detail. It always shows the records for the first row in the detail table.
    master table is for projects
    |
    |_ detail table is for tasks
    |
    |_ detail2 table is for employees
    Since this logic is built on top of web service proxy that requires complex type as parameter, I've add getProject, getTask method as shown in http://susanduncan.blogspot.com/2006/09/dealing-with-complex-input-params-in.html. What I have noticed that getTask always returns first row values.
    Any pointers?

    One more thing I have noticed is that even if I click on the row in detail table, the web service that connects master table with detail table gets called. The response back from webservice is what goes into the detail table.

  • Display property of key field in master block effects detail blk refreshing

    Can anyone throw light on why a screen with the detail block in a straightforward master detail block does not refresh correctly unless one of the two key fields in the master block is displayed? The key field did (of course) exist in the master block - it just was not displaying. As soon as this key field was displayed, then when ever the problem screen was opened or the master block records were paged through, then the detail block refreshes nicely. Disable the display property again and the detail block does not refresh nicely. Found problem in forms 6i. (note, usage of the synchronize function did not change anything)
    Did I see similar problem some six or so years ago in forms 4? Ideas anyone?

    re rebuild from scratch.
    yes, we did rebuild the form from scratch. Original form was generated. Carefully made the same blocks, block relationships etc etc etc and then copied code from old forms triggers and so on carefully over.
    re being reproducable
    yep, tis so. We are both long term experienced Oracle developers - but this is a weirdy. Got any ideas? If we work anything out we shall certainly update this.

  • Master detail refresh problem

    I have simple master detail view in jspx page.
    I used for that view threeColumnTemplate, left part "start".
    All is function fine.
    But when I create template with Panel Collection and master columns move to that Panel,
    after that is refresh of detail block is not automatickly running.
    How is possible to call execute query for detail manually?
    Or there is some settings for that?
    Thanks
    Ben

    The master must have an id, the detail references this ID in its partialTriggers attribute (behavior panel). The simple way to check is to use the small black down arrow on the right.
    Timo

  • PDK iviews refresh the Portal's detailed navigation

    Hi All,
    When a postback occurs in my PDK iviews, both the iview and the detailed navigation are refreshed.
    Is it supposed to be like that?
    Is there a way to prevent it?
    (It doesn't happen with Web Dynpro iviews for example)
    Thanks,
    Omri

    Hi Omri,
    One of the properties of an iView is Isolation Method.
    If this property is set to URL the iView will be rendered into it's own iFrame and not to the page one.
    But this will disable the server side eventing between portal components, so take that into consideration.
    Regards,
    Tsachi

Maybe you are looking for

  • HP Laserjet P1102w Linux driver cannot find wireless device in printer

    When using the (ubuntu 12.04) HP Device Manager to configure the HP Laserjet P1102w Wifi, The device is recognized, but when I go to step three by clicking next, I get this message: "Unable to locate wireless hardware on device". As a result, when cl

  • Problem with converted PDF from OTF

    Hello, im having a problem with character interpretation in PDF document when i convert it from OTF. At the moment im using Arial true type font in my smartform, im using function module CONVERT_OTF to convert OTF to PDF. When i open PDF document wit

  • REP-1212: Object 'R_MASTER' is not fully enclosed by its enclosing object '

    hi 2 all My report is running properly in report builder 10g , but when i call from Oracle Application R12 then following error message display. REP-1212: Object 'R_MASTER' is not fully enclosed by its enclosing object 'Body'. i also check all repear

  • Moving applications from OS 10.4.11 to OS 10.5.8

    I have transferred applicatiions and data from my old iMac running OS 10.4.11 to the newer iMac I have been given.  It is running OS 10.5.8. I have tried to use my Address Book and was told that it isn't compatible with the newer OS.  How do I get my

  • CS6 Design and Web Premium asking for Adobe ID sign in

    Hi We're a Univerisity and have a site licence for CS6. I created an install package for our mac's using the Enterprise Application Manager. It's been working fine for the last term, but now all of a sudden CS6 is asking for an Adobe ID to be entered