RE: Liferay 7 PortletConfigurationPortlet Hook

srini vasulu, modified 6 Years ago. Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts
Hi All,

In Liferay document library when we update the permissions of folder "A" . Folder A subfolders -> subfolders upto end folder also needs to update with same permissions.
In 6.2 i did it using of  structuts Action path(EditPermissionsAction action class hook implemented) and working fine, but now i need to implement same thing in liferay 7 in liferay 7 they implemented permissions in portlet-configuration-web MVC portlet(PortletConfigurationPortlet ) But in hook how we can implement it?
The EditPermissionsAction class Extented MVCportlet and in this class updateRolePermissions is a action Method.
But In jsp page they are not using the MVCActionCommand

<portlet:actionURL name="updateRolePermissions" var="updateRolePermissionsURL">
            <portlet:param name="mvcPath" value="/edit_permissions.jsp" />
            <portlet:param name="tabs2" value="<%= tabs2 %>" />
            <portlet:param name="cur" value="<%= String.valueOf(cur) %>" />
            <portlet:param name="delta" value="<%= String.valueOf(delta) %>" />
            <portlet:param name="returnToFullPageURL" value="<%= returnToFullPageURL %>" />
            <portlet:param name="portletConfiguration" value="<%= Boolean.TRUE.toString() %>" />
            <portlet:param name="portletResource" value="<%= portletResource %>" />
            <portlet:param name="modelResource" value="<%= modelResource %>" />
            <portlet:param name="modelResourceDescription" value="<%= modelResourceDescription %>" />
            <portlet:param name="resourceGroupId" value="<%= String.valueOf(resourceGroupId) %>" />
            <portlet:param name="resourcePrimKey" value="<%= resourcePrimKey %>" />
            <portlet:param name="roleTypes" value="<%= roleTypesParam %>" />
        </portlet:actionURL>



Using of ActionCommandHook we can implement it?. if yes Please give me basic idea how to implement?

Please let me know if any one knows.
srini vasulu, modified 6 Years ago. Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts
Hi,Any solution for above issue?