Do CA Gen Web View applications support browser Back/Forward/Refresh buttons

book

Article ID: 208853

calendar_today

Updated On:

Products

CA Gen - Workstation Toolset CA Gen

Issue/Introduction

Do CA Gen Web View applications support browser Back/Forward/Refresh buttons like Web Generation applications support "Browser Controlled History Handling"?

Under Web View applications it has been observed that the browser Back button does not return to previous Gen application page and instead receive prompt to "Leave this page" which then returns to browser home page.
This occurs for all browser types and for example if using Internet Explorer in Developer mode (F12) the Console will show the below message before the user accepts the prompt to "Leave this page" which returns to the browser home page:

DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337

Environment

Release : 8.6
Component : ECLIPSE WEB VIEW

Resolution

Using the Browser Back button or any Browser Controlled History Handling is not supported in Web View like it is in Web Generation.
A Web View application is dynamically updating its content and hence browser caching does not retain the state.
Also when the user attempts to use the browser Back and Forward buttons, a Web View application treats this as the user is trying to leave the application.
In summary, the Browser Back and Forward and cache Refresh does not work with Web View. The original idea of Web View to update the page without modifying the URL and refreshing the page.