Fórum

how to stop refreshing portal?

kunal hemrajani, modificado 8 Anos atrás.

how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
how to stop refreshing portal?
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Stop hitting refresh button?
kunal hemrajani, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
i am not hitting that when i open and closed the portlet it get refreshed.emoticon
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
kunal hemrajani:
i am not hitting that when i open and closed the portlet it get refreshed.emoticon


So when my daughter was like two she used to get upset and cry, but unfortunately only she knew why she was upset. Our only advice for her was to "Use your words..."

Seriously, unless you're going to take some time and spell out your issue, there's absolutely no way that anyone is going to be able to do anything for you.

For example, I think you're probably not a fan of a click causing a full page refresh within the portal and you're actually interested in finding out about AJAX-based portlets. If you're like the other guy in the other thread wanting the OOTB portlets to be AJAX-based you're going to be disappointed, but that's a different discussion.

Perhaps you're wondering about your own custom portlets.

But who knows. Unless you use your words and write it out, we'll never know and you'll never get a satisfactory response.
kunal hemrajani, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
see the attachment when i am clicking on cross button or send button the whole page where private message portlet lies get refreshed??
But in that page i have a real time dashboard in iframe it also get refreshed and this irritates the client.I want to stop that refreshing?
thumbnail
David H Nebinger, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
There will not be any magic towards refresh.

To not do a full page refresh you have to AJAX-ify your portlets. Rather than submitting a form, for example, you gather up the values, send them via javascript and get a result back, then you update the DOM to reflect the difference.

If it's a Liferay OOTB portlet, you're often better off writing your own implementation as trying to AJAX-ify the Liferay portlets proves to be quite difficult.
kunal hemrajani, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
thanks David for your help.
thumbnail
Ravi Kumar Gupta, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Why not check the functions being called whenever you close the dialog either using close button or send button. I believe, your send button is working as designed but event close icon is not. There might be some event handler being attached to these.
kunal hemrajani, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
thanks man! i got my solution and it works.
Harsh Joshi, modificado 8 Anos atrás.

RE: how to stop refreshing portal? (Resposta)

Junior Member Postagens: 27 Data de Entrada: 28/01/15 Postagens Recentes
David H Nebinger:
kunal hemrajani:
i am not hitting that when i open and closed the portlet it get refreshed.emoticon


So when my daughter was like two she used to get upset and cry, but unfortunately only she knew why she was upset. Our only advice for her was to "Use your words..."

Seriously, unless you're going to take some time and spell out your issue, there's absolutely no way that anyone is going to be able to do anything for you.

For example, I think you're probably not a fan of a click causing a full page refresh within the portal and you're actually interested in finding out about AJAX-based portlets. If you're like the other guy in the other thread wanting the OOTB portlets to be AJAX-based you're going to be disappointed, but that's a different discussion.

Perhaps you're wondering about your own custom portlets.

But who knows. Unless you use your words and write it out, we'll never know and you'll never get a satisfactory response.



lol
thumbnail
Harish Kumar, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Same question already asked here

https://www.liferay.com/de/community/forums/-/message_boards/message/55619095
https://www.liferay.com/community/forums/-/message_boards/message/55621701
kunal hemrajani, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
do you have any ans?
thumbnail
Harish Kumar, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Its been answered already in this thread
kunal hemrajani, modificado 8 Anos atrás.

RE: how to stop refreshing portal?

Regular Member Postagens: 109 Data de Entrada: 21/05/15 Postagens Recentes
but i didn't get that properly