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

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

  • 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

  • How to hide the LOGO region in Apex

    We are using apex for interactive reports which we want to to integrate with an exist web front end (wicket based). I want to hide the "LOGO" region as the Wicket Front End already takes care of the LOGO. How do I suppress/hide the LOGO region.

    You have to customize your page template to remove #NAVIGATION_BAR# Substitution String (from the Body region of the page template). I also removed the following from my page template to avoid showing the user and title:
    <hgroup>
        <a href="#HOME_LINK#" id="uLogo">#TITLE#</a>
        <div class="userBlock">
          <img src="#IMAGE_PREFIX#f_spacer.gif" class="navIcon user" alt="">
          <span>&APP_USER.</span>
        </div>
      </hgroup>So, I just have the following in the Body region of my page template:
    <header id="uHeader">
      #REGION_POSITION_07#
      #REGION_POSITION_04#
    </header>
    #REGION_POSITION_01#
    #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#
    <div id="uOneCol">
      #REGION_POSITION_02#
      #BOX_BODY#
      #REGION_POSITION_03#
    </div>This renders the page without the navigation bar and title/logo. I also made the breadcrumb region in the page as not to render (condition set to "Never").
    I suggest that you copy any existing page template and do the above changes. You can then use the newly created page template for your application pages.

  • How to refresh portlet??

    I have couple of questions. Please help me by giving the answers.
    1) How to refresh only portlet not whole page?
    2) If I can refresh only portlet, is there any property to set so that i can refresh periodicaly?
    3) What is Cache expire property in portlet general property what is the purposs of it?
    4) How to refresh a browser portlet periodicaly?(This question may be similar to question 1. But just want to check is there any special way to do it for browser portlet)
    Thanks,

    I guess this will answer your question regarding Portlet Caching.
    http://www.gexperts.com/articles/portlet-caching.asp
    I am working on the remaining questions.
    Ram.

  • Help with how to refresh one region of an APEX 4 page.

    I have tried the options I can find to refresh a single region (classic report) on an APEX 4 page. I want the refresh to happen automatically without any input from a user (no button press, no sorting on the report or anything). Just based on a 5 second interval. Can someone help me further. It seems that I need to either use javascript or jquery. I am not sure where to put this code.
    I have tried the following different methods. I put them in the Region Footer. Not sure if that is the proper place. Nothing happened when I did this.
    Using: Application Express 4.0.2.00.07
    <script type="text/javascript"> 
      <!-- 
        jQuery('#STATIC_ID_OF_REGION').trigger('apexrefresh');
      //-->
    </script>
    <script type="text/javascript"> 
      <!-- 
        setInterval( "$a_report('#REGION_ID#'.substring(1), 1, 7, 7);", 5000);
      //-->
    </script>
    <script type="text/javascript"> 
      <!-- 
        setInterval(function(){ $('#P4_LIST').trigger('apexrefresh'); }, 000);
      //-->
    </script>Thanks.
    Edited by: cjmartin on Oct 13, 2011 2:34 PM

    Hi cj,
    The following works for me. I just chucked the function in global function definition on the page definition.
    var doIt = function(){
    $('#comment_report').trigger('apexrefresh');
      setTimeout("doIt()", 5000);
    }And execute on page load:
    doIt();Edited by: trent on Oct 14, 2011 9:11 AM
    By the way, what is the function $a_report? I can't see any documentation for it: http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#CDEEIGFH Is it a supported function?
    Also in your above examples, you set the interval once, but it wouldnt recurr as you're only calling setTimeout once. http://www.w3schools.com/js/js_timing.asp

  • Dynamic Refresh Region with APEX 4.0

    Greetings!
    With APEX 4.2, when you want to refresh a region that depends on an page-item-value, there are different ways to submit that item with the dynamic action ("Page Item zu Submit"). But this is not imcorperated in APEX 4.0 yet. Is there a way to work around that? I have tought about an apex.submit({...}) call, but I am not sure, where to insert it, also that would be a.. well... submit, not ajex.
    Thanks for any help,
    so long,
    tobi

    Thanks for the hint, but its still not working. I have another item, that gets the value of the item passed to on key-up event. This works. But no refresh of the region.
    My setup looks like that now:
    Event: Key Release
    Selection Type: Item
    Item: ... an auto complete text field
    Condition: is not null
    True Actions:
    1) Action: Execute PL/SQL Code
    &emsp;Fire on Page Load, Stop exec on error
    &emsp;PL/SQP Code: null;
    &emsp;Page Items to Submit: ... that same autocomplete field
    2) Action: Refresh
    &emsp;Fires on Page Load
    &emsp;Selection Type: Region
    &emsp;Region: ... the report region with the where clause comparing the text field.
    The identical action I created for the Get Focus Event, because that happens, when the user clicks on the dropdown list to select an item, then the text field gets focused again. Thats when I want the report to update.
    Only when I hit the enter key (what I actually dont want to happen, and thats another issue) the page gets submitted. Then the report is displayed with the new selection. But I dont want the user to wait for the page reload process.

  • 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 to delete buttons in region buttons in oracle apex?

    how to delete buttons in region buttons in oracle apex?
    i have created unwanted buttons...so i have to delete...
    but i dont know how to do this?

    Hi,
    -> In apex page go to buttons region where list of buttons are located.
    -> Select the button which you have to delete.
    -> Click on "Delete" button on top of page.
    -> It will ask for confirmation click "Ok" to delete that button
    OR
    -> In apex page go to buttons region where list of buttons are located.
    -> Click on "Edit all" icon and go to "Delete multiple buttons" tab.
    -> Check the buttons which yo want to delete.
    -> Click on "Remove Botton" button to delete selected button
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How to auto refresh a tree region

    Is possible to automaticaly refresh a tree region?

    Anyone can help me with this?
    Edited by: macwadu on 4/Ago/2011 3:10

  • How can i change my region while i still have only $0.63

    how can i change my region while i still have $0.63 pls advise.

    If you can't spend it then you can try contacting iTunes Support and ask if they can remove the balance so that you can change country : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How to Refresh a Page once saved to database in ADF.

    Hi,
    I created a JSF page using project template as "JSF,ADF,business components".
    There is a List of values displayed in a dropdown list,
    User can create new value and once it is saved to the database it should reflect in the list of values.But it is not displaying in the LOV and it is happening only when i close that page and open a new one.
    Can u please tell me how to refresh a page without closing the current page once save button is clicked.
    Thank you,
    Harika.

    Mini wrote:
    Hi Hari,
    Yes i have a apex page redirects from the ebs menu like you said. But for the refresh issue instead of modifying in the jsp i thought of bringing the automatic refresh for that apex page once it is loaded within apex.
    However these type of issues are sometimes get fixed by clearing browser cache or just by restarting your browser. Have you tried it?Yes i have tried, by clearing the browser cache and also by restarting the browser then too it still persist.
    Any DA action will be helpful for refreshing that page for 1sec once it is loaded. Since i dont want it to be loaded multiple times often once it is loaded.
    The refresh has to be only once if the page is loaded.
    or is it possible to Refresh the page based on the application page item through DA
    Thanks
    Brgds,
    MiniTechnically Yes, you can create a D.A. that will fire only once based on some apex page item or application item value. However this is NOT the correct solution.
    <li> When you see apex page (after clicking menu in EBS), do you see apex url in browser address bar? Can you post the URL here?
    <li> If you directly log-in to APEX (not via EBS), do you still face this issue?
    Regards,
    Hari

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

  • How-To "Refresh a table of data after inserting or deleting"

    I'd like to say a word on the how-to article "How to refresh a table of data after inserting or deleting a row using ADF".
    (http://www.oracle.com/technology/products/jdev/howtos/1013/updtable/index.html?_template=/ocom/technology/content/print)
    I spent a lot of time on it because I needed help in implementing simple CRUD functionality on a table, using JSF-ADF-TopLink technologies.
    While the the article does provide correct steps, it is in one important place not specific enough, so the reader may easily get stuck. In section "Refresh the data table", point 1: when you double click on the removeEntity() button, in Structure window, then you do not get the required dialog. You get CommandButton Properties dialog.
    You must click on the removeEntity() button in Editor's Design view. But even there you may get the CommandButton Properties dialog, not managed beans dialog.
    You may resolve that by going to JSF configuration file, faces-config.xml, and switch to Overview view. This will show you the managed beans that you have.
    Then, you may already have a backing bean for the page. You can use that and avoid creating a new managed bean.
    I could understand what the operations mean only after very careful reading of "Creating More Complex Pages", section "Overriding Declarative Methods" in JDeveloper Help (or in ADF Developer's Guide PDF document).
    In general: I believe that "ADF bindings" need more conceptual explanation, maybe in form of an article. Grammatical form "bindings" may create a false understanding that "bindings" are just references. But they are not -- ADF bindings are active objects that handle traffic between UI components and Data Controls. It seems that "bindings" even communicate among themselves. Maybe it would be more understandable to differentiate strictly between "binding objects" (or "binders"?), binding object definitions and binding object references.
    It would be very helpful to have a diagram showing grahically what specific binder objects are created in a small apllication (2-3 pages using 1-2 tables), with whom they communicate and what type of data is passed on.
    Priit

    Hi
    Thanks for your infos.
    Yes exactly I use almost the same code you have post here.
    Could You answer to my next questions?
    First - >what do you mean by saying that "it's not good idea using refreshing in IE?" Of course I use refreshing in backing_bean for my button "remove" that removes row, commit changes to database and refresh table, almost the same as You said in your post:
    Code in backing_bean is and comments on difference to Your code is below:
    public commandButton2_action1(){
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("removeEntity");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    //above remove entity, but I dont now if it do commit to database? So i do it below
    OperationBinding commit1 = bindings.getOperationBinding("Commit");
    commit1.execute();
    //and at the end I refresh my table, "findAllRezerwacja1 - it is an id of the methodAction, not the iterator -> is it ok? or should I change to Iterator id?
    OperationBinding requery = bindings.getOperationBinding("findAllRezerwacja1");
    requery.execute();
    return null;
    Page Definition code for this:
    <methodAction id="findAllRezerwacja1"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="findAllRezerwacja"
    RequiresUpdateModel="true" Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_findAllRezerwacja_result"/>
    <table id="findAllRezerwacja2" IterBinding="findAllRezerwacja1Iter">
    <AttrNames>
    <Item Value="dataDo"/>
    <Item Value="dataOd"/>
    <Item Value="idRezerwacja"/>
    <Item Value="liczbaUczestnikow"/>
    <Item Value="prowadzacy"/>
    <Item Value="uwagi"/>
    </AttrNames>
    </table>
    <methodAction id="removeEntity" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="removeEntity"
    RequiresUpdateModel="true" Action="999">
    <NamedData NDName="entity"
    NDValue="${bindings.findAllRezerwacja2.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    <action id="Commit" IterBinding="findAllRezerwacja1Iter"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" RequiresUpdateModel="true"
    Action="2"/>
    </bindings>
    //and rest of code for Iterator etc
    My second question is, why when you use refresh button in IE (I know is not recommended as You said, but sometimes user do it, so I want prevent situations that I will describe here) so when I press refresh button in IE exactly after removing one row by clicking my button, refreshing by pressing IE button is doing the same --> is deleting next row. How to stop deleting row, when for example user would press IE refresh button after pressing remove button for table. If I change selection in table after deleting row, and press refresh button in IE, instead of deleting row, I got error message: JBO-29000: JBO-35007: and
    JBO-35007. So where Im doing wrong. Maybe I should do sth with postback ? Could You help me? Thanks in advance
    Last one question: what is the difference between using delete and removeEntity from operations node? Im now reading carefully ADF Dev Guide, so I hope I can find infos there? But if You know, please answer to this question.
    Thanks

  • How to Refresh a Single Graphic based on Time of Day

    On this Muse Developed Website, HOME | The Great American Car Wash, The traffic light is programmed to change to Red when the business is closed and to green when it opens. The code that I wrote incorporates this meta tag:
    <meta http-equiv="refresh" content="5"/>
    This refreshes the entire page every 5 seconds. The page blinking as it refreshes is undesirable. My best temporary fix is to change the refresh rate to 2 minutes. I have it tentatively set to 5 seconds for troubleshooting. It will be set to 30 seconds when it is time to publish the site.
    I used the "INSERT HTML" command in Muse to add the code. It works as intended, except for the annoying page blink to refresh the traffic light. The business owner could easily tolerate a traffic light blinking on refresh.
    Is there a way to just refresh only the graphic? Or is there a better way to automatically "update" the status of the light?
    Thanks.
    "Cincinnati"

    You can try the suggestions mentioned here :
    http://stackoverflow.com/questions/17886578/refresh-part-of-page-div
    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jquery-and-aj ax/
    Thanks,
    Sanjit

Maybe you are looking for