2 different master/detail data sets

Hello. I have created a master/detail dataset for a photo gallery, with customised css. Whenever I tried to use this same spry tool for different purposes, so with different customised css, the photo gallery data set was roped into the new layout. To make the two independent, I tried saving the master/detail css of the photo gallery to an external style sheet - not sure why (I'm new to this), thought it would detach those rules from the default settings. Now when I add a new data set it appears with no css attributes at all. Help much appreciated.

I understand completely  the desire to do something that turns out to be really complicated! But therein lies a real goal.
Have you uploaded this to a server, so I can see your code in action (or frozen...as the case may be!)?
To target specific IDs:
Wrap the entire masterdetail widget in a div:
<div id="galleryone">
<div class="MasterDetail">
        <div spry:region="ds1" class="MasterContainer">
          <div class="MasterColumn" spry:repeat="ds1" spry:setrow="ds1" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{thumbnail}</div>
        </div>
        <div spry:detailregion="ds1" class="DetailContainer">
          <div class="DetailColumn">
            <h2>{title}</h2>
          </div>
          <div style="position: relative;"><div class="DetailColumn">{image}
          <div class="DetailColumn credit">{credit}</div></div></div>
          <div class="DetailColumn top"><em>{medium}</em>   {size}</div>
          <div class="DetailColumn">{date}</div>
          <div class="DetailColumn">{place}</div>
          <div class="DetailColumn">{price}</div>
          <div class="DetailColumn" id="sold">{sold}</div>
        </div>
        <br style="clear:both" />
      </div>
</div>
Then you can restyle the CSS file by making a complete copy of the CSS file and re-linking it:
@charset "UTF-8";
/* SpryMasterDetail.css */
/* Copyright (c) 2007. Adobe Systems Incorporated. All rights reserved. */
/* This is the selector for the main Master/Detail structure container.
* If you want to constrain the width of the Master/Detail structure, set a width on
* the Master/Detail container. By default, our structure expands horizontally to fill
* up available space.
#galleryone .MasterDetail {
    font: 100% Verdana, Geneva, sans-serif;
    margin: 2px;
/* This is the selector for the Master Container element which houses all the MasterColumn
* classes. By default the Master column occupy about 35% from the width of the
* entire structure.
#galleryone .MasterDetail .MasterContainer {
    width: 99px;
    float: left;
    height: 650px;
    overflow-y: auto;
/* This is the selector for a Master Column element which holds the actual data for
* a master column.
#galleryone .MasterDetail .MasterColumn {
    font-size: 75%;
    padding:5px 10px 5px 0;
    cursor:pointer;
    float: left;
/* This is the selector for a highlighted Master Column element.
#galleryone .MasterDetail .MasterColumnHover {
    background-color: #090;
/* This is the selector for a selected Master Column element.
#galleryone .MasterDetail .MasterColumnSelected {
    padding: 25px 5px;
    color: black;
/* This is the selector for the Detail Container element which houses all the DetailColumn
* classes. By default the Detail column occupy about 60% from the width of the
* entire structure.
#galleryone .MasterDetail .DetailContainer {
    padding:10px 0 0 0;
    width: 605px;
    float: right;
    overflow: auto;
#galleryone .DetailColumn.position {
    position: relative;
/* This is the selector for a Detail Column element which holds the actual data for
* a detail column.
#galleryone .MasterDetail .DetailColumn {
    margin-bottom: 1px;
Notice that I have pre-pended the #galleryone to every style in this stylesheet. Be sure to leave a space after #galleryone. This focuses specifically on the master/detail in <div id="galleryone">. Make sure this file is loaded after any generic master/detail CSS file. Better yet, make all your galleries specific with IDs (both in the page and in a CSS file).
If I only have small changes to make, I would add the additional styles into the generic stylesheet:
.MasterDetail {
    font: 100% Verdana, Geneva, sans-serif;
    margin: 2px;
#galleryone .MasterDetail {margin: 30px;}
Note that I only made a style selector for the one attribute that changed. All the other attributes will remain the same (font: 100% Verdana, Geneva, sans-serif;)
It is possible that styling other than specifically master/detail styling will vary from gallery to gallery.
For instance, if h2 will change from gallery to gallery:
#galleryone h2 {color: red;}
Do this in either your general or your master/detail stylesheet.
Curly brackets are the two keys to the right of the "P" key on the keyboard...shift to get curly brackets.
When you make a secondary stylesheet (named to correspond to its use), you must attach it to your page using the Link icon at the bottom of the CSS Styles Panel. Browse to the file and press the Link radio button. Then your additional styles will show in your stylesheet.
Beth

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

  • Master / details pages set in a .htaccess protected directory

    Hi
    I am using Dreamweaver CS4 functionality to create a Master/Details page set. I have done this many times before without a problem, however, i am now trying to create the master / detail page set in the members area of a web site. The directory that contains both the master and the details page is .htaccess protected which means that the master page works fine but the details do not get passed to the details page. The details page remains blank where the echo statements should be. If i copy  the exact same master and detail pages and then paste them in to an unprotected directory the pages work fine and the details are passed from the master to the details page without a problem.
    I have been unable to find any information on this so any help would be gratefully received.

    I'm not using secure access (https). I started with the most basic configuration, standard http: on port 80, etc. The configuration works perfectly fine when tested on my home PC. The problem seems to be in Safari on the iphone it prompts me for a login, and accepts it.. then it fires up the media/movie player and I'm guessing it's not passing the authentication/credentials/whatever to the movie player. When the media tries to play, it notes it's an access controlled file and just quits out. The movie player doesnt seem to allow asking of login/password info. Thoughts??

  • Adf master -detail data table

    Hi,
    I have adf master detail data table , I put af:selectbooelancheckbox and autosubmit is true in detail data table .When I click the detail table , valuechangelistener of the af:selectbooelancheckbox is runnig I don't want this situation. Is it possible to prevent this ?
    regards,

    Hi
    I can't remove autosutmit = true because I handle the valuechangeevent in managedbean.Why master table event fire the valuechangeevent in detail table ? I check the submit source in managedbean but It doesn't prevent to fire valuchangeevent ? Is there any way except ignore autosubmit = true ?
    thx,

  • Master Detail Page Set link - to a Lightbox feature?

    I'm hoping someone can point me in the right direction here. I have set-up a master & detail page from a recordset and it is working as it should, however my client would like to have the details show up in a lightbox instead of going to another page. How can I accomplish this? I have a lightbox that I am using called pretty photo... which is also working, I just am looking for a way to have them work together.
    Thanks,
    Bret

    Thank you! that is getting me there I think I did change a couple things.... although I am still not sure how to tie the two links together.
    <a href="#inline-1" rel="prettyPhoto[inline]">Click to view details </a>
         <div id="inline-1" style="display:none;">
              <p>This is inline content opened in prettyPhoto.</p>
              <p>ECHO HERE</p>
         </div>
    This is the current link that redirects to a new page showing all info from recordset:
    <a href="staffDetail.php?recordID=<?php echo $row_rsStaffMaster['staffID']; ?>"> <?php echo $row_rsStaffMaster['lastName']; ?></a>
    What I need is the current link to display into the lightbox. How do I seperate the echo and still keep the staffID part?
    Thanks
    UPDATE:
    Ok so I have updated the link this way...
        <a href="#inline-1 staffDetail.php?recordID=<?php echo $row_rsStaffMaster['staffID']; ?> "rel="prettyPhoto[inline]"><?php echo $row_rsStaffMaster['lastName'];?></a>
            <div id="inline-1" style="display:none;">
                <p>This is inline content opened in prettyPhoto.</p>
                <p>ECHO HERE</p>
            </div>
    And this now open the lightbox... but all it does is give me a tiny lightbox of content | null
    Would I add my  -  staffdetailspage code & recordset to the ?
    <p>ECHO HERE</p>
    (the page that the link goes to now)          

  • Master/Detail data error problem -- Please Help

    Hi All,
    I just created a M/D form for two of my tables (Organization & Contact tables) using wizard with existing sequences to create app. Everything looks great when viewing an existing account and making modifications.
    My problem stems when I try to create a new account, the Organization form comes up. After entering data and hit 'Create' I get error ORA-01403: No data found. Yet it creates account. Is there a way to get both M&D forms up at the same time with no error after entering data?????
    I am too new to know what is going wrong and my manuals do not clarify anything. I'd appreciate any help from a master in Master/Detail forms. :o)
    Thanks,
    d.

    Hi All,
    Just in case anyone has same problem. Since I was not able to get help here I created a tar and we figured that the problem was with the system when I upgraded. System created triggers that were fighting with the sequences that I had manually created.
    Disabled triggers and all is working fine. You still need to watch future applications just in case.
    Later,
    d.

  • Summary Report using Master-Detail Data on Siebel BI Publisher Report

    I have to create a Summary Report using Master-Detail relationship. Report fields are Account Name, Special Need Type, Customer Status, No of Customers, No of Claims. I am using rtf to create template and any help is highly appreciated
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ListofIO>
    - <ListOfBipCustomerSpecialNeeds>
    - <Account>
    <Name>CVNE</Name>
    - <ListOfContact>
    - <Contact>
    <SpecialNeedsFlg>Y</SpecialNeedsFlg>
    <SpecialNeedsType>Large Text</SpecialNeedsType>
    <PersonUId>1-6NI9</PersonUId>
    - <ListOfContact_Claims>
    - <Contact_Claims>
    <AccountNumber>TEST0015362272</AccountNumber>
    <ClaimNumber>1-4FVL</ClaimNumber>
    <ClaimStatus>Closed</ClaimStatus>
    <ClaimGBPAmount />
    </Contact_Claims>
    </ListOfContact_Claims>
    </Contact>
    - <Contact>
    <SpecialNeedsFlg>Y</SpecialNeedsFlg>
    <SpecialNeedsType>Braille</SpecialNeedsType>
    <PersonUId>1-L0A</PersonUId>
    - <ListOfContact_Claims>
    - <Contact_Claims>
    <AccountNumber />
    <ClaimNumber>1-ACX6</ClaimNumber>
    <ClaimStatus>Open</ClaimStatus>
    <ClaimGBPAmount>818.18196694218</ClaimGBPAmount>
    </Contact_Claims>
    - <Contact_Claims>
    <AccountNumber />
    <ClaimNumber>1-GI58</ClaimNumber>
    <ClaimStatus />
    <ClaimGBPAmount>45454.099173473</ClaimGBPAmount>
    </Contact_Claims>
    </ListOfContact_Claims>
    </Contact>
    - <Contact>
    <SpecialNeedsFlg>Y</SpecialNeedsFlg>
    <SpecialNeedsType>Large Text</SpecialNeedsType>
    <PersonUId>1-6FPP</PersonUId>
    - <ListOfContact_Claims>
    - <Contact_Claims>
    <AccountNumber>CVNE</AccountNumber>
    <ClaimNumber>1-7BRL</ClaimNumber>
    <ClaimStatus>Reviewed</ClaimStatus>
    <ClaimGBPAmount>562</ClaimGBPAmount>
    </Contact_Claims>
    </ListOfContact_Claims>
    </Contact>
    </ListOfContact>
    </Account>
    <Login>SADMIN</Login>
    </ListOfBipCustomerSpecialNeeds>
    </ListofIO>
    Edited by: user2298324 on 13-Aug-2010 09:36

    Thanks for the reply. The many to many relationship between Claims and Payments are achieved through intersection table in siebel. When Customer has multiple claims, single payment issued for both claims. Also single claim can multiple payments such (part compensation, interests, final compensation etc)

  • How to build a screen with master detail data

    Hi ,expert ,
    Someone can teach me how to build a screen with master detail table ?
    I wnat to build a screen for user to maintain FERT group  and  FERT detail list  in one screen .
    just like this ..
    MASTER Block
    FERT1      
    FERT2 
    FERT3
    DETAIL Block
    FERT1A1
    FERT1A2
    FERT1A3
    when I double click FERT1 in the Master Block the detail view will show FERT1A1  A2 A3
    Thanks for your help ....
    Moderator message : Not enough research before posting. Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Jun 13, 2011 1:38 PM

    An inefficient way to create the array is to use the build array and a shift register as shown below. It's more effecient in terms of memory management to create the array and then use the replace array subset as shown in the other image. Of course, if you don't need the array inside the loop, just wire the value out of the while loop and on the exit tunnel, right click and select 'Enable Indexing'.
    Message Edited by Dennis Knutson on 07-03-2007 10:25 PM
    Message Edited by Dennis Knutson on 07-03-2007 10:26 PM
    Attachments:
    Crude Build Array.PNG ‏4 KB
    Better Build Array.PNG ‏6 KB

  • WHEN-TREE-NODE-SELECTED need 2 Execute-Query on Master-Detail data block

    I optimize tree using this link
    http://andreas.weiden.orcl.over-blog.de/article-29307730.html_+
    For huge amount of data (Accountings)
    All i need for now is
    WHEN-TREE-NODE-SELECTED need 2 Execute-Query on the data block
    DECLARE
    htree ITEM;
    node_value VARCHAR2(100);
    BEGIN
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
    -- Find the tree itself.
    htree := FIND_ITEM ('BL_TREE.IT_TREE');
    node_value := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  ftree.node_value  );
       GO_BLOCK ('GL_ACCOUNTS');
       set_block_property('GL_ACCOUNTS', DEFAULT_WHERE , 'ACCOUNT_ID ='|| node_value  );
    EXECUTE_QUERY;
    END IF;
    END;The above code is working fine 4 the detail block which is *'GL_ACCOUNTS'*
    when i substitute is Master block which is 'GL_ACCOUNTS_TYPES' it doesn't display all data
    Help is Appriciated pls.
    Regards,
    Abdetu...

    Hello
    In WHEN-TREE-NODE-SELECTED i modified the following code :_
    DECLARE
            htree ITEM;
           node_value VARCHAR2(100);
           parent_node FTREE.NODE;
    BEGIN
      IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
      -- Find the tree itself.
      htree := FIND_ITEM ('BL_TREE.IT_TREE');
      -- Get the parent of the node clicked on. 
                  parent_node := FTREE.GET_TREE_NODE_PARENT ( htree, :SYSTEM.TRIGGER_NODE );
           GO_BLOCK('GL_TYPES');
                set_block_property('GL_TYPES', DEFAULT_WHERE , 'TYPE_ID ='|| parent_node  );
                  EXECUTE_QUERY;
      -- Get the detail of the parent node
          node_value := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  ftree.node_value  );
               GO_BLOCK('GL_ACCOUNTS');
               set_block_property('GL_ACCOUNTS', DEFAULT_WHERE , 'ACCOUNT_ID ='|| node_value  );     
                   EXECUTE_QUERY;
          END IF;
    END;
    FRM-40350 : Query caused no records to be retrieved but i have records in the data base ...!
    Well, Do u think that's because in ur package i retrieve only the detail block ?
    Regards,
    Abdetu...

  • In Master/detail data page detail side ViewObejct shows stale records

    The vieObject for the detail side shows records belonging to the first master record I'm forced to refresh the page in order to get the VieObject to reflect the details for the current master.
    How can I get the ViewObject in the detail side not to cache the contents in order to avoid this problem???
    Or how can I force a refresh before iterating on the detail side ?

    Hi Shay,
    This part of my application would be something similar to the departments/employees situation. But both are shown on the same page. I have a page for a department, that has on it the list of employees. The model for it is a departmentview, that has a "subview" employeview inside it. I use a popup, posting inside the popup and posting back from the popup to create the new employees. And I have icons for creating/editing (on the popup)/deleting employees. Everything is working fine:
    I can open the department page. Edit department data. Make any of those operations on the employees without problem.
    The ONLY thing, is that when I create a new department, instead of showing the list of employees empty, it is showing the list of the employees of the first department shown on the previous screen.
    I have tested everything else...opening any department for editing is showing the correct employees, and I can make any operation on them.
    What I was trying few minutes ago, was to override updateModel on the DepartmentAction class and call:
    clearCache
    refreshControl
    executeQuery
    All the 3 options without success.
    Do you have any idea what this strange behaviour can be?
    Thanks for any help.
    Marcelo Alcantara

  • Master - details data population using partial trigger

    Hi,
    Iam using jdeveloper 10.1.3.4.0
    My requirement is I need to populate a field in master when i enter a value in detail column using partial triggers.
    I have taken Employee table as master and job table as detail. In the detail table i have taken 2 columns and one transient variable column when i enter values in that 2 columns the transient column is populating value using partial triggers but it is not populating the value in the master column though i have a given a partial trigger to it.

    Thanks for your response. But I dont understand your question. How to test that in Tester.
    I simply did the following. I created Department as master and Employee as Details recrods. And I created ADF form for Department and Employees for ADF table. And i put autosubmit = true and valueChangelistener for the Employees Salary field in the following way.
    <af:inputText value="#{row.Salary}"
    required="#{bindings.DepartmentsView1EmployeesView3.attrDefs.Salary.mandatory}"
    columns="#{bindings.DepartmentsView1EmployeesView3.attrHints.Salary.displayWidth}"
    binding="#{backing_View.inputText14}"
    id="inputText14"
    autoSubmit="true"
    valueChangeListener="#{backing_View.valueChange}">
    And Enable the partial trigger for PhonenUmber field in Employee Records and DepartmentName in Department Master record.
    <af:inputText value="#{row.PhoneNumber}" simple="true"
    required="#{bindings.DepartmentsView1EmployeesView3.attrDefs.PhoneNumber.mandatory}"
    columns="#{bindings.DepartmentsView1EmployeesView3.attrHints.PhoneNumber.displayWidth}"
    binding="#{backing_View.inputText11}"
    id="inputText11"
    partialTriggers="inputText14"/>
    <af:inputText value="#{bindings.DepartmentName.inputValue}"
    label="#{bindings.DepartmentName.label}"
    required="#{bindings.DepartmentName.mandatory}"
    columns="#{bindings.DepartmentName.displayWidth}"
    binding="#{backing_View.inputText5}" id="inputText5"
    partialTriggers="inputText14">
    And the following code is added in my BackingBean.
    public void valueChange(ValueChangeEvent valueChangeEvent) {
    inputText11.setSubmittedValue(null);
    inputText11.setValue(inputText14.getValue());
    inputText5.setSubmittedValue(null);
    inputText5.setValue(inputText14.getValue());
    My phone number field in the Multirecord block that is Details record is shown the value, But single record block that is Department's Department Name field is not shown the Value.
    Kindly let me know if i did any mistakes.
    Thanks

  • What is the proper way to record line numbers in Master/Detail records?

    Guys and Gals,
    Been thinking about this for awhile, but thought it best to ask the people who really know what they are doing.
    What is the proper way to record & show line numbers in a Master / Detail record set?
    For example, take Master/Detail relationship Orders and OrderItems. Orders has a column Document_Number and OrderItems has Document_Number, Line_Number. Line_Number should contain the row number 1,2,3,4 ... etc. for each row in a document.
    Should I ...
    <ol><li>Add a sequence and a trigger in the database? The FusionOrderDemo does this, but then the sequence never "resets" and I've got row numbers that keep incrementing. So one document has rows 4,5,6 and the next document has 7,8,9 when they should both have 1,2,3.</li>
    <li>Programmatically take care of the row numbers? This seems like I'm asking for trouble. Anytime an insert or delete operation gets done, I'll have to iterate through rows and re-assign row numbers.</li>
    <li>Is there a way to assign row numbers in a table iterator (or data collection?) to an entity?</li></ol>
    Any suggestions would be appreciated. It's looking like #2 is my only option, but if anyone knows different I'd love the input.
    Will

    Thank you both guys.
    As John said, I believe I'm looking for a gap-free sequence per master record.
    The line number of the OrderItems table is the second half of the primary key. The first half of the primary key (DocumentNumber) is the foreign key to the Orders table.
    Think of it like line items on an order or invoice. For example, if you were talking to someone on the phone concerning an invoice, you might say, "The pricing for line item #3 is incorrect." In this case, it's good to have a common reference. Or imagine a Microsoft Excel spreadsheet with no row numbers displayed! You'd never get anywhere if you had to explain something over the phone.
    If this is tricky to perform, I take it using a sequence and trigger such as the Fusion Order Demo is the best way to approach the challenge for simplicity's sake?
    Will

  • Related Data Sets

    Hello,
    I am trying to create a conditional data selection tool which
    contains the following parts:
    1) Master drop down list
    2) Detail drop down list (detail A = sites)
    3) Another Detail drop down list (sub-detail B = contacts)
    4) Linked data (linked to detail A = site address)
    The working example can be seen here at
    http://system.incite-ict.com/
    and clicking on the Log TSI (seems to work okay in IE7, Firefox 2
    and Safari 2+, ymmv)
    The Master detail is the Client which has the following
    dataset:
    http://system.incite-ict.com/queries/clients.php
    The Detail data set is the Site (each site belongs to a
    Client, and each Client has many Sites):
    http://system.incite-ict.com/queries/sites.php
    with an optional parameter of client_id=X where X is the
    client id as given in the master detail set eg:
    http://system.incite-ict.com/queries/sites.php?client_id=2
    I have followed the example on the Cities and States to get
    these two linked and this is a success. The part I am having a
    problem with is this:
    When I select a site I want to update the address
    corresponding to the site in the XML data set for the sites: ie
    http://system.incite-ict.com/queries/sites.php
    This updates okay when you change the Client, but not then
    when you drill down to the Site.
    Also secondly I want it so that when you select a site, the
    site_id gets updated and there for the contact dataset gets updated
    using the XML file
    http://system.incite-ict.com/queries/site_contacts.php?site_id=X
    where X is the site_id
    as selected in the site drop down box.
    Any help regarding these issues would be much appreciated. I
    have tried various different approaches but the current code is
    what I feel is working along the most correct lines... obviously I
    am going wrong somewhere though!
    Many Thanks,
    Matthew

    Many thanks Kin, I have made those changes and things are
    looking on the up.
    The only problem I have now, in IE7 at least, is that I have
    to change the drop down boxes a few times for them to "get in
    sync". What I mean by this is that "Lutyche Bespoke" in the default
    selected client (maybe because it's the last in the repeated
    region) yet the sites shown are that for "Acme Technical Services"
    once you start changing things manually this error sorts it self
    out!
    Maybe I need to add some IF statements and SELECTED tags to
    the options..
    I am at home at the moment so difficult to test. Will try
    Monday now when I am working on this next. Any suggestions in the
    meantime would be appreciated!

  • Af:query for master detail

    Hi Experts,
    Can we have an af:query to show master detail data ?
    What we generally have is af:query showing records of 1 table. What i want is for the records that get populated from af:query in the master table, i want to show the records in the detail table of the row selected
    any idea ?
    thnks

    Thank you NewBee. It worked and am able to get the detail information from the master table. I am struggling with another implementation. I have 3 radio buttons in the global template which I am referencing in all my pages.
    The template has 3 radio buttons. Contacts, Plans and Users. The three queries are completely different from one another.
    On click of Contacts, I should display the respective af:query for Contacts, Plans and Users without displaying the resultant table. This query panel will be global to all the pages.
    I have tried setting it as follows:
    <af:panelGroupLayout layout="vertical"
    id="pt_pgl3"
    rendered="#{baseBean.searchContactsSelected == 'true'}"
    visible="#{baseBean.searchContactsSelected == 'true'}">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::contactSearch:md1"/>
    <f:subview id="contactSearch">
    <jsp:include page="/contactsSearchResults.jspx"/>
    </f:subview>
    <af:panelGroupLayout>
    I have tried various implementations to the best of my knowledge but its not rendering. Is it possible to navigate to a different jspx on click of Search button of af:query. This will give me an opportunity to display different pages based on the Search action and keeping the search on a global level.
    Hope I was clear in explaining the issue
    Thanks!

Maybe you are looking for