|
Rank: Newbie Groups: Member
Joined: 4/1/2020 Posts: 7
|
Hello, we are using the EO.Browser Version 23.1.25.0. We have the problem that the WebView doesn't reload jsp-Formulars, which comes from our server. I tried to use Reload() and Reload(true). On other pages like google.de the page reloads. I put the link in chrome and tried it there. There it works. Also after we made some changes and reload the page in Chrome, a dialog "Confirm Form Resubmission" appears. How can we use this in the WebView-Control? ______________________________________________________ Confirm Form Resubmission The Page that you're Iooking for used information that you entered. Returning to that Page might cause any action you took to be repeated. Do you want to continue? Continue | Cancel
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
Can you send us a link in private message that we can load from here to see if we can see the problem? Please also include step by step instructions.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 4/1/2020 Posts: 7
|
The server is set up locally and all the information comes from there.I need to speak with my colleagues and see if it's even possible to share the JSP-Form.I will respond soon!
|
|
Rank: Newbie Groups: Member
Joined: 4/1/2020 Posts: 7
|
I found a solution.
I replaced the Reload Command with "webView.QueueScriptTask("window.onbeforeunload = function() {return \"Data will be lost if you refresh the page. Are you sure?\";};" + "location.reload()");"
After that the pages will be reload. Then i use the Event "WebView_JSDialog". If changes were made and the user wants to reload, a dialog with the options Yes/No will popup.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great!
|
|