Fórumok

Difference between hook and ext

raghu raghu, módosítva 10 év-val korábban

Difference between hook and ext

New Member Bejegyzések: 4 Csatlakozás dátuma: 2011.11.02. Legújabb bejegyzések
Hi All,

I am new to liferay world..

We are using liferay6.0.5 CE.

I goggle to know the difference between hook and ext.And got the below link.

http://www.liferay.com/community/forums/-/message_boards/message/12555000.

But I have some questions regarding ext: and hook

i)why it's not possible to deploy more than one ext plugin per Liferay installation.

ii)Can we use liferat-src bundle for hook? or it is only for ext.

iii)Can we please explain with example about the limitation of Hook. over ext.

iv)Can we change the action page of the portlet through hook(Both for out of box portlet and custom portlet).

Thanks In Advance

Raghu
thumbnail
Raja Seth, módosítva 10 év-val korábban

RE: Difference between hook and ext

Regular Member Bejegyzések: 233 Csatlakozás dátuma: 2011.08.18. Legújabb bejegyzések
raghu raghu, módosítva 10 év-val korábban

RE: Difference between hook and ext

New Member Bejegyzések: 4 Csatlakozás dátuma: 2011.11.02. Legújabb bejegyzések
Hi Raja,

Thanks for an early response.

i checked your url as well as the below url.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/extending-and-customizing-lifer-3.

But still not able to get my all answers.

Suppose i would like to change the date format of calender portlet with out custom format,

Then should i go for hooks or ext so that our goal will fulfill. ?

Thanks
thumbnail
Raja Seth, módosítva 10 év-val korábban

RE: Difference between hook and ext

Regular Member Bejegyzések: 233 Csatlakozás dátuma: 2011.08.18. Legújabb bejegyzések
raghu raghu:
Hi Raja,

Thanks for an early response.

i checked your url as well as the below url.
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/extending-and-customizing-lifer-3.

But still not able to get my all answers.

Suppose i would like to change the date format of calender portlet with out custom format,

Then should i go for hooks or ext so that our goal will fulfill. ?

Thanks



HI Raghu,

This might help you..
http://www.liferay.com/community/forums/-/message_boards/message/11416842

Regards,
Raja
thumbnail
Joaquin Cabal, módosítva 10 év-val korábban

RE: Difference between hook and ext

Regular Member Bejegyzések: 106 Csatlakozás dátuma: 2009.09.07. Legújabb bejegyzések
Hi Raghu,
Hooks are specifically for override some events, services, properties or jsp files.

Ext, are used for all that you want to override but, you can't do it by a hook.

I think all you can override through a jsp , you should use a Hook, like the date example

Regards!