Forums de discussion
How to use the functions of a portlet into another portlet?
Abhishek Jain, modifié il y a 6 années.
How to use the functions of a portlet into another portlet?
Regular Member Publications: 226 Date d'inscription: 20/08/16 Publications récentes
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..
Olaf Kock, modifié il y a 6 années.
RE: How to use the functions of a portlet into another portlet?
Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentesAbhishek 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.