Bc4j:RowScope on a Master Detail page always returns 0 rows for detail

Hi,
I have a problem with a Master Detail page that is called from another page. The Master Detail page has two View Objects, Budgets and Budget Versions. These are linked properly in BC4J and when I use these VOs together I can navigate through the Budgets (master) and the Budget Versions (details) are populated correctly.
However, I want to navigate to this page from another page which lists all possible Budgets. I pass the key of the selected Budget to the Master Detail page and the correct Budget is displayed, BUT the Budget Versions are NOT displayed - I get 0 rows returned.
The mechanism I use to pass the selected Budget ID to my Master Detail page is:
<ctrl:property name="key">
<ctrl:selection name="ViewTable" key="key"/>
</ctrl:property>
My BC4J Registry is set up as follows:
<bc4j:registryDef>
<bc4j:rootAppModuleDef name="BudgetModule"
defFullName="BudgetPackage.BudgetPackageModule"
configName="BudgetPackageModuleLocal"
releaseMode="stateful">
<bc4j:viewObjectDef name="ItiBudgetsView1">
<bc4j:rowDef name="CurrentBudgetRow" usesCurrency="True">
<bc4j:propertyKey name="key"/>
</bc4j:rowDef>
</bc4j:viewObjectDef>
<bc4j:viewObjectDef name="ItiBudgetVersionsView2" rangeSize="15"/>
</bc4j:rootAppModuleDef>
</bc4j:registryDef>
I then use
<bc4j:rowScope name="CurrentBudgetRow">
to get the correct Budget row in my master VO. But this always returns 0 rows in my detail VO. If I comment out the rowScope element, I don't get the desired Budget row, but I do get the correct Budget Version rows displayed. Is the rowScope element on the Budget VO interfering with the Budget Version VO?
Hope this is not too confusing!!
Thanks,
Steve

Steve,
I tried to create a comparable set of two pages and initially ran into the same problem. I just realized that my issue (which I hope is yours too) is that the rootAppModule name was different across my two pages. This led to each page having its own application module instance, so the currency was different on each page.
By changing all of my pages to use the same application module name (in the registryDef, in the appModuleScope tags in the page, and in the findAppModule tags in the handlers), I resolved this problem.
My event handler to go to the master/detail page from the master page, FYI, looks like this:
  <event name="details" >
   <bc4j:findRootAppModule name="MyApp" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="CustomersView1" >
     <!-- find the selected Row -->
     <bc4j:findRowByKey>
      <bc4j:keyBinding>
       <bc4j:selectionKey name="viewTable" key="key" />
      </bc4j:keyBinding>
     </bc4j:findRowByKey>
    </bc4j:findViewObject>
    <bc4j:executeQuery />
    <go name="OrdersByCustomer_View" redirect="true" />
   </bc4j:findRootAppModule>                     
  </event>Hope this helps.
-brian
UIX Team

