留言板

How to customize util-taglib classes in Liferay 7

thumbnail
Jitendra Rajput,修改在7 年前。

How to customize util-taglib classes in Liferay 7

Liferay Master 帖子: 875 加入日期: 11-1-7 最近的帖子
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,修改在7 年前。

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

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
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,修改在7 年前。

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

Liferay Master 帖子: 875 加入日期: 11-1-7 最近的帖子
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 !