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

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

  
Forge Component
(5)
Published on 2015-09-09 by Goncalo Borrega
5 votes
Published on 2015-09-09 by Goncalo Borrega
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.


Goncalo,

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

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