How to disable back and refresh buttons in browser

Hi,
I need to disable the back and refresh buttons of the browser on the click of a button in a jsp as the process takes some time to be completed and i want to prevent the user from refreshing the screen.
How can this be done?
Thank you

hi ,
Can you try with the value i.e
String s1 = oapagecontext.getParameter("value"); or button event can also be handle this way
if ("BUTTON_EVENT".equals(event))
- business logic
Which screen you 're working by the way ?? if i have an access i will check it out and tell you
--Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How can I disable back, forward and refresh button in browser running ADF 11.1.2.2

    How can I disable back, forward and refresh button in browser running ADF 11.1.2.2?

    I insert the java script into ADF page. But it does not work. The ADF source look like below. Did I insert into wrong region?
       <f:view>
            <af:document id="d1">
                <af:messages id="m1"/>
                <af:resource type="javascript">
                  window.history.forward();
                  function noBack() {
                      window.history.forward();
                </af:resource>
                <af:form id="f1">
                    <af:pageTemplate viewId="/template/temp2.jspx" id="pt1">
                        <f:facet name="body">
                            <af:panelStretchLayout id="psl1" topHeight="30px">
                                <f:facet name="bottom"/>
                                <f:facet name="center">
                                    <af:panelBox text="Incident List" id="pb1">
                                        <f:facet name="toolbar"/>
                                        <af:panelCollection id="pc1">
                                            <f:facet name="menus"/>
                                            <f:facet name="toolbar"/>
                                            <f:facet name="statusbar"/>
                                            <af:table value="#{bindings.ServiceRequestMain.collectionModel}" var="row"
                                                      rows="#{bindings.ServiceRequestMain.rangeSize}"

  • How to handle stop and refresh button.

    i have two JSP pages. in the frist page the user has the option to either view previous ones or create a new. in both cases i pass a form id as parameter to execute the related data. in the second page , when user fills the data and clicks submit, and clicks the stop or refresh or any other button before the data gets committed and reaches the confirmation page, how do i handle it? when user clicks one of these buttons , the controller class executes again (the process request is again executed).but this time there are no parameters sent to the controller. how do i handle this? also when user clicks the back i have redirected to dialog page. but there are back,forward refresh buttons for the dialog page. if user clicks those, again there are no parameters sent to the controller class.
    how do i handle this.

    too many queries at the same time.
    1. Back button - Read the devguide and make the application/page bworser backbutton safe
    2. Refresh/Stop Buttons - either use js to restrict these, or embed logic in the code to stop undesirable behaviour.
    Thanks
    Tapash

  • Disable back and Forward button

    How could we make Browser Back and Forward buttons disable in JSP?.
    So that we just activate the buttons inside JSP page.
    Thanks

    see if the following line included in any of your common .js file to all pages helps.
    window.history.forward(1);
    buttons are not disabled but when you click on them action is not performed
    if you have no common .js file for all pages include follwing in all jsp pages and check out
    <script language=javascript>
    window.history.forward(1);
    </script>
    -Nagasree

  • How to disable Save and SaveAs Button in Adobe Reader ??

    I am having Dynamic XML Form (XFA based) designed on LC Designer ES2
    I Want to disable Save and SaveAs button  whenever it would be opened in Adobe Reader only.
    Other way around, i want to provide only facility to save form programmatically through Javascript to apply validation.
    Plz help
    Thnx in advance..!!

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • How to disable block and delete button in me22n transaction

    Hi experts !,
    as per my requirement i want to disable delete and block button in me23n . for this i wrte my logic but problem
    is when my logic satisfies then i want to disabele those two buttons . those block button function code is 'MEPO1211LOCK'
    if it is screen field we can use loop at screen and input = 0 . but here it is funtion code how to disable this funtion code as per
    condition .
    i tried this  SET PF-STATUS ' pf status name ' EXCLUDING ' fucntion code name  '.  also but not working ..
    if any one have any idea pls share ......

    Hello Experts,
    I have similar requirement. Please help....

  • How to supress BACK and FORWORD button in the explorer..?????

    hi all,
    in my web dynpro application i want to supress the BACK and FORWORD button in the explorer.is there any way to supress it???
    if anybody know,please give me the solution.
    thanks in advance,
    Subhasis

    Hi Subhasis,
    The button cannot be effectively supressed. The browser effectively prevents this by various methods. Therefore, Web Dynpro ABAP educates the user not to press the back button by detecting such a user action and displaying a text message. Afterwards, the proper page is rendered.
    Best regards,
    Thomas

  • My Back and Refresh buttons are not registering/working, how do I fix it?

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/813027]''
    On about 80% of the pages I am on, my back button and my refresh button will not work. The back button will not recognize that I have been to previous pages in the same tab, and my refresh button will just do nothing (the shortcut keys 'backspace' and 'f5' also do nothing). Some pages, like this one, work fine, but most others do not.
    I can't think of what it is that is causing it.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    See:
    * [[Troubleshooting extensions and themes]]
    This can also be 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

  • How to disable minimize and maximize buttons of a popup window

    hello.
    can someone please tell how to disable the minimize and maximize buttons for a popup window.
    i know this is very basic concept.. but iam new to jdeveloper..please someone help me out

    Hello,
    U can use script in ur page to open the Popup window.
    window.open("yourpage.do", window_name, 'toolbar=0,scrollbars=0,location=0,status=yes,menubar=0,resizable=0,width=600,height=400,left = 225,top = 140');
    Bye

  • How to disable back and forward Swype in Firefox on android

    back and forward gestures always done accidentally with the normal browsing, as it resembles exactly when you want to move to right or left of a large or desktop view of a web page.
    there's also an excellent application (three finger Swipe) one can use effectively without any mistakes as it require three fingers Swype to launch an action, not one finger, exactly as the very normal browsing.

    I have the same problem on a Samsung Galaxy tab 2 Android 4.1.1. on Firefox v23.
    It says back or forward in some horizontal swipe/flick gestures in the middle/lower screen (black transparant popup, white text).
    It's really annoying, because i'm prototyping with this gestures. And sometimes a swipe-action-left navigates to a earlier page instead of the page linked to the swipe-action-left. I disabled two finger gestures in about:config, but it didn't help of course.
    I don't think it's related to the Samsung tab/Android version or TouchWiz?

  • Hiding back and home buttons in browser

    Hi all.
    SRM 4.0.
    When the users go shopping in the ITS web, it would be great if the standard Internet buttons (back, forth, stop, home etc) just didn't show up in the ITS at all.
    I do believe it is quite simple to change this so that the users cannot simply go back and forth in the ITS, so any idea?
    Thanks.
    DM

    Hi Dennis,
    there´s a note which provides the functionality : 725124
    But pls. be aware that this does not work wit single sign on (SSO)...
    Hope this helps!
    BR
    Michael

  • How to disable print and download button of pdf file when i am opening mozila firefox using java script

    i am opening pdf file in firefox browser in right side i am seeing print and download option
    i want to disable it by program like javascript, by manualy i can disable it ,
    actually i am opening pdf file in my website by using firefox browser so i do not want to any can download or print the pdf file

    If it's that critical, you could explore this partial workaround:
    Use a script or configuration file on your server that changes the disposition based on the user agent. In other words, for Firefox, send an attachment disposition that forces a download outside the browser instead of the default (inline) disposition that allows Firefox to display the PDF in a tab.
    Now... that won't stop the user from dragging and dropping the downloaded file on a Firefox tab to use the built-in PDF viewer, but most users would tend to open the file in their default viewer (e.g., stand-alone Adobe Reader).

  • Why have the forward, back and refresh buttons stopped working in Firefox 4 Beta 10?

    Upgraded from FF4 Beta 2 to Beta 10. They were working fine in Beta 2.

    This can be 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
    The shortcut key sequence to open Panorama (View > Tab Groups) has changed to Shift + Ctrl + E.

  • When I start it up it shows two two nested windows on the screen, has a Firefox yellow tab in the corner, does not display the toolbar bookmarks, the back and forth buttons do not work and there is no page refresh. No clue what is going on.

    Every time I open up Firefox it appears to open two nested and linked windows, each with their own minimize, maximize and close buttons but the both work the same. The homepage does not come up, the back and forth buttons do not work. Both the refresh button and F5 do not work. The Bookmark Toolbar does not show up until I disable it in View and then re-enable it and this causes the outer nested window to disappear or close.

    This issue can be caused by an extension or theme that isn't working properly.
    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 > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is a

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688252]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
    == This happened
    ==
    Every time Firefox opened
    == two or three months ago
    ==
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdnu
    *npdnupdater2
    *Coupons, Inc. Coupon Printer DLL
    *Coupons, Inc. Coupon Printer Plugin
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Shockwave Flash 10.0 r45
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *My Web Search Plugin Stub for 32-bit Windows
    *Google Updater pluginhttp://pack.google.com/
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll

    * If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
    * Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
    * If items are missing then see if you can find them in the View > Toolbars > Customize window.
    * If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
    * If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

Maybe you are looking for

  • Error occurs when running emcli add_target

    Hello, I created a simple plugin which contains only two target types for learning using JDeveloper (Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493). I then validated plugin distribution and created plugin archive on right-click project name. plug

  • Airport simply not working :( PLEASE HELP!!

    I have macbook OS X 10.5.6, and recently acquired an airport (4.1) from my grandmother, who has a slightly earlier version of the macbook. I decided i want to try to use it to print. I plug it in and it comes up in my network as 'sue's airport'(it wa

  • Tool bar "pop-ups" won't pop. How do I fix this?

    I started having the problem in Adobe Fireworks CS5. I upgraded to CC and CS-6 Fireworks and I'm still having the same problems. I just tried Illustrator and Photoshsop and the toolbars there are broken as well.  All of my pop-ups are locked up. They

  • Document root of web application

    Hi. I'm having trouble determining where a web application is pulling a particular resource from. I always though that the ServletContext.getResource() resolved it's path relative to the root of the WAR file or the equivalent root of the exploded dep

  • Sort to subfolders based on last three letters of file

    I am working on a script i found that will take the contents of a folder and seperate them into sub folders based on the last three characters of the file name. They are named by user and month for example: Sam_Jan.xlsx. Here is what i have so far: p