Clear Cache of a Page using Tabs

Hello,
my problem is, that i want to clear the cache of a page, when the user accesses this page by clicking a tab.
So my Page has six items, which are used to search people in a db.
Under the items is a submit button, which submits the values in the items and the same page is loaded with the search result.
But when i go on another page and click on the tab of the "search-page" the result is still there.
Because of the submit button i can not create a process which clears the cache when the page is loaded....
I hope you understand my problem,
Thank you,
Tim

This is not possible using the built in Apex tabs. Apex tabs are meant to quickly switch between pages with all your session state intact.
You can do what you want if you use a List instead of tabs. You have full control over List entries and you can clear cache for the list target page, set other items as needed (you can control the full f?p= URL)
Hope this helps.

Similar Messages

  • Clear Cache for Certain Items on Tab Click

    I found this in the forms:
    If you want to clear the cache of the page submitted when the tab is clicked, that should be the job of that page. You can create an after-submit process (before computations and validations) with:
    apex_application.clear_page_cache(:APP_PAGE_ID);
    However, I need to clear certain items not everything on the page. I tried substituting apex_application.clear_item_cache(:APP_ITEM); but that doesn't work. What is the process that clears the apex_application item cache?

    Is the page you're clicking away from executing a submit when you click away? If so, I would try either of these in a page branch.
    Assume you are on page 1 and clicking to page 2. On Page 2, let's say you want to keep the cache on items P2_A, P2_B but clear the cache for P2_C.
    In your page branch (defined on page 1) that fires to take you to page 2, try either of these:
    Clear cache on page: 2
    Set these items: P2_A, P2_B
    With these values: &P2_A., &P2_B.
    That should clear all of 2 but reset A and B back to their current values from the cache before it's cleared.
    Or, try this:
    Clear cache on page: (don't put anything here)
    Set these items: P2_C
    With these values: (don't put anything here)
    That should (I think) only clear P2_C

  • Caching the web pages using an application server...Please help

    Hi all.
    I have an application developed using Struts 1.1 which uses JBoss 4.0.2 as an application server.
    In this application user is required to enter a valid url and my application fetches the web page pointed by this url
    and render the same after doing some pre-processing.
    I want to implement caching of pages on server so that if a different user requests with the same url that was earlier issued, that time my application should render the web page that was cached earlier. (so that i can avoid connecting to that url, fetching the page and further pre-processing).
    One of the way i know is to use "application" object, which can be shared among multiple users.
    Are there any other efficient ways ? What about the performance if i use application object ?
    Please help as i am stuck with this.
    Thank you all..
    Prasad

    Using the application scope is one way to do it.
    I would recommend writing a CacheControl bean to handle this for you (or re-using an existing cache object)
    You can put that bean into the application scope. Just to keep things neat and tidy.
    How that bean then caches web pages is up to you
    - Store them in memory (I would recommend a LinkedHashMap in LRU mode)
    - Store them to disk - less memory intensive, a bit slower but can store more
    How are you going to determine if a page is "the same"?
    I think you should also consider the "no-cache" tags that a page may send with itself.
    Caching can drive web application drivers nuts, as the page actually DOES change on every request.
    Cheers,
    evnafets

  • Multiple pages in Tab to use as frames

    Hi. I created a page using tabs, with a different menu (navigation bar) into each tab.
    I want these navigations bar show different pages in the rigth frame, within the same tab.
    While frames are not supported I'll use links to another page (probably the same with parameters), and here come the question: how can I put more than one portlet into the same page-tab, and make only one displayed at the same time ?.
    This is the easiest way to solve this ?.
    Thanks in advance.
    Nelson
    null

    Nelson,
    The easiest way is to use an entirely different page. You could also write custom portlets (using the PDK) to accomplish this. You won't be able to get this behaviour using the built-in portlets (folders, etc.).
    Note that a new template feature in 3.0.8 (March release) will make it easier to achieve a common look across pages.
    Regards,
    Jerry
    null

  • Ibot - seeding cache for dashboard pages

    Hello everybody,
    I have a problem when I create an ibot for the shared dashboard pages to seed cache : the ibot runs in 1 sec. and finished as completed successfully but no cache file has been created ... I have seen nothing wrong/strange in the log file generated compared to a log file generated by an ibot which seeds cache correctly. This problem only appears when I select a page of the subdirectory "dashboard layout". In this subdirectory, it is the different pages of the shared dashboard, isn't it ?
    Could you tell me what I have missed ?
    If it is not clear don't hesitate to ask me.
    Thank you in advance for your help.

    I'm running into the same problem which I can't solve. I'm trying to cache a dashboard page using iBots for a group of users rather than a single user. I know that the page will cache if I just access the page so there are no caching properties that need to be adjusted. Here are the details of the iBot:
    Schedule: Immediate
    Receipts: APAC Users Group
    Delivery Content: Reginonal Sales Scorecard
    Destinations: Oracle BI Server Cache
    I know there is a bug if you don't select something in the User Destintation tab in iBot. I have downloaded the patch for this so I don't think that is the issue. If I just select a group only, I can see in job manager that it runs in 1 second and nothing appears in the cache. How is the functionality supposed to work if you only select a group when trying to seed a dashboard page?
    thanks,
    C.

  • Caching in Dynamic Pages

    Hi,
    I have created a dynamic page(HTML) and published it as a portlet. I have included a call to display an image(say xyz.jpg) in the code. I have also published this dynamic page as a portlet and use it in a portal page. When I view the page it shows the image. When I change the underlying image(xyz.jpg), the new image(please note that that the images are different but the path and file name are the same) is not showing up in the portal page. Instead, the old image file is displayed. I have given Don't cache for the portal page. I also tried clearing cache for the page group, portal page and the dynamic page and it still displays the old image and not the new one. Is there a way to clear cache dynamically?
    Thanks,
    Manikandan Vembu

    Hi,
    This is a known issue with the way Wordpress generates the URLs to included content:http://forums.adobe.com/message/4774943
    Wordpress generates absolute URLs to content rather than relative URLs, so the current workaround is to either use relative URLs or, if that's not possible, modify the wordpress configuration to use the IP address instead of localhost.
    Hope this helps,
    Mark

  • Apex not clearing cache

    Using Apex 4.1.1 on Oracle XE 11G (Linux)
    I have a form and a report in and when you click on create button it will clear the cache in page 6 so you can create a new entry.
    If click on the link on table which will set the value of P6_TID (type hidden) with a value, the typical Form & Report setup except I created it manually and was working fine for over a month since creation.
    Now when I click on the CREATE button its no longer clearing cache in page 6. Instead it retrieves the latest values I had earlier (P6_TID holding the latest value).
    However just earlier I was having another issue where I had to drop the parsing schema and got ORA-01940 - cannot drop a user that currently logged in, so I had to do a:
    SQL> shutdown immediate;and as soon as Oracle stopped I started it up and created my user, granted necessary permissions and imported the old DMP file.
    I've gone through this step many times but only now I am getting the ORA-01940 error. So have no idea if its anything to do with the issue of clearing cache I am having. Both issue coincided same time.
    Has anyone had any such problem where they are unable to clear cache for a page or session? I got absolutely know idea what I have to do get it back working.
    Cheers.

    Why would you shut down your database to kick a user. Just do
      select * from v$sessionYou can find your schema that you want to drop with a where clause on the user column.
    Now note the sid and the serial column and do
      alter system kill session '#SID#, #SERIAL#';Replace #SID# and #SERIAL# with the values of your session you want to kill.
    This will stop the ORA-01940 error.
    Now for the APEX matter. The APEX session is completely different from the Database session.
    If you submit values to the server then APEX keeps those values in session.
    If you clear the cache of a page it really means that you clear the values of that page in the session.
    Look in your session if those page items are cleared.
    If they are not cleared there then watch out for a unwanted rowfetch of page processes. If you clear the page cache on create you most not give away any variables to that page hee! (espacially not a primary key)
    Regards

  • How to clear cache in Browser.

    Hi ,
    Is there any way to clear cache in the browser using java code .
    Thanks
    Sudhir

    Of course not. A web application has no business touching the settings of a browser.

  • How to seed n clear cache of obiee

    Hi,
    Is it possible to seed n clear cache of obiee 10g using pl/sql code? wht are other method except ibot to seed cache?
    ETL is based on pl/sql..so how to manage cache after etl load?
    Thanks,

    OBIEE has NQCMD utility to handle the cache best. Use this utility to Purge & Seed the cache. You will have to copy the report sql which you want to seed into a text pad and use that as source to NQCMD utility to run query and populate the cache entry.
    Purging is very easy here...and same goes for seeding.
    Like SeedTableCache.txt which will have your SQL scripts. Once this is used via NQCMD which can be scheduled using Job Manager or any other job.
    nqcmd -d AnalyticsWeb -u Administrator -p Administrator -s c:\obiee\SeedTableCache.txt
    Refer
    http://obiee101.blogspot.com/2008/03/obiee-manage-cache-part-1.html
    Hope this helps

  • How to clear cache & page reset when tab clicked

    Hello,
    I'm using Apex 40 and two tab level template.
    I would like to clear cache and reset pagination when 2nd level tab clicked
    Is there anyway to do that?
    Thanks.

    hlthanh wrote:
    Hello,
    I'm using Apex 40 and two tab level template.
    I would like to clear cache and reset pagination when 2nd level tab clicked
    Is there anyway to do that? Can we stick to standard APEX terminology: do you mean Parent Tab (2nd level up) or Standard Tab (2nd level down)?
    Parent Tabs allow this to be done directly using the Clear Cache property and reset pagination for this page checkbox for the Tab Target.
    For Standard Tabs, create Before Header processes on the tab target page:
    <li>Session State > Clear Cache...
    <li>Reset Pagination

  • Trying to clear cache-press firefox button top left of page, don't show advanced tab. am lost here. tpykanu

    as told on clear cache page, press firefox button (top left) then press advanced tab. yet when press firefox button, advanced tab don't show up

    See also:
    *https://support.mozilla.com/kb/Options+window+-+Advanced+panel
    *Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily if the Menu Bar is hidden.
    *Use "Firefox > Options" instead of "Tools > Options" if the menu bar is hidden.

  • How to Clear Cache for all Items of the Current Page of a TAB

    Hi,
    I am having a TAB, when that tab is clicked..it goes to suppose Page 1, what I want to Clear the Cache of Page 1 ...as soon as Page appears...
    I don't see any option for that in the TAB Definition Properties....
    Thanks,
    Deepak

    I got the solution....
    refer by SCOTT...
    Re: ApEx Development Team: tab clear cache - new feature?
    thanks,
    Deepak

  • Clear cache of 2nd level tabs

    Hello,
    I have a question related to clearing the cache in a two level tab application structure. If you look at the examples application of Denes Kubicek, you see that he uses a two level tab structure. The horizontal bar below the header is level 1 and the left 'menu-bar' is level 2.
    I've also tried to implement this, because I think it's a real nice way to offer a good navigation structure. But I haven't found a good way to clear the cache of a page that is opened when someone clicks on a 2nd tab-level. Anyone an idea? Maybe Denes himself can help me out?
    Thanks!
    Jacob

    I think you are referring to standard tabs as second-level and parent tabs as first-level. I always think of them the other way round. Okay, what you need to do is create an application process that fires (by default, for every page view) conditional on the request being the tab name (T_ORDERS, for example). The process firing point must be On Submit - Before Computations and Validations. In this process you can determine the page being submitted with the standard tab using :APP_PAGE_ID and the name of the tab submitting the page, again, using :REQUEST. Then the process can call apex_util.clear_page_cache to do the cache-clearing you need.
    Scott

  • ApEx Development Team: tab clear cache - new feature?

    Hi ApEx Development Team!
    I searched the forum and found, that many have (had) the same problem like me:
    Why isn't it possible to clear the cache by clicking on a tab? Why is it only possible for parent tabs?
    Wouldn't it be a nice feature for the next version of ApEx? This feature exists already, only not for the standard tabs...
    Regards,
    Sofie

    taepodong wrote:
    Apologies to dig up old thread but I ran into this problem and thought I'd share my solution as well (for search engine)There is no point in doing this. There are thousands of threads in this forum that are unanswered, or contain solutions that are suboptimal or that have been superseded. They can't all be updated "for search engine"...
    1) Edit the tab property where you want your page's cached removed. In My case it I had a tab pointing to page 6 and I needed page 6's cache cleared when I clicked on it.
    2) Edit the condition for the tab deisplay --> Function returning boolean.
    3) In the function body put the following code:
    begin
    if :APP_PAGE_ID != 6 THEN
    apex_application.clear_page_cache(6);
    END IF;
    RETURN TRUE;
    end; The expression will always evaluate to true, and will clear cache from page 6 if clicked from any other page that is not page 6.
    However if you want to apply condition to the page as well. (say and admin page based on :APP_USER property) then wrap the return true in another If-statement as well.I subscribe to the old-school idea that state-changing side-effects in functions are evil. Using Condition code in this unexpected way will make an application much harder to debug and maintain. If I came across this in an application I was working on I'd refactor it.
    Scott posted the correct way to do this above (post of 26-Mar-2008 23:00&mdash;not marked as helpful/correct as this was before the forum had this feature): Clear cache using an On-Submit Application Process that is conditional on the <tt>:REQUEST</tt> value set by the relevant tab(s).

  • How to clear cache for items after submitting the page ?

    db11gxe , apex 4.0 , firefox 24 ,
    hi all ,
    i have a non enterable pop-up lov and a report in the same page , and i search with the pop-up item , but the problem is when i click the search button ,
    the value in the pop-up is not deleted , and sure i want it cleared after i search ? how to do so ?
    thanks

    Surely, when you click the search button, the value in your item is required by the report (as a parameter).
    Create a button (RESET) with a branch back to the same page and use the clear cache in the branch
    Gus

Maybe you are looking for

  • IDVD 6  slide show problems

    When making a slideshow with music the playback on a burned DVD slideshow stops at 99. The entire slideshow burns but won't play all 278 slides with the music uninterupted. Any help?

  • All music gone after update

    After updating yesterday I clicked on iTunes and all my music is gone. No playlist. This happened a few weeks ago while using the old version. I took the laptop into the Geeks and they were able to find my music on my backup drive. They said they cou

  • Error in uploading xml podcast listing

    Using ITunes to upload my xml feed to Itunes so we can get listed. I get this error: Error parsing feed Invalid XML Error on Line 65: The Element type "item" must be terminated by the matching end-tag "</item> Now I looked at my xml feed - it looks f

  • Shipping point , delivery creation date

    Hi :   I have a custom table with fields : belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz. Custom Transaction with fields : vbeln (field name belnr) , aufnr, delivery vb

  • Entourage and iSync with BlackBerry 8800

    I've been starting to use Entourage a ton and I've found it to be really useful. However, I use Missing Sync to connect to my Blackberry (8800). When I go to pref's in Entourage I click all the boxes to sync with .mac but I'm not sure it's done so be