Fórum
Reload the portlet after processing an Event
Nik Art, modificado 11 Anos atrás.
Reload the portlet after processing an Event
New Member Postagens: 6 Data de Entrada: 20/03/13 Postagens Recentes
Hi!
High level description
=========
There are two portlets. They use server-side IPC. The first one sends events using ProcessAction(...). The second one processes them in proccessEvent(...)
JSP+Java are used for the second portlet
What I want
=========
I want, the second portlet, when it finishes proccessing an event, to redraw itself.
Question
=========
How can I archive this?
High level description
=========
There are two portlets. They use server-side IPC. The first one sends events using ProcessAction(...). The second one processes them in proccessEvent(...)
JSP+Java are used for the second portlet
What I want
=========
I want, the second portlet, when it finishes proccessing an event, to redraw itself.
Question
=========
How can I archive this?
David H Nebinger, modificado 11 Anos atrás.
RE: Reload the portlet after processing an Event
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
It's tough. What you're asking to do is implement push from the server to the client. If you were using a modern framework like JSF or Vaadin, there are solutions for dealing w/ push.
For JSP, though, you're left to your own devices for handling server push. Possibly the AUI tag lib might help you here, but you haven't indicated whether you're using any of the Liferay tag libs.
For JSP, though, you're left to your own devices for handling server push. Possibly the AUI tag lib might help you here, but you haven't indicated whether you're using any of the Liferay tag libs.