How to disable browser back button in Oracle ADF

I need to disable browser back button in an ADF web application.
The back button is not disabled but if I click it after visiting main page (e.g. from the page after main to the main page) it returns to the second page. I would to diasble the back button at all. Is it possible? If you know something specifically for ADF application (also without using javascript) the answer is welcome.

see frank's reply in the post:
Disable Browser Back Button
hope this helps :)

Similar Messages

  • How to disable  browser back button after session logout..

    Hi;
    I want to restrict the user to use the back button after session expired or logout. By doing the session expired we are restricting the user to do any new work but I want to restrict the user to see the back pages that he surfed previously in the session.
    Is there any method to disable the browser back button after the session Expired?
    please help me to find out the solution..
    Thanks in advance.
    With Regards,
    Haramohan

    One possible way is automatic return to the current page by writing the following Javascript code to the previous page:
    <script language=JavaScript>
    function backButtonOverride(){
    setTimeout("backButtonOverrideBody()", 1);
    function backButtonOverrideBody(){
    try {
    history.forward();
    } catch (e) {}
    setTimeout("backButtonOverrideBody()", 100);
    </script>
    <%
    catch(Exception e){
    %>
    <jsp:forward page="front.jsp"></jsp:forward>
    <%
    %>

  • Disable Browser back Button in OA page

    Hi Experts,
    Can anyone tell me how to disable browser back button in OA page.. Any advice would be appreciable.
    Thanks in advance,
    Sandip

    Hi Reetesh,
    Thanks for your reply but this code gives the following Error:
    non-static method getRootWebBean() cannot be referenced from a static context
    When I tried and kept the following code it solved error but did not work.
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    String javaS = "javascript:window.history.forward(1);";
    bodyBean.setOnLoad(javaS);
    Thanks and Regards,
    Sandip

  • How to disable browser back in adf or task flow

    require: page1 can turn to page2 ,but don't let page2 turn to page1
    can we disable the browser back button by js?
    help...

    Hi OX,
    Have a look into this Re: Any way to disable browser back button?
    Regards,
    Suganth.G

  • How to Disable Browser Back & Forward Button ?

    Hi All,
    How can I disable Browser Back & Forward button in ADF Faces ?
    If Not, I remember reading somewhere that we can call a page with NO Browser button and Menu using Java script, how can I code this java script within ADF Faces ?
    Thank you,
    xtanto

    You might want to double check this solution in your application. Don't think that when the user presses the back button it simply doesn't go anywhere. It does go back to the previous page and the Javascript causes that page to go forward to the page that was just left. You can see this by putting some "alerts" in your pages.
    These actions my have consequences in your application.

  • Disable Browser Back Button

    Hi All
    I'm developing a web app using jdeveloper 11.1.1.4.
    In my web appication I want to Disable the browser Back button,
    Is there way to do this,
    Thanks
    Padma

    Hi,
    no, there is no option for this. You can try JavaScript as explained here: http://viralpatel.net/blogs/2009/11/disable-back-button-browser-javascript.html
    See: "Disable Back functionality using history.forward"
    Frank

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

  • How to disable browser back/forward buttons from JSF

    Hi,
    I am working on one JSF based project
    I have a requirement where I don't want the application users to go back/forward using browser back/forward buttons so I want to disable the browser's back/forward buttons for my application.
    Can anyone tell me how to do that?
    Thanks in advance.
    Regards,
    Vijay Kumar

    Hi,
    Thanks for your response on this.
    My problem is that I am opening the new popup windows using setOnLoad Handler in JSF like following:
    getTmpBody().setOnLoad("window.open(\"abc.jsp?grantId="+txtGrantId.getValue().toString() + "&sunId=" + empDetails_Global + "&tmplNm=" + aggrTmplName + "&ctryCode=" + ctryCode +"\", \"Agreement\",'width=800,height=600,scrollbars=yes');return false;");
    Now everytime I am going to any other tab or page, I am setting the setOnnLoad handler to blank like
    getTmpBody().setOnLoad("");
    Now the problem is when I open a popup window and close this and then click on browser back/forward buttons, the last opened popup window again come up. This is the problem since I don't want last opened popup window to get opened again on the click of a browser back/forward buttons.
    This is a very urgent issue and I need to resolve this asap.
    Please help me on this.
    Thanks,
    Vijay Kumar

  • SRM5.0 Catalog Std. Call Structure - Disable Browser Back Button

    Hi colleagues,
    we're on SRM5.0 and have the catalog configured as "Standard Call Structure", i.e. it is displayed in a new browser window.
    Is there away to disable the browser back navigation functionality, i.e. open the window without address bar and back navigation buttons?
    There doesn't seem to be anything in SPRO in order to control this.
    Thanks, Ulli

    Hi
    I think it is a settings of browser
    for eg
    internet explorer -> view -> tool bars -> standard tool bar (activate / inactivate )
    so you can not see backe button.
    br
    muthu

  • Disabling Browser back button

    Hi,
    Is it possible to disable browser's back button from Applet?

    There might be some way to clear the browser's history so there's nowhere to go back to. Or set the current document as the "previous" document. Or open up a new window without a toolbar, or without a history....etc
    In most cases though, it's a pretty nasty thing to do. Let the users control their own computers, and just have your software do its job.

  • Disable explorer back button (using JS)

    please tell me how to disable explorer back button, i have made a project and i want to disable explorer back button on signout button, tell me the code using java script

    The page that the browser goes back to would have to identify that it came from some place that was not right and redirect to an error page. This means you need all kinds of checking in every page. Of course, if a page has specific input requirements, it makes it easier, but you need a lot of state validation to keep track of these things. If back goes to a form submission page that already was submitted, you need to be able to track this and deny resubmission... But the browser will really be sending the same data from the original form. So you might have a hidden field with some unique ID that once used, can't be used again.
    In my current project, we have a check on all pages to redirect to login. Login uses Javascript to popup the actual login and application in a new window without menus and toolbars. This removes the back button. The user can still use the popup right-click menu to go back, but this is not a common thing for many users, and we have our pages designed in such a way as to facilitate going back when appropriate, but when not, they can't.
    In some ways, you have to trust that the user isn't going to go back when it's not appropriate... well, I might be dreaming here...

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

  • Browser "Back" button - can it be disabled or detected when pushed?

    Is there any way to disable the back button in the browser or
    detect when it is pushed and redirect the application to a different page
    rather than moving back to the previous page?
    Specifically for IE6 & IE7.
    Edited by: burferd on Jun 25, 2008 11:01 AM

    burferd wrote:
    My search found a suggestion to include the following code in the <head> block of the page,
    but it does not appear to work, the back button is still enabled.This doesn't disable the back button, but this eliminates the default behaviour of the back button. Normally it loads the previously visited page from the browser cache (which might contain session data or expired data, which could lead to bad user experience), but if you disabled the cache, then it fires a new request to the server side to show the page so that the user is presented with new and accurate data.

  • The browser back button is not working correctly when using the search funtion in ProBoards forums. Is there a known issue with ProBoards & FF?

    I have submitted a bug report to ProBoards, but they cannot duplicate the problem I am having, so I am submitting this here in hopes you can find a solution.
    At ProBoards Support and another PB forum while doing searches I found this problem, which continues with repeated testing over the past week or so:
    url: http://support.proboards.com/search
    1. enter perameters for the search (posts only by staff for the last 2 days)
    2. choose one of those post results & click on it (choose a post on page 14 and not on page 1 of the results)
    3. using the browser back button, attempt to return to the previous page of search results
    4. rather than being taken back to the search results with my parameters, the search parameters have been removed and the page show 1000 results of posts by everybody.
    I have tested this over and over again, disabling plugins, and nothing seems to alter the malfunctioning of the back button when I am doing this search function at ProBoards.
    I have tested it in Internet Explorer and find that in IE the browser back button works properly with ProBoards searches. I always get the result I expect, so it's a problem with how FF interfaces with ProBoards, I think.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Browser back button does not work (IE) - Error On Page message

    Just take over website from our designer; I'm new, probably doing more fiddling on the live remote website than I should be...
    http://www.cmcwny.org
    Error On Page message, internal links work, but the browser Back button does not (at least in IE). 
    I have a backup of my local site from before this happened, but I do not know how to actually replace it.
    Any help on either issue will be appreciated, thanks!
    Larry Congdon
    Buffalo, NY, USA

    Hi
    First, get rid of your designer, the page design/code is a mess.
    There are a number of problems with the page, not least being the disabling of the back button in all browsers I tested it in, (visitors may visit once with this, but are unlikely to do so a 2nd time).
    The menu system is a fixed size so that when the browser is resized it overflows the browser window.
    The use of tables for layout is not recommended as it is inaccessible to users using assistive devices.
    To put this more politely, if you paid for this, ask for your money back. If you did not pay, then start again and use one of the dreamweaver layouts for your page, for more info, see - http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html.
    PZ

Maybe you are looking for

  • How does one convert a photoshop file into inDesign and maintain edibility??

    I have an entire print file done by another person in Photoshop but would like to convert it into inDesign for fluidity. 1st of all, is that the best scenario? 2nd, is that a possibility? I've begun working with the files in inDesign by creating Phot

  • When open excel, the error "object variable or with block variable not set"

    hi, expert:     the user is install BPCClient7.5.exe.    when the user open "Planning and Consolidation for Office Client", then the error message is below: "object variable or with block variable not set" please answer as soon as possible! thanx!

  • WLC 4402 + 4 1130AP's.

    Has anyone setup a WLC 4402 and few 1130AP's on their network? Here's the scenario we have VLAN's setup on our network. We want to be able an employee can connect to the internal network and public connect to a DSL Internet. I got the internal employ

  • TabbedPanelsContent Display Problem

    The tab panel is working fine other than the "description" tab is outputing the last few words or lines twice. It is random where it starts. I provide a clip of the code and output below. At the very bottom of the message I provide a link to the onli

  • Signals in Java

    I am running a Java program in Windows NT. I want to do a clean shutdown whenever a signal is received. I have registered the following Signals in the Signal Handler INT,TERM,ABRT. It works well for Cntrl-C, Window Close. When i go to the Task Manage