Disabling of back button in Oaf

How to diasble the functionality of back button present in Internet explorer?
Thanks in advance

You cannot disable the back button functionality, but can handle the back button clicks on your page.
Please check pageContext.isBackNavigationFired() method. Accordingly there is a class called TransactionUnitHelper which can be used to identify the sequencing of the back button and a decision made accordingly whether you want to continue with the page functionality or show a Stale data page.
Regards
Sumit

Similar Messages

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

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

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

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

  • 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

  • Is there any way to disable the back button of the browser?

    Hello,
    I dont want to cache some pages in my application so that they will not get back when back button of the browser is clicked.
    Is there any way for that?
    I also want to know if the back button can be disabled.
    thanks in advance
    vakvarma

    Eh, What's happening to this forum. I read the thread, and clicked back, and got this:
    alTextPo 2000 sition)); else  setUI(new CloseableTabbedPaneUI(horizontalTextPosition)); }   /** * Allows setting own closeicons. * @param normal the normal closeicon * @param hoover the closeicon when the mouse is over * @param pressed the closeicon when the mouse is pressed */  public void setCloseIcons(Icon normal, Icon hoover, Icon pressed) {  normalCloseIcon = normal; hooverCloseIcon = hoover; pressedCloseIcon = pressed; }   /** * Adds a <code>Component</code> represented by a title and no icon. * @param title the title to be displayed in this tab * @param component the component to be displayed when this tab is clicked */  public void addTab(String title, Component component) {

  • 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

    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

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

  • All the toolbars are 'grey' bookmarks disabled, no back button, no history etc. No address bar, no links from the dashboard? What has happened?

    I let someone use my Eee Pc 901, LINUX and since then nothing has worked! suspect that when she cleared her history she wiped everything. Have tried to upgrade Firefox, possibly made things worse? been told only way out is a ??'hard reboot'
    You'll gather I'm pretty clueless.
    Any suggestions before I buy an IPad!

    the OTHER thing is that all my information seems to still be saved. i am still logged in to some mostly used sites that i need a login. i'm assuming that's due to firefox saving my info. why is everything else gone? i essentially can't use the browser at all this way...... i can but not for long. i can't make new bookmarks and i can't go forward or backward.
    is there any solution to this?? or will i forever be unable to use firefox?

  • Disable the back button on firefox?

    Hi all,
    I using
    response setHeader("Cache-Control" ,"no-cache")
    response setHeader("Catch-Control", "no-store")
    response setHeader("Pragma", "no-cache")
    it seems only whark on IE not firefox.
    are there any good way to deal with?

    The "Catch-Control" header doesn't exist, likely you meant "Cache-Control". And using the setHeader() you will overwrite each previously set header.
    Here is the complete set:response.setHeader("cache-control", "max-age=0, must-revalidate, no-cache, no-store, private"); // HTTP 1.1
    response.setHeader("pragma", "no-cache"); // HTTP 1.0
    response.setDateHeader("expires", -1); // ProxyThe HTML head variant:<meta http-equiv="cache-control" content="max-age=0, must-revalidate, no-cache, no-store, private">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="expires" content="-1">Make sure that you clears your browser cache before testing.
    If you're using this to prevent login/logout/postdata problems, rather implement PRG pattern and use Filters.

  • How can I disable back button

    How can I disable the back button and/or prevent the back button displaying my recent searches on right click ?

    Set the pref <b>browser.sessionhistory.max_entries</b> to 0 on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Back button - do not disable

    I have a form with a predisplayed line item number, in this
    case 1, to start off. There is a checkbox to add another line item,
    so if they check the box and fill out the form and submit, it
    brings up the form again with line item 2 (continuous increment by
    1 if the box is checked). If they fill out the form again and do
    not check the add another line item box, the form submits and goes
    to another page with a popup message indicating a successful
    transaction.
    Here is the problem. On the message page, if they hit the
    back button on the browser, it goes back to the form, with line
    item 2 (which was already submitted). If they submit again, line
    item 2 will be written to the table again, and there can only be
    one line item.
    If I make the line item a unique key in the table, the
    application will just blowup. Can it display a nice error message
    about duplicate line items ?
    My other option would be to use javascript to disable the
    back button, but everyone says that is not recommened.
    If that is the case, what do I do to avoid this situation ?
    The sequence of events/screens works properly, but as soon as
    they use the back button, that is where I run into problems.

    If I disable caching on the form page and they hit the back
    button to go back to the form page, what line item value would be
    displayed ?
    Ideally, if it was 2 and they hit the back button, the next
    value would be three.
    Disabling cache, cookies, and sessions was suggested by
    coworkers, but nobody could figure out how to get the next value in
    there.

Maybe you are looking for

  • File location in tcode GRAC_WF_MIG

    Hi, I am in process of migrating data from AC 5.3 to GRC 10.0. As per the Migration Guide, after importing all the exported files from 5.3 into GRC 10.0, I am into step Importing Workflow Rule Data. In this step, there is one tcode GRAC_WF_MIG to mig

  • Can I create new wip accounting class type?

    What are the differences between wip accounting class types are set? and can I define new types?

  • Create(java.io.InputStream) in Scanner cannot be applied to (java.io.File)

    Ahhh!!! Ahem, when I try to compile the file below, "PhoneDirectory.java", I get the following compilation error message: PhoneDirectory.java:12: create(java.io.InputStream) in Scanner cannot be applied to (java.io.File)     Scanner fin = Scanner.cre

  • SOAP Adapter Startup

    Hi All,          I have observed one thing that when we restart J2ee engine, all file, jdbc and jms adapters auto start however SOAP adapter needs a manual start in RWB. Could someone put some light on this, and is there a way that the adapter auto s

  • Domain admin permissions missing

    our domain admin permissions missing and the Active directory user and computers cannot open, also have show the error msg. please help me.