Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
wei tang
hook use ext-plugin class
December 3, 2012 10:33 PM
Answer

wei tang

Rank: Junior Member

Posts: 33

Join Date: December 3, 2012

Recent Posts

I create a class in ext. but the class can't be used in hook, how to resolve? Modify "portal-dependency-jars=ext-gx-ext-impl.jar" item in liferay-plugin-package.properties is useless!
David H Nebinger
RE: hook use ext-plugin class
December 4, 2012 5:26 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 5740

Join Date: September 1, 2006

Recent Posts

Hooks normally apply to the ROOT application. Your class deployed in the EXT plugin will be available.

If you're seeing the error indicators in Eclipse, you can just ignore them. At runtime all should be fine.
wei tang
RE: hook use ext-plugin class
December 4, 2012 6:00 AM
Answer

wei tang

Rank: Junior Member

Posts: 33

Join Date: December 3, 2012

Recent Posts

I Override class in ext-plugin, but it's doesn't work, it seems still use core class. not my class
Amos Fong
RE: hook use ext-plugin class
December 4, 2012 10:25 AM
Answer

Amos Fong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1841

Join Date: October 7, 2008

Recent Posts

which class did you override in your ext-plugin and how are you trying to use it in your hook?
wei tang
RE: hook use ext-plugin class
December 4, 2012 11:51 AM
Answer

wei tang

Rank: Junior Member

Posts: 33

Join Date: December 3, 2012

Recent Posts

com.liferay.portal.util.PortletCategroyKeys