Keep filter in adf richtable after refreshing

Hi,
i use jdeveloper 11g (11.1.1.0.1) with toplink (no ADF BC) and have the following Problem:
I have a table with enabled builtin filtering. If i filter the data and make a refresh the filter is gone. The refresh is achieved by a call to the Execute-Method of the according Iterator. I played around with the Refresh-option of the SearchRegion but nothing helps.
Any ideas?
Thanks in advance,
Friedrich

Hi,
Try and add an af:inputText component to the "filter" facet of the column. Then bind this field value property to a managed bean variable to store and hold the filter data. I think this should work
Frank

Similar Messages

  • 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

  • How to maintain selected row in adf table displayed after refresh

    Hi,
    I am using jdev 11g
    I my jsf page I have a table with multiple rows.
    When i scroll and click on one of the rows its selected but if the page is refreshed the row is always selected but not displayed.
    I need to be able to maintain the selected row after the refresh of the page, so my table will look like its already scrolled to the selected row..
    I tried to use the attribute displayRow="selected" but it won't do the trick.
    Any hints
    Emile

    Hi Branislav,
    Kindly answer the following if you may.
    Is there a way to refresh the table after the selectListner is fired.
    Automatically when i select the table i need to refresh it.
    Why after refresh the selected row changes skin.
    Regards

  • Excel Table with SharePoint Data Connection - Manual Text Entry Misaligned After Refresh

    Greetings!
    I have an Excel 2010 workbook that includes a table linked to my SharePoint 2013 site by a data connection. The SharePoint list feeds the table standard information that's managed on the SharePoint site, but I need the user of the Excel workbook to be able
    to enter text manually in the workbook to associate local information with the line-items coming from the SharePoint list. To do this, I've added extra columns to the end of the table.
    The user can enter information in the appropriate cells in the "extra" columns at the end of the table, but when I refresh the data connection, the addition of a new list item on the SharePoint side results in the user's manually entered text getting
    out of alignment with the row it's supposed to be associated with.
    Example
    Column 1(SP)
    Column 2(Extra)
    Row 1
    Item 1
    Row 2
    Item 2
    Text entered for Item 2
    Row 3
    Item 3
    Then, if I add a new item to the list in SharePoint, for example, something that would appear between the original items 1 & 2, after refreshing the table, I get the following:
    Column 1(SP)
    Column 2(Extra)
    Row 1
    Item 1
    Row 2
    New Item 1.5
    Text entered for Item 2
    Row 3
    Item 2
    Row 4
    Item 3
    The table's data connection is set to insert rows for new items, and I could swear I had this working properly once upon a time...but I can't seem to make it work now.
    Any thoughts on what would cause this?
    Thanks in advance!

    Hi Eric,
    >>but it seems that by extending the table itself to encompass both the SharePoint-sourced columns and the additional columns, that an association would be created between all columns for a given row in the table, no?<<
    From my understanding, the answer is no.
    Another example:
    I have an additional column named "Column2" and an external column named "ID" (see "before").
    After I add a new record and refresh this table, Excel will keep the last row in "column2" and add an empty cell in the second last row. (See "After")
    If I delete the eighth data and refresh this table, Excel will still keep the last row and remove the last second cell.
    In your case, if you insert a new record in the middle of the data and refresh this table, Excel will synchronized the external data and add a new cell in the additional column in the second last row.
    From my understanding, Excel will always change the second last row to suit for deleting or adding record.
    Hope this helps.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Keep sorting and sort arrows after datagrid dbprovider changed

    I followed this tutorial http://justinjmoses.wordpress.com/2008/06/26/flex-keeping-the-sort-on-a-datagrid-when-you- change-the-dataprovider/
    created listeners
    that keeps old sorting of datagrid after dataprovider changed, but displaying sort arrow on the wrong column(always the 1st column), how do I fix it?
                       //constructor
              public function FilterDatagrid()
                   super();
                   addEventListener(mx.events.CollectionEvent.COLLECTION_CHANGE, onDataGridDataChange, false, 0, true);
              private var currentSort:mx.collections.Sort;
              private function onDataGridDataChange(evt:CollectionEvent):void
                   //get the new data collection
                   var ac:ArrayCollection = this.dataProvider as ArrayCollection;
                   //attach the collection change event
                   ac.addEventListener(CollectionEvent.COLLECTION_CHANGE, onCollectionChanged,false,0,true);
                   //if a sort was in place before the data was changed, make sure you apply the sort to this new data
                   if (currentSort != null)
                        ac.sort = currentSort;
                        ac.refresh();
              private function onCollectionChanged(evt:CollectionEvent):void
                   if (evt.kind == CollectionEventKind.REFRESH)
                        var ac:ArrayCollection = evt.currentTarget as ArrayCollection;
                        currentSort = ac.sort;

    the datagrid uses XML as dataprovider and uses labelFunction and sortCompareFunction on each column, not sure if it matters

  • Extends ADFBindingFilter filter on ADF Faces

    Hello everybody,
    I'm using DynamicJDBCBindingFilter that extends ADFBindingFilter on JDeveloper 10.1.3. The problem is that when I'm redirecting from this filter to another page, after some validation, a message appears on OC4J Log:
    2007-01-16 15:26:25.875 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2007-01-16 15:26:25.921 NOTIFICATION ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    2007-01-16 15:26:26.203 WARNING There is no SkinFactory
    And also my page is not showing correctly (missing images, resources).
    My servlet filter is like this:
    public class DynamicJDBCBindingFilter extends ADFBindingFilter {
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
    throws IOException, ServletException {
    HttpSession session = ((HttpServletRequest)request).getSession(true);
    HttpServletRequest httpRequest = (HttpServletRequest)request;
    if (session.getAttribute("loggedin") == null) {
    if (!(httpRequest.getRequestURL().indexOf("Menu.jspx")>-1 &&
    httpRequest.getMethod().equalsIgnoreCase("POST"))) {
    request.getRequestDispatcher("/faces/Login.jspx").forward(request, response);
    What am I wrong? Pls help me.
    Regards,
    Juan Carlos

    jsf expression language uses # instead of $, replace ${userBean.list} with #{userBean.list}

  • Adf jdev10:  self refresh of EO

    how it is that EO cache is refreshed with new values from database after few reads?
    What's more, EO cache is refreshed every time I get it through an association.
    ?

    Hi,
    I am asking something I experienced.
    (I describe it here : ADF jdev10: self refresh of EO
    I was looking for an answer I Developer's Guide, but with no result.
    Bart

  • New rows become deleted from snapshot sites after refresh

    Hi buddy
    I am facing problem in snapshot at snapshot sites.
    I have oracle 8.0.5 4 database server machines.
    all servers machines have O.S windows 2000 advance server
    all servers machine have same oracle version ( 8.0.5 ).
    there is Site A ( Master site ) site B ( snapshot site ) Site C ( snapshot site).
    snapshot has been created at all snapshots sites ( B,C and at D)
    snapshot log against each table are also present at master site ( Site A )
    refresh group is present at snapshot site.
    these are working since feb-2002 successfully. now problem occur in these sites if some miner issues comes then it has been resolved successfully.
    Replication parameter in init.ora all all sites are as follows
    global_names = true
    job_queue_processes = 2
    job_queue_interval = 60
    job_queue_keep_connections = false
    distributed_lock_timeout = 60
    distributed_transactions = 16
    open_links = 4
    snapshot_refresh_interval = 60
    snapshot_refresh_keep_connections=false
    snapshot_refresh_processes = 2
    few days ago one problem occurs in master site A. it become crashed. we did its recovery from previous night backup ( cold backup).
    Now all branches are working. but my current problem is that we have 20 tables in replication.It is a snapshot replication old version of materialized view.
    when site B start refresh procedure then it show message procedure successfully completed.
    it show no error message.
    but when we check no of rows at snapshot site ( site b )
    all new rows which were inserted at snapshot ( site b ) after previous refresh has been deleted.
    mean all data which is inserted after previous refresh command has been finished. but data which is inserted at master site is present at snapshot site after refresh.
    this problem is present at all the snapshot sites ( site B, Site C and site D).
    database link is also present from master to snapshot site anf from snapshot to master. but problem is still suspended.
    i have checked at all snapshot site and master site there is no invalid procedure or package.
    there is no error message in alert file at all site.
    if any body has its solution kindly told me.
    thanks in advance
    Abdul Hameed
    [email protected]

    This is still going on when the page fails the call to getCurrentRow().refresh(Row.REFRESH_REMOVE_NEW_ROWS) goes out to lunch and stops processing for the rest of the function. I tried adding a try catch around it but nothing is caught and the function still fails.
    getSiteMealLogsV().getCurrentRow().refresh(Row.REFRESH_REMOVE_NEW_ROWS);
    ---Stops working here -----
    getSiteMealLogsV().clearCache();
    getDBTransaction().commit();
    Jim

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

  • Maintain the current row position of a table after refresh.

    Hi,
    I use a poll to refresh tables continuously. when a table is refreshed, the current referring row is reset.
    To maintain the current row position after a refresh I use the following poll method.
    public void refreshTableT1(PollEvent pollEvent) {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ValueBinding dcb = fctx.getApplication().createValueBinding("#{bindings}");
    DCBindingContainer bindings1 = (DCBindingContainer) dcb.getValue(fctx);
    DCIteratorBinding dciter = bindings1.findIteratorBinding("<VOIterator>");
    if(dciter!=null){
    if(dciter.getCurrentRow()!=null){   
    Key current_row_key = dciter.getCurrentRow().getKey();
    dciter.executeQuery();
    if(current_row_key!=null){
    try{
    dciter.setCurrentRowWithKey(current_row_key.toStringFormat(true));
    }catch(Exception ex) {
    System.out.println("Exception in current_row_key");
    }This works for normal tables well. But when I use it to master-detail tables (pair of tables) it does not.
    At the master-detail tables, before the first data fetch, it works well. if we go below the first data fetch, it sets the current row into another position.
    how can I overcome this...??
    Thanks,
    Dinuka.

    Hi Mr.Frank,
    I have an association in two VOs.
    for example: There are 2 tables called Emp and Dept. Every Department has Employees. so there is an association (both tables have a common column). Master table is the Dept table. when you click on one record of the Dept table Detail table will show the details of the employees belongs to that selected department. That's what I referred as master-detail tables. first one is master table; second one is detail table.
    When the web page loads all the table data is not fetched from the db (it will depend on the fetch size). when we scroll down the table data fetch happens again and again.
    think my data fetch size is 25 rows per time.
    Suppose we use mine poll method and think I have clicked on the 20 ^th^ row of table1(master table). then the table2 will display details belongs to selected department. that is OK even after refresh. that works well.
    when I go to 30 ^th^ row data fetch will happen (my fetch size = 25)
    when I click on the 30 ^th^ row of the table1(master table), table2 will display details belongs to selected department. but after the poll method is called the selected row at the table1 disappears and is set to another position. now the 30 ^th^ row is not in the 30 ^th^ position. but it is the selected row and table2 displays correct details.
    I think you have got the problem now. :D
    Thanks a lot.
    Dinuka.

  • Application not working after refreshing a page with F5

    Hi,
    Developed an application with jazn-data for security reason. In my application, i've taskflow with page fragments. In this fragment, i;ve LOv field with client listener to popup LOV using 'F8' key. After refreshing this page using 'F5' key or browser's refresh button, my application gets hanged. Even sign out button also not accessible. In browser's console i got "LaunchPopupUsingF8 is not defined" error. LaunchPopupUsingF8 is my javascript function for LOV popup.
    Kindly guide me whats wrong in this...
    Edited by: Usha on Sep 26, 2011 5:10 AM

    Hi,
    I would use JavaScript to disable the F5 button as it leaves the application in an undefined state after refreshing the content from the browser cache
    see page 36 onwards (search for F5) for an idea
    in http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    Frank

  • After iOS 8 update doesn't sign in my FaceTime and email account keeps saying incorrect password even after putting right password I tried reset option already still says the same incorrect Please Help

    After iOS 8 update doesn't sign in my FaceTime and icloud email account keeps saying incorrect password even after putting right password
    I have already tried reset option already still says the same incorrect Please Help

    Hi Go to settings Email Accounts Delete Email Account then Re add acount back again If you have more than one Email Account do this with each one. Cheers Brian

  • RFCs not working after Refresh, is this SecureStore issue?

    In our landscape we do frequent system refreshes (DB copy). we use to take out RFC table export and then import them back after refresh. every thing was fine till we upgraded to Netweaver 6.0. Now after refresh most of rfc donesn't work (one which have user ID/ Password in them).
    Here is my findings till now:
    When we goto SM59 and RFC maintenance screen it give below message:
    bold "User Password invalid for identifier /RFC/CCMS (see Long text)"
    ============================
    This is what long message is"
    Message no. SR128
    Diagnosis
    Changes to the global key or system data have invalidated the passwords in secure storage.
    Procedure
    Enter the user password again.
    Procedure for System Administration
    You can find detailed error messages for the specified ID in transaction SECSTORE.
    ======================================
    In secstore transaction I found this message for entry:
    "System-dependent data for entry /RFC/CCMS changed: TRS / WTH"
    Long text for this is:
    System-dependent data for entry /RFC/CCMS changed: TRS / WTH
    Message no. SECSTORE031
    Diagnosis
    When accessing the secure storage, the system detected that system-dependent data (installation number or system ID) had been changed.
    Entry data: TRS
    Current system data: WTH
    If you receive this message during a migration process, the "Current system data" field contains the old specified system data instead of the current system data.
    The content of both fields can also be empty, if the system cannot determine the data in the current context.
    System Response
    It is no longer possible to access entries that were created with the previous data.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    For more information, see SAP Note 816861.
    ========================================================
    When I check the note it talk about the system copy and migration key, release key. I don't think this is valid in our case.
    Now I tried to find out the tables where secstore stores its data:
    RSECACHK    Table for Controlling ABAP Programs
    RSECACTB     Table for ABAP Access Authorization for Secure Memory
    RSECTAB       Secure Memory: Memory for Encrypted Data
    At present we backup following tables:
    rfcattrib
    rfcdes
    rfcdoc
    rfcsysacl
    Please advise if anybody faces the same issue? does anybody have any solution any notes?
    Edited by: Madhusudan Bansal on Oct 22, 2008 9:46 AM
    Edited by: Juan Reyes on Oct 22, 2008 1:24 PM

    I checked all the notes and tables. every thing is correct.
    What I think wrong is when we do refresh at that time. SS (secure store) tables from source system come here! we just export and import RFCs but not SS.
    All I wanted to know is If we export and import SS tables will this resolve our issue?
    can you tell me have you ever did refresh for netweaver? did you face this issue?
    appreciate your help

  • Excel Table with Data Connection Manual Text Entry Misaligned After Refresh

    Greetings!
    I have an Excel 2010 workbook that includes a table linked to my SharePoint 2013 site by a data connection. The SharePoint list feeds the table standard information that's managed on the SharePoint site, but I need the user of the Excel workbook to be able
    to enter text manually in the workbook to associate local information with the line-items coming from the SharePoint list. To do this, I've added extra columns to the end of the table.
    The user can enter information in the appropriate cells in the "extra" columns at the end of the table, but when I refresh the data connection, the addition of a new list item on the SharePoint side results in the user's manually entered text getting
    out of alignment with the row it's supposed to be associated with.
    Example
    Column 1(SP)
    Column 2(Extra)
    Row 1
    Item 1
    Row 2
    Item 2
    Text entered for Item 2
    Row 3
    Item 3
    Then, if I add a new item to the list in SharePoint, for example, something that would appear between the original items 1 & 2, after refreshing the table, I get the following:
    Column 1(SP)
    Column 2(Extra)
    Row 1
    Item 1
    Row 2
    New Item 1.5
    Text entered for Item 2
    Row 3
    Item 2
    Row 4
    Item 3
    The table's data connection is set to insert rows for new items, and I could swear I had this working properly once upon a time...but I can't seem to make it work now.
    Any thoughts on what would cause this?
    Thanks in advance!

    Yes, it is. I realized after posting the first time, that I'd assigned the question to the Visio forum. I wasn't sure how to reassign to the correct (Excel) forum, so I re-posted over there:
    http://social.msdn.microsoft.com/Forums/en-US/b3bbe00c-94c0-48d4-bed9-fbd08d707b1d/excel-table-with-sharepoint-data-connection-manual-text-entry-misaligned-after-refresh?forum=exceldev

  • Problems with codepage after refreshing data from XML

    Hello,
    I've created a dashboard with XML connection.
    XML file with new data is created via macro in INPUT.xls Excel file. This INPUT.xls file was created through exporting spreadsheet from Xcelsius and then adding a macro to it, so text data should be this same codepade. Generated XML through macro have no errors and Flash file gets numeric data with no problems.
    But there is other problem with text's codepage. After reload there are some unidentified symbols in place of polish alphabet letters.
    What should I do to make it right? Is this a problem with codepage or something else?
    [Dashboard Before Refresh|http://lh4.ggpht.com/_Q8NK6X6PPLg/TGkLwo3sxZI/AAAAAAAAA_g/mkBiDdM4Gi4/s640/before_refresh.JPG]
    [Dashboard After Refresh|http://lh4.ggpht.com/_Q8NK6X6PPLg/TGkLwSx9fHI/AAAAAAAAA_c/3UeM2Gd3HvA/s640/after_refresh.JPG]
    If you have any idea hot to fix it, please let me know.
    Best regards,
    Bart Dlug

    Hello,
    I have header in my XML as follows:
    <?xml version="1.0" encoding="Windows-1250"?>
    Only then my XML file is displayed correctly in Internet Explorer preview. When I chagne it to UTF-8 I get some errors.
    [XML with windows-1250 codepage|http://lh3.ggpht.com/_Q8NK6X6PPLg/TGkUakDHjlI/AAAAAAAAA_o/lLlJFMcSaFQ/s800/codepage1250.JPG]
    [The same XML with UTF-8|http://lh5.ggpht.com/_Q8NK6X6PPLg/TGkUa8k4vyI/AAAAAAAAA_s/tdcZNqu7-i0/s800/codepage-UTF8.JPG]
    Error message means: Invalid character was found in text content. Error during processing resourcse file:///
    As I wrote before, my data is generated via macro in Excel, so I supose my data in this file has windows default codepage. Am I right?
    Do you think that I problem is XML file?
    Best regards,
    BD

Maybe you are looking for