Fórum

How to call render methode from action methode

thumbnail
Ajeykumar HB, modificado 11 Anos atrás.

How to call render methode from action methode

Junior Member Postagens: 72 Data de Entrada: 13/03/12 Postagens Recentes
Hi all,

How to call render methode from action methode

Thank you
Ajeykumar
thumbnail
Paul ., modificado 11 Anos atrás.

RE: How to call render methode from action methode

Liferay Master Postagens: 522 Data de Entrada: 29/08/11 Postagens Recentes
Render will be called by Portal after action is completed
thumbnail
Amit Doshi, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Liferay Master Postagens: 550 Data de Entrada: 29/12/10 Postagens Recentes
Hi AjeyKumar,

Can you please explain more. Why you need to do this?

Thanks & Regards,
Amit Doshi
thumbnail
Priyanka Dhingra, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Liferay Master Postagens: 501 Data de Entrada: 20/12/11 Postagens Recentes
Hi,
Absolutely, its by default after process Action Render will be called...
Only exception is with the serveResource..after this method render is not called
thumbnail
Ajeykumar HB, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Junior Member Postagens: 72 Data de Entrada: 13/03/12 Postagens Recentes
Hi all,
thanks for your replay,

i want to call render methode of diffrent signature after the action call, for example render methode with 3 parameter or 4 parameter.

Thank you
Ajeykumar
thumbnail
Priyanka Dhingra, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Liferay Master Postagens: 501 Data de Entrada: 20/12/11 Postagens Recentes
Hi,
Render method is predefined..we can just override it...how can you have different signatures for it?
thumbnail
Jitendra Rajput, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
Are you using Spring MVC portlet ?
thumbnail
Ajeykumar HB, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Junior Member Postagens: 72 Data de Entrada: 13/03/12 Postagens Recentes
No i am using liferay MVC
Subhash Shah, modificado 11 Anos atrás.

RE: How to call render methode from action methode

Junior Member Postagens: 78 Data de Entrada: 30/11/11 Postagens Recentes
You can do this easily with spring mvc portlet. But if you are not using it, you can make your rendering logic condition-based.