Table Results Appear to be Cached

Button is bound to method on POJO data control which populates a list.
Table is bound to ArrayList getter on POJO data control.
The first time the button is pressed, the table displays no data. The table should contain data.
The second time the button is pressed, the table displays the expected data.
Every time the button is pressed, the results delivered are those expected from the time before. It appears that the values displayed in the table have been cached from the time before.
I'd appreciate any suggestions on how to resolve this issue. Thoughts?
Here is a snippet from the page definition.
<pageDefinition ...
<executables>
<accessorIterator MasterBinding="MyDataControlIterator"
Binds="currentResults" RangeSize="400"
DataControl="MyDataControl"
BeanClass="org.com.app.model.MyBean"
id="currentResultsIterator" CacheResults="false"/>
</executables>
<bindings>
<methodAction id="retrieveSimple" RequiresUpdateModel="true"
Action="invokeMethod" MethodName="retrieveSimple"
IsViewObjectMethod="false"
DataControl="MyDataControl"
InstanceName="MyDataControl.dataProvider"/>
<tree IterBinding="currentResultsIterator" id="currentResults">
<nodeDefinition DefName="org.com.app.model.MyBean"
Name="currentResults0">
<AttrNames>
<Item Value="Id"/>
</AttrNames>
</nodeDefinition>
</tree>
</bindings>
</pageDefinition>
Note that the button will retrieve different results based on criteria on the page. My debugging suggests that the expected data is populated each and every time but for some reason is displaying old data.

Thanks for response.
Refresh="ifNeeded" made no difference - nor did Refresh="always"
I have previous code which does not have the results cache problem. The page definitions wrt iterators are the same.
I will start anew. I'll reply to this post if I hit the issue again. If so, hopefully, I'll have more information as to what triggers the behaviour.
Edited by: Nik2 on Nov 6, 2012 8:02 PM

