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

Similar Messages

  • Spry Tabbed Panels and Master/ Detail Page Set interraction

    Hi,
    I have created a feedback form and am using a Spry Tabbed Panel to allow users to review all responses to one question and then all responses to the next question in different tabs, there are 6 tabs in all. In each tab I have created a Master/ Detail Page set - well actually just the Master appears in the tab. This is working fine. I allow up to 20 responses to be shown on each tab, after which the user selects First/Previous/Next/Last. When they do this the screen refreshes and the tabbed panel display goes back to the default tab, clicking on the tab previously used correctly displays whichever of First/Previous/Next/Last the user selected. I'd like the display to remain on the user's current tab when they select First/Previous/Next/Last.
    The page in question is here http://www.hollisterairshow.com/feedback-results2.php, then scroll about half way down the page and select one of the tabs.
    Thanks.
    Tony

    Hi Tony,
    Look at the following, blue coded is comment only, red coded is what has to be added to your existing code and orange coded is added by the SpryDataSet creator if done properly. Where the orange part starts, thats where you place your cursor when creating the dataset.
        <p> </p>
       <div id="TabbedPanels1" class="TabbedPanels">
          <ul class="TabbedPanelsTabGroup">
            <li class="TabbedPanelsTab" tabindex="0">All feedback</li>
            <li class="TabbedPanelsTab" tabindex="0">Suggestions for improvement</li>
            <li class="TabbedPanelsTab" tabindex="0">What did you like the most</li>
            <li class="TabbedPanelsTab" tabindex="0">What did you like the least</li>
            <li class="TabbedPanelsTab" tabindex="0">What else would you like to see</li>
            <li class="TabbedPanelsTab" tabindex="0">Any other comments</li>
          </ul>
          <div class="TabbedPanelsContentGroup">
            <div class="TabbedPanelsContent">
              <table border="1" align="center" id="allFeedback"> .... start feedback table tag (line 763)
                <tr>
                  <td width="80"><strong>Feedback Number</strong></td>
                  <td><strong>Days attended</strong></td>
                  <td><strong>Arrived by</strong></td>
                  <td><strong>Arrival arrangements</strong></td>
                  <td><strong>Expectations met</strong></td>
                  <td><strong>Ticket price</strong></td>
                  <td><strong>Zip code</strong></td>
                </tr>
    .................... rest of table probably your PHP repeat area
                  </tr>
              </table> .... end feedback table tag    
              <div spry:region="dsAllFeedback">
                <table>        
                   <tr>
                    <th spry:sort="Feedback_Number">Feedback Number</th>
                    <th spry:sort="Days_attended">Days attended</th>
                    <th spry:sort="Arrived_by">Arrived by</th>
                    <th spry:sort="Arrival_arrangements">Arrival arrangements</th>
                    <th spry:sort="Expectations_met">Expectations met</th>
                    <th spry:sort="Ticket_price">Ticket price</th>
                    <th spry:sort="Zip_code">Zip code</th>
                  </tr>
                  <tr spry:repeat="dsAllFeedback" spry:setrow="dsAllFeedback" spry:odd="row_odd" spry:even="row_even" spry:hover="row_hover" spry:select="row_select">
                    <td>{Feedback_Number}</td>
                    <td>{Days_attended}</td>
                    <td>{Arrived_by}</td>
                    <td>{Arrival_arrangements}</td>
                    <td>{Expectations_met}</td>
                    <td>{Ticket_price}</td>
                    <td>{Zip_code}</td>
                  </tr>
                </table>
              </div>
              <br />
              <table border="0">
    I hope this helps.
    Ben

  • Spry Tabbed Panel and Master/Detail Page Set interraction

    Hi,
    I have created a feedback form and am using a Spry Tabbed Panel to allow users to review all responses to one question and then all responses to the next question in different tabs, there are 6 tabs in all. In each tab I have created a Master/ Detail Page set - well actually just the Master appears in the tab. This is working fine. I allow up to 20 responses to be shown on each page, after which the user selects First/Previous/Next/Last. When they do this the screen refreshes and the tabbed panel display goes back to the default tab, clicking on the tab previously used correctly displays whichever of First/Previous/Next/Last the user selected. I'd like the display to remain on the user's current tab when they select First/Previous/Next/Last.
    The page in question is here http://www.hollisterairshow.com/feedback-results2.php, then scroll about half way down the page.
    Thanks.
    Tony 

    Hi Tony,
    Have a look here http://labs.adobe.com/technologies/spry/samples/data_region/PagingSample.html and here http://labs.adobe.com/technologies/spry/samples/data_region/SpryPagedViewSample.html
    If you need further assistance, go to the Spry Forum http://forums.adobe.com/community/labs/spry
    I hope this helps.
    Ben

  • Database Views and Master-Detail using ADF

    How would I create a master-detail form using a database view for the search-able master table and a database view as the detail table?
    The detail-view will need to be update-able (adf-table) using an instead-of trigger to perform the updates to the database table.
    Thanks in advance...

    There are several sections in the ADF Developer's Guide about using views (http://www.oracle.com/technology/documentation/jdev/b25947_01/index.html):
    - 26.4 Basing an Entity Object on a PL/SQL Package API
    - 6.2.4 Creating an Entity Object for a Synonym or View
    You can also try Steve Muench's web log: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    There are at least two (old) items there that involve view with instead-off triggers:
    -      Composite Entity Using Stored Procedure API to Create/Modify/Remove Master and Children
    - Entity Object Based on View With Instead Of Triggers Avoiding Returning Into Clause
    Jan Kettenis

  • Many - to - many view links (master-detail)

    Case :
    I have a relation many-to-many between two tables, composed of 3 tables:
    Table Users ( User_Id, User_name ) // Master 1
    Table Groups ( Group_Id, Group_name ) // Master 2
    Table Users_Groups ( User_Id, Group_Id ) // Child (holding then many - many relation)
    Need :
    I want to make Master-detail relation, so that when I change the group (Master 2) the details of the users - user_id, user_name - in this group appear in table below.
    problem :
    All the master-detail examples I have seen in Jdeveleoper, between One - many realtionship, where the details table contain the information to be displayed; now my case that the details to be displayed is in another table (Master 1) not in the child table directly.
    So using ordinary view Link between the a master table and the child table displayes only the Id's of the child table but I need that the names that in (Master 1) table which is related to the selected master id.
    Thankx

    Duplicate of add where clause to detail view in master/detail relation
    Timo

  • ADF BC - One Master and Two Detail pages How To?

    I have an existing ADF BC .jspx master-detail page that works fine. It shows one product as the master (read-only; no navigation controls) and assocatied customer feedback as the detail (multiple records; read-only.) Now I also want to compute some averages from the same table used to create the detail view object. I have created a second view object because this requires a separate query that calculates aggregate values. I want to take advantage of using view links so that this 2nd view object is automatically linked to the master record via the primary key.
    My question is how can I link this into the existing master-detail data control so that I can drag/drop it to include id on the existing .jspx page and the primary key linkages will be handled automatically?
    Tables
    Product
    Feedback
    View Objects
    ProductView
    FeedbackView
    FeedbackAVGView
    Current ViewLink
    ProductFeedbackViewLink = ProductView + FeedbackView
    Current DataControl
    ProductFeedbackViewLink-Instance
    Data Control is displayed on .jspx page; want to also include 3rd View Object, FeedbackAVGView, in the Master-Detail relationship and display on the .jspx page

    Thanks for the reply. The existing customer feedback view object displays the customer's text feedback (testimonials) - these will be displayed in a read-only table with multiple records.
    The new view object aggregates the ratings score from the customer feedback (same FEEDBACK database table) and will use a form to display the results (not multiple rows.) The PK is included in the aggregate view object query.
    Note there is already an existing viewlink between the PK (Master) and FK (Feedback) - in the data control, this viewlink is an instance of the Master View Object and the Customer Feedback View object. Now that I have created a third view object, should I create another View Link between the Master View Object and the Customer Feedback AVERAGES View Object? If I do this, how do I include it in the existing .jspx page? If I add this new View Link to the Application Module I will have two different Data Controls:
    Data Control #1: Master (Product) View Object + Customer Feedback View Object #1 (implemented as a master-detail read-only form/table on a .jspx page)
    Data Control #2: Master (Product) View Object + Customer Feedback AVG View Object #2
    I'm confused as to how to integrate the second customer feedback view object into the existing Data Control / Master-Detail read-only form/table on my .jspx page?
    thanks

  • Master details page problem

    Dear all,
    I have problem with Master details page:
    If I change the catID after login, to other ID for other user its show me the content?!How can I restrict user to see only he’s content?!
    Please your help ASAP.
    Thanks and regards,
    FAIZ ALI

    It solved
    This is what i did:
    <%
    Dim WebsiteName
    Dim WebsiteName_cmd
    Dim WebsiteName_numRows
    Set WebsiteName_cmd = Server.CreateObject ("ADODB.Command")
    WebsiteName_cmd.ActiveConnection = MM_mybag_STRING
    WebsiteName_cmd.CommandText = "SELECT * FROM WebName WHERE WebGroupID = ? and UserID = ? ORDER BY WebNamID DESC"
    WebsiteName_cmd.Prepared = true
    WebsiteName_cmd.Parameters.Append WebsiteName_cmd.CreateParameter("param1", 5, 1, -1, WebsiteName__MMColParam1) ' adDouble
    WebsiteName_cmd.Parameters.Append WebsiteName_cmd.CreateParameter("param2", 5, 1, -1, WebsiteName__MMColParam) ' adDouble
    Set WebsiteName = WebsiteName_cmd.Execute
    WebsiteName_numRows = 0
    %>
    Thank  you

  • When I want to create apple account in billing and card details page I am stuck and get the message contact itune store support to complete this transaction. Need to know what to do as I can't creat apple id

    When I want to create apple account for my new iphone5 with different apple id than this  in billing and card details page I am stuck and get the message contact itune store support to complete this transaction. Need to know what to do as I can't creat apple id

    The first step would probably be to contact iTunes support as you're being told to do.

  • Quick search and New buttons on master - detail pages

    Hi
    When I generate master-detail pages, the master has quick search and new button, but detail's doesn't. How can I generate the detail with quick search and new button options?
    Thanks in advance
    Liceth

    Liceth,
    Only one group within a page can have Quick Search functionality.
    A New button is generated for a group when insert is allowed and the layout style includes a form layout page (table-form, select-form, form or tree-form)
    Steven Davelaar,
    JHeadstart Team.

  • Master detail page problem

    hi all:
    i'm using jdeveloper10.1.2 i developed a master detail page but i need to put a button when the user click this button it will display the the detail table and by default the master table is loaded when the page is browsed and the detail table is hided how can i do it using jsp?????
    Best Regards

    Look at the 10.1.2 Help.
    Search on index for master-detail, with search title Creating a single JSP Page mast working with....

  • Problem w/ combination of non-Western and accented characters in file names

    *Description of problem*
    - iTunes U .m4v files preview and play perfectly from iTunes U server, but once downloaded locally on a Mac (via Get Tracks or Subscribe), they no longer play in iTunes software, or stand-alone in QuickTime player or Pro.
    - If you drag these files out of iTunes, they appear to not copy (actually, they do copy but the files are made invisible).
    *What we know:*
    - problem only on macs (same behavior on OS X 4.x and OS X.5.4)
    - files sync and play fine on iPod Classic 80gb
    - files will not sync to iPhone 1st gen.
    - same behavior on both iTunes 7 and 8
    - same behavior on QuickTime 7.5.0 and 7.5.5
    - not happening on any Windows machines
    - appears to be caused by the file name (particularly the combination of non-Western, 2-byte characters (Japanese, Chinese) plus accented roman letters (e.g. 大/dà/big; large).
    Either of these alone (not combined) in the title work fine.
    - if file is renamed with no character or accented letter or given a name at least 26 characters in length, the file suddenly will play (the files can be renamed and fixed this way either in the iTunes software or at the file level itself, within Music/iTunes/Movies/, and also at the Upload/Manage interface of iTunes U).

    Yep.
    "A Better Finder Rename" is great for batch file renaming.
    http://www.versiontracker.com/dyn/moreinfo/macosx/11366
    Renamer4mac may be all you need.
    Best check out VersionTracker. In fact everybody should have this site bookmarked and visited daily.
    http://www.versiontracker.com/macosx/

  • Updatable Materialized View and Master Table on same database

    Hi all,
    My first question - Is it possible to have an Updatable Materialized View and the associated Master Table located on the same database?
    This is the requirement scenario:
    One unique database D exists.
    A is a batch table. Only inserts are allowed on Table A.
    M is an updatable materialized view on Table A (Master). Only updates are allowed on M (no insert or delete).
    Requirement is to push updates/changes from M to A periodically and then get the new inserted records from A into M via a refresh.
    Is this possible? What other approaches are applicable here?

    John,
    My question is related to the implementation and setup of the environment as explained in the above example. How can I achieve this considering that I have created an updatable m-view?
    If possible, how do I push changes made to an updatable m-view back to it's master table when/before I execute DBMS_MVIEW.REFRESH on the m-view? What is the procedure to do this if both table and mview exist on the same database? Do I need to create master groups, materialized view refresh groups, etc.?
    One more thing.. Is there a way to retain changes to the m-view during refresh? In this case, only newly inserted/updated records in the associated table would get inserted into m-view. Whereas changes made to m-view records would stay as-is.
    Hope my question is directed well. Thanks for your help.
    - Ankit

  • Problem with Absolute Navigation (External Window) and Light Framework Page

    Hi All,
    We are using Light Framework page for the portal devolopment. We have an application including two webdynpro iviews where absolute navigation is used to traverse from first iview to second iview (When user clicks a button on first iview). We are showing the second iview in external window (SHOW_EXTERNAL). When ever i clicks the button to traverse to second iview, i am getting an exception.
    When we are showing it in same window (SHOW_INPLACE), it is working fine. But the iview is appeared in half of the page with scrollbars. It is working fine with default framework page (with both options SHOW_INPLACE and SHOW_EXTERNAL) and dispalyed in original size as mentioned in iview properties.
    Could you please suggest us whether there is any work around for this.
    Thanks,
    Sudheer

    Hi Kathiresan
    I couldn't see the address bar of the window (In which second iview is getting displayed). But i can observe no parameters that i passed from first iview is visible in the view source of the second iview (When SHOW_EXTERNAL is used in absolute navigation). I could see all the parameters in the view source (when SHOW_INPLACE is used for absolute navigation). But i am using the same url for both the options (for SHOW_INPLACE and SHOW_EXTERNAL).
    I doubt about the url being passed when SHOW_EXTERNAL option is used. But when we checked in debug, The correct url is being triggered (Atleast from first iview). Is there any way that could display the second window with address bar. What is making difference  between SHOW_INPLACE and SHOW_EXTERNAL with absolute navigation and light framework page.
    Could someone please suggest.
    Thanks,
    Sudheer.

  • Tweaking defaults of Discoverer 10g (Viewer and Plus) login page

    Using information gleaned from the Metalink notes referenced below, we've had our admins successfully configure our default Discoverer 10g login pages (for Viewer and Plus) with the following tweaks:
    1) Remove the "typo-prone" entry box for RESPONSIBILITY (on an Apps-Mode EUL) in favor of the subsequent drop-down LOV option to select available responsibilities
    2) Re-order CONNECT TO options to make the more frequently used APPS-MODE option first in the drop-down list, followed by the STANDARD (relational) and finally, OLAP (to be hopefully implemented at some future date)
    3) Re-label CONNECT TO options with terminology more understandable to our end-users in order to better understand choices
    We would like, if possible, to further enhance the relative efficiency of the user login experience by making the APPS-MODE option the default selection upon initial entry to the page (the above-indicated re-ordering of the entries didn't appear to affect Oracle's continued default selection of the STANDARD option).
    If anyone has any suggestions / tips to accomplish this, we would greatly appreciate your feedback. I should also say, that we don't possess a lot of Java Development skills and therefore would appreciate any directions provided in a "cookbook/recipe" manner similar to those provided in the Metalink documents we were able to utilize for the changes made thus far.
    Thanks in advance.
    Metalink
    Docs Desciption
    312463.1-How To Customize Oracle Business Intelligence Discoverer 10g (10.1.2) Connection Page
    342255.1-How To Remove the "End User Layer" option Customize Discoverer 10g (10.1.2) Connection Page

    Hi
    I would have to suspect that the answer to the question of restricting responsibilities might well be yes.
    Here's one idea:
    Because responsibilities come from FND_RESPONSBILITIES, can you write a piece of SQL that positively identifies the responsibilities that are used inside Discoverer? If you can do that, I'm wondering whether a Discoverer logon trigger might be able to set a VPD policy to only allow those responsibilities.
    I don't have any time to try it otherwise I would. Is there anyone who can pick this up and run with it to see what can be made to happen?
    Best wishes
    Michael

  • Why is Spry Tabs dropping below content out of view and back during page load.

    Hello everyone, I'm having some
    Spry Trouble. This is happening only in IE 7.
    When the page loads, you'll notice that the tabs will
    collapse before coming back to it's designated position.
    This ruins the visual appeal. Again I don't know why this
    happens but the tabs at the bottom of the content will quickly drop
    below out of view and then jump back under the content.
    Here is the URL
    http://www.patrickjudson.com/weddingIndex2.php
    Any ideas why this is happening?
    Thanks everyone - Patrick

    quote:
    Originally posted by:
    Newsgroup User
    Webethics wrote:
    > Hello everyone, I'm having some
    Spry Trouble. This is happening only in
    > IE 7.
    > When the page loads, you'll notice that the tabs will
    collapse before coming
    > back to it's designated position.
    > This ruins the visual appeal. Again I don't know why
    this happens but the tabs
    > at the bottom of the content will quickly drop below out
    of view and then jump
    > back under the content.
    >
    > Here is the URL
    http://www.patrickjudson.com/weddingIndex2.php
    I don't see the collapse issue on my end. About the only
    visual thing going on is that the background image of the tabs
    appears later than the text, but not sure that's an issue that's
    particular to the Spry code on the page.
    Perhaps it's related, or perhaps not, but in my IE7, I get an
    error on the page. It states:
    Line: 48
    Char: 3
    Error: Object required
    Code: 0
    URL:
    http://www.patrickjudson.com/weddingIndex2.php
    I only see HTML code at line 48 both in the source code, and
    even if I pull the generated content view source from Firefox. I
    checked line 48 of both of your attached JS files and neither
    seemed to be an obvious issue. I even saved a local copy of the
    page, and didn't get an error at all. The line of code in the HTML
    does seem to be the end of the div that contains your music player,
    maybe it's causing an issue in IE, not sure.
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert
    So why is there an error in IE7 saying object required.
    What does this mean, and what are the side effects?
    Any idea?
    Patrick

Maybe you are looking for