How to disable or handle the back button in JSF 1.2

Hi,
I read an article that JSF 1.2 has fixed the problem with browsers back button.
I am using modal windows and I want to disable the 'BackSpace' (keyboard button). if user clicks on the back button I want to stay on the current page.
Any tutorial or any help how to solve this?
Thanks,
Varma

Doubleposted: [http://forums.sun.com/thread.jspa?threadID=5379620&tstart=0]. Please continue over there.
Please do not use the back button to edit a message. You're going to repost the message. Just use the message's edit button instead.

Similar Messages

  • How to disable or redirect the back button on the browser tool bar

    I am creating a web help file for a web based software
    application. I am using context sensitive help, when I click on the
    help for a topic and close the window, when I click the Back button
    on the Internet Tool bar it goes back to the help instead of the
    software.

    Doubleposted: [http://forums.sun.com/thread.jspa?threadID=5379620&tstart=0]. Please continue over there.
    Please do not use the back button to edit a message. You're going to repost the message. Just use the message's edit button instead.

  • How to handle The Back button on Module Pool screen

    Hi Gurus,
                  I have created a module pool screen. In that screen I have used some input/output fields(text box) which i have marked mandatory by making the input field as "required" under program tab.
    now when running the screen if no data is entered into these mandatory input field then BACK button does not work. First I have to enter some data into the input filed only then the BACK button works. How should i code so that the back button works even without entering the data into these mandatory fields.

    hi,
    use AT EXIT-COMMAND with the module.
    eg. module user_command at exit command.
    then there will be no problem.

  • OAF Create Employee Part 2 Task 1: Handle the Back Button

    I am trying this part of code without Debug Mode, I am not sure why I have to click 2 times on Browser Back Button, to go to the EmpSearchPG. Anyone tried this and having same problem or it is suppose to go back to the previous page when you click once on Browser back Button.
    I would appreciate if anyone having tried and know how does it work. I am trying to resolve this before going to the next step of this exercise.
    Step 1.5 Test Your WorkSelect TutorialLabs.jpr, right-click and select Rebuild TutorialLabs.jpr.
    Add the following breakpoints to:
    The first executable line in the createEmployee() method in your EmployeeAMImpl class.
    The vo.insertRow(row); line in the createEmployee() method in your EmployeeAMImpl class.
    The first executable line in the create() method in your EmployeeEOImpl class.
    The first executable line in the rollbackEmployee() method in your EmployeeAMImpl class.
    The first executable line in the processRequest() method in your EmployeeCreateCO class.
    The first executable line in the processRequest() method in your EmployeeResultsCO class.
    The first executable line in the processFormRequest() method in your EmployeeResultsCO class.

    Try to check on any different browser.
    Make sure you are performing correct steps.
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • The back button no longer works. I have disabled all add-ons, rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    the back button no longer works. I have disabled all add-ons,rebooted & reset the defaults for the browser and nothing has changed. This happens on all webpages.How do I get the back button to light up again?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.com/kb/Bookmarks+not+saved#w_places-database-file

  • How do I disable the reload on the back button of Firefox and have it display the cached/prior page version?

    Every time I click the "back" button, Firefox reloads the previous page I was on. How do I disable the reload and have Firefox display the cached/prior page version? The whole point of going "back" is to see what we were just looking at.. I don't want a refreshed version of it. Any help would be greatly appreciated! I am running version 3.6.12.

    No problem. It's not a request that's been seen much if at all to be honest. I rely on them myself.
    You can always feel free to provide feedback to Apple though.
    http://www.apple.com/feedback/

  • How to disable the back button when displaying a form

    Hi ,
    i have form A calling form B, when form B is displayed i want to disable the
    back button in the explorer so as not to allow the user from going back to
    form A.
    thanks.

    When you open a new window, call following javascript function also to disable the "back" button.
    window.history.forward(1);
    It will work.

  • After my update to version 4, the back button now only seems to store the last page I was on rather than the last 10 like it used to before the update. I've scoured the options menu to no avail. How can I get the back button working like it used to?

    The back button used to work many times before it would reach the end of its list of pages I had been to recently and became greyed out, but now it will only work once before this happens. Also, the list of pages that pops up when I right click it now only has two entries no matter how many pages I've visited on that tab, the page I am currently on and the page I most recently left. Previous to the installation of the update to version 4 however, the list that appeared when I right clicked on the back button contained up to 10 items.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most other Add-ons.''
    # You can open the Firefox 4.0 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Disabling the Back button

    Hi
    How to disable the back button in the Internet Explorer in Java or Jsp or Servelts.
    Thanks in advance

    Why are you repeating the question? You posted the
    same question two days ago:Well, that was a long time ago. Technology has
    advanced since then and might have provided a
    solution.:)

  • How to get the values retained on clicking the back button in jsp page

    Hi All,
    I had two jsp's search and results. In the search page when i enter some values in the text fields, the rsults will be displayed for that search criteria. I had a back button in the results page. When i click on this back button i will get back to my search page. I am using the following code for this back button.
    <INPUT TYPE="button" VALUE='Back' onClick="javascript:history.go(-1)" class="button">
    Now the problem is when i get back to search page using this back button, i am not able to get the values in the search page which i entered, i am getting all blank values. What should i change to get these values back in the search page. Should i maintain any sessions for this?

    You have no control at all over the back button process. To the server, it's indistinguishable from the user simply tying the URL of your search page. So, you need to store this data server side*.
    When your search page is submitted and processed, store the values you received for each of the fields into the user's session. Then, when the search page is generated, check the session for these values, and for any values that are not null, put their values into the html as the default values for the textboxes and controls you are using. This lets you handle the whole matter on the server's side.
    *barring convoluted, unportable, black-magic javascript trickery which you should definitely avoid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Before the recent updates to Firefox, clicking on the back button always brought me back to the same place on the page where I had been, but now it brings me to the top of the page. How do I restore the previous feature?

    Before the recent updates to Firefox, when I would go to another page in the same window and then clickon the back button, Firefox used to bring me back to the same place on the page where I had been, but now it brings me to the top of the page, meaning that I have to laboriously scroll down to the old place. How do I restore the previous feature?

    That change was made in Firefox 4, 6 months ago.
    Click-hold the unified Back / Forward button <br />
    or <br />
    right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • How to handle the OK button of the parameters prompt of a crystal report

    Hi,
    how to handle the OK button of the parameters prompt of a crystal report in vba.NET?
    I want to use the parameter prompt from the crystal report itself and I want to know when the report is ready. I need to export programatically by sending email to a list of employees after the parameters has been set. The emails I send depends on the results of the report.
    Im using a CrystalReportViewer control  in VS2010 and Crystal Report for VS2010 v13.0.1.220.

    Right. But the parameter screen is driven by the viewer. Unless you create your own parameter screen and pass the parameters to the report via code.
    Another thing I am not sure about:
    "Then by code I want to read all the employees id from the report and send email to them with specified pages of the report. (1 page per employee)"
    How do you plan on reading the employee ID from the report? I am not aware of any API that will read a value in a report so that you can then decide what page to send to whom.
    I think you're approaching this kinda backwards. A question to ask is; can you do what you are trying to do in code in the CR designer? If not, using APIs will not work either. I suspect your approach should be a report that uses an employee filter. Run the report for employee x, get the report populated with the data for that employee and email it. Repeat for employee x1, employee x2, etc.
    - Ludek

  • I used to be able to go back several pages but when I upraded to this forefox version, I can only go back one page at a time. Upon hovering on the back button, it doesnt show the previous pages i have been to. How can i get the feature again?

    How can I go back several pages? The back button no longer displays multiple previous pages

    Click-hold the unified Back / Forward button, or right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • I hate the update of the bar. It has totally done away with being able to skip back several places in the browser; now I can only click the back button and go back one page at a time. I otherwise hate the new layout, too. How do I undo this?

    I can't choose a specific page to skip back to but must click the back button over and over to get back to where I want to skip to. The little headings "most visited," "getting started," "Youtube," etc. have changed. They look more colorful, but I hate how the home button is clear over to the right side of the page, etc. What was wrong with the way everything was before? I HATE this new update, and I didn't even want it.

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • How to handle the global buttons in PFR

    Dear friends,
    i want to handle the global buttons in Process From Request
    the requirement is in standard page , we have created one custom link as global button
    when we click that link we are calling to previous page..now we want handle this global link in PFR
    how to go ahead?? please it is very urgent
    Thanks
    krish.

    Hi,
    We can get handle to global buttons using this:
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    OAGlobalButtonBarBean buttons = (OAGlobalButtonBarBean)page.getGlobalButtons();
    //OAF automatically assigns global buttons to their corresponding function name
    OAGlobalButtonBean button = (OAGlobalButtonBarBean)buttons.findIndexedChildRecursive("<FUNCTION_NAME>");
    You can catch event for your global button in PFR and write the logic there.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Edit a form in Acrobat but NOT in Designer

    I have Adobe Acrobat Professional 8.1.7 on Windows XP SP3. What I want to know is how to edit a form in Acrobat without using LiveCycle Designer. Here's the issue: with a PDF open (generated via either a print job or File>Create PDF) under the Forms

  • Facebook not loading correctly in Safari

    The last few days my Facebook profile has not been loading correctly in Safari. When I first got the phone, all pages would load. Now, every time I click the 'profile' link, only text shows up, no photos or media. I have cleared the cache and history

  • Issue with Sound Configuration

    What I am doing wrong with my sound / published file? It has been difficult to find a good video quaality/sound download configuration / Combination: The video is really good!! https://skydrive.live.com/redir?resid=1C690B4E4531C4D6!111 Here is the co

  • Problem in installation SAP Netweaver 2004s

    Hi to all, When I install SAP NetWeaver Developer Studio 7.0.09 appears the following error: <i>The SAP NetWeaver Developer Studio 7.0.09 Setup has not successfully installed all selected components on your computer, either because a component could

  • Unable to set a property

    Hi, In my .jnlp file I'm trying to set a system property in the resources section, via: <property name="jnlp.aname" value="avalue" /> and in my code I am using System.out.println(System.getProperty("jnlp.aname")) and I am only getting 'null' for outp