Liferay + refreshing

I would need to refresh a portlet / layout in a portlet for multiple users after database changes. How this could be done?

Hi Heli,

One way of accomplishing this would be to make use of the
Refresher add-on
and in your application add logic for checking if something has changed and update the UI if it has. Refresher works by polling the server for changes. There are examples of this linked from the directory page.

(There’s also the ICEPush add-on, but I’m unsure of whether it works in Liferay or not)

The logic for checking and updating the UI could be called from a TransactionListener, which is always called when there is a request to the server.

Hope this gives you some hints as to where to begin.