Refresh an af:iterator

Hi there,
we've got a problem with an af:iterator component. We use it inside a panel tabbed to display multiple show detail items depending on out collection model.
This is working as it should, however, the user could create new data which should also be presented as a new tab. This is not working. Only a full refresh of the page shows the newly created data.
Is there a way to refresh the iterator?
The JDev version is 11.1.2.3.0.
Thanks in advance.

Timo Hahn wrote:
Get hold of the iterator in a bean method and call iterator.execute(); this should refresh the data.
TimoJust for clarification. Which iterator do you mean? The af:iterator or the iterator binding?

Similar Messages

  • Refreshing an af:Iterator used in a table column

    Adf 11g (11.1.1.2), ADF BC
    Hi
    I'm having a problem trying to get an af:iterator to refresh.
    I have a tree binding in my page as follows, qryCommodityWithPriceIterator is the master, qryCommodityPrice is the detail :
    <tree IterBinding="qryCommodityWithPriceIterator"
              id="qryCommodityWithPrice">
          <nodeDefinition DefName="model.qryCommodityWithPrice"
                          Name="qryCommodityWithPrice0">
            <AttrNames>
              <Item Value="CommodityNr"/>
              <Item Value="Designation"/>
            </AttrNames>
            <Accessors>
              <Item Value="qryCommodityPrice"/>
            </Accessors>
          </nodeDefinition>
          <nodeDefinition DefName="model.qryCommodityPrice"
                          Name="qryCommodityWithPrice1">
            <AttrNames>
              <Item Value="CommodityNr"/>
              <Item Value="Price"/>
            </AttrNames>
          </nodeDefinition>
        </tree>In my page I have a table based on qryCommodityWithPrice and a column that has an af:iterator to display the values of the qryCommodityWithPrice0 in an output text (the output text will be replaced by a sparkChart)
                  <af:table value="#{bindings.qryCommodityWithPrice.collectionModel}"
                            var="rowX"
                            rows="#{bindings.qryCommodityWithPrice.rangeSize}"
                            fetchSize="#{bindings.qryCommodityWithPrice.rangeSize}"
                            selectedRowKeys="#{bindings.qryCommodityWithPrice.collectionModel.selectedRow}"
                            selectionListener="#{bindings.qryCommodityWithPrice.collectionModel.makeCurrent}" id="t3">
                    <af:column id="c6">
                      <af:iterator id="iterator1" value="#{rowX.qryCommodityPrice}"
                                   var="dataX" rows="0">
                        <af:outputText value="#{dataX.Price}" id="ot2"/>
                      </af:iterator>
                    </af:column>
                  </af:table>I have a button that calls an application module method that changes a where clause parameter and re-executes the query for qryCommodityWithPriceIterator
        vo = getqryCommodityWithPrice();
        vo.setWhereClauseParams(null);
        vo.setNamedWhereClauseParam("months", -10);
        vo.executeQuery();I also need to update the where clause for the qryCommodityPrice.
    The initial page display is correct, however when I click the button the table refreshes correctly but the af:iterator is displaying stale data, the af:iterator is not getting refreshed.
    I think what I need to do is that for each row in the vo qryCommodityWithPrice I need to execute the query for the corresponding qryCommodityPrice vo.
        Row row;
        qryCommodityWithPriceRowImpl arow;
        vo.first();
        while (vo.hasNext()) {
          row = vo.next();  
          arow = (qryCommodityWithPriceRowImpl)vo.getCurrentRow();
          RowIterator ri = arow.getqryCommodityPrice();
          // change where clause and execute query here
        } The problem I have is that I can only get the RowIterator for the qryCommodiyPrice, I can't get the vo to re-execute its query.
    Anybody got any ideas?
    Regards
    Paul

    Ok, I was barking up the wrong tree, in fact I wasn't even in the correct forest :-)
    I need to go through executeQueryForCollection ...
    Regards
    Paul

  • Lov iterator refresh issue

    HI friends!
    I'm using JDeveloper 11g
    I've got a problem with a lov attribute in my application.
    I need to implement the following scenario:
    I have an adf table Licence in my jsf page. One of the table columns includes a lov attribute which values must be selected from a list box (a list data source is LicenceProducer lov view object).
    If there is no required licence producer in the drop down list we can trigger a pop up dilaog (kind of lov dialog) and create a new one row in the data source iterator.
    Then the required attribute value of the newly created row must be passed to the list in the source jsf page and become a currently selected value for the lov attribute of the Licence VO.
    SO i've have implemented almost the whole scenario:
    1. created an appropriate lov attribute in Licence VO with LicenceProducer VO as a list data source
    2. created a bounded adf task flow which is resonsible for displaying the pop up lov dialog with all insert/commit/return new value functionallity.
    Everything works just greate except that the lov iterator is never refreshed after returning from the pop up dialog.
    The updated content of the list box is only seen after reloading the source jsf page. Setting partial page rendering (for the Licence adf table) on returning from the pop up dialog does't work.
    I saw a number of posts on this issue but never found any good solutions.
    I think that i must somehow get an access to the lov iterator (data source vo) wich is not the same as the base LicenceProducer view object and refresh it programmatically.
    PS. if i brought my issue in a not sufficiently clear way. please answer the quite simplier question. Is it possible somehow to add a lov functionallity with the possibility to add new rows into lov iterator?
    Thanks in advance. Alex.

    Thanks friends.
    It is so greate to see somebody notice your question and even have the similar problem.
    First to Paul
    1. Yes I have a model driven LOV, i.e. i defined the lov functionalty for the attribute in a VO.
    2. I'm using JDeveloper 11g as you might be using.
    3. Actually i'm afraid i have not fully understood your approach with a row impl class. AS i could notice there were no worthy changes added into the row impl class after i had redefined VO's attribute to use a lov view object.
    it would be greatly appreciated if you let me know more detail about your solution.
    By the way i have noticed one interesting thing as I was experimenting with my issue. It turned out that the lov iterator refreshes just excellent on returning from a pop up "manually created lov dialog" after i click a rollback button of the data control
    where the VO iterator containing the attribute with the lov functionalty exists. Give it a try and you'll see, no other standard operation button gives the same effect!!!!! I realized it accidentially myself.
    To Hasim
    if i understand you right your assumption is to refresh a row iterator which is the basis for the lov attribute and then refresh a page element where the lov attribute has been dropped?
    If so than i've tried it because this is the first thing comes into mind. But it doesn't work, i think that this basis iterator we select for the list of values of the required attribute in VO is not the same as a real list Datasource iterator...
    If i understood you wrong please give me know and explain please your approach. Your opinion is interesting for me.
    I address our experts ones again with a rather simplier question. Is it possible to create a model driven lov attribute where it would be possible to insert new rows into the list of values during the ongoing user session?
    Alex.

  • How to refresh an iterator with PPR set to none after task flow operation?

    Using JDev 11.1.2.1.0.
    Doing the sample here: http://www.gebs.ro/blog/oracle/oracle-adf-creating-an-addedit-bounded-task-flow-using-a-new-transaction/
    For this to work, you've got to set your page iterator/executable's ChangeEventPolicy to "none". Otherwise, you can't set the selected row correctly due to the iterator refreshing on commit.
    I'm trying to extend this example to include a Delete operation setup in the task flow. However, I can't figure out how to refresh the page's iterator to display the updated results. The Delete doesn't run in a dialog so it doesn't invoke the calling button's returnListener.
    Any ideas?
    Thanks,
    Will

    Thank you for your response.
    I'm trying to call the delete operation from a task flow. Once the delete occurs, the page should somehow call a refresh on the iterator displayed. However, since the iterator can not have PPR set, the refresh doesn't happen automatically. Additionally, since the delete doesn't happen as part of a dialog window, the returnListener for the calling button does not fire.

  • Keeping current record after refreshing iterator (iterator refresh)

    Greetings,
    I'm using the following code to refresh a master iterator, so that when data is saved\edited it is automatically refreshed in the user interface. I'm using BC for the model layer.
    public String commandButton_save_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Commit");
    OperationBinding operationBinding2 =
    bindings.getOperationBinding("Execute");
    System.out.println("Now @ Global bean ... going to ...");
    operationBinding.execute();
    operationBinding2.execute();
    // It should be a error page
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    // Refresh main view object
    DCBindingContainer bc =
    (DCBindingContainer)FacesContext.getCurrentInstance().getExternalContext().getRe
    questMap().get("bindings");
    FirstCareAppModuleImpl fc =
    (FirstCareAppModuleImpl)bc.findDataControl("FirstCareAppModuleDataControl").getD
    ataProvider();
    ViewObject vo_SitSocProf = fc.findViewObject("EpisodiosMain");
    vo_SitSocProf.executeQuery();
    System.out.println(" All done. Ciao ");
    return "back";
    I just want to refresh data from database and still show the current record. This is always taking me to the first record in the iterator.
    The issue is: How to show the current record after the refresh? If the above
    code is not correct, or not the most adequate, please don't hesitate and tell
    me.
    Thanks.

    You can do this as follow:
    1) In your ApplicationModule (e.g ScottAM) define function:
    public void refreshView(){
    getMainViewObject().executeQuery();
    2) Expose this function to client
    3) In your manage bean define:
    public String commandButton_save_action() {
    String dc = "#{data.ScottAMDataControl.dataProvider}";
    FacesContext ctx = FacesContext.getCurrentInstance();
    ValueBinding vb = ctx.getApplication().createValueBinding(dc);
    ScottAM am = (ScottAM)vb.getValue(ctx);
    am.refreshView()
    return null;
    Note, that this solution will set you on the first row after invoke.

  • Iterator Refresh

    Hi,
    I've created a rich client ADF App. My question is how can I refresh programaticaly an iterator?
    cheers,
    Bernhard

    Hi,
    you do not have enough information to have a better answer. what is the jdev version?
    you can execute the iterator from your managed bean like below to refresh it.
    DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iter = bindings.findIteratorBinding("ReceiptsIterator");
    iter.executeQuery();~Abhijit

  • ValueChangeListener not firing when iterator set to refresh=never

    I have an iterator that I have recently added a child node to. This child node is tied to a view object without a backing entity. The fields in that view can contain user supplied data that I persist through a stored procedure. This mechanism works great accept when the page is refreshed. When that happens the fields in the child node are lost due to the view being reexecuted.
    To fix this problem, I thought I could set the iterator to refresh=”never” and then programmatically refresh it when I need to. This solution appears to work but with one small problem, a valueChangeListener in one of the parent iterator fields fails to execute when it is supposed to.
    It is very weird. I can remove the refresh=”never” from the iterator and the valueChangeListener functions properly, but if I add it back, it fails to get called. I have compared the html source on the browser and the element is generated the same in both instances, so it is definitely some issue on the server side.
    Anyone ever run into a similar problem?
    <af:table rows="#{bindings.ItemCountrySystemsVO.rangeSize}"
              emptyText="#{bindings.ItemCountrySystemsVO.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
              var="row"
              value="#{bindings.ItemCountrySystemsVO.treeModel}">
       <af:selectBooleanCheckbox  id="selectDesc"
                                  value="#{row.CheckBox}"
                                  autoSubmit="true"
                                  immediate="true"
                                  valueChangeListener="#{itemItemCountryDataActionBean.onChangeSystemDescCheckBox}" />
    <iterator id="ItemCountrySystemsVOIterator" RangeSize="10"
                  Binds="ItemCountrySystemsVO" DataControl="RMSItemAMDataControl" Refresh="never"/>
    <tree id="ItemCountrySystemsVO" IterBinding="ItemCountrySystemsVOIterator">
          <AttrNames>
            <Item Value="Item"/>
            <Item Value="CountryId"/>
            <Item Value="SystemCd"/>
            <Item Value="Status"/>
            <Item Value="StatusDate"/>
            <Item Value="PrimarySupp"/>
            <Item Value="CheckBox"/> 
          </AttrNames>
          <nodeDefinition DefName="od.adf.mp.datamodel.views.item.ItemCountrySystemsVO"
                          id="ItemCountrySystemsVONode">
            <AttrNames>
              <Item Value="Item"/>
              <Item Value="CountryId"/>
              <Item Value="SystemCd"/>
              <Item Value="Status"/>
              <Item Value="StatusDate"/>
              <Item Value="PrimarySupp"/>
              <Item Value="CheckBox"/> 
            </AttrNames>
            <Accessors>
              <Item Value="ItemCountrySystemsLangVO"/>
            </Accessors>
          </nodeDefinition>
          <nodeDefinition DefName="od.adf.mp.datamodel.views.item.ItemCountrySystemsLangVO"
                          id="ItemCountrySystemsLangVONode">
            <AttrNames>
              <Item Value="Item"/>
              <Item Value="System"/>
              <Item Value="Lang"/>
              <Item Value="LangDescription"/>
              <Item Value="CountryId"/>
              <Item Value="ItemDescription"/>
              <Item Value="OrigItemDescription"/>
            </AttrNames>
          </nodeDefinition>
        </tree>

    Using the refresh condition was definitely the better approach and it worked great. Unfortunately not refreshing the parent iterator did not prevent the reexecuting of the child node. I am at a loss on how to prevent this from happening. I am at a loss to explain why the reexecuting of the child view object happens at all when the parent hasn't changed.
    Any help is appreciated.

  • Periodical refresh of data on page or refresh on command?

    Hi!
    I have a start page in my application that displays data from a couple of iterators. This page is intended mainly to navigate to some tasks on this data but the task depends on the data itself. So I must ensure, that when the user clicks on a command link (let's saj in a table column) the data on that table is refreshed. I've been thinking about some functionality that would cause the data on the page to refresh periodically since there is also a picture displaying current positions of some transport units (either is there or it isn't, I don't need any real-time refreshing). Second option is to somehow refresh the needed iterator when user clicks the row since sometimes it happens that a user clicks on the link of the row but when the task is started the data is not from the row he clicked on but of a completely different record since there was some data change from another user that caused different row order in that table.
    Please let me know what is the best way to deal with my requirement and if periodical refresh is OK, how to implement periodical refresh of the page or if concidering this advice: http://radio.weblogs.com/0118231/stories/2005/06/16/whyIsntRefreshingTheBrowserPageEnoughToRefreshTheDataDisplayed.html - refresh all iterators on the page.
    I hope my question is clear.
    Regards,
    BB
    BTW
    Using ADF BC 10.1.3.3
    Edited by: Brokenbone on Jul 22, 2009 11:41 AM

    Hi,
    I think you can use poll tag with interval and pollListener specified, you can find more details on below links
    http://www.oracle.com/technology/pub/articles/jellema-muir-adf-part2.html
    http://thepeninsulasedge.com/frank_nimphius/2007/09/18/adf-faces-using-afpoll-to-refresh-a-table
    Sireesha

  • Oracle ADF - Refresh quick query for a table in the pop up.

    Hi,
    I am using Oracle jDev 11.1.1.4.0
    In my application I have a Find button in jspx.
    Onclick of Find button, a popup opens.
    When I search for a record by name in QuickQuery, suppose - I entered name as jon.
    It gives me the correct result.
    Now when I close the pop up and again click on Find button, that previous search remains as it is in the pop up
    and also the previous criteria in quick query search region as "jon".
    I have changed the refresh property of iterator(of table in popup) in pageDef
    But still not working...
    How to refresh that search region for every subsequent Find click.
    Appreciate your help.
    Thanks,
    Madhav

    do u changed refresh > ifneeded or always.
    user.
    r u luking for partially page rendering.
    by using ppr. we can refresh.
    if so.
    http://www.adftips.com/2010/10/adf-ui-refreshing-page-or-region.html
    http://biemond.blogspot.com/2007/11/how-to-refresh-region-in-jdeveloper-11g.html
    Re: ADF Region Interaction
    Edited by: Erp on Sep 27, 2011 4:37 AM
    Edited by: Erp on Sep 27, 2011 4:42 AM

  • LOV in Query Panel not refreshing

    Following is the requirement ---
    There is a search page which binds to a particular person say XYZ.
    Author LOV is there in the query panel which contains a list of person names who have written a note for XYZ.
    Now, the LOV field should refresh when we create or delete a note.
    Implementation -- I have a VVO which has person id, authorid and authorName and its been ensured that personId and authorId are unique.
    I am using this VVO as a view accessor and then fetching in the list of authors for a particular person in the query panel.
    But, I am unable to refresh this drop down after creation and deletion of a note.
    Steps taken to achieve this :
    Row Level Bind Values for the view accessors have been made true.
    Refreshing the VO iterator,view criteria used in the query panel and the query panel after creation and deletion of a note.
    Any suggestions to resolve the issue would be of a great help.
    Thanks,
    Projjal

    Do you see the same behaviour in the AM Tester , if yes then just setting the right ppr's of the delete button on the LOV should help.
    Else try to re-execute the ViewAccessor programmatically.

  • Focus on next navigatble item in ADF Table after refresh

    Hi,
    How to set the focus in the ADF table to next navigable item after Table Refresh.
    I have valueChangeListner set to one of the columns in the table. Once the Value is changed in the Column we perform calculations based on the value and update the RowIterator.
    To get the updated values I refresh the Table. It shows the updated values correctly.
    After refresh the contorl/focus moves to the Table header.
    Instead We would like to have the focus on the next navigable Item in the Table.
    Or is there a way to change the values in the Table without refreshing by Partial trigger on the Table.
    Thanks,
    Satya

    Hi Arun,
    I did that but it doesn't seems to be working as it need to refresh its own column.
    eg:
    Row COL1 COL2
    R1: Rxxxx Val1
    R2: Lxxxx Val2
    R3: Exxxx Val3
    R4: Fxxxx Val4
    When I modify Val1 Val4 need to be calculated using val1-val3/val2
    I'm doing this in ValueChangeListener. and setting attribute values by finding the correct row using RowsetIterator.
    When I refresh the Table Iterator in Row R4 Val4 is showing the correct values.
    But If I refresh the COL2 it doesn't change the value in row R4
    I have tried by setting IterartorBinding Refresh to always / ifneeded. Tried both declarative and Dynamically. There is no effect.
    Thanks,
    Satya

  • ADF Table: LOV Iterator Issue

    I have an editable ADF Table, with a column that contains an LOV (Select One Choice). This LOV gets it's data from another View Object. We have an LOV Maintenance screen that populates the LOV's View Object with data.
    My problem is when you insert new data into the LOV's View Object, then go to the Editable ADF Table which contains the LOV Column, the new LOV Data does not show up in the Select One Choice. However, if I open up a new browser window and open the application, I see the new LOV data. Also the new LOV Data shows in the database. This is telling me the LOV's iterator is not updating properly.
    However, since i have an ADF Table, the LOV along with all other columns are bunched into a Tree Binding and respectively the ADF Table's Iterator (In the page bindings). Thus I don't know how i can directly access the LOV's iterator and refresh it.
    How do I refresh the LOV iterator?
    Currently we're on ADF 11.1.1.3.

    Another Edit:
    Okay I got this workaround functioning properly... It was a combination of settings that need to occur. I'm not crazy about it because it seems inefficient -  but it works.
    1.) I exposed the View Row Imp Class of my ADF Edit Table View Object (and Included Accessors). Included Accessors so I had programatic access to my LOV's View Accessors. I had two Accesors so i could have a switching LOV on my LOV Attribute.
    2.) Then in the RowImpl class, I went to the LOV Accessor getter methods, i did this below, so we refresh the View Accessor.
         * Gets the view accessor <code>RowSet</code> ActiveSmsModules.
        public RowSet getActiveSmsModules() {
          RowSet rs = (RowSet)getAttributeInternal(ACTIVESMSMODULES);
          rs.executeQuery();
          return rs;
            //return (RowSet)getAttributeInternal(ACTIVESMSMODULES);
         * Gets the view accessor <code>RowSet</code> AllSmsModules.
        public RowSet getAllSmsModules() {
          RowSet rs = (RowSet)getAttributeInternal(ALLSMSMODULES);
          rs.executeQuery();
          return rs;
            //return (RowSet)getAttributeInternal(ALLSMSMODULES);
    3.): After that, I had to go to my ADF Edit Table's Iterator (In the bindings), set Refresh to Always. I'm not sure why but it didnt work without this setting.
    4.) Then in my ADF Page Backing Bean, which holds the ADF Editable Table, i had to run this code once when the ADF Table gets rendered. Basically, re-execute the ADF Edit Table's iterator query. Then refresh the LOV UI Component. The LOV object was bound with a getter and setter in my backing bean.
            BindingContainer bindings = getBindings();
            DCIteratorBinding iterator = (DCIteratorBinding)bindings.get("UnvPracSmtView1Iterator");
            iterator.executeQuery();
            AdfFacesContext.getCurrentInstance().addPartialTarget(getSmtSmsCode());
    It would be easier to be able to simply access the LOV's iterator through the ADF Table's Tree Bindings, but there doesn't seem to be a straight forward way to do this. If anyone has any other solution to this, please let me know!

  • Row Selection for second and subsequent level nodes in tree table

    Hi All,
    We have a .jsff page with tree bindings to display a three-level hierarchy tree table.Suppose the hierarchy is
    -> Department
    ->-> Employees
    ->->-> Employee details.
    I have a use case where-in when we add the employee node within a department,the department node must expand and the newly added employee node must be selected.
    In both the cases(for new department or employee), we are following the approach mentioned below:
    1. Get the treeTable Iterator.
    2.Adding the new object to the java ArrayList which is bound to the corresponding level in the tree.
    3.Refreshing the treeTable iterator.
    4.Execute treeTable.setSelectedRowKeys()
    5.Add a partial target to the treetable.
    The issue is that the new employee gets added but the upper-level department node collapses and no selection is performed on the new employee node.
    But when we add a new department node, it gets selected on creation.
    Is there any additional steps to be performed for second-level row selection?

    Hi,
    Thanks for the reply.
    I looked at the code given in sample 61.
    In the sample, a new node is not added dynamically (for ex.either new location or its child nodes.)
    As mentioned in the above post, after adding a new node at a level in our use case, when we perform the refresh of the tree-table's iterator,the selection state of the rows is not shown on the table.
    If the tree-table's iterator is not refreshed and the treeTable.setSelectedRowKeys() is executed, the rows get selected but the subsequent node additions do not show up in the table as the table's iterator is not refreshed.
    Any sample code is available where in both the addition of new node and its selection is performed at the same time?
    Thanks.

  • Problem in using JDBC Execute commands(Update & Delete Only) with af:Table

    HI Everyone,
    I have one issue with Updating and Deleting Row Data using JDBC Execute commands.
    Suppose In My Application i have two pages, in Page 1 I have Two Command Buttons(Delete and Save) and One Input TextBox to write the String to be stored in the Database. and Page 2 where the result Table is shown and table is binded with a ViewObject, Now When User Types some String in InTB and click Save then By Programmatically I'm searching, that string is already present in database or not, if it is already exist then Save button converts in Update button and instead of inserting it allows user to Update the String already exist in database.
    Everything is working fine but the problem comes when i put those all buttons on the same page where result table is present.After putting all things on the same page and When i click save button to insert new String it is Successfully inserting but when any of other action is performed like updating or Deleting the existing one.. then my application just hanged and then nothing I able to do.
    Please Help me to understand this problem and give me the solution for this..
    Thanks
    Fizzz...

    Hi frank,
    Thanks to reply me...
    I'm refreshing table's iterator on each command button's action to reflect the changed result... and i'm sorry i mentioned two pages in my project.. actually these are two forms in the same page..which conditionally changed its renderer properties.. its working fine when only one form is renderred and the otherside when both are rendered then it is not working.
    Hope this change will help you to understand the problem.. if something else you are looking for then please tell me..
    Thanks
    Fizzz...

  • Commit not working with actionBinding

    I am having a bit of a problem, i am trying to change a value from an iterator (this part work fine) but can't commit this value for some reason but i get no error.
    I click on the button that will change the value of the selected row in the table.
    First sysout return the right value.
    second sysout return "N" which is good.
    third sysout return "Y" which is what i want to do.
    I do have a commit action in my page definition.
    I tried addind a button that will commit but no success here.
    Any help ?
    public String disableSelectedProject(){
    RowKeySet selectedRowKeys = table1.getSelectionState();
    //Store original rowKey
    Object oldRowKey = table1.getRowKey();
    if (selectedRowKeys != null)
    Iterator iter = selectedRowKeys.getKeySet().iterator();
    if (iter != null && iter.hasNext())
    Object rowKey = iter.next();
    System.out.println(rowKey.toString());
    //set the current row in the ADF binding to the same row
    DCIteratorBinding dcib = (DCIteratorBinding)bindings.get("ProjectList1Iterator");
    dcib.setCurrentRowWithKeyValue(rowKey.toString());
    Row rowData = dcib.getCurrentRow();
    System.out.println( rowData.getAttribute(ProjectListRowImpl.ISDELETED));
    //set the field flag to Deleted
    rowData.setAttribute(ProjectListRowImpl.ISDELETED, "Y");
    System.out.println( rowData.getAttribute(ProjectListRowImpl.ISDELETED));
    //commit the transaction - for iterators Not working for this case.
    JUCtrlActionBinding actionBinding = (JUCtrlActionBinding)bindings.get("Commit");
    actionBinding.execute();
    //refresh list
    DCIteratorBinding iterator = (DCIteratorBinding)bindings.get("ProjectList1Iterator");
    iterator.executeQuery();
    //Restore the original rowKey
    table1.setRowKey(oldRowKey);
    return "";
    Thank you

    hi Charles
    ... I am using Jdev 10.1.3.1.1 and use Application Dev framework documentation. But i did not start at the beggining of the project so i was able to looked at the code already there. ...You might want to review documentation sections:
    - "8 Implementing Business Services with Application Modules "
    at http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/bcservices.htm
    - "24 Testing and Debugging Web Applications "
    at http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/web_testdebug.htm
    You also might want to try to add more System.out.println() statements to see which statements get executed and which don't, and combine that with some try-catch statements (maybe for the whole method) like this
      try
        ; // some statements
      catch(Throwable th)
        th.printStackTrace();
        throw new RuntimeException("statements failed, th = " + th, th);
      }success
    Jan

Maybe you are looking for

  • PI 7.3 UDS in Dual Stack

    Hi, User Define Search "Test Search Criteria" failing. I have configured the userdefined search in JAVA stack for that created the filters and search criteria as well. Here when i want to "Test Search Criteria" with message ID. It is not returing any

  • Create tab delimited file

    Hi, I must create a tab delimited output complex text file from a read on a database table. The file has multiple record lines in it. I have created the XSD from the sample output file and have each field terminated by a './T' . I must pass a tab for

  • Please help with this error: "Your request could not be completed because of a disk error"

    So photoshop cs6 was working fine a few weeks ago. After not using it for about 2 weeks, I try opening a RAW file and I get this error every time. JPGs open and work fine. I have extensively searched on the internet for solutions and have tried every

  • FCS on Dual 2Ghz G5?

    I know Apple recommends a minimum of a G5 1.8, but I'm wondering if anyone can give me an idea of how FCS might run on a Dual 2 ghz G5? Thanks in advance, Larry

  • How can I make "Goto url" display back in box

    Hi guys~ I'm using 4.0 pre version. You know, in the pages, when mouse hovers on a link, the url of it appears on the bottom. But in some older version of nightly build, it displays in the address box instead. I quite like this feature, and how can I