How to refresh a portlet without refreshing whole page?

hi
I have 3 jsp portlets on a page. Now, I can write some javascript code in a jsp and refresh it after a predetermined interval of time.
If i do this with the jsp portlet the whole page will get refreshed which is not something i want to do. i want only that jsp portlet to get refreshed.
Is it possible?
This actually is like having yahoo mail and hotmail both of them on the page and working with both of them simultaneously. Is it possible using portlets.
Pl. help
null

Hi Little Foot,
I think it is because I use a simple input button (created manually in the code), and you use an apex built-in submit button, so it submit the page.
But since I posted that solution, I have found a better way, that allow me to get upload status, it is very simple :
Create a file browse item :
Name : P3_FILE_BROWSE
Storage Type : Table WWV_FLOW_FILES
Post Element Text : <div id="upload_status"></div>
Bind event on the element that will trigger the upload
$('#your_element').click(function(){
     if ($('#P3_FILE_BROWSE').val() != '') {
          $('#wwvFlowForm').parent().append('<iframe id="upload_iframe" name="upload_iframe" style="display:none;"></iframe>');
          $('#upload_iframe').unbind('load').load(function () {
               /* upload finished, so here you can do what you want with the uploaded file
               $('#upload_status').html('<img alt="" src="'+IMAGES_PATH+'ajax-loader.gif" style="height:28px;width:28px;" /> file processing...');
               //do what you want with the file
               $('#upload_status').html('')
               $(this).remove();
          $('#wwvFlowForm').attr('target','upload_iframe').submit().removeAttr('target');
          $('#upload_status').html('<img alt="" src="'+IMAGES_PATH+'ajax-loader.gif" style="height:28px;width:28px;" /> uploading file...');
});It automatically create the hidden iframe, submit the form into it, tell the user upload is finished, and remove the hidden iframe.
your_element can be a button, an image, etc...
Hope it can helps !
Yann.

Similar Messages

  • 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

  • How to refresh a page in apex, once it is loaded

    Hi friends,
    I need to refresh the entire apex page automatically, once after the page is loaded. How to achieve this in apex.
    Whether need to use any DA for the auto-refresh. If so, can you kindly help me with that guys.
    Thanks
    Brgds,
    Mini

    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

  • How to refresh a page in Safari

    In IE there is refresh option.  How can I refresh a web page in Safari?

    Maybe there is a misunderstanding, but normally you need to refresh the page when there is something wrong. I often have small issues for instance with flickr, a picture does not display because of their servers (some farms are sometimes not active, then get active again). The pictures display as a question mark in a small blue square. If the pictures are restored, and you refresh the page on Safari, the picture will NEVER display, you need to clear the cache. The only way to do this is the following (found in another forum post):
    1. Go to Safari > Preferences > Advanced and select Show Develop menu in menu bar.
    2. Go to Develop > Empty caches
    If you THEN refresh the page, the content will be displayed correctly.

  • How to Refresh The Page When The Value of selectinputData Changes

    Hi;
    I have a select input date component and I want to refresh the page when the value of selectinputdate changes. What is the way to do it?
    Also what is the way to do the same thing with choosedate component?
    Thank you very much...

    Hi Turhan,
    You may want to read about the Partial Page Refresh (PPR) capabilities in ADF Faces. You can make the selectInputDate's partialSubmit property "true" and then cause the specific components you wish refreshed have their partialTriggers property set to the ID of the selectInputDate.
    Hope this helps,
    John

  • Can I change a part of HTML page from server without reload whole page?

    Hey guys!
    I would like to make a page what shows a couple of information, some of these from database. I would like to refresh these datas every minute, but I don't want to reload whole page, because there are charts and other things that calculated in long time.
    If I use IFRAME's than I have to use more than 10, and I don't know which is best solution.
    Anyone can suggest something?
    My English is bad, so if you dont understand well what I would like to, please let me know and I gonna try to explain better.
    best regards,
    N.

    The tag is a normal HTML -tag, which causes the browser to reload that page after the specified time.
    So if you put this in you HTML:
    <HTML>
    <HEAD>
    <TITLE>Titless</TITLE>
    <META http-equiv="refresh" content="60;url=this.html">
    </TITLE>
    <BODY ...It'll wait 60 seconds and then (re)loads the page 'this.html'...
    (so this can be the same or another page).

  • Loading content without reloading whole page

    Hi Guys
    I have a "one page" wordpress site. But have hit a stumbling block in my creation.
    Essentially what I want is for one of the "sections" on my one page site to have it's own menu, and for each menu item to 'reveal' it's own content beneath it without re-loading the whole page.
    My first thought is an Iframe, but this might be a bit dated now.
    A plugin would be most ideal to simplify things.
    Thanks :-)

    Actually yes
    I knew there was something in my previous experience to do this job and that was it... "tabs"
    Atleast it gives me the correct keywords to search for to find a more suitable solution.
    So unless anyone knows of any good Wordpress plugins for this, concider this topic answered :-)
    (ps. I'm not after a plugin to shortcut anything.... its more the case that I need it maintanable by clients)

  • How to increment the date without loading the page?

    i have a table which contain fields 'No_of_days','fdate' and 'tdate'
    my requirement is add the value of 'No_of_days' and 'fdate' and put it in field 'tdate'
    No_of_days
    2
    fdate
    12-02-2011
    i want the output from 'tdate' as 14-02-2011 without loading the page....
    what i have to do....?
    i was use when-validate-item in forms to perform this.... but i dont know in apex...im new to apex..so pls help...
    help me guys....
    Edited by: 794244 on Feb 11, 2011 11:54 PM
    Edited by: 794244 on Feb 12, 2011 12:05 AM

    Is this what you're after ?
    http://apex.oracle.com/pls/apex/f?p=18507:12 ?
    This can be accomplished with little effort. Let me know and I'll write it up.
    Jeff

  • Browse-edit pages based on procedures : how to refresh browse page ?

    Hi,
    i have i browse page based on procedure
    to edit record's data i use a separate edit page based on procedure.
    how can i refresh data on browse page when back from edit page?

    yes, no argue , this is a straightforward decision...
    i've created VOs on both procedures, then connected them via VL: master for browse , detail for edit, both are single record views
    does it change anything? any auto-requery, or something without explicit java call?

  • Logon not refreshing whole page

    Hi all,
    I created anonymous logon page with default frameworkpage. i have two roles.
    One role have page that contain custom logon page and URL iview.
    Second role have two pages with URL iviews.
    If i login through the custom logon page only the desktop inner page is refreshing but not masthead and TLN (both are custom development).
    I need to login to the user.
    All the iVIew are anonymous and isolation method is embedded.
    Is anything wrong in it?
    How can i achieve this?
    Helpful answers will appreciate.
    Thanks,
    Regards,
    Kathiresan R

    Hi,
    You can force an iView to refresh by putting /prtmode/refresh into the URL. So you could easily place a button into an iView and cause a refresh upon pressing the button by calling the iView URL and adding /prtmode/refresh in the URL.
    There is a way to add the refresh button to the Page. Youi can use the frame work taglib to do this.
    Please refer to the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ef0bd053491a71e10000000a422035/content.htm
    Regards,
    Raju

  • How to refresh JSP page?

    Hi,
    How can I refresh my JSP Page?
    I am addind and deleting some mrecords with pressing button on my JSP page, but everytime I have to use browser's back button and hit refresh to see the updates.
    How can I just refresh it every time I update the page..
    Your help will be appreciated.
    Thanks

    int i = delete_Customer(delName);
                           System.out.println("i:"+i);
                           if (i==1)
    System.out.println("Sending response");                           
    response.sendRedirect("/abc/CustomerList.jsp");
    int delete_Customer(String delName) {
                   // TODO Auto-generated method stub
                   int i=0;          
                   Statement stmt = null;
                   Connection con = null;
                   try
                        System.out.println("In Try block for Deleting values");
                        Class driverClass = Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
                        Driver driver = (Driver) driverClass.newInstance();
                        DriverManager.registerDriver(driver);
                        con = DriverManager.getConnection("jdbc:db2:" + DB2Server, DB2UserID, DB2pass);
                        stmt = con.createStatement();
                        System.out.println(delName);
                        String query =
                             "DELETE FROM CUSTOMERNAME WHERE Customer_Name = '" +delName.trim()+ "'";
                             System.out.println("Values Deleted");
                              i = stmt.executeUpdate(query);
                             System.out.println("Nrows="+i);
                        stmt.close();
                        con.close();
                   catch(Exception e)
                        System.out.println("EXCEPTION : "+e.toString());
                        try
                             System.out.println("Severe error in DELETE, unable to continue");
                             if(stmt != null)
                                  stmt.close();
                             if(con != null)
                                  con.close();
                        catch(SQLException se)
                             System.out.println(se.toString());
                   System.out.println("i:"+i);
                   return i;
              }//delete method endsThis is my servlet code.
    It's not throwing any error,
    it's also going to my system log (sending response) but then it doesn't redirect it to the jsp page.
    Thanks

  • How to refresh the page/table after completion of taskflow in popup

    Hi,
    Scenario:
    In main page, having an emp-table and popup(which contains taskflow as region). In taskflow, iam modifying the emp-table data and after successfully completion of taskflow, want to refresh the emp-table present in the main page. How can we do this...?
    Note:
    (1) In Taskflow last activity is 'taskflow-return', where iam commiting all the data.After this i want to refresh the emp-table,(pop-up closes when it reaches last activity).
    (2) Tried PPR in bean code of main page, it refreshes, but before commiting.
    Something like, Refreshing the entire page either closing/hiding of popup, will help......?
    Regards.

    try with regionNavigationListener:
    public void myRegionNavigationListener(RegionNavigationEvent event) {
          String newViewId = event.getNewViewId();
          if (newViewId == null) { // null new view id indicates the taskflow has ended !
                refreshEmpTableSomehow();
    }As one alternative, take a look at my last message from this thread:
    Re: How to handle the "cancel" button and "close" icon of a popup ?
    Edited by: Cvele_new_account on Oct 5, 2012 12:19 AM

  • How to flip a layer without flipping whole image?

    How do I flip a layer (horizontally or vertically) without flipping the whole image?

    Choose the Layer
    Edit> Transform> Flip Horizontal

  • How to refresh JSFF page only when page loaded using ADF 11g

    Hi
    I am facing an issue with prepreModel() usage in the .jsff page fragment. I want to invoke executables only when the specific jsff page get's loaded. I tried using 'prepareModel' as a refresh condition, but I can see always executables are getting executed. Does 'prepareModel' behaves differently for .jsff when compared to .jspx ?
    Thanks in Advance

    Hi,
    ADF Regions have a slightly modified lifecycle. However, prepareModel behaves the same. Its marking a specific time in the ADF request lifecycle when the iterators are refreshed. Try prepareModelIfNeeded
    Frank

  • How to refresh full page in Managedbean code:

    I need to refresh the full page using MB method .can anyone provide me the code for this.
    Sailaja

    Hi Sailaja,
    Try this
    http://electrotek.wordpress.com/2008/05/30/refresh-current-jsf-page/
    -Arun

Maybe you are looking for

  • My pc sound level is very low on playback from dvd and most websites even though its at 100 percent

    the playback level on dvd and most video streams is very low.(youtube seems ok)This is my second pavillion g7 w/ windows 7 .The first had a defective fan but the sound level was ok and there was a graphic eq section for sound control with other outpu

  • Altering Applet Lifecycles

    Hi all, We've coded a large application and I've deployed it as an applet over the web. The problem is when a user clicks the refresh button or the back button on the browser. The applet's destroy method is called and then the init method and the app

  • When I restart my mac

    all the apps I opened before pops up.  How can I clear the screen and not have the apps pop up. 

  • Safari 5.1.1 pages not visually loading

    Hi everyone, I am running Lion 10.7.2 on an iMac and Safari loads properly on my own account. However, when my wife logs into her account you can see Safari pages loading in the URL bar but the visual page does not load and she is left with a white b

  • Updating BO 3.1 to BO 3.1 SP??

    I've a system which is on 3.1 and it should be upgraded to work with Win7, so SP3 is minimum to go for. Question is, should we upgrade to SP3 or to SP7 or something else? (BO4.x is no option at the moment, but will probably be on next year) Secound Q