留言板

RE service.js

thumbnail
Manikantha Rajamani,修改在9 年前。

RE service.js

Expert 帖子: 258 加入日期: 14-3-25 最近的帖子
Hi
Guys

I have developed one portlet.
I build the service.In service .xml i have given remote service=false at that time there is no service.js file in js folder
ones again i make remote-service=true then again build the service i absorved service.js file in js folder.
thes oned again i make remote-service=false i build the service ones again still that service.js file is existing in js folder


what is use of that service.js file
it contain only one line.

plz clarify the dought

regards
Manikantha R
thumbnail
David H Nebinger,修改在9 年前。

RE: RE service.js

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
when you change the values of the local and remote services, you should do a clean first. service.js gets generated when remote is true, but nothing gets purged if you set remote=false and rebuild services. All of the remote code will stick around.