Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
raghu raghu
Difference between hook and ext
16 de abril de 2013 23:45
Respuesta

raghu raghu

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 2 de noviembre de 2011

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
Raja Seth
RE: Difference between hook and ext
16 de abril de 2013 23:49
Respuesta

Raja Seth

Ranking: Regular Member

Mensajes: 143

Fecha de incorporación: 18 de agosto de 2011

Mensajes recientes

raghu raghu
RE: Difference between hook and ext
17 de abril de 2013 0:15
Respuesta

raghu raghu

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 2 de noviembre de 2011

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
Raja Seth
RE: Difference between hook and ext
17 de abril de 2013 0:28
Respuesta

Raja Seth

Ranking: Regular Member

Mensajes: 143

Fecha de incorporación: 18 de agosto de 2011

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
Joaquin Cabal
RE: Difference between hook and ext
18 de abril de 2013 6:30
Respuesta

Joaquin Cabal

Ranking: Junior Member

Mensajes: 51

Fecha de incorporación: 7 de septiembre de 2009

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!