ADF table data not refresh

hi,
i am create a adf table using data control. value of adf table depend on view object. where i bind a variable in where clause.
now i am giving the value of whereClauseParam using using view object instance in backing bean method.
when i pressed command button method run properly but adf table not refresh and not showing data.
thanks in Advance

public void callData(ActionEvent ae) {
String amDef = "com.jagran.in.model.view.updatable.AppModule";
String config = "AppModuleLocal";
ApplicationModuleHandle handle = null;
ApplicationModule am;
try {
handle = Configuration.createRootApplicationModuleHandle
(amDef, config);
//am = Configuration.createRootApplicationModule(amDef,config);
// ApplicationModule sam = handle.useApplicationModule();
am=handle.useApplicationModule();
am.processChangeNotifications();
ViewObject svo = am.findViewObject("BindView1");
svo.setNamedWhereClauseParam("id","JK0554");
svo.executeQuery();
((ViewObjectImpl)svo).refreshCollection(null, false, false);
am.processChangeNotifications();
svo.reset();
while (svo.hasNext()) {
Row r = svo.next();
System.out.println( (String)r.getAttribute(1));
} catch(Exception e)
System.out.println(e);
finally {
if (handle != null)
Configuration.releaseRootApplicationModuleHandle(handle, false);
}

Similar Messages

  • Table data not refreshing

    Hi ,
    I have created a data control which calls procedure to fetch data ...
    I drag and drop that on the page and create a table.
    This table also includes checkbox to update the some fields of the table.
    When i click on any specific row to update data,data gets updated properly.
    If i move to any other tab and again come back to that tab data get messed up (for example all the
    rows of one column is showing same data.
    ANy one has seen this issue in the past as I am not sure what leads to this behaviour?
    Thanks,
    shubhangi

    Hi,
    to persist data values, you don't call a setter on the table cell renderer but update the model. Soif you have input text component to render the table cell, then updating and submitting the data herin will update the ADF model, not the persisting model
    See sample #038 on http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html that shows a similar use case
    Frank

  • Excel 2010 Pivot Table VBA Not Refreshing Table

    My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
    down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
    comes in.
    So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
    I tried:
    ActiveSheet.PivotTables("WO Pivot").RefreshTable
    and
    ActiveWorkbook.RefreshAll
    And these did not work.
    I also tried recording a macro for the manual steps to refresh and got:
     ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
    This does not work either.
    The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
    e.g.:
    With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
          .Orientation = xlRowField .Position = 2
          .Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
    End
    With Why isn't this working? Is there another way to refresh pivot table data in 2010?
    Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.

    The solution above didn't work for me, but the following did the trick:
    ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
    By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
    Cheers,
    Marco.

  • Swing problem: table is not refreshed when i open it  from jdialog

    Hi , my situation is this one :
    1. i have a swing form.
    2. i have created a panel form where i have a drop down list and a table. wich are depndend with each other. When i choose an item to the drop down list the value in the table is changed.
    3. i invoke this panel into the form with drag and drop, with invoke jDialog from button option.
    4. First time i run the form and open the panel from button the drop down list and the table are working correctly.
    5. i close the panel and open it again: And at this time when i choose an item from drop down list the table is not refreshed anymore. I have to run the form again if i want that this panel to work correctly.
    Am i doing smth wrong? I dont have too much experience in swing , and the documentation for adf-swign are really poor .
    Ps: Maybe i should explain the way i have created the drop down list and table in the panel . i am not using smth like execute with parameters for the view in the table. I have created a link between the view in the drop down list and the view in the table. It seems they work correcly if i run the panel for the first time.
    Thanks in advance !

    To answer your question, Restore the iPhone with current iTunes on your computer. If fixed, it was software. If still problem, most likely hardware, and then make Genius reservation or set up Service and take or send to Apple for resolution under Warranty.

  • Transient attriute of VO exposed as checkbox in adf table is not updated

    Hi,
    We are constructing a page where we need to display a adf table, we provide check boxes against each row to allow multiple selections.
    Checkboxes are transient attributes on VO with updatable property set.
    A strange issue is noticed, checkbox model for the very first row of adf-table is not updated.
    Tested this scenario in 11gR2 also, and seems to be a bug.
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9C7sgjVyCnoZTlmN2Y5MDItYTJhNy00MzA3LWE0ZTctOGRhNjZiMmYzNzZm&hl=en_US
    Please help us.
    Thanks,
    Sunil.

    Is this issue got resolved?
    I have the same issue, i have one transit VO and i drop one of the attribute as check box, now when i select all check boxes and try to remove the rows its alway refreshing when delete popup appear, only 1st row is selecting remaining check boxes are refreshing.
    Can any one have any idea on this.

  • Table is not refreshing after comming

    Hi Experts,
    Working in JDEV 11.1.1.3.0 with ADF BC.
    I am updating the selected rows when the file download is done, in the same method i am coming the recording and reexecuting my VO and adding partial trigger as my table component, but still my table is not refreshing.
    Code:
    public void commitRows(RowData rowData){
    rowData.setAttribute("PrintState", "PRINTED");
    DCIteratorBinding printIter =
    ADFUtils.findIterator("XxwfsAvcardPrintInterfaceVO1Iterator");
    ADFUtils.invokeEL("#{bindings.Commit.execute}");
    printIter.getViewObject().executeQuery();
    AdfFacesContext.getCurrentInstance().addPartialTarget(printTB);
    // ADFUtils.invokePopup(this.getP2().getClientId(FacesContext.getCurrentInstance()));
    }

    Thanks for your reply Suganth.
    i don't have partial submitt on the button.
    My requirement is i am updating selected row on the table and at the same time i am downloading file, after download is finish selected row is updating properly but that row is still apearing on the table, if the user click on download button once again then i am getting null pointer exception, because the row is not there on the table it got updated.
    Because of file download table refresh is blocking, how should i need to refresh my table on file download method.
    Edited by: user5802014 on Aug 26, 2010 8:39 AM
    Edited by: user5802014 on Aug 26, 2010 9:05 AM

  • Command Link in ADF table is not working/ PPR event not getting fired

    Hi All,
    I am having ADF Table, in that one column is with command link if click on command link, it is not navigating to corresponding page or method of a bean. If i give same command link out of the table it working fine, this issue i am facing is in IE9.
    if i use IE in compatibility mode the links works fine, even in IE8 version also.
    Browser: IE 9
    Jdev version: 11.1.1.5.0
    I tried all possible things, but nothing workout for me.
    showPopupBehavior not working in IE9 for af:table buttons (jdev11.1.1.5.0)
    Partial page rendering not working in ie9
    Command Link in ADF table is not working
    Thnks

    Hi,
    please file a bug if you have a customer support contract and provide a testcase
    Frank

  • Solved af:table is not refreshed with updated MBean data from list even

    Hi,
    I have a af:table which gets its data from a Managed Bean List type varaiable.
    My table hav one lov as a row item.
    When i change the lov in each row... a new row should get added to the table.
    So in the value change listener of the selectOneChoice i added one element to the list.
    Enabled PPR on table.
    But table is not getting refreshed until i click on some button or link.
    Thanks
    Murali
    Message was edited by:
    Murali Chepuri

    Solved after adding partialtarget in ValueChangeListener.
    Thanks
    Murali

  • Deleting the Row from the table is not refreshing the contents in the form

    Hi,
    We developed a table and form in the same UI based on the following suggestion.
    Display and edit currently selected row of ADF Table in ADF Form
    1. Created one view object based on the employees table.
    2. dragged the view object to the UI as table.
    3. dragged the view object as form.
    4. set partial triggers on the form's container (panelformlayout) as tableId.
    Tested the application with the edit options and everything is working fine. But the problem comes when we delete the record from table. it is not refreshing the form based on the newly selected row after deleting the record. If we commit the data the form contents are updated to the selected row (which is not desired).
    Can you please suggest how to fix the issue, refreshing the form with the selected row after deleting the records.
    Thanks and Regards,
    S R Prasad

    The Code snippet looks fine. I think, the issue is in the partial trigger setting
    4. set partial triggers on the form's container (panelformlayout) as tableId.In order to the table to get refreshed, the table's partialTriggers property should be set to id of the delete Button.
    Go to table, select partialTriggers in the Property Inspector, Click on Expression Builder at the right and select the delete Button.
    Can you set this and check?
    Sample Code:
    <af:panelHeader text="panelHeader 1" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar">
    <af:commandButton text="Delete" id="cb1"/>
    </f:facet>
    <f:facet name="legend"/>
    <f:facet name="info">
    <af:table var="row" rowBandingInterval="0" id="t1"
    partialTriggers="::cb1">
    <af:column sortable="false" headerText="col1" id="c1">
    <af:outputText value="#{row.col1}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="col2" id="c4">
    <af:outputText value="#{row.col2}" id="ot3"/>
    </af:column>
    <af:column sortable="false" headerText="col3" id="c3">
    <af:outputText value="#{row.col3}" id="ot4"/>
    </af:column>
    <af:column sortable="false" headerText="col4" id="c5">
    <af:outputText value="#{row.col4}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="col5" id="c2">
    <af:outputText value="#{row.col5}" id="ot5"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:panelHeader>
    Thanks,
    Navaneeth

  • Table is not refreshing with partialSubmit

    I Have a commandbutton that populate a table:
    <af:commandButton text="Procesar" id="cb1" shortDesc="procesar consulta" partialSubmit="true"
    action="#{pageFlowScope.AptosRenovar.procesar}"/>
    <af:table var="row" summary="Aptos por Renovar" rows="#{bindings.ListadoRenovaciones.rangeSize}"
    emptyText="#{bindings.ListadoRenovaciones.viewable ? 'No se encontraron resultados para la búsqueda seleccionada.' : 'Acceso denegado.'}"
    fetchSize="#{bindings.ListadoRenovaciones.rangeSize}"
    rowBandingInterval="0" id="tafil"
    value="#{bindings.ListadoRenovaciones.rangeSet}"
    binding="#{pageFlowScope.AptosRenovar.tafil}"
    rowSelection="none" styleClass="AFStretchWidth"
    disableColumnReordering="true"
    partialTriggers="::sfP:cbFirst ::sfP:cb2 ::sfP:it6 ::sfP:cb3 ::sfP:cb4 ::sfP:cb5 :cb1"
    columnStretching="column:cApell">
    In my java method I execute a procedure :
    Map paramsRenov = new HashMap();
    paramsRenov.put(Constants.CIASUC_PARAM,cia.concat(suc));
    paramsRenov.put(Constants.ASECOD_PARAM,usuario.getCodigo());
    paramsRenov.put(Constants.ANOMES_PARAM,nombre);
    paramsRenov.put(Constants.TIPO_PARAM,renuev);
    executeOperationBinding(EXECUTE_RENOVACIONES,paramsRenov);
    When i clic on the button, the table is not populating. When i clic again the button,it does. I am using JDeveloper 11.1.2.1
    Edited by: Miguel Angel on 09/04/2012 12:15 PM

    Hi,
    what is the business service you execute the operation on? Chances are that the iterator is refreshed before the new data is ready. Try setting the ADF iterator binding "Refresh" property to "ifNeeded" (this usually is what e.g. you will have to do for WebServices.
    Frank

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

  • Cascading LOV in af:table will not refresh correctly

    Jdeveloper version 11.1.1.5.0
    I have spent quite a bit of time trying to understand why 2-level cascading LOV won't work in a particular situaion. I still haven't been able to fix it and so I turn to the ADF gurus on this forum.
    Here's the scenario:
    1. I have a ViewObject called AdjustDeltaValuesView. This VO contains attributes from its entity. It also has transient attributes called CategoryId and CodeId.
    2. There is LOV defined for CategoryId for VO CodeCategoryMasterView
    3. There is LOV defined for CodeId for LimitedCodeMasterView.
    3. View Criteria is created for LimitedCodeMasterView which sets a bind variable value from CodeCategoryMasterView.CodeCategoryId.
    4. I have wired all the LOVs correctly and it is working properly in ADF BC tester.
    5. In the UI, I have dropped AdjustDeltaValuesView data control as ADF Table where CategoryId and CodeId are displaying as af:selectOneChoice.
    6. CategoryId has autoSubmit=true and CodeId has partialTrigger set to component ID of CategoryId.
    7. The LOV inside editable af:table is working fine except one scenario that when user selects same categoryId from the category LOV in the second row, the CodeId LOV will not populate.
    Here's the code snippet of jspx:
            <af:table value="#{bindings.AdjustDeltaValuesView1.collectionModel}"
                      var="row" rows="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      emptyText="#{bindings.AdjustDeltaValuesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                      fetchSize="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      rowBandingInterval="0"
                      selectedRowKeys="#{bindings.AdjustDeltaValuesView1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.AdjustDeltaValuesView1.collectionModel.makeCurrent}"
                      rowSelection="single" id="t1" editingMode="editAll"
                      rendered="false">
              <af:column sortProperty="CategoryId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.label}"
                         id="c25">
                <af:selectOneChoice value="#{row.bindings.CategoryId.inputValue}"
                                    label="#{row.bindings.CategoryId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.tooltip}"
                                    id="soc3" autoSubmit="true">
                  <f:selectItems value="#{row.bindings.CategoryId.items}" id="si3"/>
                </af:selectOneChoice>
              </af:column>
              <af:column sortProperty="CodeId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CodeId.label}"
                         id="c27">
                <af:selectOneChoice value="#{row.bindings.CodeId.inputValue}"
                                    label="#{row.bindings.CodeId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CodeId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CodeId.tooltip}"
                                    id="soc4" partialTriggers="soc3">
                  <f:selectItems value="#{row.bindings.CodeId.items}" id="si4"/>
                </af:selectOneChoice>
              </af:column>For example, where it DOES NOT Work
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category A from the dropdown from the second row.
    5. PROBLEM: In the second row, Code Id dropdown does not populate. Code dropdown is empty.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. User selects Category A from the dropdown from the second row.
    4. In the second row, Code Id dropdown populates correctly.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category B from the dropdown from the second row.
    5. In the second row, Code Id dropdown populates correctly.
    Has anyone come across this scenario? It's a very weird problem.
    I hope I have explained this well. If it's not clear please let me know.
    Edited by: Shah23 on Jan 14, 2013 6:42 PM
    Edited by: Shah23 on Jan 15, 2013 9:09 AM

    Hi,
    Always mention your JDev version.
    Try modifying your VOs as explained in this blog and see if it works fine : https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
    -Arun

  • Dates not refreshed correctly

    Hi,
    We are using service contracts BT112H_SC from Web UI. From this component we are calling SAP GUI actions (using transaction launcher) to make changes to the contract u2013 like cancellations, date changes and so on.
    We now have a problem with refreshing the Dates assignment block from service contract. The Dates assignment block is handled within a separate component called BTDATES and is called from BT112H_SC using component usage.
    When running an action that should change the dates (due to for example an Annulation of contract), the status is set to Cancelled but the dates Contract end date is not changed. I am calling function module CRM_ORDER_READ_OW after the action is executed in some places and see that the dates are updated correctly in the buffer, but they are not showing up in the Web UI.
    It seems as the dates are set correctly if I donu2019t expand the assignment block Dates before running the action. So if I expand the assignment block after running the action the dates are set correctly. If expanding the Dates assignment block before running the action, the dates are not updated.
    The dates are also set correctly after saving the contract so it is just a matter of visibility.
    Also if I (after running the action), go to one of the items and expanding the Dates assignment block on item level and then go back to header level the dates are displayed correctly.
    I have enhanced component BTDATES/Dates u2013 Method DO_PREPARE_OUTPUT where I use the following commands that should refresh the values.
    me->typed_context->btdate->collection_wrapper->publish_current( ).
        lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).
        lr_ent->reread( ).
    I have also used the command modify without success.
    Somehow the BTDATES component must be refreshed to read the dates from the buffer correctly after the action is executed.
    Do anyone have any suggestions on how to handle this?
    Regards Andreas

    Hi,
    Thanks a lot for your answers. I need all input I can get.
    Kathirvel: I can see that event 0002_expand_link is triggered (from class  ZL_BT112H_S_MAINWINDOW_IMPL I believe) when expanding the Dates assigment block. But I cannot figure out what is happening next.
    But after expanding the assignment block once, the event is not triggered if I expand/collapse the assigment block again.
    I see that in CL_BSP_WD_VIEW_MANAGER ~ DO_FINISH_INPUT when expanding Date assignment block, a BOL_CORE->MODIFY statement is made. This code is triggered when expanding the Date assignment block (but only first time).
    Do you know which event I could call to trigger the update again?
    asen2222 : I entered the code lr_core->modify( ) in ZL_BT112H_S_OVVIEWSET_IMPL ~ DO_PREPARE_OUTPUT which is called after my action is executed and the dates are modified in the buffer. But it doesn't work. When debugging the modify( ) method it seems as it have no delta-information to save.
    I have also tried setting the statement in component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT without success.
    In the same place -  component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT  -  I also put the following code:
    lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).lr_ent->reread( ).
    This do not work either. But if I debug the reread method and go into
    method REREAD_ENTITY of CL_CRM_BOL_CORE I see following code:
    lv_relation_cacheable = me->object_model->relation_is_cacheable(
    lv_parent_relation_name ).
    If I then set lv_relation_cacheable = ' ', it seems to bypass the buffer and read the data from underlying layers. And then the values is showingcorrectly updated!.
    I believe it is reading the relation from table CRMC_ORLSTA_BTIL but this
    table do not include field DO_NOT_BUFFER so I assume this field should
    never be set for business transactions. But in this case it wouldhave worked for us.
    Regards Andreas

  • ADF table data export to Excel

    I want to export table data into an excel file. I used following code;
    <af:exportCollectionActionListener type="excelHTML" exportedId="t1"
    filename="export.xls"
    title="ADF Faces Export"/>
    This works fine, But I have more than 65k lines, which is not supported with xls files. How can I generate xlsx format with ADF ?
    JDeveloper 11.1.1.3 is used in my project and can not change this. Any options pls?
    Thanks

    chk this
    File format of exportCollectionActionListener ADF 11g
    The fix has to be done on Excel and instructions are given below:
    1- Open your Registry (Start -> Run -> regedit.exe)
    2- Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
    3- Right click in the right window and choose New -> DWORD
    4- Type “ExtensionHardening” as the name (without the quotes)
    5- Verify that the data has the value “0″
    I tested the above in my home PC with Excel 2007 and fix worked.
    There is more aesthetic way to accomplish the fix detailed in (refer group policy section):
    http://support.microsoft.com/kb/948615

  • Table does not refresh after database level action

    We have defined an Advanced table on a VO to represent invoice lines. The VO is referenced by a VL from the invoice header.
    At one point during our process, a database level package is executed on the current lines. We have a "Requery" button to refresh the lines, however, the lines do not refresh unless we exit the invoice entirely and come back to it via the VL.
    How can we refresh the lines on a current table after a database level transaction occurs?
    Thanks, Jerry.
    Our AM code is as follows...
    // handleRefreshInvoiceLines( )
    public void handleRefreshInvoiceLines()
    OAViewObject vo = (OAViewObject)getInvoiceLinesVO1( );
    if( !vo.isPreparedForExecution( ) )
    getTransaction( ).validate();
    vo.executeQuery( );
    clearVOCaches( "InvoiceLinesEO", true ); // troubleshooting
    } // handleRefreshInvoiceLines()

    Thank you. I've moved clearCache around a bit. apparently vo.isPreparedForExecution() is false. I wonder why?
    --Jerry.                                                                                                                                                                                                                                                   

Maybe you are looking for