Fórum
extension of RuntimePortletImpl
A M, modificado 10 Anos atrás.
extension of RuntimePortletImpl
Junior Member Postagens: 66 Data de Entrada: 08/09/11 Postagens Recentes
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?
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?
Amos Fong, modificado 10 Anos atrás.
RE: extension of RuntimePortletImpl (Resposta)
Liferay Legend Postagens: 2047 Data de Entrada: 07/10/08 Postagens Recentes
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);
-Use an ext plugin
-in any plugin, write your own Impl, and set it in the Util
RuntimePortletUtil.setRuntimePortlet(customerRuntimePortletImpl);