How to Prevent Navigating Away From a Page?

Hi all,
I�m developing a JSF application using IBM Rational Application Developer v6.0 and have this scenario:
Background:
I have a page that acts as a 3 step wizard. It also contains links to other pages. The page has a corresponding �pagecode� bean with a request scope and another managed bean with a session scope and basically everything happens here, all the action and action listeners. Also this managed bean handles three important events the �page load�, �page load ends�, and �page post�.
Desired Behavior:
I want to enforce the user to complete all three steps of the wizard without navigating away from this wizard like page by displaying a message �hey you must complete all three steps� or something like that :).
Problem:
The user can click on other links on the page and navigate away from the wizard without completing all three steps.
Any suggestions to this issue would be of great help.
Thanks in advance.

First: how do I change my stupid screen name? :)
Thanks for your solution. Would this also work for normal html navigation? My understanding that this may only work for the JSF framework navigation rules. On the other hand I also have plain html links on the page and not really sure if the JSF framework also handles these types of navigation.
This maybe a partial solution though and I really appreciate this.
Thanks.

Similar Messages

  • Navigating away from current page

    I have an annoying problem that hopefully someone will possibly have a solution to with there browser knowledge. I have an account with a music promotional company they service me with music from their site. There are clickable links that download a .zip file when clicked on or CTL clicked on. The problem is when I select a file to download Safari (and FF) doesn't let me navigate away from the page it seems stuck and the blue 'loading' box appears and I can go to any other web pages whilst the download is in progress. Has anyone any ideas what this could be? I have Click to Flash installed but I can't see that being the problem? This also happens with FF so its not necessarily a Safari problem but nevertheless I'm sure someone will have an idea whats going on?
    Many thanks

    HI,
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Click to Flash I doubt has anything to do this download issue.
    Try emptying the cache and resetting Safari and see if it makes a diffeerence.
    For Firefox ...
    1. From the Tools menu, select Clear Recent History... .
    2. From the Time range to clear: drop-down menu, select the desired range; to clear your entire cache, select Everything.
    3. Click the down arrow next to "Details" to choose what history elements to clear. Click Clear Now.
    Firefox 3 for Mac OS X
    1. In Firefox, from the Tools menu, select Clear Private Data.
    2. Make sure Cache and Cookies are checked, and then click Clear Private Data Now.
    Carolyn

  • Having trouble navigating away from a page with streaming video or using menu items-extremly slow to react

    I watch twit.tv daily. anytime I am on the twit page and try to open another tab or try to use a menu item it takes an extremly long time to react to mouse click. At least 15 to 30 seconds. This started happening several updates ago for version 3.6.

    So, since I got no reply to my question I took the iPod into the Apple store and tried to dock it to another third party device. Same problem, no digital control of the iPod. After about 30 minutes of looking it over, the Apple Genius agreed the issue was likely hardware related and issued me a replacement. So apart from about an hour of my time in the store and however long it will take me to reload my library, I'm rather pleased.

  • How do I stop the pop-up window in Facebook that asks "Are you sure you want to navigate away from this page"

    It recently started to ask this every time I do anything on Facebook.

    Yes, this pop-up window in facebook is getting extremely annoying and most times after clicking on Ok, it will take me to a page totally opposite to where I wanted to go.
    When I chat on the Scrabble Discussion Board I have to click Ok constantly with each post even though I am not navigating away from that page but merely replying to a post on the same original page.
    It is not present on Chrome or IE 8, just on firefox, why?
    Please remove, fix, or tell me how to disable this totally useless pop-up.

  • I keep getting a Message saying do you want to navagate away from this page. How do I turn that off.

    When I am using facebook, Every thing I click on I get a pop up message asking if I want to navagate away from this page.. yes or cancel. This is very annoying. How do I turn off this message?

    Yes, this pop-up window in facebook is getting extremely annoying and most times after clicking on Ok, it will take me to a page totally opposite to where I wanted to go.
    When I chat on the Scrabble Discussion Board I have to click Ok constantly with each post even though I am not navigating away from that page but merely replying to a post on the same original page.
    It is not present on Chrome or IE 8, just on firefox, why?
    Please remove, fix, or tell me how to disable this totally useless pop-up.

  • How can I set the new version of firefox so that things I write in journals and other things are remembered in case I accidentally navigate away from the page?

    In Firefov version 3 there is a feature that will remember what I have typed in a journal or note entry before posting it. This is not like an autofill because the test disappears if I navigate too many pages away from it. The usefulness of it was that if I accidentally navigated away from the page before sending my message or posting my journal, I could just press the back button and what I had written previously would still be there. I had to return to version 3.6.19 because version 5 does not seem to have this feature enabled unless you preform a very specific routine. You have to re-enable the ability of firefox to save tabs when exiting. then you have to close down firefox while saving the tab with the page you wish to write a journal on pulled up. Then when you bring firefox back up, you can type on the saved page and if you accidentally navigate away from it, you can hit the back button and it is saved. However, this goes away when you refresh the page or try it on any other page. I would like to know if it would be possible for me to enable this feature on firefox 5, or if I will have to continue using version 3.

    Try using this extension. <br />
    https://addons.mozilla.org/en-US/firefox/addon/textarea-cache/

  • Hi every time I navigate to a new page on facebook, I get the same confirmation message, Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page. What I want to know is how to stop this message

    When I click on a navigation button, a message box appears asking if I am sure I want to navigate away from this page.

    This issue can be caused by Facebook gadgets.<br />
    You will have to check that out by removing each of them until you find the culprit.<br />
    If you added or updated gadgets recently then start with those.
    See:
    * [[Troubleshooting extensions and themes]]

  • Every time i want to go to another page a pop up comes up with ' do you want to navigate away from this page'. How can i get rid of it?

    every time i want to go to another page a pop up comes up with 'do you want to navigate away from this page'. For instance when i am on FB and i want to view a picture i am asked the question, also if i go to hotmail and want to go to the inbox the same question is asked. All i want to do is navigate away from pages without being asked EVERY single time. How can i switch it off

    This issue can be caused gadgets on the Facebook page.
    You will have to check that out by removing each of them until you find the culprit.
    If you added or updated gadgets recently than start with those.
    See:
    * [[Troubleshooting extensions and themes]]

  • How do I stop "Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page." from comeing up. It is new. Just started doing it yesterday morning.

    I have used FireFox to play the Game Kingdoms Of Camelot, a facebook game. I also have Grease Monkey and a 3rd party add on. I leave it running 24/7 to gather food in the game for my army. It has run smoothly for 6 mo. Yesterday 2/04/11 in the morning it started asking for conformation when the page refreshed. i want to know how to stop this Box from comeing up it will not continue without refreshing and will not refresh untill th question is answered. It says "Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page."

    You're not going to stop it, and out here, what's illegal?
    What it boils down to is a matter of ethics, and it's wrong. But the web
    techies build this feature into their sites because they know somebody
    is going to fly in off an engine like Google or MSN. And take something,
    like a picture. Without stopping in and signing up or something else.
    But what if I or you is out collecting stamps or avatars or wallpapers,
    and have already taken a quiz, or signed up for a product? I've already
    done that...but the site developers who use this ingenious(hijacking)
    software don't see it that way, and don't care if you just got a computer
    and want to pick up something here or there. Those sites don't get
    anything when you visit and don't leave your number. I don't what
    these 19 tracking cookies are for, do you?
    "A liar should have a good memory" Scottish saying

  • How do i get rid of the message that says would you like to navigate away from this page?

    i need to know how to take off the message that says would you like to navigate away from this page?

    This issue can be caused by Facebook gadgets.<br />
    You will have to check that out by removing each of them until you find the culprit.<br />
    If you added or updated gadgets recently then start with those.<br />
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • HOW DO I GET RID OF THIS MESSAGE, PLEASE???Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page.

    everytime I go to leave a page or click on something this, this message appears and I cant find where to disable it. It just started today. Never did it before.
    Are you sure you want to navigate away from this page?
    Press OK to continue, or Cancel to stay on the current page

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • SWF in PDF stops playing after navigating away from page

    I have a PDF ebook with SWF movies embedded each movie is a music track controller that plays a track from a soundtrack to the book.
    I want readers to be able to play the tracks while they read the book.
    This works fine in Acrobat. But in Digital Editions, as soon as I navigate away from the page showing the track controllers/SWF movies, the movie/track stops playing.
    Is there any way around this? Perhaps there are technical limitations to a Flash-based app. at play here.

    Arthur, this sounds like content you've created yes?
    If it's content you're creating then I'll have to send you to Engineering via the Digital Publishing Center at
    http://www.adobe.com/devnet/digitalpublishing/.
    There's a feedback form on that page (we don't currently do any ebook dev support on this forum.. there might be a forum unique to that at some point in the future). It's not very clear, but if you send a dev question to that feedback form you should get an answer from engineering. This ONLY applies to questions about creating content for consumption in ADE 1.5.... (end user questions regarding ADE 1.5 still go through web case support at http://www.adobe.com/support/digitaleditions/)
    Regards,
    Bentley Wolfe
    Senior Support Engineer, Flash/Flash Player/Digital Editions
    Adobe

  • Move awesome bar away from web page

    The awesome bar sits right on top of each web page, making it hard to pick out in all the different environments. I want to move it away from the page into the frame. How do I do that?
    If i can't do that, can I move the tabs down?
    It is also quite thin, can I make it fatter?
    Thanks

    Right-click the Navigation bar and click on '''Tabs on Top''' to de-select that preference.

  • How to get attribute value from standard page ?

    Hi,
    How to get attribute value from standard page ?
    String str = (String)vo.getCurrentRow().getAttrbute("RunId");
    But this value is returning a null value ....
    Can anyone help me to get this attribute value which is actually having a actual value .

    getCurrentRow() would always return null if no setCurrentRow() is used.
    Please check the page design and understand how many rows of VO are there. You can also use the following to get the row:
    vo.reset();
    vo.next();
    Regards
    Sumit

  • How do I move apps from one page to another?

    How do I move apps from one page to another?

    From a previous thread:
    Touch and hold any icon for a couple of seconds. They'll all start to wobble. Touch and drag the one you want to move to the side of the screen and the next screen will appear; drop the icon on whatever screen you want it on.
    You can also do it quicker in iTunes - connect the phone and click the Apps tab in the main window. You'll see a picture of your phone with the apps laid out. Just click and drag

Maybe you are looking for

  • Ability to move a collection "virtual" copy from one collection to another.

    If you've got the option to create a collection upon Import there is no guarantee that all the photos in that Import should be part of the same collection. Since Lightroom's default behavior is to copy pictures when dragging between collections it wo

  • Error witth a parameter in a WHERE clause

    Hi experts I have the following code from an abap programa I have done a conection with Sql And I want to do a SELECT.. WHERE one value from a column in the table is the same that the ones I write like an input parameter... but when is done the compa

  • Appraisal template transporting problem

    Hi Gurus! Appraisal template transport work only between mandants of development system. It doesn't work for other systems ( QAS, productive) Category and category Group was transported earlier. I did number ranges for objects VA,VB,VC. So there are

  • Preview utility, default Save file format

    How to force the Preview utility to use JPG as the default format on the Save operation? Currently it uses PNG.

  • Open Search Results in new window

    I have added the 'Search' portlet in one of my pages. what set up should I do to open the search results in a new window?