I am developing in a HATS 8.5 scenario, and I would like to know how to display an application page that is server side. For example, when 5250 application shows some automatic displays when a process is finished. HATS doesn't notice them until the client side update or refresh the application. Any idea how to refresh client side automatically in order to show this server side displays? I have already activate client-AJAX but with not succeed.
Pinned topic How to display server side displays automatically.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-09-25T08:25:22Z at 2012-09-25T08:25:22Z by XAA
tmparker 120000EHB3529 Posts
Re: How to display server side displays automatically.2012-09-24T13:12:04ZThis is the accepted answer. This is the accepted answer.The only way is to use the AJAX auto refresh feature. I am not sure how you application is setup or what you are doing so it is hard to say why it is not working for you. The only thing I can say is that if the user makes any changes to the HATS page then we will not automatically update the client page should there be a change on the host. This is to prevent the user from losing data they entered before the update occurred. Besides that there should be no reason the updated screen would not get sent to the client side.
XAA 270002DSQY25 Posts
Re: How to display server side displays automatically.2012-09-25T08:25:22ZThis is the accepted answer. This is the accepted answer.
- tmparker 120000EHB3
I have solved the problem with the AJAX auto refresh feature, but adding a meta tag in the HATS page in order to refreshing it. It works, but as you said, it should be only necesary the AJAX refresh feature. Maybe I've had a problem with the cache.
<meta http-equiv="Refresh" content="2" />
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">