掲示板

Commom javascript for 2 portlet

thumbnail
11年前 に Ajeykumar HB によって更新されました。

Commom javascript for 2 portlet

Junior Member 投稿: 72 参加年月日: 12/03/13 最新の投稿
Hi All,

i have 2 portlet, i need to develop one java script of generic type, that will generate pop up for both the portlet, how i can achieve, and where i need to keep that java script file to make both the portlet will access it.

Thanks
Ajeykumar HB
thumbnail
11年前 に David H Nebinger によって更新されました。

RE: Commom javascript for 2 portlet

Liferay Legend 投稿: 14914 参加年月日: 06/09/02 最新の投稿
Seriously? You didn't like your answers in your other post?
thumbnail
11年前 に Sreeraj AV によって更新されました。

RE: Commom javascript for 2 portlet

Regular Member 投稿: 239 参加年月日: 10/04/27 最新の投稿
Ajeykumar HB:
Hi All,

i have 2 portlet, i need to develop one java script of generic type, that will generate pop up for both the portlet, how i can achieve, and where i need to keep that java script file to make both the portlet will access it.

Thanks
Ajeykumar HB



Don't use portlet namespace when defining javascript function. you can write function definition in any portlet and call it from other portlet.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Commom javascript for 2 portlet

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
i have 2 portlet, i need to develop one java script of generic type, that will generate pop up for both the portlet, how i can achieve, and where i need to keep that java script file to make both the portlet will access it.

Ajeykumar, please do not post the same question several times in the forum. It's against the forum rules.