Skip to Content

Button click is giving different pop up before the define in the sap ui5 code- IE browser

It is happening only in IE browser. It works in chrome.

Pop up message :To display the webpage again, the browser needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click Retry to display the webpage again.

Once you click on retry it worked and redirdt to the pop up defined in the UI5 code. So from where this extra po up comes and why? I have seen this in one of the blog that it is because of refresh logic but in my case refresh logic come when you click on the pop up message ok/cancel.

refresh logic :window.location.reload()


Please check if you would have faced similar issue.

Thanks and Regards,

RK

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 23, 2019 at 06:37 AM

    Hi ram mishra,

    This is definitely not related to UI5 issues and a quick search lead me to the below solution.

    https://stackoverflow.com/questions/17723944/to-display-the-webpage-again-internet-explorer-needs-to-resend

    But again, if you want to use refresh logic, just refresh the data and models you loaded in the ui5 app and don't refresh the whole webpage, it will spoil the user experience for sure. Any reason why you are specifically refreshing the whole page?

    Br,
    Mahesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi ram mishra,

      refresh is used for resending the requests to the backend and works for odata model, ideally when binded to controls.( I think, not 100%sure).

      But what I am sure is if you are having a json model which has the data fetched from a request(odata or something) then simply reset the model data like oModel.setData([]) or oModel.setData({}) depending on the type of data you are having. This is what I am talking about when saying resetting means, Let me know if you have any doubts,

      BR,

      Mahesh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.