diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component index 46a12de8..7be8b0a8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/.settings/org.eclipse.wst.common.component @@ -9,6 +9,15 @@ uses + + uses + + + uses + + + uses + uses diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java index d3ea3d80..25b2af5b 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/portlet/GestioneAttivitaPortlet.java @@ -255,8 +255,11 @@ public class GestioneAttivitaPortlet extends MVCPortlet { role = RoleLocalServiceUtil.getRole(serviceContext.getCompanyId(), "portos_assegnatore"); break; case "Esito": - role = RoleLocalServiceUtil.getRole(serviceContext.getCompanyId(), "portos_istruttore"); - break; + // role = + // RoleLocalServiceUtil.getRole(serviceContext.getCompanyId(), + // "portos_istruttore"); + // break; + return; case "Approvazione": role = RoleLocalServiceUtil.getRole(serviceContext.getCompanyId(), "portos_approvatore"); break; diff --git a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp index 3cc48c34..1e49a2f8 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/html/gestioneattivita/action_button.jsp @@ -32,7 +32,6 @@ <%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> <%@page import="com.liferay.portal.service.permission.PortletPermissionUtil"%> <%@ include file="/html/gestioneattivita/init.jsp" %> - <% SearchContainer searchContainer = (SearchContainer) request @@ -61,7 +60,6 @@ workflowInstanceLink.getWorkflowInstanceId(), false, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); } - //long workflowInstanceId = workflowInstanceLink.getWorkflowInstanceId(); String randomId = StringUtil.randomId(); long lastDettPraticaId = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()).getDettPraticaId(); @@ -107,51 +105,25 @@ - - - - - - - - - -
- -
-
-
- <% - boolean assegnazionePossibile = false; - for(WorkflowTaskAssignee workflowTaskAssignee: listaTask.get(0).getWorkflowTaskAssignees()){ - if(workflowTaskAssignee.getAssigneeClassName().equalsIgnoreCase(Role.class.getName()) - && UserGroupRoleLocalServiceUtil.hasUserGroupRole(user.getUserId(), controlloPratica.getGroupId(), workflowTaskAssignee.getAssigneeClassPK(), true)){ - assegnazionePossibile = true; - } - } - %> - <%-- - - - - - - - - -
- -
-
-
--%> -
+ "> + + + + + + +
+ +
+
diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component index e1d846ac..26b0e067 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/.settings/org.eclipse.wst.common.component @@ -2,10 +2,10 @@ - + uses - + uses