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).

Similar Messages

  • 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

  • Don not excute valide query on MS explorer if i don't clear cache manualy

    I have a report taht execute a query on a table.
    I have notice that on some pc the query is not valid and the browser view old value.
    After a lot of test i have clear manualy the explorer'cache of Microsoft explorer. And then the query resul are valid.
    There i a solution ??
    Thank's

    See Re: ApEx Development Team: tab clear cache - new feature? .
    Scott

  • Excellent new features but..

    I really must commend the team on these brilliant new features, a real positive for my workflow.  However it's soul destroying to see that original thick lined GUI still eating up unnecessary screen real estate.  My image looks twice the size in C1 with no UI tweaks.  As i said in the pre-beta 1 release days it's software that looks like all the accessibility options have been turned on in the OS preferences.
    Sincerely
    The forgotten mobile user...

    I completely agree. Even though I'm using Lightroom on dual monitors (one 2560x1440, the other 1600x1200) I feel like there is a huge amount of screen real estate going to waste in the name of eye candy. I'm sure a pretty UI helps sell software but it's hugely frustrating for serious users. Occasionally I try using Lightroom on the road on my 13" laptop but generally give up quite quickly, not because the laptop is too slow but because I spend so much time fighting the space-wasting UI.
    Any savings that can be made to screen real estate would be much appreciated. No, hiding panels and full-screen mode is not (always) a good solution.

  • Tried everything, cannot get firefox to open new tab rather than new window. set options, cleared cache, rebooted. win 7 firefox v26

    Win 7 64bit desktop.
    Set tools --> options --> tabs OPEN new windows in new TAB instead checked.
    apply/save .. tried from there, tried exiting firefox. tried clearing cache.
    what else???

    Hello leelassow, '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • 10G NEW FEATURE-HOW TO FLUSH THE BUFFER CACHE

    제품 : ORACLE SERVER
    작성날짜 : 2004-05-25
    10G NEW FEATURE-HOW TO FLUSH THE BUFFER CACHE
    ===============================================
    PURPOSE
    이 자료는 Oracle 10g new feature 로 manual 하게
    buffer cache 를 flush 할 수 있는 기능에 대하여 알아보도록 한다.
    Explanation
    Oracle 10g 에서 new feature 로 소개된 내용으로 SGA 내 buffer cache 의
    모든 data 를 command 수행으로 clear 할 수 있다.
    이 작업을 위해서는 "alter system" privileges 가 있어야 한다.
    Buffer cache flush 를 위한 command 는 다음과 같다.
    주의) 이 작업은 database performance 에 영향을 줄 수 있으므로 주의하여 사용하여야 한다.
    SQL > alter system flush buffer_cache;
    Example
    x$bh 를 query 하여 buffer cache 내 존재하는 정보를 확인한다.
    x$bh view 는 buffer cache headers 정보를 확인할 수 있는 view 이다.
    우선 test 로 table 을 생성하고 insert 를 수행하고
    x$bh 에서 barfil column(Relative file number of block) 과 file# 를 조회한다.
    1) Test table 생성
    SQL> Create table Test_buffer (a number)
    2 tablespace USERS;
    Table created.
    2) Test table 에 insert
    SQL> begin
    2 for i in 1..1000
    3 loop
    4 insert into test_buffer values (i);
    5 end loop;
    6 commit;
    7 end;
    8 /
    PL/SQL procedure successfully completed.
    3) Object_id 확인
    SQL> select OBJECT_id from dba_objects
    2 where object_name='TEST_BUFFER';
    OBJECT_ID
    42817
    4) x$bh 에서 buffer cache 내에 올라와 있는 DBARFIL(file number of block) 를 조회한다.
    SQL> select ts#,file#,dbarfil,dbablk,class,state,mode_held,obj
    2 from x$bh where obj= 42817;
    TS# FILE# DBARFIL DBABLK CLASS STATE MODE_HELD J
    9 23 23 1297 8 1 0 7
    9 23 23 1298 9 1 0 7
    9 23 23 1299 4 1 0 7
    9 23 23 1300 1 1 0 7
    9 23 23 1301 1 1 0 7
    9 23 23 1302 1 1 0 7
    9 23 23 1303 1 1 0 7
    9 23 23 1304 1 1 0 7
    8 rows selected.
    5) 다음과 같이 buffer cache 를 flush 하고 위 query 를 재수행한다.
    SQL > alter system flush buffer_cache ;
    SQL> select ts#,file#,dbarfil,dbablk,class,state,mode_held,obj
    2 from x$bh where obj= 42817;
    6) x$bh 에서 state column 이 0 인지 확인한다.
    0 은 free buffer 를 의미한다. flush 이후에 state 가 0 인지 확인함으로써
    flushing 이 command 를 통해 manual 하게 수행되었음을 확인할 수 있다.
    Reference Documents
    <NOTE. 251326.1>

    I am also having the same issue. Can this be addressed or does BEA provide 'almost'
    working code for the bargin price of $80k/cpu?
    "Prashanth " <[email protected]> wrote:
    >
    Hi ALL,
    I am using wl:cache tag for caching purpose. My reqmnt is such that I
    have to
    flush the cache based on user activity.
    I have tried all the combinations, but could not achieve the desired
    result.
    Can somebody guide me on how can we flush the cache??
    TIA, Prashanth Bhat.

  • New "SQL Developer Team Announcements" sticky note

    In the new SQL Developer Team Announcements sticky note posted a couple of days ago:
    <li>Is "SQL Developer Team Announcements" the right title? It appears to be hard enough to get people to read these things anyway, and this suggests that it's either targetted at the SQL Developer Team, or contains information about them.
    <li>The SQL Developer Exchange link for Enhancement Requests links to the sticky note, not the Exchange Feature Requests page.
    <li>Suggest using "Forum Tips" or some other alternative instead of "Forum Etiquette": "etiquette" too obscure a term?
    <li>"When asking a question, provide all the details that someone would need to answer it.": Can these be spelled out? e.g. SQL Developer version, DB version, Java version, OS etc.

    Sue, thanks for the prompt attention.
    3 sounds good: News, Posting Guidelines, and a FAQ for the rest? (sorry, I'd lump "collateral" in with "etiquette" as clarity goes).
    A FAQ with Qs like:
    <li>How do I report bugs?
    <li>Where do I request enhancements?
    <li>Where can I find extensions?
    may be the best way to handle the "collateral" as it can retain the same (easily understood title) whilst being extendable to cover virtually anything.
    As an example, I think Mark Drake has handled this well on the {forum:id=34} forum.

  • 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.

  • APEX 4.0 New Features Application

    Hello
    Is the APEX 4.0 New Features application available for download ?
    The application itself is available at http://apex.oracle.com/pls/apex/f?p=34738
    Varad

    Hello Varad,
    It’s the first application on the packaged applications download page.
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html#40New
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • 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 & 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

  • Pogo games won't load - cleared cache, reloaded firefox, reloaded plugins, reloaded java, reloaded adobe flash - nothing is working - need NEW suggestions please.

    Pogo games won't load - cleared cache, uninstalled and reloaded firefox, reloaded plugins, uninstalled and reloaded java, uninstalled and reloaded adobe flash - nothing is working - need NEW suggestions please.

    Try doing these steps:
    Install Firefox 11 from [http://www.getfirefox.com www.getfirefox.com]. simply install it over your current version of Firefox to make sure all Windows Registry settings get recreated correctly.
    Run all Windows Updates. Service packs, etc. You may have to run this several times to ensure that you get all needed updates.
    Download and Install MalwareBytes Anti-Malware, run a full Scan. [http://www.malwarebytes.org/ http://www.malwarebytes.org/]. This helps check that there are no viruses on your computer causing issues. You can uninstall this program after you clean off any infections.
    Update your graphics driver (Firefox uses your graphics card for some rendering, and an out of date graphics card driver can cause problems. [https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-graphics-drivers].
    After doing all these steps, try restarting your computer, and seeing if Pogo will run.
    If it doesn't work, go into your control panel, and uninstall every installation of Java and Flash that you have. Restart your computer again, then install them from [http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_32bit.exe http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_32bit.exe] for Flash, and [http://javadl.sun.com/webapps/download/AutoDL?BundleId=62313 http://javadl.sun.com/webapps/download/AutoDL?BundleId=62313] for Java. again, restart your PC, then test.
    Try to start Firefox in [[Safe mode|Safe mode]]. This mode disables all extensions, user customizations, hardware acceleration, etc. temporarily for diagnostic and troubleshooting. If Firefox works find in Safe Mode, then this is likely an add-on issue. Restart Firefox in normal mode, then type "About:addons" (without the quotes) in the address bar. Disable your extensions one by one, restarting Firefox between each one, until you find the trouble maker. Once you do, you can disable that add-on and report the issue to that add-on's developer.
    If it does not help the issue, open up your Firefox Profile. [[Backing up your information|Backing up your information]] shows you where that is stored by default. Delete or rename the "pluginreg.dat" file (make sure Firefox is closed when you do this). Test again.

  • What are the New Features in Apex 3.1.2 as Comparitive with Apex 3.1

    hi all
    what are the new features in Apex 3.1.2 as compartively with Apex 3.1?
    Is it recommended to use 3.12 comparitivly 3.1?
    please drop ur valuable answers
    many thanks
    khaja
    Edited by: ATM on Dec 27, 2008 1:06 PM
    Edited by: ATM on Dec 27, 2008 1:11 PM
    Edited by: khaja on Jan 18, 2009 10:47 AM

    Hello,
    Versions 3.1.1 and 3.1.2 are actually patched version of APEX 3.1. As such, they don’t introduce new features, but mainly fix bugs from the main release. If you want to learn specific details about these versions, you should read the readme file attached to the patch set files (on metalink).
    It’s always best to work with the latest patched version, as it reduces your chances to encounter bugs. In general, so far the new APEX versions added many new features and technologies, while maintaining backward compatibility, so existing applications functionality is not impaired. Personally, I don’t see any reason not to upgrade and use the latest version, certainly when you are comparing 3.1 to 3.1.2.
    Regards,
    Arie.

  • APEX 3.0 New Feature Overview= I wonder if this will be compatible with XE

    Oracle Application Express / 3.0 New Feature Overview
    http://www.oracle.com/technology/products/database/application_express/html/3.0_new_features_overview.html
    I wonder if this will be available for XE, perhaps the new version of XE will be able to handle APEX 3.0 ???
    The improvements on CSS and drag & drop look really really impressive. I can't wait to try out.
    Best Regards Dino.

    You should note the licence restrictions for the Apex 3.0 download
    "Provided you have a current license to use Oracle database programs and are currently receiving technical support from our organization for such Oracle database programs, we grant you a nonexclusive, nontransferable limited license to use the programs solely for your internal business operations subject to the terms of this agreement and the license grants and restrictions set forth with your licensing of such Oracle database programs."
    Mostly Apex 3.0 on XE will be an Apex licence violation unless you also have a support contract.

  • Forms Developer 10g Release 2 - new features?

    Hi,
    Does anybody know if Forms Developer 10g Release 2 (10.1.2) is any different from Forms Developer 10g (9.0.4)?
    I wasn't able to find a document with new features.

    <p>I am sure the link was under your eyes ;o)
    <br>
    http://www.oracle.com/technology/products/forms/techlisting10gR2.html<br>
    Oracle Forms 10g Technical Overview</p>

Maybe you are looking for

  • Time Machine doesn't see the WD Hard drive attached to the Extreme Base Sta

    All of a sudden I can't get Time Machine to recognize the drive that's been attached to the Base Station. It doesn't show up in Browse other time machine disks or, when I go to choose a back up disk. What's going on?

  • Scale Circle on XY Graph

    I found a post from 2005, showing how to plot a circle on an xy-graph knowing the center and radius, http://forums.ni.com/ni/board/message?board.id=170&message.id=146782&query.id=2708998#M146782. My xy grid is rectangle and Altenback mentioned a solu

  • Firefox doesn't display xmlns attribute?

    e.g xml <root xmlns="www.myurl.com"> <child xmlns="">this is child</child> </root>

  • I am getting a PostScript error and need some help

    I am trying to download an Illustrator file from my online class and am getting this message: %%[ Warning: PostScript error. No PDF file produced. ]%%. Is there a simple solution, I have done everything that I know how to do. I have installed Illustr

  • D300 photos not coming up

    I just downloaded photos from my Nikon D300 yesterday. Today I looked for them and they are no longer listed in events or in library. They are Jpegs. I downloaded some new photo's today and they are only in recent download but not events. I went into