Foros de discusión

extension of RuntimePortletImpl

A M, modificado hace 10 años.

extension of RuntimePortletImpl

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
Hi,
Can you please tell me how can i extend RuntimePortletImpl class(i want to add some lines of code in processTemplate method). Is it possible through hook? If not then what other options i do have?
thumbnail
Amos Fong, modificado hace 10 años.

RE: extension of RuntimePortletImpl (Respuesta)

Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
I can think you have 2 options.

-Use an ext plugin
-in any plugin, write your own Impl, and set it in the Util

RuntimePortletUtil.setRuntimePortlet(customerRuntimePortletImpl);