Foros de discusión

How to customize util-taglib classes in Liferay 7

thumbnail
Jitendra Rajput, modificado hace 7 años.

How to customize util-taglib classes in Liferay 7

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
Hi,

We have requirement where we would like to customize RunTimeTag class which belongs to util-taglib.jar and responsible for embedding portlet inside theme.

I looked in to Liferay Blade Samples as well to see if we can achieve this by creating module but no luck.

In older version of Liferay this can be customizable by creating ext-plugin but not sure how can we customize the same class in Liferay DXP.

Same question applies for the other utility or independent class (i.e PortletPreferencesFactoryUtil , PortletURLUtil)which belongs to either portal-kenal or portal-impl. How can we customize those classes in Liferay DXP now ?

Any pointer on this issue would be really helpful.

Thanks !
thumbnail
David H Nebinger, modificado hace 7 años.

RE: How to customize util-taglib classes in Liferay 7

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
EXT is not supported. Changing core portal classes like this is not supported.

You can, however, create your own tag library and build whatever you need. Since you have the source you can copy the Liferay code and use that as a foundation for your adaptation.
thumbnail
Jitendra Rajput, modificado hace 7 años.

RE: How to customize util-taglib classes in Liferay 7

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
David H Nebinger:
EXT is not supported. Changing core portal classes like this is not supported.


Copying and re creating every thing for small changes won't be feasible for us as we have couple of use cases like this where don't see any way for customization in DXP.

Thanks !