ADF Browser Back Button Issue

Hi All,
I am using jdeveloper version 11.1.1.6.0.
when I use browser back button to go to back page it behaves in very bad manner a popup comes saying
"To display this page,Firefox must send information that will repeat any action (such as search or order confirmation ) that was performed earlier"
and Resend and Cancel button came at the bottom of the popup If I cancel it then it does not show proper information.
What is the way to handle back button in such a way that it should not behave in bad way get back to previous state.

Hi All,
In webcenter portal their is client state saving mechanism which stores states of the client .We have to make an entry in web.xml file.
      <context-param>
                 <param-name>
                      org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS
                 </param-name>
                 <param-value>
                        3
                </param-value>
       </context-param>      I refered following URL.
http://docs.oracle.com/cd/E25178_01/core.1111/e10108/webcenter.htm#CCHIEBDG
Does increasing this value is an answer to my question

Similar Messages

  • Browser back button not working with ADF Application integrated with SSO

    I have integrated an adf application with Oracle SSO Authentication. Application is running fine.
    Though, while navigating between pages, using browser back button , it is not redirecting the url properly
    Should Redirect it to : http://<hostname>:<port>/<contex-root>/<servlet>/<id>
    Presently Redirecting it to :http://<hostname>:<port>/<contex-root>
    As, directory browsing is not allowed, there is Error 403--Forbidden .
    Can anybody tell what changes needs to be made to make browser back button work.

    In some of the documentation I have read, they have mentioned that using the back button in a browser doesn't work too well with any JSF type of application (not just ADF and Jdeveloper apps).
    http://docs.oracle.com/cd/E15051_01/web.1111/b31974/web_form.htm#CFHHJGJH
    Instead, they suggest using buttons on the form.
    There is a video on using navigation between forms that may be of value: http://www.youtube.com/watch?v=bsPtmRID5XI&feature=plcp
    Stuart
    Edited by: Stuart Fleming on Sep 11, 2012 5:30 AM

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

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

  • Browser Back Button x Stale Data

    Hi,
    I'm facing a weird issue with back button handling.. whenever two sessions of the browser are opened to access the Oracle Applications, when changing something in one session, moving to the other session to change another thing and come back to the first session, even for completely different products and responsibilities, it gives me the stale data error as below. It seems like the session has been invalidated since I'm sure I haven't use the browser back button.
    Is this an expected behavior?
    ++Error: Cannot Display Page++
    ++You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).++
    ++To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.++
    Thanks,
    Eduardo

    Yes,that is the expected behaviour. In oaf http session is synchronised with the clicks, so on same desktop if u open two different apps sessions you will face the error, which ur facing now.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Browser back button not maintain selections on previous page?

    Hi every one
    1. The following is my code for a home page.
    <h:form>
        <h:selectManyCheckbox value="#{home.value}">
             <f:selectItems  value="#{brandItems}"/>                  
        </h:selectManyCheckbox>
        <h:commandButton action="#{home.display}" value="Submit" />
        <s:link value="view newxt page" action="#{temp.getAll}" view="/table.xhtml" />
    </h:form>2. This is my session bean code
    @Stateful
    @Name("home")
    public class TempAction  implements Temp,Serializable
         private static final long serialVersionUID = 1L;
         String []value;
        @Out(required=false)
        List<SelectItem> brandItems;
         @Begin(join=true)
         public void getAll() {
              brandItems=new ArrayList<SelectItem>();
              brandItems.add(new SelectItem("First","First"));
              brandItems.add(new SelectItem("Second","Second"));
         public String[] getValue() {
              return value;
         public void setValue(String[] value) {
              this.value = value;
         public void display() {
              for(String a:value)
                   System.out.println("________________"+a);
        @End
        public void reset() {}
        @Destroy
        @Remove
        public void destroy() {}
    }3. I invoke getAll method by using following code in my pages.xml
    After visiting the second page by clicking the s:link , I go back to the first page by using browser BACK button . Then when I hit the SUBMIT button, I get the following error message in my jboss console and also the check boxs are deselected.
    16:29:05,843 INFO  [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
    sourceId=j_id16:j_id17[severity=(ERROR 2), summary=(value is not valid), detail=(value is not valid)]Kindly assist to resolve this problem. Many thanks in anticipation.
    By
    Thiagu.m

    Did you ever find a solution? I'm having this issue also.

  • Browser Back Button and form navigation

    Some times when you use browser back button and adf-taskflow navigation buttons, validation on form fails, witout having made any change even with enabled token validation.
    Reproduction steps on HR schema:
    1. Create QueryDepartment and EditDepartment Views and navigation rules in adfc-config.xml
    2 Create ADF view only table page for QueryDepartment selectable, and add navigation button to go to EditDepartment
    3. Create EditDepartment form with navigation buttons and button to navigate back to QueryDepartment
    test:
    1.Run QueryDepartment and select a department
    2.Go to Edit Department using navigation button
    3.Navigate to next department pressing the 'Next' button
    4.Navigate back using the Browser Back button.
    5.Try to navigate back to QueryDepartment using the navigation button.
    My result is validation error on DepartmentId field 'Error: JBO-25013: '
    Is this a bug or am i doing something wrong?

    Hi,
    maybe I don't get it, but as I understood you have problem with focus on select button. So why don’t you set focus onLoad on another element of your page?
    Something like onload=”$x(‘ELEMENT_NAME’).focus()”;
    Regards,
    Przemek

  • Making a Browser BACK button in Java Script

    I've been trying to create a Browser Back button to return the user back to my LMS.  They typical ones I've found on the internet don't seem to work or I'm not entering it into Lectora properly.  Has anyone succussfully created a BACK button in Captivate?
    Using Captivate 3.
    One code I've tried that won't work:  <a href="javascript:history.go(-1)" </a>

    Hi there
    This could be an issue with Flash Player Security as described in the link below.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • 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

  • Ctrl+F5 and Browser Back Button

    I have read many posts about these issues, but did not reach to any result.
    I realize that they are a kind of validation, but how can we work around them?
    I have tried to set "EnableTokenValidation" property in the page definition to false, but this causes more problems, since instead of "Creation/Insert" mode, the page appears to be in an "Update" mode.
    It came upon my mind to hide browser's tool bars, but I am not sure for this...
    So, please, does anyone have reached a solution, or even any recommendations?
    Thanx in advance

    Hi,
    you are tackling two issues here:
    1 - page refresh
    2 - browser back button
    Both are typical JavaEE issues
    1 - If you submitted a page then a refresh will not bring it back into createInsert mode. If you want it to get back into CreateInsert mode, set an invokeAction on the executableSection of the binding to invoke CreateInsert on any page request
    2 - The recommended way of doing this - described as a pattern in J2EE - is a dejavu token that allows you to detect duplicate requests. The best solution I saw working though is a piece of JavaScript that on the client side deleted the browser history. This way the browser back button became non-functional
    Frank

  • Reporting Services add (browser) back button

    Dear all,
    I have a client that has 4 reports; 1 main, and 3 that are rendered when the user clicks the report data on the main report (which passes parameters to generate the other 3).
    They would like to have a back button in the report header of the 3 reports (they don't want to use the browser back button).
    Is this possible using a text box, then editing the navigation properties and does anyone have an example? Or am I missing something quite obvious?
    Any help would be gratefully received!!
    Dan

    Check this link on how to implement it
    http://road-blogs.blogspot.com/2010/04/adding-breadcrumbs-to-your-drillthrough.html
    Cheers,
    Jason
    P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

  • Open previously viewed Tabbed Panel when using browser back button

    I have a page containing SPRY tabbed panels, and was wondering if there was a way that if a user navigates back to this page using the browser back button, the last panel viewed could remain open. Using hash tags in the URL works for Mozilla but not for IE8. Here is the sample page: http://www.davidkneale.com/wcusa/expedition_leader.html
    Does anyone know how I can get this to work in IE8?

    Perhaps you missed the announcement that Adobe is no longer investing in the development of Spry. See: http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l.
    There used to be a dedicated Spry forum, but it has been changed to read-only.
    Spry isn't exactly dead, but nor is it in the best of health. Add to that the fact that IE 8 doesn't support the HTML5 history management API, and the lack of replies isn't really surprising.

  • Form field validation: All required data lost when clicking browser-back-button!

    Hi folks,
    I have a big problem using the validation text  field components of Spry when the user must click the browser back button (or clicking a history.back()-Link) because he has  entered a wrong CAPTCHA-code!
    Right now, all the data - only in the required fields - not in the optional  fields!!! - is lost and the user has to enter all data once  again;-(
    Does anybody know why only the data in the  required fields is lost? Is there a nice workaround?
    I really  appreciate a quick answer:-)
    Kind regards from cloudy Germany
    Thomas

    rememberFormInputs('frmlogin', 'input-');
    'frmlogin' should be the id of page, not the name. so on your <form> tag, add the id="frmlogin"
    remove the
    // overload alert
    function alert(str) {
         var el = document.getElementById('alert');
         if (el) {
              el.value += str+"\r\n";
    Its really bad practice to overwrite the alert. and inside the rememberFormInputs remove these lines:
    alert('old value remembered: '+old_value);
    alert('setCookie: '+name + ' = '+value);
    and it should work

  • IE Browser back button goes to two pages back

    I am not using JSPs, using a servlet ABSServlet to display the search page, after entering the search criteris I'm displaying a report page. The report page has a button 'Save As Excel' which open the report in the Excel form. When I click on this button browser asks 'Open' or 'Save'. I clicked on 'Open'. It open the report in excel form in the same page. Now if I press the IE Browser back button it takes me to the Search page instead of the report page.
    Ideally it should go back to the Report page(preiosu page) if I click the back button and not to the previous to previous page. Can someone help?

    You cannot (practically) modify the function of the browser's back button...
    You can patch it though.
    Put in the intermediate (search) page something like
    <script language="Javascript"><!--
    function sendBack()
      wherefrom=history.forward(1); //only valid if the back button has been used. otherwise null
      length=wherefrom.length();//length of 'forward page's url'
      if (history.forward(1).substring(length-4)==".xls") //the back button has been press on a url ending .xls - back from a spreadsheet
        location.href=history.back(1); //go back once more from here
      else
        //this is if the back button was not used or if back button was used from a page that is not an excel spreadsheet;
        //if you write nothing here, the page just display as though this function were not here
    //--></script>
    <body onload="sendback()">Not really a Java solution, but should work.
    Bamkin :-)

  • 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

Maybe you are looking for

  • Applet java.rmi.RemoteException class not found

    Hi, my applet uses the RMI connection to server. Applet working fine with appletviewer. i try to load my applet in IE its giving class not found error. error message : java.lang.ClassNotFoundException: java.rmi.RemoteException      at com/ms/vm/loade

  • Bluetooth basics

    I have a few basic questions that I couldn't find clear answers to elsewhere if anybosy can help me I would be grateful I'm looking to connect mt Imac (which doesn't have inbuilt bluetooth with my SE V600i phone. 1) Can anybody recomend a good USB Bl

  • SmartTalk trialist needs help please.

    Hi Since the trial went live I am unable to use my SmartTalk, I go around in a loop trying to sort it out. Can a Mod please help get my SmartTalk deleted/remove user as I seem to be unable to, I can then start again. Cheers Alan Solved! Go to Solutio

  • JDBC and web services

    Hi, I have a MySQL server running in my machine. I know for sure it's working, but now I'm developing a web service and I get this message: java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection

  • I dropped my phone and it cracked and wont power on. It powers on for a second and it turns off does not vibrate or anything. how can I fix this problem?

    I dropped my phone and it cracked and it wont power on it sometimes powers on but it immediately shuts back off what do I do