Table refresh is not working in case of data fetched from OUCM

Hi All,
I have created a Content Repository data control for a OUCM connection in an ADF application.
I have five methods inside that. (advancedSearch, getURI, getAttributes, getItems, search)
I have dragged and dropped the Return inside search method, as an ADF table in a jspx page. The table displays the list of documents in OUCM.
The table code looks as follows.
<af:table value="#{bindings.Return.collectionModel}" var="row"
rows="#{bindings.Return.rangeSize}"
emptyText="#{bindings.Return.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.Return.rangeSize}"
rowBandingInterval="0"
disableColumnReordering="true"
selectionListener="#{bindings.Return.collectionModel.makeCurrent}"
rowSelection="multiple" id="t2"
binding="#{MyDocumentBean.documentTable}"
filterModel="#{bindings.ReturnQuery1.queryDescriptor}"
queryListener="#{bindings.ReturnQuery1.processQuery}"
filterVisible="true" varStatus="vs"
immediate="true" partialTriggers="delete"
columnStretching="column:c2" width="948"
columnResizing="disabled"
contentDelivery="immediate" verticalGridVisible="false"
displayRow="selected" summary="document table">
I have a remove button with code as follows
<af:commandButton text="Remove" actionListener="#{MyDocumentBean.deleteDoc}" id="delete" partialSubmit="true">
     </af:commandButton>
In the MyDocumentBean's deleteDoc method , I am connecting to OUCM using RIDC and then deleting the content from OUCM.
I have set the partialTrigger on table on partialSubmit of the remove button. But after I remove a document, the content is deleted from OUCM, but the table that shows the list of documents is not refreshed.
I have to manually click a refresh button to refresh the table's content . The code for refresh button is
<af:commandButton actionListener="#{bindings.search.execute}" text="Refresh" disabled="#{!bindings.search.enabled}" id="refresh" >
     </af:commandButton>
I even tried using the below code for the search to be executed in the deleteDoc method
     BindingContext bindingContext = BindingContext.getCurrent();
     BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
     OperationBinding operationBinding = (OperationBinding) bindings.get("search");
     operationBinding.execute();
