Master-details fails working after exportCollectionActionListener init

hi,
in application developed in jdev 11.1.2.3, in bounded task flow i have a standard master table-detail table page generated by default wizard.
on master table i defined an export-to-excel button:
<af:commandButton text="To Excel" id="cb1">
<af:exportCollectionActionListener type="excelHTML" exportedId="t1" filename="file1.xls"/>
</af:commandButton>
in pagedef the underlying table's ChangeEventPolicy is ppr.
<tree IterBinding="Tab2View1Iterator" id="Tab1View1" ChangeEventPolicy="ppr">
when i start application ,master-detail works fine.
if i press button to call export to excel, the ppr stops working.
i.e. when i change record in master table, no refresh happens in detail table
what can it be? isn't it an jdev bug nobody noticed before?
can it be fixed somehow?

Timo,
when you say ppr component, could you provide an example, a piece of code?
what i proved as a working cure is execute query on master...
as i found out further, the problem is somehow related to region.
after export to excel button is pressed, i try to refresh current page fragment by navigating to another fragment and back.
then i receive an error: component region1:1:t1 is not registred for active data...server exception during PPR, #1
(region1 is my region, t1 is defined in page fragment)

Similar Messages

  • JSP, getting Master-Detail to work

    JDeveloper 3.2.3
    JSP, getting Master-Detail to work
    - I've made a project with a master table Dept and a detail table Emp via the wizards. Automatically views for both are made.
    - Secondly i created an association between Dept and Emp (based on the field Deptno), the association is exposed to both entities.
    - I followed the Help example 'Creating Maser-Detail JSP Pages Using Data Web Beans'.
    4 Data Web Beans are created with this example
    * NavigationBar Master
    * ViewCurrentRecord Master
    * NavigationBar Detail
    * RowSetBrowser Detail
    The resulting JSP page shows, unfortunately, no link between the master and the details.
    For one department all employees (of all departments) are shown.
    What do i have to do to make the JSP Master-Detail work with JDeveloper
    Thanx in advance
    Lion Smiers

    I resolve my problem to create a third level detail as viewobject as a own instance, without link to second level detail (as I supposed it to work). And manually make a new search with where clause inside working detail iterate loop (below).
    I still wonder, is there any way to automatically update second details current row, which might also update third level details information as sophisticated way?
    my solution to show third level in master-detail-detail information.
    inside first details loop...
    <jbo:ApplicationModule id="MyService" definition="DataBindings.MyServiceDataControl" releasemode="Stateless"/>
    <%-- search criteria from detail --%>
    <c:set var="whereLauseIn" value="MYKEY_ID = '${Row['secondId']}'" scope="page" />
    <jbo:DataSource id="Lausu" appid="MyService" viewobject="ViewObjMyThirdDetailInst" whereclause="<%=pageContext.getAttribute(\"whereLauseIn\")%>" rangesize="-1"/>
    <jbo:RowsetIterate datasource="Lausu" changecurrentrow="true">
    <tr>
    <td >
    <jbo:ShowValue datasource="Lausu" dataitem="Col1" ></jbo:ShowValue> 
    </td>
    <td>
    <jbo:ShowValue datasource="Lausu" dataitem="Col2" ></jbo:ShowValue> 
    </td>
    <td>
    <jbo:ShowValue datasource="Lausu" dataitem="Col3" ></jbo:ShowValue> 
    </td>
    <td >
    <jbo:ShowValue datasource="Lausu" dataitem="Col4" ></jbo:ShowValue> 
    </td>
    </tr>
    </jbo:RowsetIterate>
    <jbo:ReleasePageResources />

  • Master-detail form problem after upgrading to 4.1

    Hello,
    I have running Apex 4.0.2 instance on 11g2 database.
    After upgrading to Apex 4.1 I have a problem with all Master-detail forms.
    I'm able to open the one but detail region shows error 'failed to parse SQL query:
    ORA-00923: FROM keyword not found where expected'.
    All forms work correctly on 4.0.2 version.
    If I migrate that 'SQL Query (updateable report)' region to 'Interactive report',
    the form works fine on 4.1
    What could be a problem?
    Thanks
    Sasa

    Hi Patrick,
    I tried to make test application (the one master-detail page).
    But when I copy the page from my application to test application, copied page in test
    application works fine and because of that I didn't import test application to apex.oracle.com
    Strange thing is that the column in detail table FAK_ID in the page of original application has
    defined default value (P108_ID) but in the copied page in test application that column doesn't have
    defined default value!?
    I don't know if it's expected behavior...
    Anywav, even if I set default value of FAK_ID column in test application, application works as expected.
    I tried upgrade to 4.1 Apex version for three time but unfortunately I always got the same error in the master-detail page.
    BR
    Sasa

  • Af:tree with master-detail doesnt work

    Hi,
    I created master-detail(used updateable VO's) and test it from the application module and everything worked as expected.
    Now I try to show all master and detail data in af:tree component.
    At the runtime I can see only master data, but there's no detail data at all. I tried all of this before and everything worked fine, and now I cant get this work.
    <!-- jsf page page1.jspx-->
    <af:tree value="#{bindings.Master1.treeModel}"
    var="node">
    <f:facet name="nodeStamp">
    <af:outputText value="#{node}"/>
    </f:facet>
    </af:tree>
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.39.84" id="app_page1PageDef"
    Package="main.userinterface.pageDefs">
    <parameters/>
    <executables>
    <iterator id="Master1Iterator" RangeSize="10"
    Binds="Master1" DataControl="AppModuleServiceDataControl"/>
    </executables>
    <bindings>
    <tree id="Master1" IterBinding="Master1Iterator">
    <AttrNames>
    <Item Value="IdMaster1"/>
    <Item Value="Name"/>
    <Item Value="MasterValue1"/>
    <Item Value="MasterValue2"/>
    <Item Value="MasterValue3"/>
    </AttrNames>
    <nodeDefinition DefName="main.datamodel.queries.Master1"
    id="Master1Node">
    <AttrNames>
    <Item Value="MasterValue1"/>
    </AttrNames>
    <Accessors>
    <Item Value="Detail1"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="main.datamodel.queries.Detail1"
    id="Detail1Node">
    <AttrNames>
    <Item Value="DetailValue1"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    </pageDefinition>
    Thank you in advance.
    Alex

    Note, that PanelCollection is a naming container. So if you have wrapped your table in a PanelCollection you will have to add PanelCollection's ID to master table's ID when refering the master table as a partial trigger for the detail one. For example, if the value of detail table's partialTriggers attribute has been <tt>partialTriggers="::masterTable"</tt> now it should become <tt>partialTriggers="::pnlColl:materTable"</tt> (supposing that PanelCollection's ID is <tt>pnlColl</tt>).

  • Master Detail stops working when i try to download a blob filed

    Hi All,
    I am working on Jdeveloper 11g.
    I have a master table with detail , the detail table has a blob field.
    when the user tries to download the blob field every thing works fine, but the master detail relation stops working , when the user clicks a row in the master table the detail is not refreshed.
    I have to refresh the whole page to start working again .
    This is the code I am using for download , along with fileDownLoadActionListener():
    public void researchDownloadAction(FacesContext ctx, OutputStream out) {
    ExternalContext ectx = ctx.getExternalContext();
    Row currentRow = ADFUtils.getIterator("Documents2Iterator").getCurrentRow();
    String fileName = (String)currentRow.getAttribute("FileName");
    BlobDomain content = (BlobDomain)currentRow.getAttribute("Content");
    Long length = content.getLength();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    response.setHeader("Content-Disposition", "attachment;filename=\"" + fileName + "\"");
    response.setContentLength(length.intValue());
    try {
    InputStream in = content.getBinaryStream();
    byte[] buf = new byte[1024];
    int count;
    while ((count = in.read(buf)) >= 0) {
    out.write(buf, 0, count);
    in.close();
    out.flush();
    out.close();
    ctx.responseComplete();
    catch (IOException ex) {
    System.out.println(ex.getMessage());
    ex.printStackTrace();
    Thanks.

    Let's try the following user tip with that one:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • Hyperlinks on master pages not working after distilling (InDesign CS4)

    Hello,
    We have started using weblinks in the PDF versions of my print magazine.
    As PDFs exported in InDesign are bloated, we use this workflow for creating the PDF issues:
    Export print-ready PDFs of layouts in InDesign CS4 (Mac)
    Combine PDFs into a single file in Acrobat 9.5.1
    Crop pages and export combined PDF as PostScript file
    Distill PostScript file in Distiller 9.5.1 using default "Smallest File Size" (with Page Thumbnails) setting
    We hyperlink all web addresses in the body copy.
    We also hyperlink the magazine's website address on the primary master page (A). All of the other master pages in the magazine are based on A-Master.
    We create hyperlinks by selecting the link, using the New Hyperlink command in the Hyperlink panel, and uncheck the Shared Hyperlink option.
    When we export the layouts using InDesign – either using our printer's settings or InDesign's Smallest File Size setting – the links contained on the master page work.
    But these links disappear when our PostScript file is distilled into a PDF.
    I know there is a bug in CS5.5 that can cause this problem. But is there any workaround or solution for this in CS4?
    Thanks.

    richard_cosgrove wrote:
    I managed to solve this problem by trashing the CompositeFont folder in InDesign's preferences and restarting InDesign.
    Why that should be causing the problems, I have no clue.
    Thanks for all the input and help.
    I'm having this exact same problem and would like to try your solution, but I can't find the "CompositeFont" folder
    I fround the Windows locations info below at http://helpx.adobe.com/indesign/kb/indesign-preferences-support-file-locations.html
    But I still didn't see any Composit Fonts folder. Do you have any suggestions on where I can look for this folder?
    Application "roaming data folder:"
    Win 7: C:\Users\[User Name]\AppData\Roaming\Adobe\InDesign\Version [#]\en_US
    Preference files saved into this location include the following:
    Color Settings: Record of the current application Color Settings, used to sync with other Adobe CMS enabled apps
    Composite Fonts folder
    Find-Change Queries folder: Contains user-defined find/change queries
    InDesign Defaults: Record of application defaults, as defined by user modifications
    Menu Sets folder: Contains user-defined Menu Sets
    Scripts folder: Location for user scripts to load into the Scripts panel
    Workspaces folder: Contains user-defined workspaces, as well as a copy of the Current Workspace

  • Master/detail doesn't work in IE

    I know this has been asked in other ways, but I can't find the answer to my particular situation. Why doesn't the master/detail list work in IE 8, but it does in Firefox? Here is the URL: http://www.boilerbuddy.com/rep_lookup_new.htm. For example, choosing CO should bring up a company listing.

    Try the following
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryMasterDetail.css" rel="stylesheet">
    </head>
    <body>
    <div class="MasterDetail">
      <div spry:region="ds1BBrep4" class="MasterContainer">
        <select name="myselect" id="myselect" onChange="ds1BBrep4.setCurrentRowNumber(this.selectedIndex);">
          <option value="">Please chhose a state...</option>
          <option spry:repeat="ds1BBrep4" value="{State}" spry:setrow="ds1BBrep4">{State}</option>
        </select>
      </div>
      <div spry:detailregion="ds1BBrep4" class="DetailContainer">
        <div class="DetailColumn">{Rep}</div>
      </div>
      <br style="clear:both">
    </div>
    <script src="SpryAssets/SpryData.js"></script>
    <script src="SpryAssets/SpryHTMLDataSet.js"></script>
    <script>
    var ds1BBrep4 = new Spry.Data.HTMLDataSet("data/rep_db.htm", "reps", {sortOnLoad: "State", sortOrderOnLoad: "ascending"});
    ds1BBrep4BBrep4.setColumnType("Rep", "html");
    </script>
    </body>
    </html>
    Gramps

  • Master-details problem: How to access the parent EO/VO in child side?

    Hello
    Refer to the reply of posting
    Re: How to insert  new records in Master and detail Forms.
    I have got the following questions
    The approach for setting the master-details relationship works well, however, in this example,
    I have overriden the create(AttributeList attributeList) method of VO2, so after calling
    DCBindingContainer dcb = ADFUtils.getDCBindingContainer();
    OperationBinding oper = dcb.getOperationBinding("CreateInsertVO2");
    oper.execute();
    , it will enter the create() method of VO2, at this point, i can only access the argument attributeList
    which stored the key value that link up parent and child, however, how can i get the entire VO1
    for accessing the value of all VO1's attribute?
    Thanks

    Neon wrote:
    I have mapped a createInsert action in the blinding layerThis is OK.
    Neon wrote:
    Do you mean that i have to create createRow and insertRow action in blinding layer?No. The createInsert operation does just that
    Neon wrote:
    Or call these function in the VO overridden create() method?No. You can't do that.
    In conclusion, I don't understand why the accessor returns null. Maybe someone else can shed some light... ?:|
    One last suggestion from me is to try getting the VO1 directly from the AM instead.
    This should work - it is not a recommended practice through.
    Use the following code:
    VO1RowImpl vo1 = (VO1RowImpl)this.getVO1();
    // ensure that the VO1 VL accessor is properly initialized
    if (vo1 == null) {
       vo1 = (VO1RowImpl)((YourApplicationModuleImpl)this.getApplicationModule()).getVO1().getCurrentRow();
    }

  • 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

  • Obiee 11g - Master/detail : How to initialize details ?

    Hi gurus,
    I'm using the last version of obiee.
    I have a dashboard with master/detail. The master/details are working great when I click on cells.
    But I have some "initialization" problems.
    - master/detail with a prompt list on the master table
    a change on the list won't initialize the detail. I would like to have the detail refreshed with the first row of the master.
    - master/detail with different order by on master and detail
    the initialization value of the detail does not fit with the first row of the master.
    Is it possible to achieve this ?
    Thanks in advance for your help.
    Emmanuel

    Hi Dpka,
    Thanks for sharing your view . I ,even observe the same 'error' message returining false value at the bottom-left of my browser when set up the Master detail even and clicked my table column to reflect the value in the graph .
    But my situation is bit tricky . I can't expose two different views to see if separating the interaction works well or not . In my case I have only 1 report with 4 compound layout(with pivot table(master) and Graph(detail)) having view selector . So this is practically not separable as this incurs loss of other functionalities.
    Do you have any suggestion in mind . I tried to see Supportweb and doesn't have any valid bug reported :(
    Rgds,
    DxP

  • Master Detail Relation

    Can I design Master detail using one block for master and display like 5 records and each of this has 10 detail records. I am not sure if I can achieve this.
    Other scenario is have one master block(5 records) and have 5 detail blocks. Please give any information related

    Husna,
    1. To only show 5 reords in teh master block, just set the display record property to 5 (records displayed). Selecting one of teh master records queries the detail records (as many as there are available)
    2. Master/Detail navigation works only for the current selected master record. i get th eimpression that you want to show all detail records that belong to the five master records currently visible. If this is the case then I would'nt use a master-detail relation in Forms, but read the PK from the block record and set it as the where clause to one of the detail blocks.
    Frank

  • Master-detail  in forms 4.5

    I am trying to make a master-detail form work, but so far the details in the form does not correspond to the master block.
    What I did was
    1. created a primary key in table1
    2. created a foreign key in table2 referencing the primary key in table1
    3. created a new block (master block based on table1)
    4. created another block (detail block based on table2)
    5. under the tab master/detail of detail block I
    5.1 selected the master block from the block LOV
    then the "Join Condition" textbox automatically showed the relational keys
    or Join
    But when I ran the program, only the master block showed different records when navigating.
    Thanks for any help you can give.

    Bob,
    check the property palette of the relation node (build under the detail block) for the "deferred" property. This should be set to "no", otherwise the query only gets updated if you navigate into it.
    Frank

  • Master VO in Master/Detail executing hundreds of times for one row...

    JDeveloper 11.1.1.6.0
    I have an odd problem whereby the master VO in a master detail object is executing hundreds of times, seemingly unnecessarily.
    A little more detail:
    I have a query page and a details page for this Master - detail object. After querying, a user can click a pencil icon to view/add/edit child records. These VOs are linked by a View Link, the link relationship is sound.
    I have added an method action so that clicking on the pencil icon next to the master record causes 10 child records to be created, this is a time tracking application and I need to create empty time records for a given pay period if there are none already.
    The method(s) used to create the child records are located in the master VO Impl.
    When I click the pencil icon the records are created but the master VO is executing hundreds (thousands?) of times as seen in my logger. I have added some logging to dump query parameters (executeQueryForCollection) and for each master VO execution the params are exactly the same. The Master and Detail VOs have key attributes defined.
    Any idea what might be the cause of this issue? I am not sure where to look anymore.
    Thanks...

    Hi,
    can you provide a test case based on the HR schema? If so, zip it up and rename the "zip" extension to "unzip". My mail address is in my OTN profile
    Frank

  • Master Detail FK Problem

    I have created a Master/Detail set of pages. Using just the wizard. This is the option that creates 3 pages:
    1-Master Page
    2-Master Page detail, show a summary of the detail page
    3-Form for detail
    The data is being added to the database but the Master Page foreign key (master table fk) is not populating at all. I can see the data in the table, but the FK that points back to the Master table is blank.
    Having a real problem with this, please advise.

    Steve,
    Firstly, good luck for Gustav, keep your head down and hope it doesn't hit too hard. I was just in New Orleans for ODTUG and obviously would hate to see you guys go through something like that again.
    Secondly, I was just looking through the patch notes for Apex 3.1.2, and spotted these bugs had been fixed -
    6999393 - Master Detail Wizard creates processes with incorrect sequence
    7013435 - MRU process in Create Application Wizard-generated master detail not working correctly
    7016267 - 3 page Master Detail should not allow edit of Foreign Key Field on Detail PageI'm not sure if any of them directly related to your problem, but it could be worth looking them up in Metalink (those are the Bug numbers) to see if they are, or alternatively do the upgrade and see if it fixes your problem.
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • Master Detail Linking between Views

    Hi All,
    I have checked that Master Detail linking works between an Analysis and a Graph etc. But is it possible to have a Master Detail Linking between a Gauge and a Graph such that when I drill down on a Gauge my Graph should reflect the same results.
    Thanks.

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

Maybe you are looking for

  • Can't open itunes because pthreadVC2.dll was not found?

    I have enjoyed itunes for a long time on my Sony Vaio, but now everytime I try to open it I get this message: "This application has failed to start because pthreadVC2.dll was not found". I have followed the instructions of previous posts, repeatedly

  • How do you change the font and size in descriptions in iPhoto?

    When I add a description to a photo in a slide show, it appears in only one font size and one continuous line across the frame.  Is there any way to change the font and size?  Can the description be multiple short lines instead of one long one?

  • SSRS error "Conversion failed when converting the nvarchar value"

    Hi folks! After SCCM 2012 R2 upgrade, we have errors with self made reports: An error has occurred during report processing. (rsProcessingAborted) Cannot read the next data row for the dataset DataSet2. (rsErrorReadingNextDataRow) Conversion failed w

  • Any smaple reports in Sales, purchase, Inventory and Finance

    Hi, Can any one assist me with sample reports on the following  finance. Thanks, Biren Bose +65-8426 9304

  • Access to Cells in Report 2DTable

    Hello, I am trying to change properties of individual cells in a report based on content is this possible?  For example I am trying to highlight values red that do not fall within a specified parameter. I know that I able to access the font color of