Similar Messages

  • Project Server 2010 - Unable to open project, no valid Project Detail Page could be found for the project error

    I have a workflow being deployed for the first time on a farm. When I create a project with an EPT connected to the workflow it runs and can enter the required field in a PDP.  Then I Submit the workflow to go to the next stage and I get the "Unable
    to open project, no valid Project Detail Page could be found for the project" error.  After that the project is stuck on the same error.  All of the 18 stages have PDP and Schedules assigned to them.
    Any ideas on why the workflow cannot see the PDPs?  Is there a farm permissions that I am missing?  Thanks!

    Hi David,
    It starts to be a bit technical for me, but here is what I found on the web (seems to be an authentication issue with Sharepoint 2010):
    http://social.technet.microsoft.com/Forums/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/5cc70ff6-50d9-4cd3-b092-12007f4e495b/response-message-contenttypebindingtype-mismatch
    http://stackoverflow.com/questions/5263150/the-content-type-text-html-charset-utf-8-of-the-response-message-does-not-match
    Hope it will help you going forward in resolving your issue.
    Guillaume Rouyre - MBA, MCP, MCTS

  • An Error occured while processing this page. check the log for details

    Hi ,
    when i open an browser http://localhost:8300/HyperionPlanning/AppWizard.jsp
    i get an error stating that :: An error occured while processing this page. check
    the log for details
    i am not aware where to look the log files.
    second issue. on anothor desktop i am able to login but when i create an sample application it moves forward until finish and takes lot of time and gives me an same error as above .
    please help me out ASAP iam tired uninstalling and reinstalling the products.
    please mail me at [email protected]....
    thanks and regards
    RED

    Hi,
    If you are running planning as a service could you stop the service, then run planning server from the start menu.
    If you try and log in again it should produce some error messages.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • DataLine isRunning() always returns false for mp3 files

    Running JDK 1.5.0-b64 on Win 2K and XP. Using the sun mp3 plug-in. Everything works except the DataLine.isRunning() method always returns false.
    For other file types (e.g. WAV) isRunning() returns true/false values as you might expect.
    Anybody else have this experience? It seems like a bug to me.
    Thank you.

    Running JDK 1.5.0-b64 on Win 2K and XP. Using the sun mp3 plug-in. Everything works except the DataLine.isRunning() method always returns false.
    For other file types (e.g. WAV) isRunning() returns true/false values as you might expect.
    Anybody else have this experience? It seems like a bug to me.
    Thank you.

  • Master Detail page. - Create Row.

    Hi
    I have created a master details search page using the following BC4J objects
    EmployeeEO - empId,name,deptno
    DepartmentEO - deptno,deptname
    EmpToDeptAO - using deptno
    EmployeeVO - contains all Attributes of EmployeeEO
    DepartmentVO -contaiins all Attribute of DepartmentEO
    EmployeeAM contains both VO
    The search page is working fine.
    In the Search page i have created a create button.When this click this button will be forwarded to create page.
    In the create page under the pagelayout region i have two table regions
    one Employee Details Entry and the second one deparment details entry.
    i have added apply button to the page.
    in Process request of controller i have invoked the two create(insert row) methods (one for employeeVO and another for departmentVO)which resides in AM.
    in process form request when apply button is pressed, i will commit the details.
    Employee details getting committed but department details is not getting committed.Its throwing some exception like the Fonreign Key constraint violated.
    but if i give some department no which is already existing in department table region both is getting committed.
    How to handle this problem.
    how to issue commit separately for master and detail.
    Am i clear with the explanation.
    Edited by: user10613877 on Dec 13, 2008 9:04 AM

    I guess you will also need a View Link between the the 2 VOs.
    Also the attributes that would be used to join, should be declared as Key Attributes. Here in your case, Dept_Id should be the key Attribute in both the VOs.
    You can refer this link.
    [master-detail mandatory steps|http://apps2fusion.com/at/ps/333-oa-framework-master-detail-region-mandatory-steps]

  • ADF: Master Details Page

    Hello,
    I have just started out trying to develop an application in JDeveloper with ADF and I am coming from a Apex/Forms/PL SQL background. I am trying to develop an online application form for our Grants program.
    The problem I am having is I have a master detail type page where I have a section D (Master) and then I have a breakdown of cost (detail). I have created a creation page for the section D and I have then another creation section on the same page for the breakdown of the costs by dragging the view that is under the section D view.
    The problem is the detail section seems to be bring back the first record from the table. This is not what I expected as I would assume this to be blank record as we have a blank record in the master part.
    Is there anyway around this where on startup the detail section brings up a blank record instead of the first record in the view?
    Cheers in advance in any help on this matter.
    Paul.

    Most likely you dragged the wrong detail structure from the Data Control palette. When you created your Application Module, and added View objects to it, you would have seen a tree structure. Views will be listed separately, but if you have a View Link associating a detail view with its master, you will also see that view in the tree under the master. Something like this:
    MyMasterView
      MyViewLink
        MyDetailView
    MyDetailViewMake sure that this structure has been moved to the right side of your Application Module. There you will see something like:
    MyMasterView1
      MyDetailView2
    MyDetailView1This is what creates the tree structure in the Data Control palette. When you created your master/detail page, you dragged MyMasterView1 for the fields from your master view. But you probably dragged MyDetailView1 for the details. This does not use the View Link to associate your details with the current master record. To do this, you must use MyDetailView2, which you will find by expanding the tree under the master.
    Now, to get a blank record in the detail, you have to execute a Create action from that data control. You can drag a Create button to the page, and the user can press the button to get a blank record. Or you can cause a create action to happen whenever you enter that page.

  • Timeout problem - record is not shown properly in detail page after timeout

    Hi,
    I am using JDeveloper 10.1.3.1.0.3984
    and JHeadstart 10.1.3.1 Release 10.1.3.1.26
    I have a Master View Object where there is a field ID (for example M_VO).
    There is a page associated with M_VO (Page_M_VO.jspx)
    There is a Detail View Object (for example D_VO)
    There is a page associated with D_VO (Page_D_VO.jspx)
    There is a link from M_VO to D_VO using the field ID.
    When I open the page Page_M_VO.jspx and select an ID and go to the detail page Page_D_VO.jspx, it goes to the detail page Page_D_VO.jspx. It works fine.
    But the problem is:
    If for example I have three ID (111, 222, 333), in master page if I select 222 and go to detail page it shows the appropriate records for 222 as I selected 222 in master page. If I keep the detail page open for more than the timeout minutes specified in web.xml and then try to access the detail page again it ask for userid and password (which is fine). If I put userid and password, then it shows the detail page with the first record which is the record associated with the ID 111. But before timeout I was working with the ID 222, so it should show the record associated with ID 222 as I was working with ID 222 before timeout.
    Can anybody help me to solve this problem?
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    I would put my money on the fact that since your application is timing out, it is dropping any state that your View Objects otherwise had before the application timeout.
    So upon reauthorizing and reaccessing the application (and going directly to the detail page) the View Object is reinstantiated and only knows to go to its default data set which is 111.
    If my assumption is correct, I don't think you could really implement this without a lot of trouble.

  • Second level detail in master-detail via VL does not return rows

    Sorry, I did not want to repost the entire thread. Please see the last entry in the following thread for my urgent question.
    second level detail in master-detail-detail does not return rows
    "second level detail in master-detail-detail does not return rows"
    Thanks so much!
    Teri

    Ahhh ... that explains everything!
    You wrote:
    ListView1
    -> ListRowView2 (via ListRowFkLink1)
    -> ListValueView2 (via ListValueFkLink2)
    That's why I thought it's a master and two details.
    But it's more like:
    ListView1
        -> ListRowView2 (via ListRowFkLink1)
              -> ListValueView2 (via ListValueFkLink2)Is that correct?
    That's the explanation.
    A ViewLink is basically a RowSetIterator controlling a detail RowSet. When the iterator navigates, the detail RS is refreshed.
    When you create a hierarchy in the wizard, the controlling master iterator is always the default iterator! But you used a new iterator (listRowIter) to iterate over your first detail. The default iterator of that first detail didn't move, hence the RowSet of your second detail was not refreshed.
    When you navigate in the tester, the tester always uses the default iterator. That's why it worked there.
    Sascha

  • Data input in table format on a Project Detail Page

    Hello,
    Does anyone know of a way to input data for a Project Detail Page (e.g. Project Detail Page) in PWA 2013 using an Excel like view (table view)?
    Also, is it possible to edit more than one project at a time in this view?
    Thank you
    Michael

    Hi Michael,
    If you're using Project Server 2013, you have some 3rd party apps (free or not free) which propose an Excel-like spreadsheet to bulk edit project custom fields, such as
    Nearbaseline or
    FluentPro.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to add custom link or button to task details page to open a different t

    Dear All
    In HumanTasks Workflow, On task details page, I want to add a custom link or button. Clicking on this link or button, should load a different task details page.
    The exact business usecase is like this:
    1. We have some human tasks with very detailed payload like about 100 attributes. When the task is submitted for Approval, we send notification emails. These emails shows the Task Details with all these 100 attributes along with standard Approve, Reject buttons etc. NOW in addition to this, we want to add extra custom button/link like Custom View. When we click on this buton or link, it should replace the task details page with the Custom task details page contents. The reason is most of the managers/approvers access their emails on smart phones like iphones. So in these phones, seeing full task details (100 attributes) is very tedious. So we want to provide a simplified view of same task with very minimum attributes like about 10 with Approve, Reject buttons. Now this compact view details will have a button called Detailed View on click on which it loads details page.
    So we want to have 2 pages for a task:
    taskDetails1.jspx -> Has all 100 attributes with a custom button/link called "Compact View". Click on Compact View switch to below page.
    taskCompact1.jspx -> Has only 10 attributes with a custom button/link called "Detailed View". Click on Detailed View switch to above page.
    1. I tried implementing this using the VacationRequest sample where the payload is like creator, startdate, enddate, reason. I already have taskDetails1.jspx page, which shows this information in the email body.
    2. I want to add another button to taskDetails1.jspx so that when I click on it, I want to load a different page like taskCompact.jspx which has only say creator, reason.
    I already added a link and gave the url with parameters like taskId, taskContext etc which I got from bindings, but nothing is displayed when I click on custom button. The taskId, context values are comming correctly in the url.
    So bottom line, what is the URL that I can provide in the task details page, to load a different task details page contents. I want to pass other taskdetails jsp details.
    Please let me know, if there is any other approach to implement this usecase.
    Thanks in advance
    Ravi Jegga

    Hi,
       I am not sure if you can add your own custom buttons to the application tool bar because your table control is in a sub screen area in a standard screen so the menu area would be controlled by the standard screen and not the subscreen , but along side the table control you can give buttons for scrolling and handle the same in the subscreen if you check the FM EXIT_SAPLMEREQ_002 it has a variable IM_UCOMM which would have the ucomm set in the subscreen so here you can handle your user command to scroll on the table control.
    Regards,
    Himanshu

  • Displaying messages on a details page

    i have a website for musicians each musician has their own
    details page that displays all their details i want to create a
    section that will display messages to the band and the band can
    answer these comments and they will be displayed on the same page
    it will be like a guestbook for each musician how do i do this do i
    just need to link the database tables or what? im not sure if
    anyone can help please let me know. cheers

    Since it sounds like you're using a standard relational
    database, then there should be a field in the first table that ties
    to the second table. Lets call that field name1 for demo's sake.
    In the 2nd Recordset (switch to advanced mode so that you can
    put it in manually)
    SELECT * FROM TABLENAME2
    WHERE name1 = DBNAME.TABLENAME1.name1
    ORDER BY record_number (or a date field) DESC
    Another way to do it is to set it up in two pages. set up the
    first page using your first recordset and bind it into a form. then
    pass the name1 value in that form to the second page (GET not POST)
    and you can set up your second page's recordset to filter (name1 =
    URL Parameter = name1 (the passed field from the first page) that
    will pull all info based on the info passed from the first
    recordset and display it.
    Cheers
    Chuck

  • Detail page only for certain values

    I have a page that searches a few tables.
    its a overall search, but there are records we dont want to
    allow anyone to
    edit based on a value.
    So my question is... i have a results page which is already
    setup to display
    all records found.. with a link(go to detail page) how can i
    code it so if
    any of the results have a certain value that link is not
    available?
    Example
    Name Phone Email
    Contact Details
    John 555-555-5555 [email protected] Yes View
    Dave 222-333-4545 [email protected] No
    Jess 854-896-7852 [email protected] Yes View
    Using ASP, SQL2005 and DW8

    Can anyone help with this one?
    I just want to disable the link to the detail page if the
    value for Contact
    is NO then disable Details link
    Using ASP, SQL2005 and DW8
    "Daniel" <[email protected]> wrote in message
    news:f2d35r$806$[email protected]..
    >I have a page that searches a few tables.
    >
    > its a overall search, but there are records we dont want
    to allow anyone
    > to edit based on a value.
    >
    > So my question is... i have a results page which is
    already setup to
    > display all records found.. with a link(go to detail
    page) how can i code
    > it so if any of the results have a certain value that
    link is not
    > available?
    >
    > Example
    >
    > Name Phone Email Contact Details
    > John 555-555-5555 [email protected] Yes View
    > Dave 222-333-4545 [email protected] No
    > Jess 854-896-7852 [email protected] Yes
    > View
    >
    >
    >
    > --
    > Using ASP, SQL2005 and DW8
    >

  • Detail Page empty

    Hi There,
    I am creating a dynamic link from a news item in my index.php
    page. I have highlighted the field (in index.php) I want to use as
    the dynamic link to the detail page and used the 'go to detail page
    for PHP server behaviour'. This links to my detail page called
    'newscontent.php'. On newcontent.php, I have created a filtered
    recordset which filters by newsID (which is the primary key in the
    Mysql database). Using the simple recordset dialog, I did a test
    and entered in a test value for URL parameter: newsID. This works
    successfully and returns the appropriate records from the database.
    Therefore as things seem to be working so far, I have dragged the
    newsTitle and newsContent onto my detail page so that when the user
    clicks on the link in the index.php page, it will show the title
    and content in the detail page.
    However things are not working. In the newscontent.php, when
    I do live data view, nothing appears on the page (which is weird
    because the recordset works fine!!). Even when I view my index.php
    page in my browser and try and link to the detail page, it goes to
    the detail page no problem but no data is on the page!!! It is just
    empty.
    I must be doing something really daft, so if someone can spot
    a mistake in my strategy here, that would be much appreciated.
    dmlocke

    This seems sort of pointless to ask, but just in case??? You
    say:
    "I have highlighted the field (in index.php)" Do you mean
    "textfield?" Anyways, I would think that you'd want to use a
    dynamically populated menu which then pins the newsID using a URL
    parameter or session variable. Anyways, what I'm getting at is: You
    have somehow included the newsID chosen on index.php in the
    information that's sent to the detail page request and then used
    that to filter the SQL query that you already said work when you
    PERSONALLY designate a value, right?
    Good luck! Hopefully my query, will help you with your
    query!

  • Adobe form:How to Print last row of body to next page & printing max7 rows?

    Hi,
    In ADOBE PDF, Design view, for item level data only 7 row or less should appear in first page for following page if rows are greater than 7 if its less than  7 then last row should be on second page. In design page Below Body Row, user details are 'positioned' so they overlap as soon as item level data exceeds 7.
    Using a Static PDF, 7.2. I checked with Pagination property of Item level data, its been set to Place:Following previous and After Continue filling parent. Will putting condition using Form Calc would suffice in condition breaks? What would be condition?
    Thanks
    Mohinder

    Hi,
    Solved by changing Condition in Table pane, making one row and increasing Header and footer.
    Thanks
    Mohinder

Maybe you are looking for

  • Canon MX340 wireless printer no longer connecting over wireless and coming up with "a communications error has occured"

    I have a Canon MX340 wireless printer and have only recently started having trouble printing over the wireless connection. No settings have changed on my MacBook Pro, the printer, the router or the wifi connection and it is strange how it has just st

  • How can I fill in a form, save the form such that it cannot be further altered, and email it as it was saved?

    How can I fill in a form, save the form such that it cannot be further altered, and email it as it was saved?  I created a form with 5 fields.  It is a form letter that is intended as a receipt for funds received.  I want to fill in the date, name, a

  • Deskjet 5525 Server Connection Error 403

    Hi. I am accessing my Deskjet 5525 printer using a Google Chromebook and Google Cloud Printer setup. I am not able to scan. All is well in the scan sign-in process until I hit the 'Document' icon and the printer attempts to connect to the server. I t

  • Dummy G/L a/c

    Hi, hi, 1. Can any one please explain me “At the time of transactional data uploading do we need to create dummy G/L a/c”. What is dummy G/L a/c. 2. If yes how many dummy G/L a/c do need to create. 3. Please provide me what are all prerequisites for

  • WPA2-PSK

    Greetings - I currently have a Cisco AIR-AP1231G-A-K9 that is running IOS version 12.3(8)JEA1. I am trying to setup WPA2 "Personal" (WPA2-PSK) with a client running Windows XP SP2. The WLAN Nic is a Cisco a/b/g PCMCIA, driver version 2.5.0.22. I have