掲示板

How to use the functions of a portlet into another portlet?

thumbnail
6年前 に Abhishek Jain によって更新されました。

How to use the functions of a portlet into another portlet?

Regular Member 投稿: 226 参加年月日: 16/08/20 最新の投稿
I want to ask how to use the functions defined in one portlet to another portlet present in different project in liferay 6.2. Please help... thanks in advance..
thumbnail
6年前 に Olaf Kock によって更新されました。

RE: How to use the functions of a portlet into another portlet?

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
Abhishek Jain:
I want to ask how to use the functions defined in one portlet to another portlet present in different project in liferay 6.2.


If it's in Java: Extract them into a common library (or, if they're in the same plugin, just into a different class) and use that one. If it's Javascript, consider adding the functions to the theme if they're commonly used throughout your portal.