Portlet Edit Mode (Portlet preference) to replace Portlet configuration

Within the EDIT portlet mode, a portlet should provide content and logic that lets a user customize the behavior of the portlet

Typically, portlets in EDIT portlet mode will set or update portlet preferences.


Add the following properties to the MVCPortlet component annotation.

"javax.portlet.portlet-mode=text/html;edit"
"javax.portlet.init-param.edit-template=/edit.jsp"




And then If you go into the grid button on the portlet, 'Preference' option will appear which redirects you to edit.jsp


Comments

Popular posts from this blog

GoGo Shell & What can be deleted in Liferay Instance