Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8416835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:52:46+00:00 2026-06-10T01:52:46+00:00

I have a set of master detail tables based on a single data source

  • 0

I have a set of master detail tables based on a single data source (Session Bean wrapping a web service call). The top level table (t1) shows opportunity data, the bottom level (t2) shows contacts for a particular opportunity. When an opportunity is selected in t1, the contacts associated with that opportunity are shown in t2. These tables work as desired.

I have a read only form (Panel Form Layout) based on a different data control (backed by a Session Bean that calls a LinkedIn API and a database table via EJB3 entities). The LinkedIn Session Bean method takes in a parameter which I get from the current row in t2. ( #{bindings.relatedContact.currentRow.dataProvider.id} ) I have set the PartialTriggers as ‘t2’ on the form.

When the page loads for the first time, the first row (row A) of table t2 is selected and the form displays data associated with that row. If I select another row (row B), the Session Bean is called with the id value from the newly selected row, but the form displays row A’s associated data. Subsequently, each time I select a row in t2, the bean is called with the new value, but the form displays data from the previously selected row.

I assume what is happening is that the form is refreshed (using stale data in the data control) and then the call to the session bean is made. I verified this using print statements and Thread.sleep() in the bean.

Is this correct behavior and how do I ensure the call to the bean happens before the form is refreshed?

I’m using JDeveloper version 11.1.2.2.0

Thanks

Michael

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:52:48+00:00Added an answer on June 10, 2026 at 1:52 am

    By default the Refresh property setting of the iterators in the PageDef file is “deferred”. For your use case its better to set it to “ifNeeded”. So go to the iterator(s) for the detail Web Service (t2) and set the Refresh property to ifNeeded. This will fix your problem

    Frank

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a split view-based app that presents a master-detail interface, and uses a
I have two tables: OutputPackages (master) |PackageID| OutputItems (detail) |ItemID|PackageID| OutputItems has an index
I have a data model that consists of a master - detail relationship where
I have following problem. I have typical master/detail UI scenario. I set main object
I have 2 tables with a master-detail relationship. We use a DataGridView to handle
I have a UISplitViewController with the master view set up like this: UITabBarController Tab1:
I have a simple website with a master-page. To set properties to elements on
I currently have a MySQL dual master replication (A<->B) set up and everything seems
I have set a background on the data-role=page element like so <div data-role=page style=background:
I am learning ASP.NET and I have a master-detail scenario using two GridViews in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.