[Light Ajax Refresh] Convert this into a reusable web block widget

Forge Component
Published on 2015-09-09 by Gonçalo Borrêga
6 votes
Published on 2015-09-09 by Gonçalo Borrêga
My only suggestion would be to convert this example into a reusable component.

Remove message viewer, messages entity sample code etc and have a simple web block where developers can drag and drop into their eSpace project setup refresh time interval and refresh button id via input parameter is enough.


Have you considered using html5 server sent event?
 https://www.w3schools.com/html/html5_serversentevents.asp (it's much easier and less complicated to implement than web sockets)

Here are examples: https://www.html5rocks.com/en/tutorials/eventsource/basics/