Fórumok

Overriding class in ext

wei tang, módosítva 11 év-val korábban

Overriding class in ext

Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2012.12.03. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Overriding class in ext

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
Did you restart liferay?
wei tang, módosítva 11 év-val korábban

RE: Overriding class in ext

Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2012.12.03. Legújabb bejegyzések
Hitoshi Ozawa:
Did you restart liferay?

restart server again and again!
thumbnail
Hari Dobbala, módosítva 11 év-val korábban

RE: Overriding class in ext

Junior Member Bejegyzések: 29 Csatlakozás dátuma: 2012.11.18. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Overriding class in ext

Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2012.12.03. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Overriding class in ext

Regular Member Bejegyzések: 104 Csatlakozás dátuma: 2011.07.27. Legújabb bejegyzések
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