Refresh only a region in a Page automatically every second

Dear All
I have a page in my application which would display the remaining seconds like 20,19 etc and when it reaches 0 the webpage should redirect to the calling page. I have set a counter for the same and is calling meta refresh tag in the page header every second for resetting the counter. Everything works fine.
My question is whether there is any other way instead of using the meta tag as this will refresh the full screen. I just need the region containing the counter only to be refreshed and displayed on the screen.
Thanks

Hi,
HTML regions do not support native region refresh like e.g. classic reports.
You need write own JavaScript to fetch data using AJAX.
Regards,
Jari

Similar Messages

  • Refreshing only certain Region in APEX.

    Hi Frenz,
    I have a requirement like this. I want to refresh only certain region in the Page and not the full page.
    Detailed Requirement: I have 2 region in Parent window.
    I am entering a value in parent window in the First region. so the child window gets Populated.
    I am entering some values in child window. so that those information has to get added into 2nd region of the Parent window. So i am refreshing the Parent window from the Child window. Now the information what i entered in the 1st region of the Parent window gets vanished. I want to retain that information also.
    Any Suggestions....

    Hi Rana,
    Thanks for your reply.The region which i dont want to refresh is not made up of ITEMS. It is a SQL QUERY REGION from Dual.
    More over i dont want to refresh the region Partially all the time.
    In the Pop up window if i pressed one button it has to refresh partially.
    If i press another buttom the Entire window has to get refreshed.
    Regards,
    Baaju

  • Page numbering every second page

    Hi guys,
    ok I have a 200 page booklet I'm doing, very simple - a notes page on the left hand side and then the contacts details on the right. But in the top right corner I need a page number that correlates with the contact. Problem is if I make page numbers it'll have them as 24, 26, 28 etc when that's not what I want.
    Is there a way to skip a page and just page number every second page?
    Thanks for any help,
    Dave

    It isn't entirely clear, but are we dealing with one person's contact info per page, or many? Sounds like 1.
    If it is, as I mentioned in your other thread, you could set this up as a Data Merge project. Create a two-page template spread, Add whatever you need for the notes page to the left page, and put all of your data fields on the right. You can include a number as one of the fields and palce it anywhere you want. This will only work with one record per page, though.
    If you'd rather number pages after the fact, it's probably scriptable to do something with starting a new section every second page and assign the numbers, or you could just add a master frame to the master page and place a number list, which is pretty simple.
    None of these techniques is truly automatic in the sense of updating if things are added or deleted, or if pages are rearranged. Any numbering outside the merge whould be done as the last step.

  • How to refresh only relevant region on apex

    I have a page on apex which includes 3 chart region.
    Only one region can take parameter from select list and after run button clicked,whole page is resubmitted.
    I need to refresh only relevant chart region not the whole page,because other two region does not need to be refreshed.

    Hi,
    You should read some article about "using AJAX in APEX". (search the forum)
    With AJAX you will be able to do what you want.
    Louis-Guillaume
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

  • How to execute my procedure automatically every second

    dear all
    i made a procedure that simply insert a record in a table . i need to execute this procedure automatiaclly every one second. how can i achive this. please help

    well , i'm going to tell you what exactly is the business.
    we have two distributed databases , 'local_db' and 'remote_db'.
    'local_db' is ours, i mean we desinged and created it . it contains our own views tables. but it contains no data at all.
    we get our data from the remote_db. this remote_db is located on the stock exchange. it is not ours, we did not create it, but we have the privilage to read form its tables.(only select ). in other words , the stock exchange is the our data vendor.
    tha changes that takes palce in the remote_db occures every second.And i urgently need to copy these changes on time to my database(local_db)

  • Caching regions on global page zero

    Hi all,
    I'm trying to understand some use-cases to why caching global page regions wouldn't be viable. The documentation on region caching doesn't help me here, nor does it mention its availability on global pages - not that I saw, anyway.
    It was covered [url https://forums.oracle.com/forums/thread.jspa?threadID=2214451]here in the forums 2 years ago, but two years is a long time.
    I've been trying to eke out the best performance in an application, and I'm trying to identify regions that could be cached under certain circumstances.
    I was a little surprised to find global page regions may not be cached, even bug 14744294 addressed in 4.2.1 for global pages that aren't "0"
    Consider a dynamic list in the sidebar acting as a menu, deployed on the global page. Would this be a fair candidate, except perhaps for a "current page" sub-template.
    I guess since many/most of these regions would have some sort of APP_PAGE_ID dependency, it's not worth caching?
    Anyone have anything of interest to add to this discussion?
    Cheers
    Scott

    Louis-Guillaume,
    Good question. We have asked ourselves this and are considering removing the restriction in 4.0. I think it initially had to do with preventing unwanted side effects and anomalies although none of us can recall the details right now. We will have to carefully look at ways to make this something developers can use easily while preventing strange results. First of all, caching of page 0 doesn't make sense. You want to be able to cache regions on page 0. Now, say your page 0 has two regions, P0_CACHED and P0_DYN (one cached, one dynamic). And your page 10 has region P10_CACHED. When page 10 is rendered, you'll get:
    P0_CACHED
    P0_DYN
    P10_CACHED
    That looks okay, you get one cached region from page 0, one dynamic region from page 0, and one cached region from page 10. Of course you have controls with which to purge any individual region from the cache so you can cause P0_CACHED to be refreshed whenever you like.
    But say page 20 is a cached page. When it renders you'll get:
    P0_CACHED <-- not from the page 0 region cache but from the page 20 page cache, regardless of the "stale-ness" of the page 0 cache
    P0_DYN <-- not rendered dynamically from page 0 but retrieved as part of the page 20 page cache. But this content may be different from the content for the same page 0 region displayed on page 10 one second ago or one second from now.
    P20_DYN <-- from the page cache as is normal for a dynamic region on a cached page
    Hardly a thorough treatment, I realize. Just wanted you to know some of the aspects we have to consider. We will also have to read this thread again to come back up to speed: V3 Caching - any more info? .
    Scott

  • BTF in a region of a page of UI Shell not refreshing

    Hi All,
    Jdev Version : 11.1.2.0.0
    We are using a Bounded Task Flow (BTF) in a ADF Region of a page, which is made using the dynamic template UI Shell with replace-in-place method(Only one tab refreshes all time with new content).
    We are refreshing/invoking the new content using:
    TabContext tabContext = TabContext.getCurrentInstance();
    try{
    // tabContext.setMainContent("/WEB-INF/flows/task-calendar.xml#task-calendar");
    tabContext.setMainContent("/WEB-INF/flows/task-list.xml#task-list", paramMap);
    AdfFacesContext.getCurrentInstance().addPartialTarget(tabContext.getContentArea());
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    In the BTF, We are on the first screen if we click on one command link , we are navigating to another region .If i click the side navigation bar that is in page template.I am able to naviagate that.But again i followed the same process and navigated to
    that region.Second time , If i am clicking the command link on the Page template, it is not allowing me to navigate in first page of default activity of the task flow.I can say that region is refreshing.
    We are using AdfFacesContext.getCurrentInstance().addPartialTarget(tabContext.getContentArea()); to refresh.
    Please let me know how can i resolve the issue

    duplicate: Global link in BTF with region

  • BTF in a region of a page of UI Shell(replace-in-place) not refreshing

    Hi All,
    Jdev Version : 11.1.2.0.0
    We are using a Bounded Task Flow (BTF) in a ADF Region of a page, which is made using the dynamic template UI Shell with replace-in-place method(Only one tab refreshes all time with new content).
    We are refreshing/invoking the new content using:
    TabContext tabContext = TabContext.getCurrentInstance();
    try
    tabContext.setMainContent("/WEB-INF/flows/task-fl.xml#task-fl");
    catch (TabContext.TabContentAreaDirtyException toe)
    // TODO: warn user TabContext api needed for this use case.
    AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion); // where dynamicRegion is binding in the backing bean for the ADF region which includes BTF.
    In the BTF, we have 4 view activities and once the regison displays with default activity and after navigating to 3rd view activity (navigation inside the region BTF), it displays the 3rd view activity content in region. However, If I click on a link (Left side navigation page) which refreshes the same taskflow (same as above), the ADF region is not displaying with default activity of this taskflow instead it displays the same 3rd activity of the taskflow, where the previous status.
    What I understand is that if we set a taskflow tf1 with Main Contnet(as above) and if we try to set the same tf1 to that Main Content, the tf1 is not refreshing (the default activity is not coming up).
    I tried the below solutions but not worked for me:
    a. I refreshed the ADF region after setting the Maincontent as below:
         AdfFacesContext.getCurrentInstance().addPartialTarget(dynamicRegion);
    b. I tried to invoke the region bounded task flow with different parameters (hoping the BTF refreshes and executes from default actitiy). However this also doesn' help.
         And I set the attribute 'refresh = ifneeded'.
    Can we set refresh=ifneeded for a taskflow Call activity also?
    Could you please help how we can refresh the ADF region BTF in this UI Shell(replace-in-place method)
    Thanks
    Madhu

    Thanks Frank for this info.
    Could you please give me other hints regarding taskflow (with default activity) is not refreshing from the region.
    One more thing I observed in my case is that:
    When the region is already with the given BTF(at 3rd view activity content) and when refreshed(tabContext.mainContent("btf....")) with the same BTF (*using page parameters changing*), then first the finalizer(of existed BTF instance) and next initializer(of the new BTF instance) methods of this BTF are invoking but the region is not refreshing with the default view activity content(instead it stays at 3rd view activity content only).
    Please suggest me anything I can debug after BTF initialize() and rendering the page.
    Thanks in Advance.

  • Apex 4.2 dynamic action to refresh a report region on a different page

    Hi,
    I open up a pop up window from a report region. When the user is done in the pop-up window and closes it, can I trigger a refresh on the report region using dynamic actions without actually reloading the whole page? I know I can use dynamic action on a page to refresh the report region on the same page.
    Thanks,
    Sinan

    Sinan,
    So long as the region to be refreshed is still loaded, you can do this. I don't know how you are loading your pop-up or unloading it but, the principle should be the same as what I provide below.
    Assume that you have set the static ID for your report to MY_REPORT. (Be sure you have checked "Allow Partial Page Refresh" in the Report Attributes).
    $('#confirmBox').find('div#userConfirmationMessage').html( '<span class="userInputRequest">Would you to Refresh your Report?</span>' );
    $('#confirmBox').dialog(
        autoOpen: true,
        modal: true,
        title: 'Refresh Conformation',
        buttons:
            'No': function ()
                $(this).dialog('close');
            'Yes': function ()
                $(this).dialog('close');
                 $('#MY_REPORT').trigger('apexrefresh');
    -Joe

  • How can I refresh only a section of a web Page

    Hi,
    I am generating a web page using pl/sql. This web page has
    multiple sections in it. Only first ten records of each
    sections are displayed and the user can click on <prev> <next>
    button to display the prev/next 10 records. e.g.,
    Section 1 - Previous Names
    Smith
    Owen
    McDonald
    <<Prev 10 Next 10>>
    Section 2 - Previous Addresses
    111 State St.
    121 Altamont Ave.
    48 Apt 1., Bleeker St.
    <<Prev 10 Next 10>>
    Section 3 and so on ...
    My dilemma is that if a user wants to display the next ten
    records of a Section (e.g. Previous Names), I only want that
    part of the page to refresh instead of the entire page to reload
    again (similar to an ASP using Remote Scripting).
    Can this be done in Oracle using PL/Sql?
    Thanks
    Vic

    Each Section is independent of the other i.e., the change in the
    contents of one section shouldn't affect the contents of another
    section. This works fine. I am able to change the contents of
    a section without affecting the contents of another section. I
    basically keep track of each sections starting position.
    Though this works fine and gets me what I want, it's not very
    efficient. Each time a section's contents change (by clicking
    prev/next) the whole page needs to be reloaded. I want only the
    section that was clicked on to reload.
    In Active Server Pages (asp), a person can use "remote
    scripting" to reload only a part of the page without reloading
    the entire page. I was wondering if this could be done using
    PL/Sql as well?
    I could certainly use frames but that's not an option. Frames
    are a big no no here.
    Vic

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • Will Anchors refresh a cgi page automatically?

    Hello all:
    I have a cgi form that is not passing data consistantly.
    I have an anchor link on the page to basically, "GO TO BOTTOM
    OF FORM".
    Could that link be causing the form to refresh thus losing
    all the cgi
    data the user has already put in?
    Can I control that with some kind of "NO REFRESH" command?
    Many thanks,
    Star2

    write the below code in PR:-
    pageContext.putMetaTag("REFRESH","<META HTTP-EQUIV=\"Refresh\" CONTENT=\"60\">");
    This will refresh the page automatically after every 60 seconds.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                   

  • Dynamically refresh to report regions

    I have a page with multiple regions. Two of the regions are report regions that I want to refresh dynamically. I am using 4.0. I created a dynamic action that fires based on an item's value changing. It contains two actions, a 'Refresh' action for each region. Only one region will refresh. If I put an 'Alert' action between the two 'Refresh' actions, then both regions will be refreshed. I have tried to do this multiple ways, such as using the $a_report() function from within my page level javascript. Results are the same. I can get one region to refresh, but not two. Any ideas or suggestions on why I can not refresh multiple regions?

    Thanks for your reply. I tried what you said and still no luck. I then created a new page with two simple regions, a select list, and a button to trigger the refresh. I wanted it be stripped of any other items or code and I used your javascript. It still only refreshes one region. I am requesting space on the Oracle site and will create my test there. Maybe there is a bug in the version we have installed. Our version is 4.0.0.00.46.

  • Problem in refreshing Tabular Form On closing Modal Page

    Hi ,
              I am not able to refresh tabular form region on close of the modal page.
              can someone help me ?
    Thanks and Regards,
    Madonna

    The fault may lie with the plugin itself. The close event is simply not being triggered. Auto-close and manual close work, but those are the only ones. The other events are not being triggered as the internal event names as defined in the plugin do not match the events triggered from the plugin javascript code.
    For example, the close action of colorbox (the js plugin used in the modal page plugin to style the iframe) is bound like this:
             onClosed: function() {
                $(document).trigger('apexmodalpageclosed');
    However, when you go to the plugin and edit it, and scroll down to the events section, you can see that for the close event the internal name "modalpageclose" has been filled out.
    This means the event will never work with the plugin out of the box. To fix this, simply edit the internal name of the event to "apexmodelpageclosed".
    The same issue exists for the open and complete events by the way, where the javascript fires an "apex..." event but the internal name does not match up.

  • Can I use apexrefresh to refresh a form region?

    Hi- I have a tree region and below that I have a form region.
    The tree has links that calls a javascript function when a node is clicked.
    I want this JS function to set the ID for the form and then refresh just the form portion so the tree stays in the open, partial open, or whatever state it is in.
    function set_program_id(pPROG_ID){
    alert(pPROG_ID);
    $s('P21_PROG_ID',pPROG_ID);
    apex.jQuery('#PROG_DETAIL').trigger('apexrefresh');
    I have PROG_DETAIL in the STATIC ID field of the region.
    It doesn't work... is it possible or is this only for IR regions?

    I doubt the refresh functionality supports forms and trees. I have been able to get only report regions refreshed that way. Someone from the development team can probably answer that conclusively.
    <li>You can think of invoking an Ondemand Process, return back JSON or XML for all the form item values and then set the form parsing that result set.
    <li>Another way would be to use the new jQuery dialog functionality in Apex 4 to show a nice dialog box over the tree. The content of the box can be from another page where you can put your form in. When you show display the dialog you can set the dependent items (I suppose P21_PROG_ID ) first.
    <li>If its just 2 or 3 items, you can even render them in a report as multiple rows and then refresh them.
    For example
    SELECT 'Prog Name' LABEL. APEX_ITEM.TEXT(1,progname) from .. where PROG_ID = :P21_PROG_ID
    UNION ALL
    SELECT 'Prog Description' LABEL. APEX_ITEM.TEXTAREA(1,description) from .. where PROG_ID = :P21_PROG_IDYou can try around with JS to display the content in the way you want it.
    Now your form can be refreshed using a Dynamic action.
    Personally I would choose using the jQuery Dialog Box as its more clean,is easily maintainable and looks nice.

Maybe you are looking for

  • Mobileme, iTunes and backing up...

    My brother who is dubious of the mac ecosystem but was impressed enough with his orginal iPhone to buy a 13 macbook pro the other day. And MobileMe in the process in large part for the iPhone backup options. He has been calling me confused about sett

  • Aperture = iPhoto + Bridge Photo Downloader + Photoshop?

    I am considering to use Aperture to streamline my workflow but I wonder about its file management capability. Let me explain the details: I love iPhoto to browse, find and preview photos. It provides the most intuitive, easy and fast way for that. Th

  • Error Duplicate Table

    Hi all, when I generate DLL...+ !http://lh3.ggpht.com/_V2lpPpulbm0/SmBVR3EDjFI/AAAAAAAACbI/QatJ7QDayqE/s512/odi170709.PNG! I have this error.+ !http://lh6.ggpht.com/_V2lpPpulbm0/SmBVR32GmhI/AAAAAAAACbM/L8MZ8t1Nu1w/odi2170709.PNG! Why say me this mess

  • Any more recent uniprocessor firmware update than 5.1.5f2?

    I've got a 1.6GHz Power Mac G5, from the original line. I've got the most up-to-date processor firmware that I know of. Is there one I can't find somewhere on the Apple site that's more recent and could fully correct the occasional kernel panic issue

  • Help! This is driving me crazy. CASE statement report syntax error (missing operator)

    Hi Can anyone help with this SQL statement please. It uses a CASE statement but I keep getting back a syntax error (missing operator) error message. The SQL statement works without the CASE statement, so everything else is fine - its just when I put