Welcome Guest Search | Active Topics | Sign In | Register

JSP-Forms doesn't reload Options
Life Science Development
Posted: Tuesday, June 27, 2023 5:57:02 AM
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



eo_support
Posted: Wednesday, June 28, 2023 12:20:19 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
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!
Life Science Development
Posted: Monday, July 3, 2023 2:32:52 AM
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!
Life Science Development
Posted: Wednesday, July 5, 2023 5:49:07 AM
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.
eo_support
Posted: Wednesday, July 5, 2023 9:43:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Great!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.