留言板

Edit Mode(Preferences) in Liferay 7 modules

thumbnail
ANKIT SRIVASTAVA,修改在7 年前。

Edit Mode(Preferences) in Liferay 7 modules

Junior Member 帖子: 76 加入日期: 11-2-2 最近的帖子
Hi All,

I am trying to create a module(portlet) with view and edit mode.

How can we define edit mode for this? I tried with this property in component but did not get any luck:

"javax.portlet.init-param.edit-template=/edit.jsp"

Thanks,
Ankit
thumbnail
ANKIT SRIVASTAVA,修改在7 年前。

RE: Edit Mode(Preferences) in Liferay 7 modules

Junior Member 帖子: 76 加入日期: 11-2-2 最近的帖子
Finally, I was able to get the edit mode of generic portlet by defining this property:

"javax.portlet.portlet-mode=text/html;view,edit"

Thanks,
Ankit
thumbnail
Santosh B Biradar,修改在6 年前。

RE: Edit Mode(Preferences) in Liferay 7 modules

Junior Member 帖子: 41 加入日期: 15-8-4 最近的帖子
Hi ,
Following code is engough to make our portlet as a edit mode

"javax.portlet.portlet-mode=text/html;edit"

Regards
Santosh B(Zensar Techhnology)