Setrow with Paged Dataset and Master / Detail containers

Hi,
I am building a photo album.
I am using paged views on the photos as the collection is currently 132 and growing.  So I have a paged view of 15 photos at a time, which are in a master container.  I want to be able to click a photo thmubnail and for it to update the large photo in the detail region.  However with paged views it doesn't seem to update the current row in the detail region.  If I used the Spry dataset the pagedview is built on the setrow functionality works fine.
The page is here www.thehmc.co.uk/photo4.html
What are my options to get this working?
Cheers
Phil

Hi Phil,
This is completely out of context and I am probbaly risking a flame, Still I want to share the following piece of code with you.
<p> &copy; 2008
<script language="JavaScript" type="text/javascript">
            var d=new Date();
            yr=d.getFullYear();
            if (yr!=2008)
              document.write("- "+yr);
          </script>
Created / Maintained by Phil Whitehurst</p>
This will automatically update the year.
Ben

Similar Messages

  • Problem w/ Nested Datasets and Master/Detail regions

    Hi, I'm being using spry for a couple of applications and
    really love it. This is the first time I've tried to utilize a
    nested dataset and I'm having some difficulty loading the nested
    data. I'm getting a js 'Object does not support this property or
    method' error in IE and a 'Failed to retrieve data set (dsCreds)
    for spry:repeat' in FF.
    I've tried to map examples to my application but of course
    it's slightly different. I have a master/detail region dynamically
    generated from a .php file and part of the detail region has the
    nested dataset. Maybe (hopefully) it's something obvious. I've
    broken out a test case that demonstrates what's happing - If anyone
    could take a look I would be extremely grateful!
    The .htm file is on:
    htm
    file
    The .PHP file that generates the dynamic XML is on:
    PHP
    file
    A sample .XML (generated from the .PHP file is
    Sample XML
    file
    Even without the Nested set getting generated the
    Master/Detail section works fine.
    Thanks so much for any help!
    Edit - Apologies for all the inline css - still developing
    :)

    Hi,
    The dataset name in the NestedDataSet constructor does not go
    in quotes.
    Try var dsCreds = new Spry.Data.NestedXMLDataSet(dsAgents,
    "credentials/cred");
    and see if that helps.
    Don

  • Query with MARA MVKE and MAST

    Hi
      Im trying to create a query with MARA, MVKE and MAST tables. If corresponding records exist in all the 3 tables, I get output. Otherwise, I get the result as 'No data selected'. I tried using left outer join with MAST , tried using MARC also between MARA and MAST but its of no use. Please suggest how I can both get the sales data and BOM details in the output.
    Thanks
    Aparna

    Hi Aparna,
    Goto  SE16 Check in table,
    1.KDST -
    Sales order to BOM link
    2.STKO -
    BOM - header
    3.STPO -
    BOM - item
    And also you create a query and check the out put.

  • Accordion and master/detail datasets

    Does anyone know of a working Accordion example that uses
    master and detail datasets, with master records as tabs and
    multiple detail records in the contents? Would like to be able to
    see XML data files, too.
    I keep getting an error message and in other examples the
    accordion loses it's animation.

    I think the issue is the Spry data object does not appear to
    handle multi-level (master/child) datasets. If the Spry dataset
    could handle them then the accordion could load all the data
    (master in tabs and children in content) and it would not have to
    reload child data on every tab click.
    Anyway, here is the code:
    <script type="text/javascript">
    <cfoutput>
    var dsMaster = new
    Spry.Data.XMLDataSet("#myurl#","Corp/Department");
    var dsDetails = new
    Spry.Data.XMLDataSet("#myurl#&orgid={dsMaster::INTORGID}","Departments/Unit");
    </cfoutput>
    var regObserver = new Object;
    regObserver.onPostUpdate = function(notifier, data) {
    var acc = new Spry.Widget.Accordion("allocations",
    {defaultPanel: dsMaster.getCurrentRowNumber()});
    Spry.Data.Region.addObserver("allocations", regObserver);
    </script>
    Example of what I mean with multi-level:
    <Department>
    <STRDEPARTMENT>ADMINISTRATION
    DEPARTMENT</STRDEPARTMENT>
    <Units>
    <STRUNIT>Technology</STRUNIT>
    <STRUNIT>Personnel</STRUNIT>
    </Units>
    </Department>

  • Image mapping and Master Detail Regions in CS3

    Excellent advice to leave a url. I think I am having a similar problem with conceptualizing datasets for utilization with image mapping. I obviously cannot use the Get Schema via the Attach New Data set icon because I have rendered my own Master region. I am working with CS3. I will launch the site and ask for help from the url.
    Here is:
    http://www.atmfoods.net16.net/
    I need help with this. With the phasing out of tabulated layouts for div based layouts I run into quite a few snags attempting to work around deprecation of tags issues. What am I trying to do here:
    1. Get my spry menu to drop down in the child table and not the parent table aligned top left.
    2. Use image mapping of the thumbnail images in integration with datasets and spry Master/Detail regions, even if hand coded to achieve, for a larger image and data on each thumbnail on an accordion spry widget. I am thinking grid systems for the future of my works and hope to achieve some relative command of grid systems. Without gridlock.

    Hi,
    The dataset name in the NestedDataSet constructor does not go
    in quotes.
    Try var dsCreds = new Spry.Data.NestedXMLDataSet(dsAgents,
    "credentials/cred");
    and see if that helps.
    Don

  • 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

  • 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

  • Problem with search forms in master-detail structure

    According to JHeadstart error message i cant generate 2 search forms in one page, BUT i generated master table in one page and master form + detail table in another so WHY i cant put search forms for both tables?? They are on the different pages!
    How can i solve this problem?

    Sasha,
    The reason this is not allowed, is because when you use Layout Style table-form, the same UImodel is used for both the table and the form page, and each UImodel can have only one advancedSearch binding (which is also used for quick search). Each advancedSearch binding can be linked to only one iterator, and that is either the iterator of the master table or the iterator of the detail table.
    An enhancement request to remove this limitation is high on our wish-list, but didn't make it in the 10.1.2.1 release.
    You could try to make post-gen modifications to add an extra search. I have not tried it, but here is what I would do:
    - generate with search for master, and backup the generated pages and ui model
    - generate with search for detail, and backup the generated pages and ui model
    - merge the pages and ui models, renaming one of the advancedSearch bindings
    - for the page where the renamed binding should be use, make a subclass of JhsDataAction and override onQuickSearch and/or onAdvancedSearch, to use the other binding name
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • 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

  • I want a JClient Form with one mater and two details

    Hi,
    In my JClient Form, I want to have one master view and TWO detail views. The two detail views are linked to the master view simultaniously. Can Jdeveloper do that?
    and How?
    Stephen

    Sure. Just define the VO's and the relations between them and afterwards develop some independant panels which describe the VO's. You can then place each panel on a single panel and organize them the way you want.
    However, there isn't a way to simply generate the entire deal with a single wizard. You will have to run the wizard multiple times for each of the panels you wish to create and then manually put them together.
    Hope This Helps

  • Problem with apply changes on master-detail with respect to date handling

    dear sir,
    i have one tabler where in i have created from_Date and to_date as varchar2(30) each. I stored the from date as 'dd-mon-yyyy hh24:mi' I had written before header process for calculating no of days between from_Date and to_Date using the said format. If to_Date is null then first i store the value as
    to_char(sysdate,'dd-mon-yyyy hh24:mi') and then convert it as to_Date(substr(to_Date,1,17),'dd-mon-yyyy hh24:mi'). this calculation of days procedures works fine in sql command mode.
    when i am handling through master-detail page i works fine when there is null value inf to_Date vc2 column. if i store using date picker dd-mon-yyyy hh24:mi, the data is getting stored but subsequent edit through master detail give error as ora-01722 unable to fetch row. Manually if i set the to_Date as null pages works fine. I spent lots of time and unable to understand the mistake i do.
    if anybody could help me, i will be much obliged.
    thanking you,
    yours
    dr.s.raghunatha

    I think the best would be if you create an example on apex.oracle.com and I will debug it.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • Problem with crude operations in master detail tables

    Hi,
    I have Master-Detail tables in my page and crud operations are there for both the tables. Create/delete/edit are working fine on the master table but i am facing the following problems for the detail table
    1.delete operation is alway referring to the 1st record.
    2.Edit operation is working fine for the 1st time but when i amt trying to edit any other record it's refer to the previous record, if i did the same again then it's pointing to current record.
    Selected row keys and selectionListner and row selection is defined on my detail table as shown below.
    selectedRowKeys="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.CmSubscriberTerritoryXrefView1.collectionModel.makeCurrent}"
    rowSelection="single"
    Please do need full.

    Hi,
    Thanks for your quick reply.
    I am using JDeveloper 11g. Yes i select the record, i am using a popup for delete operation so i write a button which invoke popup in that popup i am asking confirmation like do you wanted to delete for not. in the OK button i have return logic like
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Delete2");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    operationBinding = bindings.getOperationBinding("Commit");
    result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    FacesContext fc = FacesContext.getCurrentInstance();

  • 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

  • Report for Billing doc with payment status and tax details

    Hi All,
    I want the report for payment due billing documents with following fields and after payment is done( F-28 ) that document should not appear in the report for the said period.
    Billing date, Billing doc no, Net value, Tax Amount
    Thanks and regards,

    Dear,
    Check S_ALR_87012172,S_ALR_87012186,S_ALR_87012168, S_ALR_87012197, S_ALR_87012173, S_ALR_87012174.
    Regards,
    Mahesh Wagh

  • Hierarchies and Master Detail Linking

    I have a hierarchy field that I would like to use as my "Master" source to drive my report detail. I'm having trouble and am wondering if this is even possible given that in the table/graph prompt I can only set it up to listen for one channel.
    Very new to OBIEE, so I appreciate your help!!
    Katy

    I'm facing the same issue.Has anyone worked on it?

Maybe you are looking for

  • How do i install icloud into my macbook pro?

    I'm trying to back up my music into icloud but i noticed that my laptop does not have it so i would like to know how to install it.. If someone could help me would be awsome

  • 7/16/2014 - Beta - Flash Player 14.0.0.155

    The latest Flash Player 14 beta builds are now available.  Beta builds can be downloaded from labs.adobe.com. New Features for Flash Player 14: Preview: PPAPI Debugger for Mac OS X and Windows An early preview of the PPAPI content debugger is availab

  • Web dynpro Selectoption: upload from clipboard

    Hi Experts, can you please help me with the following topic: I have a select option in my ABAP Webdynpro. It's very important that the endusers can use the "upload from clipboard" functionality for this select option (as it is possible in the select

  • Duplicate  pictures with iPhoto

    Recently I noticed that my pictures in iPhoto 9.2.2  are in duplicate. Can not figure out why it just started. My first question is: anyone else experiencing that? If so, is there software out there that can look for and delete duplicates? It doesn't

  • Help needed with an update query

    Hi, I am trying to execute an update query on a table. Here is an example: I have 2 tables t1 and t2 and these tables have 2 similar columns, c11 and c12 in t1 and c21 and c22 in t2. I have to now execute an update statement for the column c11 in t1