Page/Portlet Reload/Refresh

I have two jsp page based portlet which host two application(Flash based application),i.e each page has one jsp portlet, but every time I switch around tabs the portlets reload, This process initializes the whole jsp portlet. I would like avoid this page/portlet reload behavior. I think the way to do is to use backing file at the page level or at the portlet level, but I am not sure which method to override since prerender completely stop rendering the page at all.
Thanks

I'm not sure I understand exactly what you mean by wanting to stop the "page/portlet reload behavior". Every time you switch tabs, the portal control tree is rendered with the new page and portlets that are "in view", and this means that the portlets on the page will get re-rendered, including running through the JSP again. If you want to stop the JSP render from happening again, and no state has changed on the portlet since you last viewed it, portlet caching may be what you are looking for. There is some information on portlet caching at http://edocs.bea.com/wlp/docs102/portlets/performance.html but unfortunately this points to a document on the BEA dev2dev site which has now been moved to http://www.oracle.com/technology/pub/articles/dev2arch/2005/01/portlet_caching.html
By caching the content of the portlet, it should only be re-rendered (and have the JSP re-run) when the cache expires due to timeout or a state change in the portlet.
Returning false from preRender in the backing file will abort rendering of the control (page or portlet) entirely, and you will see no content at all-- as you have already noted.
If by "stopping the page / portlet reload behavior" you mean to stop the Flash-based initialization, I'm not the person to answer the question.
Hope this helps!
Kevin

