Foros de discusión

Difference between hook and ext

raghu raghu, modificado hace 10 años.

Difference between hook and ext

New Member Mensajes: 4 Fecha de incorporación: 2/11/11 Mensajes recientes
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, modificado hace 10 años.

RE: Difference between hook and ext

Regular Member Mensajes: 233 Fecha de incorporación: 18/08/11 Mensajes recientes
raghu raghu, modificado hace 10 años.

RE: Difference between hook and ext

New Member Mensajes: 4 Fecha de incorporación: 2/11/11 Mensajes recientes
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, modificado hace 10 años.

RE: Difference between hook and ext

Regular Member Mensajes: 233 Fecha de incorporación: 18/08/11 Mensajes recientes
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, modificado hace 10 años.

RE: Difference between hook and ext

Regular Member Mensajes: 106 Fecha de incorporación: 7/09/09 Mensajes recientes
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!