Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Artem Nikiforov
Reload the portlet after processing an Event
21 de Abril de 2013 00:07
Resposta

Artem Nikiforov

Ranking: New Member

Mensagens: 5

Data de entrada: 20 de Março de 2013

Mensagens 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?
David H Nebinger
RE: Reload the portlet after processing an Event
21 de Abril de 2013 07:42
Resposta

David H Nebinger

Ranking: Liferay Legend

Mensagens: 6274

Data de entrada: 1 de Setembro de 2006

Mensagens 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.