But it also didn't work.
I have even tried the following in the pageDefinition file. But in vain :(
<methodIterator Binds="search.result" DataControl="OUCMDataControl"
RangeSize="25"
BeanClass="OUCMDataControl.search_return"
id="searchIterator" Refresh="always"/>
Please let me know how to refresh the table.
Thanks in advance,
Harini.

Hi,
can you try to refresh table "deleteDoc" action listener method using the below code
AdfFacesContext.getCurrentInstance().addPartialTarget(tableBinding);if this doesn't work you can try to refresh the whole page (dont know whether its a good practice)
                        FacesContext context = FacesContext.getCurrentInstance();
                        String currentView = context.getViewRoot().getViewId();
                        ViewHandler vh = context.getApplication().getViewHandler();
                        UIViewRoot x = vh.createView(context, currentView);
                        context.setViewRoot(x);~Abhijit

Similar Messages

  • NGS Sponsors authentication does not work in case user has non-English character in his password

    Hi,
    we are using the NAC Guest Server v 2.0.1 and have Sponsors authentication done through Radius servers. Radius servers are Microsoft IAS using AD.
    Sponsors user authentication works okay in case user's password includes English characters, but does not work in case an user uses national characters like for example Umlauts in German.
    On Radius server I can see these error messages:
    User XXXX was denied access.
    Reason = Authentication was not successful because an unknown user name or incorrect password was used.
    As soon as an user changes his password and uses English characters only, it resolves.
    I guess this might be that NGS uses different coding while sending a password to Radius server, but not sure.
    Appreciate if anyone knows a root cause and what could be a workaround. Unfortunately our AD policy allows users to use national characters and we can hardly change it. So a change on NGS or Radius side would be more viable.
    Many thanks for your help.

    A case has been opened at Cisco and it is now quite clear that it is a problem with coding.
    According to Cisco development team NGS uses UTF-8 coding to send the password, of course encrypted, to the Radius server. This cannot be changed within NGS. We use Radius Microsoft IAS Version 5.2.3790.3959 running on VMWare Windows 2003 SP2. More tests are scheduled to be performed.

  • In dubai FT,siri are not working in case when we move other country could we activate those feature in that country

    in dubai FT,siri are not working in case when we move other country could we activate those feature in that country

    Facetime is disabled in hardware per request of Dubai government. It
    will not work if you move to another country. If you move and wish to utilize
    Facetime, sell your iPhone before moving and get a new one at your new
    location.
    Apple has not announced if/when Siri will work in Dubai.

  • Table range is not working!!

    Hello all,
    I am using the JHeadstart 10.1.3 production (build 91) and JDeveloper 10.1.3
    I have a main group and 2 detail groups (nested) and regions on the main group. I tried to limit the number of rows by the "table rangë", by selecting it and putting the number of rows and its not showing on the page. I am getting the entire rows.
    any comments about it
    thanks
    san

    San,
    Hmm, very strange. Is this the only page where table range is not working? Can you try creating a new project from scratch and see whether it works correctly there?
    Steven Davelaar,
    JHeadstart Team.

  • MDX -Children count function Not working in Case statement

    Hi,
    I am trying to create set when you slice with the Hierarchy member is leaf level , I want a output only that Leaf level .
    and When I slice with  the parent level , it has to give all the members below that parent level.
    But the problem here is when I select child member or leaf member , The first condition in the Case is not working
    WITH SET
    TESTSET AS
    CASE
    WHEN
     [Dimension].[Hierarchy].currentmember.children.count<0
    THEN
     [Dimension].[Hierarchy].currentmember
    ELSE
     DESCENDANTS([Dimension].[Hierarchy].Currentmember,,AFTER)
    END
    SELECT
    WBSSET ON 1,
    {} on 0
    FROM
     (SELECT {[Dimension].[Hierarchy].&[10]} ON COLUMNS FROM [CubeName])
    Thanks,
    Santosh

    Hi Santosh,
    I don't think Children count function not working in case statement, I have tested it on my local environment, here s the sample query for you reference.
    with member
    testset as
    case
    when
    [Geography].[Geography].currentmember.children.count<10
    then "X"
    else "OK"
    end
    select testset on 0,
    {[Geography].[Geography].[Country].members} on 1
    from
    [Adventure Works]
    In your scenario, the issue might be caused by the query isself, you can try to use IsLeaf Funcion to achieve your requirement. Please refer to the links below.
    http://msdn.microsoft.com/en-us/library/ms144932.aspx
    http://www.databasejournal.com/features/mssql/article.php/3633696/MDX-Operators-The-IsLeaf-Operator--Conditional-Logic-within--Calculations.htm
    http://www.mdxpert.com/Functions/MDXFunction.aspx?f=22
    Regards,
    Charlie Liao
    TechNet Community Support

  • DB Adaptor import table option does not work with the AS400 DB

    1. The DB Adaptor import table option does not work with the IBM i-series(AS/400) tables(Both in ESB and BPEL).
    2. Also I was not able to import tables from multiple databases into
    the same BPEL project.

    Both of these issues work in preview version. My earlier posting was based on beta version testing.

  • My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.

    My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.

    The problem would seem to be in the firewall in your router.  Have you tried disabling it? I assume you've updated the router firmware, right?  Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.

  • My iphone 4 is not working and I cant reset it from the computer either because it wont connect to it I need help!!!

    My iphone 4 is not working and I cant reset it from the computer either because it wont connect to it I need help!!!
    1. I tried connecting it to itunes for a system reset and it didnt work.
    2. The phone wont even turn on!!!

    If the phone wont turn on it sounds like it needs to be charged.  Plug it into a charger and wait about 15 minutes and try turning it on while still charging. Have you tried holding in your home button with the on/off button held in?  Hold them both together until the apple logo comes up and then release them.  The screen will blink off an on while it is resetting. I still think this is a battery issue. Good luck~

  • Request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about th eamount of folks affected!

    request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about the percentage of folks affected!
    and what's with the minimalist response? We're working on it for 2 days? You can do beter than that for exsisting loyal customers can't you?

    I just spoke to a Support person with Apple.  I got the same answer, "We Don't Know", "but they are working on it...Blah, Blah.  I too live in Ventura, and have been without email since yesterday approx. 3:00 pm.
    The guy said, it's the same if you brought your computer into the shop.  We have to determine if it's hardware, or software, then fix the problem.
    Well, What about a BACK UP SERVER?  No real answer to that one.  Just, "Thanks, for your Patience."
    This really blows!!!

  • TS1630 My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    You might like to define "not working properly".

  • ODI 11g 11.1.1.7 with Win64 bit OS : Starange problem : Right click does not work for Create new data server in Topology.

    ODI 11g 11.1.1.7 with Win64 bit OS : Strange problem : Right click does not work for Create new data server in Topology.
    On right click nothing happens at all. I have  reinstall the ODI multiple times with right installer. issue persist.
    Please help.

    Hi,
    Did you use the generic installer or the win32 one ? You should use the former with Win64.
    You can also check that your version of Java is supported in the certification matrix.
    Regards,
    JeromeFr

  • Scanner is not working. message says try starting scan from computer. what do i do?

    scanner is not working. message says try starting scan from computer. what do i do?

    Hi,
    Double post, please use the following post:
        http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/wants-me-to-start-scanning-from-comput...
    Thanks.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Data fetching from BSEG table

    Hi,
    I have used smartforms for generating suppler payment statement for financial department. more time duration is taken by the program when it is generating.
    I think this problem comes while data fetching from BSEG table. because, it has more records for one vendor ID.
    I want reduce this time duration.
    Please guide me.

    Have you tried this selection in se16? I'm quite sure that It will take
    a long time.
    The problem has been explained in this group before and I think you
    should search for bseg in the answers given.
    As a hint: It has to do with the selection universe. You are restricting
    only bukrs from the primary key (all the other restrictions in your
    where clause are filters that are applied on SAP's side (not on the
    database side)). The problem is that bseg isn't stored as separated
    fields in the RDBMS, but as a table with the primary key and a stream of
    bits in a raw field.
    You should review and change the logic you're using before reading bseg.
    It's the only way you'll improve the performance of this select. (for
    example, you could use one or more secondary index tables - bi or ba
    to retrieve belnr and access bseg with a better where clause).

  • Table Maintenance(SM30) not working for a custom View..

    Hi,
    I have the below case which is not working at the moment.
    we have standard table T024 and the requirement is to update the table directly in production. To update the standard table i have created a custom maintenance view on this table and created a table maintenance generator for custom view.
    In maintenace status tab of view i have maintened below information:
    Access                                                 read, change, delete and insert
    Delivery class                                       A
    Data Browser/Table View Maint.         Display/ Maintenance allowed
    The table maintenace generator has been also created but when trying to modify it is giving below message
    "Client 210 has status 'not modifiable"
    We have two clients in dev server 200 -for development
                                                            210 - for development testing
    In development it is working but in development testing client and in quality it is not working.
    Can you please help me as to why we are getting the above message?
    Best Regards,
    Rajesh

    Hi Rajesh,
    That is coming because of the Table Maintainance Generator Settings. You have to chose no, or user, recording routine then system will not generate any request and you can update the data. This is actually a BASIS settings in SCC4, so that for customizing tables system should not generate any request.
    Thanks & Regards,
    Faheem.

  • Displaying Array Position not working in case of descending Order?

    Hi,
    I need to display the array position of the sorted array in Descending order. Here is my code.
         int[] in = {5,3,2,7};
              int[] newArr = new int[in.length];
              int[] na = new int[in.length];
              //copying into a new array
              for(int i=0;i<in.length;i++){               
                   newArr[i] = in;     
              // code for descending order
              for(int j=0;j<in.length;j++){
              Arrays.sort(in);
              na[j] = in[in.length-(1+j)];
              }the sorted array will be will be {7,5,3,2} now according to this i need to display the array position of the sorted array which should be {3,0,1,2} i tried to compare newArr[i] with na[j] but am not gettin the result that i should be getting the same comparison is working in case of Ascending Order but not descending. Any suggestions or help will be appreciated.
    Thanks and regards.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi,
    what you are doing is correct only, do not put sort method inside the for loop
    and postion is correct also
    int[] in = {5,3,2,7};
            int[] newArr = new int[in.length];
            int[] na = new int[in.length];
            //copying into a new array
            for(int i=0;i<in.length;i++){
                newArr[i] = in;
    Arrays.sort(in);
    // code for descending order
    for(int j=0;j<in.length;j++){
    na[j] = in[(in.length-1)-j];
    System.out.println("Val --> "+na[j]);
    System.out.println("Position --> "+j);

Maybe you are looking for