How to refresh the JSF portlet content when the page is surfed on

Hello everyone.
I have a problem with a refreshing JSF portlet content when the page contains this portlet became inactive. I have a portal with 3 pages, each page has a JSF portlet. When I manipulate one of these portlet and I navigate to another page, I want the portlet will be reset to original content instead of the current content.

I already looked for the solution to this problem in our forum but found that nothing can be applied to the JSF portlet. Portlet PageFlow, we have a refreshAction to solve, but not for the JSF portlet.

Can you suggest me some solutions?

I thank in advance.

Best regards.

CUONG Pham

Hello

Have your JSF portlet listen for the event "onDeactivation" allows you to reset the State inside your portlet when the page on which it is is surfed away from:

http://download.Oracle.com/docs/CD/E15919_01/WLP.1032/e14244/IPC.htm#i1055434

How do you listen this event depends on whether you use the bridge portlet JSF JSR329 (WLP 10.3.2 only), or "native" WLP JSF portlet bridge You are using.

Kevin

Tags: Fusion Middleware

Similar Questions

  • How to refresh the page

    I usually go to view, refresh, however, discounting is not an option since I use firefox. where to cool off?

    I usually have to reload the page using Ctrl + r and some people like to use F5 (given that some other applications use this key), but if you prefer the mouse, it is probably easiest to right click on an empty area of the page, and then click the icon representing an arrow circling along the top row of the context menu , or move the pointer all the way up to the toolbar.

  • JavaScript to refresh the page

    Hello.

    I have a popup that displays a page inside of a jquery dialog box.
    When I close the dialog I want to refresh the page.

    Any ideas how I refresh the page?

    Here's how I implemented the dialog box in the way
    [http://shijesh.wordpress.com/2010/04/10/jquery-modal-form-in-apex-4/]

    The javascript code that closes the dialog box is: -.
    function closeForm()
    {30
    31 $('#ModalForm_input[type="text"]').val ('');
    32 $('#ModalForm').dialog ('close');
    *#THIS IS WHERE I WANT TO REFRESH THE PAGE APEX #*.
    33}

    Published by: user3084063 on December 20, 2010 09:21

    Hello

    As much as I know jQuery modal window is not a window - it's a flutter * < div > * tag.
    That's probably why all you need is

     apex.submit("YOUR_REQUEST_HERE");
    

    Kind regards
    Lev

    Published by: the on December 20, 2010 14:18

  • I can't find a refresh button to refresh the page, I'm, not update all firefox.

    How to refresh the page, I'm sure. By example, if I'm on a weather page, and I have it open for a while. I want to refresh the page, so I can focus on the radar. I don't think I'd update Mozilla to do this. Is there a button somewhere?

    The icon is an arrow into a circle. You can also press .

  • Refreshing the page creates a new record – how to avoid this?

    I have a 'submit' button that runs a 'record insertion.

    After insertion is made I branch (back) to this same page.

    The problem is that when I hit page refresh the folder gets reinserted.

    How to avoid this behavior?

    AZZ says:

    fac586,

    Yes. You are right. It was a late semi written post. My apologies. You must stop working after midnight.

    Let me clarify:

    I have a SUBMIT"" button.

    There are the conditional 'after send' (if the key) process.

    the process calls a function that inserts a new record in the table.

    Question:

    How can I avoid running the process on refreshing the page?

    I've simplified the situation - no record insertion. However, if you refresh the page the success of the function call message will be displayed.

    https://Apex.Oracle.com/pls/Apex/f?p=4000:1:126172565551184:no:RP:FB_FLOW_ID, F4000_P1_FLOW:21325, 21325

    user/pass help/help

    workspace - AZ_

    To reproduce:

    Click on the submit - observe green popup "OK!"

    Refresh the page (F5 or ctrl-R) - see 'OK!' again.

    No process is executed to see the page or page refresh. This can be confirmed by looking at track of debugging to see the processing page. The page contains no defined process to run at a show of page processing point; None of the calculations which could call a function that could not perform an insert as a side effect; None of the dynamic actions or calls JS could initiate an insertion using AJAX; Neither the source region contains any code that could do it. I'll draw the line search conditions that can contain deeply buried code which could be responsible and direct you to a previous thread of the same nature: success of process Message not tied to Conditions.

  • When you play FarmVille, my computer crashes or I get a notice that "bits have been lost" and refresh the page... usually don't work and I have to start all over again.

    When you play FarmVille, my computer crashes or I get a notice that "bits have been lost" and refresh the page... usually don't work and I have to start all over again.

    I think that there is a prob with this game, it does not matter if you use firefox or IE. Or another browser. It blocks something. Or causes probs.

    FB needs to fix it. There are a lot of people (in a Google search), who are having probs. One way or the other

  • How to refresh the entire screen?

    Hello

    Please can someone tell me how to refresh the entire screen?

    Refresh here means clear all fields and show empty fields.

    Thank you

    Afonso Tyagi

    Hey,.

    as I usually do, is to create a separate function that manually assigns to each field and property reverts to its original state. There is not a function that does it for you. You must create your own. hope that helps good luck!

  • How to refresh the Parent page after closing the window pop up (Dailog)

    Hello

    My Version of JDEV is 11.1.1.7.0

    I open the POP-UP (Dailog) using goLink

    Now how can I use property return Action Listener to refresh the parent page.

    Thank you

    Venkatn

    Hello

    Is there a reason why you using a goLink erq? Could replace you it with a commandLink? You will be able to refresh the page in the earphone of return.

    Kind regards.

    Ruben

  • problem with JQuery TAB when I refresh the Page

    Hello

    I use a JQuery tab and I have following tabs under the present.

    tab1
    tab2
    tab 3

    When I click on tab1, tab2, tab3 individually it works fine.

    problem... Now, when I click on tab 3 and then I refresh the page, the control returns to the first tab tab1.

    what I want... If I'm on tab2, and I update the page... control must remain on the same tab (i.e. on tab2)... control should not go back to tab1 *(the first tab) *.

    Thank you
    Deepak

    Hello

    This might help
    http://dbswh.webhop.NET/dbswh/f?p=blog:read:0:article:195800346705831

    Kind regards
    Jari

  • I bought a year of adobe cc today. When the screen came to tell me that he has been to process my payment, do not press the 'back' button or refresh the page such that it could take a few minutes. 7 hours ago. The cat to help told me it would take 24 hour

    I bought a year of adobe cc today. The screen came to tell me that he has been to process my payment, do not press the 'back' button or refresh the page, because this could take a few minutes. 7 hours ago. I contacted the Department of chat help and told me it would take 24 hours to process. Is this normal? Why the screen me "a few minutes" looks like if she's actually 24 hours? Does anyone else have this problem? I'm so tempted to just refresh the page and try my luck with my credit card, canceling a second payment if it happens. THIS could be faster.

    Hi stephanie palmer,.

    We would like to inform you that your order has been placed successfully and you can the course using the subscription.

    Please follow the link mentioned to install products below.

    Using creative cloud | Download, install, update or uninstall applications

    Kindly share the results once made.

    Thank you

    Atul Saini

  • Change result of &amp; lt; cfinclude &amp; gt; without refreshing the page.

    Y at - it a simple way to change the result of a < cfinclude > without refreshing the page. I have a page that will display one of the many < cfinclude > based on which button is clicked. For our purposes here, assume that there are 6 buttons and 6 different < cfinclude >. "s. I think some sort of update panel ajax, but I do not know ajax, nor can I use ASP.Net.

    All what Adam said, with other examples of what I think of you
    try to do.

    You can include all your code each in an identifiable
    block as a element. Then, using JavaScript and DHTML
    effects you could hide and show the different divs based on the user
    interaction with account of controls such as buttons. This would work well
    If the content of all the divs is relatively small and static. If they
    are large and quite where all the download would indeed on
    load time or momentum so that the content displayed in each section must
    to be up-to-date at the time when a control is selected this option will be
    not work well.

    In this case, you must had a such kind of dynamic refresh
    AJAX or pipes. This adds a dimension to the aspects of DHTML
    your interface to make new requests from the server before the content of the
    the browser is updated.

    Before discussing more in detail and the how and why of each of these it
    would be useful to learn more about your needs accurate and comfort
    level with different technologies and techniques.

    As Adam concluded there are several ways to solve this type of problem.

  • Refresh the page after the fires of fileDownloadActionListener

    Hello experts!

    I use jDeveloper 11.1.1.7.0

    I have a table in a fragment of page jsfff with a button to upload the files that are shown in this table. After downloading the files, I need update the table.

    Downloading files when the user presses the button (partialsubmit = false) I invoke another button hidden (partialsubmit = false) which has af:fileDownloadActionListener that performs the action. (This is because I am doing other activities before you download files)

    It works fine, but I need to refresh the page (among others) after downloading the files. How can I do this?

    I tried to update the table of

    -method fileDownloadActionListener

    -Method of hidden commandButton action

    -The partial trigger table button

    But I could not update the table with any of these

    How can I refresh the table after uploading the files?

    Yes.

    I'm looking at the source code for FileDownloadActionListener.processAction ().

    After invoking the method property, he calls FacesContext.responseComplete (); which ignores the render response phase.

    And so you can not rynefall page at all.

    An in-depth, that you can do, is to use af:poll, IE, activate the survey by clicking on the button visible (in javaScript)

    Here you can see how to start the survey by javaScript:

    GEBS | Oracle Fusion Middleware 11g ADF progress indicator

    (search handlePoll )

    In the pollListener, you can refresh the page AND also disable survey by itself (by calling setInterval(-1))

    After questioning to stop, you must refresh the survey component, with

    AdfFacesContext.getCurrentInstance (.addPartialTarget(...your_poll...whatever));

  • skillbuilders modal page: how to submit the page parent after closing modal window

    Hello.

    I use Apex 4.2.1 on mod_plsql and Oracle 11 g 3.

    I installed version 2.0 of plugin Skillbuilders Page modal.

    In may, app, page 7 presents a button.  When you click on it, page 6 is displayed as a modal popup.  Users can change this modal page form fields and then click on a "submit" button.  This, in turn, automatically closes the modal page.  Users seek then to page 'parent' (page 7).  It all works very well.

    My problem: Page 6 (modal page) contains a collection of Apex.  This collection is updated when users click the submit button.  It is this collection to be displayed with the data updated on the page "parent" (page 7).  And so, I need to automatically send page 7 when the modal page closes automatically after clicking submit on the modal page.

    I tried a dynamic action that performs an action of "submit page" whenever the user clicks on the button send in the modal page.  But because the plugin uses an iframe to display the modal page, the action of page submit real that happens in the iframe, not in the 'parent' page (page 7).  When the modal page closes automatically, users are left looking at the page of 'parent' (page 7) with the previous data (not updated).  I have to manually refresh the page (via the browser) to see the data updates to the collection.

    And then, does anyone know how to automatically return the page of 'parent' when the modal window closes automatically?

    Thank you.

    Elijah


    Your dynamic action automatic closing has not been set correctly. The action is not triggered on a specific item, but rather on the 'document '. Your selection should be 'Élément DOM' and the element must be "document".

    (Note that if you use several modal pages on one page, this action triggers for each of them. You can use the 'modal page id' in the creation of the page modal DAs must be able to stand out in outreach. You can find this in the documentation, too.)

  • Refresh the Page to the list item

    Apex 4.2

    I have buttons on several pages, which are used to refresh the pages.

    Each button has a dynamic action, which submits the page and displays the icon of treatment.

    I have the entire page because they contain more than one report of 120 Hz.

    At the top of each page is my menu.

    It's just a list that users the Enkitec plugin navigation bar.

    Is there a way to put an item in the list (on my menu) called Refresh.

    When the user clicks on this item in the list and the page refreshes, then display the icon of process.

    I know that I can put the DA on zero page, but do not know how to call the DA list

    See you soon

    Gus

    Hello Gus,

    Take a look at this (quite old) url-> http://blog.whitehorses.nl/2009/10/13/progress-dialog-in-oracle-apex/

    You will find a solution.

    Kind regards

    Kees Vlek

    -----

    Company: http://www.orcado.nl

    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek

    Twitter: http://www.twitter.com/skier66

    + If the answer to question please change replied and mark the appropriate post as correct / helpful. +

  • Twitter: Your account may not perform this action. Please, refresh the page and try again.

    Since the update to Firefox 41.0.2 I couldn't use Twitter.com. When I try to tweet, favorite, or retweet the following error occurs. Your account may be able to perform this action. Please, refresh the page and try again. There are a couple of other users who have the same problem, but it was tinkered with Mozilla and the other pending.

    It started with the update to 41.0.2 and twitter works in all other browsers, but not Mozilla.

    Here's this other thread with the DIY: Impossible of Retweet, tweet or articles favorite on Twitter, even when I refresh the page.

    I think there must be a setting or a question Add on. Your extensions look pretty standard, so I'm leaning towards a parameter of the problem. You could test as follows:

    By default, Windows hides the .js extension. To make sure that the following steps work, you have to disable this feature, at least temporarily. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename prefs.js to something like prefs.old.

    Launch Firefox back up again and it must use the default settings (for example, integrated home page). If you need to restore your previous session windows and tabs, go ahead and select restore previous Session from the history menu.

    Twitter works best? If so, we could try to understand the precise adjustment at fault or you could rebuild your settings. Or you can undo the change by renaming the new prefs.js to prefs.txt and rename prefs.old back to prefs.js (with Firefox closed, as you did before) and understand it through a little trial and error.

Maybe you are looking for

  • gradually increase the loudness

    If it of a way to change the volume of the ringtone to sound with low volume first and then gradually increase the max volume?

  • Messages written in vertical mode

    I can't get my screen to return to the vertical format when you type messages. The horizontal mode, previous messages sent are not noticeable as well. I find it embarrassing. I break something? Thank you.

  • iPhone 4 continues the search for carrier

    Recently, I set my iPhone 4. And the iPhone keeps searching for service or signal or what they called it. I tried just like update my carrier setting, reset the network settings, turn on and outside airplane mode and even restore the phone. The most

  • Cordless phone interfere with wifi

    anyway to solve this conflict without replacing phones?

  • C4750 all-in - One Printer: software for the printer driver removal

    Hey guys!  I was hoping that someone could help me with this package to uninstall. I have installed this package on the next page, but really don't need all this: HP Photosmart C4700 all-in-One Printer series full feature software and driver.  Now, b