Similar Messages

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

  • Page reload/refresh after printing Oracle report.

    I have upgraded from version 3.0.1 to version 4.0.1 and I am having an issue.
    I have a page with a tabular form (SQL Query - updateable report) which allows me
    to select items I want to print.
    The report looks like the following:
    Name          Print
    Template 1     Y/N
    Template 2     Y/N
    Template 3     Y/N
    Template 4     Y/N
    The print column is a static LOV with a 'Y' or 'N' option.When I submit the page, a MRU runs and sets a flag for each item I want to print in the database.
    It then branches using "Branch to URL Identified by Item (Use Item Name)". The URL specifies an Oracle report
    server and the oracle report to print.
    All this works fine and the items that were selected, print out. An Oracle Reports Job Status is displayed
    on screen (this originates from the oracle report server) to indicate that it has "successfully run" along with
    an OK button. The OK button contains the following code: javascript:history.back()
    A process also exists on the page ("On Load - Before Regions") that resets any flags that were set in the database
    when the page is loaded and so the report will displays all N's in the Print column.
    Now my problem is that in version 3.0.1 when I hit the OK button it would return to the page in the apex
    application that branched to the oracle report and the page would be reloaded, where as in version 4.0.1
    the page is not reloaded.
    Any ideas how to fix this or can someone suggest a new way of achieving the same result.
    Any help would be appreciated.
    Regards,
    Ryan

    Hi Prabodh,
    I have used Debug mode and I see 2 debug entries added.
    The first is just displaying all the page defaults - (I think the page gets reloaded when you select debug from the developer menu)
    The second is the SUBMIT request and it shows the initial value of the hidden item (ie null) and then where I changed its value (ie Y).
    The problem is, it does not list an entry for the page when it returns from the Report Status page, so I have no way of knowing if anything is
    changing its value. I even changed code to set the item to N instead of null and then to Y on submit. But when I return from the Status page
    the value remains at N, even though if I check the Session State values it will say Y. The only conclusion I can come to is that it is using the
    cached values and effectively just displaying the values set before I submit the page.
    I have been playing around with iFrames and it seems to work the way I want.
    I created a new Page (5), then a HTML region. Within the HTML region i have the following code
    <table>
    <tr>
      <td>
       <iframe src="&P1_URL." width="500" height="300"></iframe>
      </td>
    </tr>
    </table>I also create a button (Return) + branch and on submit will return to page 1.
    From page 1, instead of branching to a URL, I now branch to page 5. This loads the Report Status page into my iFrame and indicates that it was
    successful, but now instead of using the OK button within the status page I use the Return button that is part of the Apex application.
    This way I no longer need the javascript or hidden items to try refresh the page , it will be done automagically once the return button is pressed.
    I know it may not look great but it is the only solution I can get to work at the moment.
    Thanks again for all your help, I really appreciated it.
    Regards,
    Ryan

  • Is it possible to reload (refresh) all pages at once?

    Is it possible to reload (refresh) all pages at once?

    Right-click on any open tab and choose "Reload all tabs"
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Auto Reload/Refresh of page or content

    I am a newb to Edge Animate and coding in general. I am developing a mobile web page with text on it. I need to update the text and have users see the updated text without having to reload/refresh the page themselves. Is there a way to have the page auto-refresh or another way to ensure people see the updated text if they already have the page loaded on their device?

    Hi Friend,
    Use Javascript utility for auto-refresh the page.
    Following example will be helpful to you:
    <html>
    <head>
    <script type="text/JavaScript">
    <!--
    function timedRefresh(timeoutPeriod) {
              setTimeout("location.reload(true);",timeoutPeriod);
              alert("hi")
    //   -->
    </script>
    </head>
    <body onload="JavaScript:timedRefresh(5000);">
    <p>This page will refresh every 5 seconds. This is because we're using the 'onload' event to call our function. We are passing in the value '5000', which equals 5 seconds.</p>
    <p>But hey, try not to annoy your users too much with unnecessary page refreshes every few seconds!</p>
    </body>
    </html>
    Enjoy RIA

  • How to reload frame in Safari? Reloading page does not refresh all frames

    I have IPAD Air. In Safari, reloading a page does not automatically refresh all frames. Is there a way to force a frame reload/refresh?
    This is true in other browsers, IE, Chrome, etc, that is reloading a page does not automatically fresh all frames. However, they all have a reload frame option.
    How can I do that in Safari?

    A frame is not a browser tab. A web page is made up of multiple frames. 'frame' is the standard HTML definition of the frame tag. Here is a html example, which specifies a web page that subdivides into 6 frames. Each frame links to a html page.
    In Safari, updating a page does not automatically updates all the frames. In all other browsers, you can put the mouse on a frame, right click, and select the 'reload frame.' option.
    My question is how to updat frames in Safari? One way that works, of course, is to go to IPAD Setup, select Safari, and flush the Safari cache, but that's very inconvenient.
    |                                                    |
    |                                                    |
    |                                                    |                 
    |                                                    |
    |                                                    |
    |          |                              |          |
    <frameset rows="45,50,*,60" frameborder="0" border="0" framespacing="0">
    <!--  <frame name="topNav" src="top_nav.html" target="_self"> -->
      <frame name="topNav" src="top_nav.html" target="_self">
      <frame name="menu" src="menu_1.html" target="_self">
      <frame name="content" src="../TaishaneseChopSuey/transcription.html">
    <frameset cols="200,*,300" frameborder="0" border="0" framespacing="0">
      <frame name="footer" src="footer.html">
      <frame name="footer2" src="footer2.html">
      <frame name="sound" src="sound.html" target="_self">
    </frameset>

  • Question on Page reload/refresh

    How to reload/refresh the page after changing the value of an item.
    I have two items in one page. First one is VAR1 as date picker and second item is VAR2. The value of the VAR2 is going to populate based on the date value selected in VAR1.
    Example: If 07/13/2004 in VAR1 ; VAR2 is to be populated as 704.
    If I changed the value of VAR1, VAR2 is going to be re-calculated automatically
    Thanks in advance

    Yes, as the error message says, you need to define a same-page branch. When a page is submitted, after all the processing is done, branches are evaluated to determine which page to go to next. Click on the + next to Branches on the Page Definition screen to create a branch.

  • Stop Safari pages from reloading when selected.

    Safari in iPad is driving me crazy. Unlike tabs in Safari for Mac, the pages on the iPad seem to be hardwired to reload when you select them (I usually have several pages open and need to switch back and forth between them). And that means lots of wasted time waiting for pages to reload and many times the new page refreshes with different content so I've lost the exact page I was on. Is there a way to stop Safari from auto-reloading pages when they are selected? I'd prefer to have to manually initiate refreshes.

    Your advice didn't work for me. Safari was the only app I had running, and I only had two tabs. I was attempting to post in school discussion forum. I opened a new tab, and found the link I wanted to reference. When I returned to the discussion board tab, the page reloaded and I lost everything I had typed thus far.
    I have a 16GB iPad 2 with 12GB free. Only one app running and two tabs open and yet it still did this.
    Any thoughts on why that might be?

  • Eliminate Web page flicker on refresh

    I have a page that I refresh and it takes 5 seconds or so to bring back the web report - i can live with the time because there are number of queries behind it.
    However when i reload my page refreshes half way - ie draws half my page and then only fully refreshes when the data comes in.
    This looks clumsy is theere a way to stop this.
    ie press refresh and show blank or nothing until the data is retrieved?
    Simon

    HAi AlexLCG
    <%
    just write this code
    if (request.getParameter("email") != null) {
    ... // your code
    %>
    <META HTTP-EQUIV="Refresh" CONTENT="2; URL="adminaccstatement_new.jsp">
    <h1 align="center"><font color="#000099">Your mail has been sent.</font></h1>
    try t his
    bye
    RR

  • Reload/Refresh WCC header

    Hi All,
    I am trying to reload/refresh UCM header after the specified amount of time.
    I created simple custom component and add jQuery function to <@dynamichtml std_html_head_definition_declarations@> in component resource file.
    In the same resource file in <@dynamicdata CoreMenuItems@> I added link in menu_c (next to logout) which label returning custom idoc function result
    (e.g. for test I used <$CURRENT_DATE$>).
    <script type="text/javascript">   
    var auto_refresh = setInterval(
    function()
    $('.TopBarContent').fadeOut('slow').load('custom_reload_resource.htm').fadeIn("slow");
    }, 10000);
    </script>
    After first page load jQurey function do fadeOut and fadeIn but the link label doesn't refresh the idoc function result.
    I don't know is custom_reload_resource.htm (resource file from component) file that should be loaded and if it is how to set path to that file?
    Thanks in advance.

    Hi,
    Create a template with something like that :
    <$utLoadResultSet("wf_in_queue", "WorkflowInQueue")$> <$i = 0$> <$loop WorkflowInQueue$> <$i = i + 1$> <$endloop$> Active Workflow number = <$i$> 
    Modify the header and add a div in which you will insert the content of the template every x minutes with an Ajax call to the template.
    The URL to retrieve the template content (for your Ajax call) :
    https://YOURSERVER/cs/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=WfAssignmentNumber
    Romain.

  • FF prevents pages from reloading each time & I have to click allow. How do I adjust this to allow pages to load .

    whenever I have on facebook & switch from page to page (tab to tab) when it refreshes & tries to reload the page it has a pop up that states FF prevents this page from reloading....allow? I have to click allow repeatedly or close out the window to get the page to load. I need this pop up block to stop & have looked under options for a place to stop it & cannot locate the area to prevent it.

    Options > Advanced > General, '''''un-check''''' "Warn me when web sites try to redirect or reload the page"
    *See --> [https://support.mozilla.com/en-US/kb/Options%20window%20-%20Advanced%20panel Options window-Advanced panel]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Page, portlet cache

    Hello, folks,
    I have an annoying technical issue for refreshing page.
    I have a page: PageA, in PageA, there is a portlet : PortletB, which will have some links to BEA CMS. The workflow is like:
    1) people click PageA link
    2) people see page with PortletB
    3) there are 3 links in PortletB
    4) people click link in PortletB
    5) PortletB refresh to load content and render contents.
    Now, I click PageA and want it to show the orignial PortletB, which has three links only, however, when I click PageA, PortletB just refresh the current contents, I cannot go back Previous PorletB with 3 links.
    BTW , portletB is a pageFlow.
    Could someone give me some hints?
    Thanks very much.
    Yi

    What patch version are you running on - prior to 30982 debug=0 didn't work properly.
    After and including 30982 there is debug=0 and debug=1
    pre-3.0.9.8.2
    enabled by adding "&_debug=1" to the end of the regular PPE URL. The resulting page will be cached, including statistics, if the page is marked with the "Page + Contents" style of caching. All portlets, and the page meta data, are passed the "_debug=1" flag which can alter the behaviour of the portlet, and typically alters the caching characteristics.
    3.0.9.8.2
    enabled by added "&_debug=0" to the end of the regular PPE URL. The resulting page is guaranteed to be assembled at the time of request. There is never a retrieval of a previously assembled page. No debugging parameter is passed though to either the portlets or the page meta data so the cache statistics are more accurately reflected.
    changed "_debug=1" behaviour so that resulting page is guaranteed to be assembled at the time of the request, but the parameter is passed through to portlets so the caching information often changes.
    3.0.9.8.3
    added "Login Meta Time" section. This information, relating to the use of a provider on the page with a login frequency other than "Never", is now broken out from the page meta time.
    In each version, the debugging flag will produce a web page annotated with performance and caching information
    -JP

  • Page Portlet Settings Not Propagating to User Pages

    Portal 9.0.2.6; Windows
    We upgraded to this version a few weeks ago, and we're still ironing out the kinks. We have quite a few pages that are exposed as portlets. I've edited (not customized) the page portlet settings, selecting specific regions of the page to display.
    When I spot check user's home pages, however, only the portlet headings show with no content. I've tried using the Reset to Defaults button in the customize form, but it doesn't work. Also, I imagine I'll have the same problems with any page-source portlets our users have added to their pages.
    Is there a sure-fire way to do the following:
    - Set the regions of a page to display when viewed in a portlet on a global level; and,
    - Propagate these regions throughout our entire user base
    Thank you for all the help!
    Mary

    I was able to figure out setting the global display on the default pages, but I'm still stymied at how to set the display for the page portlets for user customizations. In instances where users have added a page portlet, only the portlet header is displayed. I've done the following to try to fix the situation:
    - Deleted and regenerated the page portlets
    - Refreshed the repository
    - Refreshed the display for individual user pages
    Nothing seems to work. This is a major showstopper for us: we are scheduled to go "live" with the 9.0.2.6 version on Friday, and we do not want to ask users to recustomize their pages.
    Windows; 9.0.2.6
    Thanks for all the help!
    Mary

  • Creating a new home page portlet in identity console in 11gR2

    Hi,
    I am in the process of creating a new home page portlet in self service UI. I created a new view controller project in j developer and created a bounded task flow and attached a jsff page to that. Now what are the next steps to be followed so that my custom page gets displayed with the other portlets when user clicks on Home in Identity console. I have some basic knowledge in ADF. Thanks in advance
    Regards,
    Durgaprasad
    Edited by: Durgaprasad on Dec 17, 2012 1:04 AM

    I am getting this error in the log..
    Element [MissedTerm] of resource catalog [catalogDefinition] has been excluded from the catalog due to error [null].
    My custom-catalog.xml file looks something like this
    <resource id="MissedTerm" name="MissedTerm" description="Hello World Taskflow Reference" repository="application.classpath" path="adflibcustomUI.jar/ADF_TaskFlow/WEB-INF+task-flow-definition.xml#task-flow-definition">
    - <attributes>
    <attribute value="coreDefault" attributeId="attr.background" isKey="false" />
    </attributes>
    </resource>
    Also i found some post similar to this issue but solution is not there
    Custom resource catalog

  • When hitting enter on some web pages(after entering information), the page just reloads. How can I fix this? It worked before, but no longer does.

    When I go to certain web sites, and enter in my information(like my Bank website), I hit enter, and the page just reloads.
    Or when I finish making a post to my blog, and I hit "Post Entry", the page just reloads.
    I did not have this problem until a few days ago. I've been using the same Firefox browser, and have deleted my cookies/history...ect.
    But nothing works.

    The Passwords Editor extension includes a feature which allows you to manually add passwords. <br />
    https://addons.mozilla.org/en-US/firefox/addon/saved-password-editor/

