Foros de discusión

Overriding class in ext

wei tang, modificado hace 11 años.

Overriding class in ext

Junior Member Mensajes: 36 Fecha de incorporación: 3/12/12 Mensajes recientes
I modify com.liferay.portal.util.PortletCategroyKeys in my ext-plugin, but my class not work. The ext-web or hook jsp's use liferay PortletCategroyKeys still, how to fixed the problem? I am sure that ext-impl.jar is be updated in /lib.
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Overriding class in ext

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Did you restart liferay?
wei tang, modificado hace 11 años.

RE: Overriding class in ext

Junior Member Mensajes: 36 Fecha de incorporación: 3/12/12 Mensajes recientes
Hitoshi Ozawa:
Did you restart liferay?

restart server again and again!
thumbnail
Hari Dobbala, modificado hace 11 años.

RE: Overriding class in ext

Junior Member Mensajes: 29 Fecha de incorporación: 18/11/12 Mensajes recientes
Hi Wei,

com.liferay.portal.util.PortletCategoryKeys file is in portal-service.jar not in imp jar. After plugin-ext deployment please check in ext-serivce jar which is on global ext folder to check whether your modified class is existed if exist restart the server and check the changes.

Hope this may help you.
wei tang, modificado hace 11 años.

RE: Overriding class in ext

Junior Member Mensajes: 36 Fecha de incorporación: 3/12/12 Mensajes recientes
com.liferay.portal.util.PortletCategroyKeys is spelled. It's "PortletCategoryKeys" not "PortletCategroyKeys". It's work in ext-impl.jar ext-service.jar both. thank for your response
thumbnail
Sushil Kumar Saini, modificado hace 11 años.

RE: Overriding class in ext

Regular Member Mensajes: 104 Fecha de incorporación: 27/07/11 Mensajes recientes
Hi Wei,

Have your problem sorted?
I also want to do the similar thing. wanted to override a class in the portal-impl.jar through ext plugin.

Thanks