Similar Messages

  • Is there a way to make Search Bar results appear in a new tab (as opposed to in the current tab)?

    I'm new to Firefox, but find it a vast improvement over IE. I just find it cumbersome to have to open a new tab before I use the Search Bar...I would much prefer an option akin to "Search results appear in new tab."
    Thanks for the help!

    Edit: I found it.
    This preference can be changed using about:config
    (1) Type or paste '''about:config''' in the address bar and press Enter (click the button promising to be careful, and please do be careful!)
    (2) In the filter box, type or paste '''search''' and pause until the preferences are filtered
    (3) Double-click '''browser.search.openintab''' to change it to true. You're done, you can close about:config now.
    --- --- Earlier Text --- ---
    Are you a keyboard person or a mouse person?
    Using the keyboard, after typing your query, hold the Alt key while pressing Enter to open the search results in a new tab. This also works in the address bar: when you type the name of a new site, hold Alt when pressing Enter to open that site in a new tab.
    Using the mouse, hold the Ctrl key while clicking the magnifying glass icon.
    Is there a way to ''always'' open search results in a new tab without having to use Alt or Ctrl? Hmmm, maybe, I haven't researched that.

  • Same results appear regardless of search query - Office 365

    Hi,
    I am currently experiencing an issue with search. Whenever I search, the same results appear regardless of the search term I used. they even appear in the same
    order.
    I could type, "policy", "test" or "sadfasdfasdfvdfb" and the same results would appear in the exact same order. 
    I've added custom refiners but have not changed the default search results webpart.
    Thanks,

    Do you have a custom search results page? It is possible to embed search term into the page so it will not use your input. Check results page web parts and their settings.

  • When, on my home page, I click on the link "popup transparent" in the query, "Did you mean: popup transparent", NO RESULTS appear in that new tab; how fix?

    I've been having trouble due, apparently, to a file named popuptransparent[dot]xul, of which I have 3 instances on my computer (running Win XP/Firefox latest v.). Using my AVG home-page window, I search for "popuptransparent" (to try to fix it) and the results appear OK. But then when I click, for a new tab, on the link "popup transparent" in the query, "Did you mean: popup transparent", NO RESULTS appear in that new tab. Further, when I then reload the AVG panel that searched for "popuptransparent" in the first place, it, too, now shows no results. Nor does a Google panel now show any results. They show the quantity of results but just white screens for the results themselves.
    The links https://support.mozilla.org/en-US/questions/948804?esab=a&as=aaq and https://support.mozilla.org/en-US/questions/952141?esab=a&as=aaq don't help me. I have re-installed Firefox v. 20.0.1 to no avail. How to fix it?
    Should I delete from my computer all 3 of those [dot]xul instances?

    Thanks to jscher! With some help from AVG my AVG & Google browser panels now work OK. But I've taken the advice & disabled several extensions including the Disconnect. The browsers are still OK after re-launching them so I keep fingers crossed.
    My original problem was that I had suddenly found a small popup window appearing, over the browser window, that I couldn't get rid of. It contained an advisory to the effect that Windows couldn't find the file popuptransparent[dot]xul. I tried searching for that to see what it was and in the course of doing that I seem to have executed it. Then was when the trouble started.
    I have 3 instances of that file in my computer and would dearly like to get rid of them if they are of no use to me. Any advice there?

  • After upgrading 3.6.7, in "google image search" all the results appears in one page, I just need to go back to the previous way of search : page after page.......??

    After upgrading 3.6.7, in "google image search" all the results appears in one page, I just need to go back to the previous way of search : page after page.......??
    where can I adjust this option ?? I tried in IE, the search way is normal as in past..
    == This happened ==
    Every time Firefox opened

    I believe this to be a browser issue, not a google search results issue, and here is why:
    having updated Firefox only yesterday, I visited google images searching for pancakes.... interestingly, I have the NEW image results (yuck) on Firefox 3.6.8, I have the OLD image results on IE8 and Opera 10.53.
    When I use the 'switch to basic version' in Firefox 3.6.8, indeed it DOES revert to the new format next time I image search (in Firefox).
    For those of us who prefer the OLD image results page, I guess we will just have to switch browsers for google image search.
    Now I'm off to research how to get rid of the UGLY FFox sidebar.

  • How to make Google custom search results appear on a new page?

    Anybody got any idea how to make the search results appear on a separate page? I'm using the Google custom search to get generated code to place on my pages, after providing some 'guidance' information on the look and feel of it. Normally, Google will provide you with a few options to choose from to determine how your results will look and by default one would choose the "two page" option whilst going thru the setup process. One page for the search box on your own page and one for the results page.
    However, if you don't want a 'google-generated' results page but want the layout that's in line with the look of your site AND have the search box already on there for any repeat searches it becomes more tricky. I tried doing it one way, which I found one a blog tutorial but so far no sucess. The 'search box' code that I inserted onto one of my pages to test didn't show up the search box at all in preview or the live page...
    Anybody got any generic code that can be adapted (that they know works) or know of any tutorial that explains how to achieve this? Preferably Google related, as I'm using its custom search.
    In addition, I believe that recently Google have deprecated the use of iframe in its search results pages so for anybody that was using an earlier version of this facility it may no longer work properly and hence the solution might have to be modified. Not an expert, so not sure how much this fact will affect the final code, just a thought.
    Any ideas/solutions will be greatly appreciated. Thanks.

    hello adrianm12, this should be possible through the metro settings ("search"). also see [https://bugzilla.mozilla.org/show_bug.cgi?id=941292 bug 941292]...

  • How to refresh a table results before getting new results ?

    Hello,
    I receive in a table results from a BI query that is first fed from a selection screen with different dropdowns.
    My problem is the following:
    - when a new selection is made, the table is updated with new results : OK
    - BUT when the result of the query is empty, the table keeps the last results
    How can I fix this problem?
    Any idea,
    Thanks a lot,
    Thomas

    OK, the model is really simple:
    - Form with several selection dropdowns
    - BI query
    - table with results
    Everything is OK but, if there are already results in the table AND the user starts a new search that provides no result (no applicable data), the table is not updated and shows the last results, which is a problem ...
    Thanks,
    Thomas

  • Spotlight results appearing in icon mode

    For some reason my spotlight results appear in icon mode instead of list mode. This happens only when I type in an existing finder window. If is bring up a spotlight search window with command-option-space, the results are in list mode.
    This started happening soon after 10.6 upgrade.
    It happens in other logins as well

    Welcome to our community, gillt40
    If there were a single issue that seems to have plagued
    Captivate, you have hit it. E-Mail reporting is so far from
    reliable it isn't funny. The unfortunate part is that there are no
    answers. There is no magick solution for it. No setting you can
    tweak or forgot to turn on. It's all hit or miss. And judging from
    the posts I see here day after day after day that report the same
    thing, it's mostly miss.
    The fact of the matter is that the only really reliable
    reporting you will find is if you use a Learning Management System
    (LMS) as that was how Captivate was designed to work best.
    Sorry, but all I can do is tell the truth. Then stand back.
    Cheers... Rick

  • Playback Control Table Keeps Appear

    I have sound. I use SB Li've 24 bit and the PLAYBACK CONTROL table keeps appearing (popping up). Any advice on making this pest stop is appreciated.

    I have sound. I use SB Li've 24 bit and the PLAYBACK CONTROL table keeps appearing (popping up). Any advice on making this pest stop is appreciated.

  • Entity-Named Query Caching - Need live results from DB not Cached

    I've developed an application EJB3 web application which uses Entity Beans and NamedQueries to retrieve my results.
    Aswell as my main EJB3 web application I also have an external interface (Oracle Stored Procedure) which is updating data in my database tables. The problem is that the when the NamedQueries are called they only bring back "Cached" resultsets and not the live results that exists in the database at that time. If my Stored Procedure updates a value (or if I update a value via Toad for testing) the NamedQuery does not bring back these changes. From what I have read about NamedQueries it seems that they do actually query the live db but send back the cached values for performance reasons.
    Is there a way to turn off caching of Query results?
    If not is there another way to deal with this issue?
    ps. I'm using Jdev 10.1.3.4 and appserver 10.1.3.1

    Anyone?

  • No table names appear (only Stored Procs) when connected to SQLServer w/dbo

    Greetings,
    I'm using Crystal Reports 11, connecting to a databse on SQL Server 2005.
    I am on Windows 7. I also have the problem on Windows Server 2003
    Starting from a blank database, I create my connection through ODBC, and when I expand my database, all I get is a list of stored procedures, no tables.
    I have isolated this to whether I have dbo authority on this particular database or not.
    i.e. I have a user with dbo authority, and they see nothing but stored procedure names, I take dbo authority away, and they see tables, views, stored procs, all as would be expected.
    I have several other SQL Server databases that do not share this issue. Users with dbo authority can see tables as expected.
    I have compared the settings on the databases, and nothing appears to be different (the database with the issue is considerably larger, but I can't see where that would be an issue)
    I will probably also open this issue with Microsoft, to see what they say from their end
    If anyone has seen this before, or would have any suggestions they would be greatly appreciated. Seems very strange that giving MORE authority would be affecting what the user can see.

    Don
    Below are the results from the SQLCON program you suggested. It is returning Table info... (truncated most of it, as I assume it's not all that pertinent)
    SQLConnect Successful
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'eas'.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
    ODBC Version is : 03
    SQL Driver Name is : SQLSRV32
    SQL Driver Version is : 06.01.7600
    SQL Driver Supported ODBC Version is : 03
    SQL DBMS Name is : Microsoft SQL Server
    SQL DBMS Version is : 09.00.4035
    SQLTables Successful
    [Row, Database, Owner, Name, Type]
    1  eas,  dbo,  ABC_ACCOUNT,  TABLE,
    2  eas,  dbo,  ABC_BUSINESS_UNIT,  TABLE,
    3  eas,  dbo,  ABC_COMPANY,  TABLE,
    Here is the listing from the TS server (also seeing the issue):
    SQLConnect Successful
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'eas'.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Changed language setting to us_english.
    ODBC Version is : 03
    SQL Driver Name is : SQLSRV32
    SQL Driver Version is : 03.86.3959
    SQL Driver Supported ODBC Version is : 03
    SQL DBMS Name is : Microsoft SQL Server
    SQL DBMS Version is : 09.00.4035
    SQLTables Successful
    [Row, Database, Owner, Name, Type]
    1  eas,  dbo,  ABC_ACCOUNT,  TABLE,
    2  eas,  dbo,  ABC_BUSINESS_UNIT,  TABLE,
    3  eas,  dbo,  ABC_COMPANY,  TABLE,
    I apologize for not answering your previous question, I think the SQL Driver Name will answer that? If not, let me know and I'll get you the information you're looking for. Thank you again for your time on this.

  • Store result set in to cache

    i want to store some result set(select clause) into cache and reuse into latter part.
    kindly help me out.(oracle 10g)
    Edited by: anutosh on Oct 12, 2009 6:11 AM

    i am inserting value into 2 tables
    'INSERT INTO ' ||
    in_fct_table ||
    ' NOLOGGING SELECT * FROM ' ||
    in_fct_table ||
    '_STG PARTITION(' ||
    f_pop_partition.partition_name ||
    ') LOG ERRORS INTO ' ||
    in_fct_table ||
    '_D(''' ||
    f_pop_partition.partition_name ||
    ''') REJECT LIMIT UNLIMITED';
    duplicates data stored in <_ d> (suffix) table and remaining data(without duplicate) want to store in in_fct_tables(variable name) based on some partition.
    data from in_fct_tables(variable name) table want to populate into some other table . so for that we need to capture the data from in_fct_table.

  • Loading Query results into a file/cache

    Hi,
    We have a Query which returns huge volume of data.
    spooling all the records will take a lot of time.
    Is there any other way through which we can load the results of this huge query into Oracle's Cache / File
    Tables used in the Query are Range hash composite partitioned tables.
    But, in the query only a single partition is being used.
    Suggest any method to acheive the same.
    Thanks,
    Kris.

    Alex Nuijten wrote:
    .... Blu, you're not suggesting that OP use the database what it's good for, are you?.... But then OP would loose database-independence...
    :)Ermm.... darn it, you're right, what was I thinking. ;)
    Anyway, should there really be a requirement to output the data to a file, then there's nothing wrong with using UTL_FILE...
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_fh UTL_FILE.FILE_TYPE;
      3  begin
      4    v_fh := UTL_FILE.FOPEN('TEST_DIR','output.txt','w',32767);
      5    DBMS_OUTPUT.PUT_LINE(TO_CHAR(SYSDATE,'HH24:MI:SS'));
      6    FOR i IN (SELECT * FROM large_tbl)
      7    LOOP
      8      UTL_FILE.PUT_LINE(v_fh,
      9                        TO_CHAR(i.large_id,'fm999999')||','||
    10                        i.large_area||','||
    11                        TO_CHAR(i.large_line,'fm999999')||','||
    12                        TO_CHAR(i.datelogged,'DD/MM/YYYY')||','||
    13                        TO_CHAR(i.large_flag,'fm9')||','||
    14                        '"'||i.large_text||'"');
    15    END LOOP;
    16    DBMS_OUTPUT.PUT_LINE(TO_CHAR(SYSDATE,'HH24:MI:SS'));
    17    UTL_FILE.FCLOSE(v_fh);
    18* end;
    SQL> /
    09:01:08
    09:05:20
    PL/SQL procedure successfully completed.
    Elapsed: 00:04:12.47
    SQL> select count(*) from largetbl;
      COUNT(*)
       6637873Over 6.5 million records in 4 minutes 12 seconds, and that's with data formatting.

  • Populate and display internal table results using search help exit...

    I have copied F4IF_SHLP_EXIT_EXAMPLE and made changes. I want this search help exit to populate and display contents related to 'FIELD1' when the user enters a specific value for it in the search help screen, meaning when the user restricts the search by that value.  For field2, field3, field4, field5, field6, field7, and field8 I am using a custom view.
    Following is the code:
    TYPES:  BEGIN OF t_search,
                   field2 TYPE field2,
                   field3 TYPE field3,
                   field4 TYPE field4,
                   field5 TYPE field5,
                   field6 TYPE field6,
                   field7 TYPE field7,
                   field8 TYPE field8,
                   field1 TYPE field1,
                END OF t_search.
      DATA: it_itab TYPE TABLE OF t_search,
            wa TYPE t_search,
         wa_selopt TYPE ddshselopt,
            wa_fielddescr TYPE dfies.
    ranges: r_field1 for std_table1-field1
    STEP SELECT    (Select values)
        FREE: r_field1.
    **Get the value entered for FIELD1 in search help
        LOOP AT shlp-selopt INTO wa_selopt.
          CASE wa_selopt-shlpfield.
            WHEN 'FIELD1'.
              r_field1-sign = wa_selopt-sign.
              r_field1-option = wa_selopt-option.
              r_field1-low = wa_selopt-low.
              r_field1-high = wa_selopt-high.
              APPEND r_field1.
              CLEAR: r_field1.
          ENDCASE.
        ENDLOOP.
    **Select 'ID' and 'FIELD1' from table into lt_itab
        SELECT id field1
              INTO TABLE lt_itab
                FROM std_table1
                  WHERE field1 IN r_field1.
        IF sy-subrc = 0.
    **Now, based on the particular IDs from lt_itab, I need to select other values
    from other tables which also have 'ID' as the key.
           SELECT std_table2~field2
                std_table2~field3
                std_table3~field4
                std_table3~field5
                std_table3~field6
                std_table4~field7
                std_table4~field8
                std_table1~field1
              INTO CORRESPONDING FIELDS OF TABLE it_itab
              FROM std_table2
                         INNER JOIN std_table3 ON
                                std_table3mandt = std_table2mandt AND
                                std_table3id = std_table2id
                         INNER JOIN std_table4 ON
                                std_table4mandt = std_table2mandt AND
                                std_table4id = std_table2id
                         INNER JOIN std_table1 ON
                                std_table1mandt = std_table2mandt AND                                           std_table1id = std_table2id
              WHERE
                    std_table1~field1 IN r_field1.
    'id' is common in all the std_tables --> std_table1, std_table2, std_table3, std_table4.
    STEP DISP     (Display values)
    **Then I need to gather all the results in my internal table it_itab and display
    in search help results for the value of FIELD1 entered by the user in the search help.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'FIELD1'
            fieldname   = 'FIELD1'                          
          TABLES
            shlp_tab    = shlp_tab                                   
            record_tab  = record_tab
            source_tab  = it_itab
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
    I am not getting all the data in my internal table and wanted to know if there is anyting wrong in my select statement.
    Any guidance will be appreciated and awarded appropriate points.
    Thanks.

    the webdynpro fieldname and the search help input parameter name were made same.

  • Table Formatting appears different in published vs. edit or preview

    Why would a table in RH v11.0 appear fine in the editor mode and preview mode, but appear centered in the published version?  I have tried selecting the entire text and clicking left adjustify and also use the <left indention to ensure it is left.  It looks great in preview mode, but it is not publishing this way.  Help??
    See samples:
    This is the way it should appear..
    This is the way it is currently appearing:

    Hi there,
    Thanks for helping me troubleshoot because I am at a loss.  I'm not sure how to find the information on the 2 questions you pose.  Please advise & thanks for your help.
    This is the version I have.  I just upgraded from version 9 to 11.

Maybe you are looking for

  • Error While opening Excel documents in browser

    Hi All,           I have few documents in my SharePoint 2010 and most of them are excel documents.When the users are opening the excel work book in browser i am facing the error as below.Can any one help me how can I over come from this issue Thanks,

  • Has anyone with a whinning MacBook got it replaced with a silent one?

    Has anyone with a whinning MacBook got it replaced with a silent one? or Has anyone got the CPU whine fixed at Apple?

  • QuickTime (Snow Leopard 10.6.1) Problem Playing Media

    Hi there, QT X doesn't want to play any media files. If I click on a file on the desktop then it says "QuickTime Player must be installed to run this application". However, if I open QT and then choose the same file it will play it! Also I see that I

  • Navigating between several pages

    I have 3 pages - let's say a.jsp to display categories, b.jsp to display products, and c.jsp to display a product a.jsp will have a list of categories which will be links. Each link will go to b.jsp, which will display the products associated with th

  • Default Order of trigger execution

    If a table has two or more triggers(of same type like both "before insert") defined on it then what is the default order of executing of the triggers. Thanks in advance.