Maybe you are looking for

  • Booklet printing HP Color LaserJet CP1514n missing

     Printer Type HP Color LaserJet CP1514n.Service ID: 19027 Firmware datecode: 20130923 Start condition : Win7 (64-bit). HP UPD version: 6.0.0.18849  61.175.1.18849Action:  Print in any application - Dialog : Print properties --> Finishing-->Pages per

  • Customize no-permissions error msg

    If I set the Everyone group to essentially have no access to answers/dashboards/delivers and someone tries to sign in, I get an error message with the following: Access Prohibited You are not currently authorized to use Oracle BI Delivers If you woul

  • Citrix passthrough authentication

    I am trying to access Citrix using Kerberos pass-through authentication. The Mac is bound to AD and windows shares work fine without additional credentials. I can connect to published Citrix apps fine if you save user name and password in the client

  • DTW: error "Duplicate bin locations have been removed - error id 1470000307"

    Hi, When attempting to import inventory data, using the DTW business object "Inventory Transfer" and using the templates "Transfer", "TransferLines", "StockTransferLinesBinAllocations",  "BatcheNumbers" and "SerialNumbers", the following error messag

  • Updating pages, iTunes after using migration assistant.

    I recently used migration assistant as a data transfer, now I no longer have access to the 'stacks' documents, and when I open pages etc. it says I need to update it, even though I had installed them as a new app when I bought my computer... can anyo