Salvatore La Manna
4 anni fa
13 ha cambiato i file con 740 aggiunte e 915 eliminazioni
@ -1,68 +1,36 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%> |
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%> |
||||||
<%@ include file="/html/fascicolo/init.jsp" %> |
<%@ include file="/html/fascicolo/init.jsp" %> |
||||||
|
|
||||||
<% |
<% |
||||||
/* |
String[] pageRiepilogo = new String[] { "page_riepilogo", "page_dettagli_principali", "page_desc_edificio", "page_sez_geologica", |
||||||
String[] pageRiepilogo = new String[] { "page_riepilogo", "page_dettagli_principali","page_desc_edificio","page_sez_geologica","page_soggetti","page_allegati","page_asseverazioni","page_pagamenti","page_andamento","page_avvisi","page_storico_titolari","page_versioning"}; |
"page_soggetti", "page_allegati", "page_asseverazioni", "page_pagamenti", "page_andamento", "page_avvisi", |
||||||
String[] pageIntegrazioni = new String[] { "page_in_dettagli","page_in_allegati","page_in_soggetti"}; |
"page_storico_titolari", "page_versioning" }; |
||||||
String[] pageVarianti = new String[] { "page_va_dettagli","page_va_allegati","page_va_soggetti"}; |
String[] pageIntegrazioni = new String[] { "page_in_dettagli", "page_in_allegati", "page_in_soggetti" }; |
||||||
String[] pageFineLavori = new String[] { "page_fl_dati","page_fl_allegati","page_fl_pagamenti"}; |
String[] pageVarianti = new String[] { "page_va_dettagli", "page_va_allegati", "page_va_soggetti" }; |
||||||
String[] pageCollaudi = new String[] { "page_co_dati","page_co_allegati","page_co_pagamenti"}; |
String[] pageComunicazioni = new String[] { "page_bo_fe", "page_doc_aggiuntiva", "page_allegati_manuali" }; |
||||||
String[] pageComunicazioni = new String[] { "page_bo_fe","page_doc_aggiuntiva","page_allegati_manuali"}; |
|
||||||
|
|
||||||
long intPraticaId = ParamUtil.getLong(request, "intPraticaId"); |
long intPraticaId = ParamUtil.getLong(request, "intPraticaId"); |
||||||
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
||||||
if(intPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLATA)){ |
if (intPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLATA)) { |
||||||
pageRiepilogo = new String[] { "page_riepilogo", "page_dettagli_principali","page_desc_edificio","page_sez_geologica","page_soggetti","page_allegati","page_allegati_annullamento","page_asseverazioni","page_pagamenti","page_andamento","page_avvisi","page_storico_titolari","page_versioning"}; |
pageRiepilogo = new String[] { "page_riepilogo", "page_dettagli_principali", "page_desc_edificio", "page_sez_geologica", |
||||||
|
"page_soggetti", "page_allegati", "page_allegati_annullamento", "page_asseverazioni", "page_pagamenti", |
||||||
|
"page_andamento", "page_avvisi", "page_storico_titolari", "page_versioning" }; |
||||||
} |
} |
||||||
String[][] categorySections = { pageRiepilogo,pageIntegrazioni,pageVarianti,pageFineLavori,pageCollaudi,pageComunicazioni}; |
String[][] categorySections = { pageRiepilogo, pageIntegrazioni, pageVarianti, pageComunicazioni }; |
||||||
|
|
||||||
String[] _CATEGORY_NAMES = { "cat_riepilogo","cat_integrazioni","cat_varianti","cat_fine_lavori","cat_collaudi","cat_comunicazioni"}; |
String[] _CATEGORY_NAMES = { "cat_riepilogo", "cat_integrazioni", "cat_varianti", "cat_comunicazioni" }; |
||||||
DettPratica dettPraticaLast = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); |
DettPratica dettPraticaLast = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); |
||||||
DettPratica dettPraticaLastData = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); |
DettPratica dettPraticaLastData = dettPraticaLast; |
||||||
|
|
||||||
request.setAttribute("bean.intPratica", intPratica); |
request.setAttribute("bean.intPratica", intPratica); |
||||||
request.setAttribute("bean.dettPratica.last", DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId())); |
request.setAttribute("bean.dettPratica.last", dettPraticaLast); |
||||||
request.setAttribute("bean.dettPratica.lastData", DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()));////TODO utilizzare getLastdByIntPraticaAndTipoPratica |
request.setAttribute("bean.dettPratica.lastData", dettPraticaLastData); |
||||||
*/ |
|
||||||
|
|
||||||
String[] pageRiepilogo = new String[] { "page_riepilogo", "page_dettagli_principali","page_desc_edificio","page_sez_geologica","page_soggetti","page_allegati","page_asseverazioni","page_pagamenti","page_andamento","page_avvisi","page_storico_titolari","page_versioning"}; |
|
||||||
String[] pageIntegrazioni = new String[] { "page_in_dettagli","page_in_allegati","page_in_soggetti"}; |
|
||||||
String[] pageVarianti = new String[] { "page_va_dettagli","page_va_allegati","page_va_soggetti"}; |
|
||||||
String[] pageComunicazioni = new String[] { "page_bo_fe","page_doc_aggiuntiva","page_allegati_manuali"}; |
|
||||||
|
|
||||||
long intPraticaId = ParamUtil.getLong(request, "intPraticaId"); |
|
||||||
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
|
||||||
if(intPratica.getStatoPratica().equalsIgnoreCase(StatoPraticaConstants.ANNULLATA)){ |
|
||||||
pageRiepilogo = new String[] { "page_riepilogo", "page_dettagli_principali","page_desc_edificio","page_sez_geologica","page_soggetti","page_allegati","page_allegati_annullamento","page_asseverazioni","page_pagamenti","page_andamento","page_avvisi","page_storico_titolari","page_versioning"}; |
|
||||||
} |
|
||||||
String[][] categorySections = { pageRiepilogo,pageIntegrazioni,pageVarianti,pageComunicazioni}; |
|
||||||
|
|
||||||
String[] _CATEGORY_NAMES = { "cat_riepilogo","cat_integrazioni","cat_varianti","cat_comunicazioni"}; |
|
||||||
DettPratica dettPraticaLast = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); |
|
||||||
DettPratica dettPraticaLastData = DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId()); |
|
||||||
|
|
||||||
request.setAttribute("bean.intPratica", intPratica); |
|
||||||
request.setAttribute("bean.dettPratica.last", DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId())); |
|
||||||
request.setAttribute("bean.dettPratica.lastData", DettPraticaLocalServiceUtil.getLastCompletedByIntPratica(intPratica.getIntPraticaId())); |
|
||||||
|
|
||||||
%> |
%> |
||||||
|
|
||||||
<liferay-util:buffer var="htmlBottom"> |
<liferay-util:buffer var="htmlBottom"> |
||||||
<%@ include file="/html/fascicolo/html_bottom.jspf" %> |
<%@ include file="/html/fascicolo/html_bottom.jspf" %> |
||||||
</liferay-util:buffer> |
</liferay-util:buffer> |
||||||
<liferay-util:buffer var="htmlTop"> |
<liferay-util:buffer var="htmlTop"> |
||||||
<%@ include file="/html/fascicolo/html_top.jspf" %> |
<%@ include file="/html/fascicolo/html_top.jspf" %> |
||||||
</liferay-util:buffer> |
</liferay-util:buffer> |
||||||
|
<liferay-ui:form-navigator categoryNames="<%= _CATEGORY_NAMES %>" categorySections="<%= categorySections %>" formName="fm" |
||||||
<liferay-ui:form-navigator |
jspPath="/html/fascicolo/navigator/" htmlBottom="<%= htmlBottom %>" showButtons="false" htmlTop="<%= htmlTop %>" /> |
||||||
categoryNames="<%= _CATEGORY_NAMES %>" |
|
||||||
categorySections="<%= categorySections %>" |
|
||||||
formName="fm" |
|
||||||
jspPath="/html/fascicolo/navigator/" |
|
||||||
htmlBottom="<%=htmlBottom%>" |
|
||||||
showButtons="<%=false %>" |
|
||||||
htmlTop="<%=htmlTop%>" /> |
|
||||||
|
|
@ -1,109 +1,74 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.util.WorkflowConstants"%> |
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.ActionKeys"%> |
|
||||||
<%@page import="it.tref.liferay.portos.bo.service.permission.IntPraticaPermission"%> |
|
||||||
<%@page import="com.liferay.portal.model.Role"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.workflow.WorkflowTaskAssignee"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.workflow.WorkflowTask"%> |
<%@page import="com.liferay.portal.kernel.workflow.WorkflowTask"%> |
||||||
<%@page import="com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil"%> |
<%@page import="com.liferay.portal.kernel.workflow.WorkflowTaskManagerUtil"%> |
||||||
<%@page import="com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil"%> |
|
||||||
<%@page import="com.liferay.portal.model.WorkflowInstanceLink"%> |
|
||||||
<%@page import="com.liferay.portal.service.persistence.WorkflowInstanceLinkUtil"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.workflow.WorkflowDefinitionManagerUtil"%> |
|
||||||
<%@page import="javax.portlet.PortletRequest"%> |
|
||||||
<%@page import="com.liferay.portal.service.LayoutLocalServiceUtil"%> |
|
||||||
<%@page import="com.liferay.portal.model.GroupConstants"%> |
<%@page import="com.liferay.portal.model.GroupConstants"%> |
||||||
|
<%@page import="com.liferay.portal.model.WorkflowInstanceLink"%> |
||||||
<%@page import="com.liferay.portal.service.GroupLocalServiceUtil"%> |
<%@page import="com.liferay.portal.service.GroupLocalServiceUtil"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%> |
<%@page import="com.liferay.portal.service.LayoutLocalServiceUtil"%> |
||||||
|
<%@page import="com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil"%> |
||||||
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> |
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.FascicoloURLUtil"%> |
<%@page import="it.tref.liferay.portos.bo.shared.util.FascicoloURLUtil"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.util.GenioCivileBaseUtil"%> |
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%> |
||||||
<%@page import="com.liferay.portal.service.UserGroupRoleLocalServiceUtil"%> |
|
||||||
<%@page import="it.tref.liferay.portos.bo.util.WorkflowUtil"%> |
|
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.ListUtil"%> |
|
||||||
<%@page import="it.tref.liferay.portos.bo.util.PraticaUtil"%> |
|
||||||
<%@page import="java.util.ArrayList"%> |
<%@page import="java.util.ArrayList"%> |
||||||
<%@page import="com.liferay.portal.kernel.util.WebKeys"%> |
<%@page import="javax.portlet.PortletRequest"%> |
||||||
<%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%> |
<%@ include file="/html/gestioneattivita/init.jsp"%> |
||||||
<%@page import="java.util.Map"%> |
|
||||||
<%@page import="java.util.HashMap"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.StringUtil"%> |
|
||||||
<%@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.getAttribute("liferay-ui:search:searchContainer"); |
||||||
|
ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW); |
||||||
|
|
||||||
SearchContainer searchContainer = (SearchContainer) request |
IntPratica intPratica = (IntPratica) row.getObject(); |
||||||
.getAttribute("liferay-ui:search:searchContainer"); |
|
||||||
ResultRow row = (ResultRow) request |
|
||||||
.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW); |
|
||||||
|
|
||||||
IntPratica intPratica = (IntPratica) row.getObject(); |
|
||||||
|
|
||||||
List<ControlloPratica> controlliPratica = ControlloPraticaLocalServiceUtil.findByIntPratica(intPratica.getIntPraticaId()); |
|
||||||
ControlloPratica controlloPratica = null; |
|
||||||
if(controlliPratica.size() > 0) |
|
||||||
controlloPratica = controlliPratica.get(controlliPratica.size()-1); |
|
||||||
Group controlPanelGroup = GroupLocalServiceUtil.getGroup(company.getCompanyId(), GroupConstants.CONTROL_PANEL); |
|
||||||
long controlPanelPlid = LayoutLocalServiceUtil.getDefaultPlid(controlPanelGroup.getGroupId(),true); |
|
||||||
|
|
||||||
WorkflowInstanceLink workflowInstanceLink = WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink( |
|
||||||
controlloPratica.getCompanyId(),controlloPratica.getGroupId(), ControlloPratica.class.getName(),controlloPratica.getPrimaryKey()); |
|
||||||
|
|
||||||
List<WorkflowTask> listaTask = null; |
List<ControlloPratica> controlliPratica = ControlloPraticaLocalServiceUtil.findByIntPratica(intPratica.getIntPraticaId()); |
||||||
if (workflowInstanceLink == null) { |
ControlloPratica controlloPratica = null; |
||||||
listaTask = new ArrayList<WorkflowTask>(); |
if (controlliPratica.size() > 0 ) { |
||||||
} else { |
controlloPratica = controlliPratica.get(controlliPratica.size() - 1); |
||||||
listaTask = WorkflowTaskManagerUtil.getWorkflowTasksByWorkflowInstance(controlloPratica.getCompanyId(), null, |
} |
||||||
workflowInstanceLink.getWorkflowInstanceId(), false, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); |
Group controlPanelGroup = GroupLocalServiceUtil.getGroup(company.getCompanyId(), GroupConstants.CONTROL_PANEL); |
||||||
} |
long controlPanelPlid = LayoutLocalServiceUtil.getDefaultPlid(controlPanelGroup.getGroupId(),true); |
||||||
|
|
||||||
|
WorkflowInstanceLink workflowInstanceLink = WorkflowInstanceLinkLocalServiceUtil.fetchWorkflowInstanceLink( |
||||||
|
controlloPratica.getCompanyId(),controlloPratica.getGroupId(), ControlloPratica.class.getName(), |
||||||
|
controlloPratica.getPrimaryKey()); |
||||||
|
List<WorkflowTask> listaTask = null; |
||||||
|
if (workflowInstanceLink == null) { |
||||||
|
listaTask = new ArrayList<WorkflowTask>(); |
||||||
|
} else { |
||||||
|
listaTask = WorkflowTaskManagerUtil.getWorkflowTasksByWorkflowInstance(controlloPratica.getCompanyId(), null, |
||||||
|
workflowInstanceLink.getWorkflowInstanceId(), false, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); |
||||||
|
} |
||||||
%> |
%> |
||||||
|
|
||||||
<liferay-ui:icon-menu icon="" showWhenSingleIcon="false" showExpanded="true" cssClass="menu_button_activity"> |
<liferay-ui:icon-menu icon="" showWhenSingleIcon="false" showExpanded="true" cssClass="menu_button_activity"> |
||||||
<div title='<%=LanguageUtil.get(pageContext,"workflow-action-open-pratica") %>' class="tooltip-info"> |
<div title='<%= LanguageUtil.get(pageContext,"workflow-action-open-pratica") %>' class="tooltip-info"> |
||||||
<liferay-ui:icon iconCssClass="fa fa-folder-open" |
<liferay-ui:icon iconCssClass="fa fa-folder-open" linkCssClass="btn btn-action" target="_blank" message="" |
||||||
linkCssClass="btn btn-action" |
url="<%= FascicoloURLUtil.getFascicoloViewURL(intPratica.getCompanyId(), intPratica.getIntPraticaId()) %>" /> |
||||||
target="_blank" |
</div> |
||||||
message="" |
<c:if test="<%= !listaTask.isEmpty() %>"> |
||||||
url="<%=FascicoloURLUtil.getFascicoloViewURL(intPratica.getCompanyId(), intPratica.getIntPraticaId()) %>" /> |
<% |
||||||
|
PortletURL workflowTaskURL = PortletURLFactoryUtil.create(request, PortletKeys.MY_WORKFLOW_TASKS,controlPanelPlid, |
||||||
|
PortletRequest.RENDER_PHASE); |
||||||
|
workflowTaskURL.setParameter("struts_action", "/my_workflow_tasks/edit_workflow_task"); |
||||||
|
workflowTaskURL.setParameter("workflowTaskId",String.valueOf(listaTask.get(0).getWorkflowTaskId())); |
||||||
|
workflowTaskURL.setPortletMode(PortletMode.VIEW); |
||||||
|
workflowTaskURL.setWindowState(LiferayWindowState.POP_UP); |
||||||
|
%> |
||||||
|
<div title='<%= LanguageUtil.get(pageContext,"workflow-action-manage") %>' class="tooltip-info"> |
||||||
|
<liferay-ui:icon useDialog="true" iconCssClass="fa fa-list-ol" linkCssClass="btn btn-action" message="" |
||||||
|
url='<%= workflowTaskURL.toString() + "&controlPanelCategory=my" %>' /> |
||||||
</div> |
</div> |
||||||
<c:if test="<%= !listaTask.isEmpty() %>"> |
</c:if> |
||||||
<% |
|
||||||
PortletURL workflowTaskURL = PortletURLFactoryUtil.create(request, PortletKeys.MY_WORKFLOW_TASKS,controlPanelPlid, PortletRequest.RENDER_PHASE); |
|
||||||
workflowTaskURL.setParameter("struts_action", |
|
||||||
"/my_workflow_tasks/edit_workflow_task"); |
|
||||||
workflowTaskURL.setParameter("workflowTaskId",String.valueOf(listaTask.get(0).getWorkflowTaskId())); |
|
||||||
workflowTaskURL.setPortletMode(PortletMode.VIEW); |
|
||||||
workflowTaskURL.setWindowState(LiferayWindowState.POP_UP); |
|
||||||
%> |
|
||||||
|
|
||||||
<div title='<%=LanguageUtil.get(pageContext,"workflow-action-manage") %>' class="tooltip-info"> |
|
||||||
<liferay-ui:icon useDialog="true" |
|
||||||
iconCssClass="fa fa-list-ol" |
|
||||||
linkCssClass="btn btn-action" |
|
||||||
message="" |
|
||||||
url='<%=workflowTaskURL.toString()+"&controlPanelCategory=my" %>' /> |
|
||||||
</div> |
|
||||||
</c:if> |
|
||||||
</liferay-ui:icon-menu> |
</liferay-ui:icon-menu> |
||||||
|
<script> |
||||||
|
YUI().use( |
||||||
<script type="text/javascript"> |
'aui-tooltip', |
||||||
YUI().use( |
function (Y) { |
||||||
'aui-tooltip', |
new Y.TooltipDelegate({ |
||||||
function(Y) { |
trigger: '.tooltip-info', |
||||||
new Y.TooltipDelegate( |
position: 'top', |
||||||
{ |
cssClass: 'tooltip-help', |
||||||
trigger: '.tooltip-info', |
html: true, |
||||||
position: 'top', |
opacity: 1 |
||||||
cssClass: 'tooltip-help', |
}); |
||||||
html: true, |
} |
||||||
opacity: 1 |
); |
||||||
} |
|
||||||
); |
|
||||||
} |
|
||||||
); |
|
||||||
</script> |
</script> |
@ -1,216 +1,196 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%> |
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%> |
||||||
<%@page import="java.util.Collections"%> |
|
||||||
<%@page import="java.util.Comparator"%> |
|
||||||
<%@page import="java.util.ArrayList"%> |
|
||||||
<%@page import="com.liferay.portal.model.Organization"%> |
<%@page import="com.liferay.portal.model.Organization"%> |
||||||
<%@page import="com.liferay.portal.service.OrganizationLocalServiceUtil"%> |
<%@page import="com.liferay.portal.service.OrganizationLocalServiceUtil"%> |
||||||
<%@include file="/html/fascicolo/init.jsp" %> |
<%@include file="/html/fascicolo/init.jsp"%> |
||||||
|
<liferay-portlet:resourceURL id="exportCVS" var="exportCVS"> |
||||||
<liferay-portlet:resourceURL id="exportCVS" var="exportCVS" > |
<liferay-portlet:param name="numeroProgetto" value='<%= ParamUtil.getString(request, "numeroProgetto") %>'/> |
||||||
<liferay-portlet:param name="numeroProgetto" value='<%=ParamUtil.getString(request, "numeroProgetto") %>'/> |
<liferay-portlet:param name="tipoPratica" value='<%= ParamUtil.getString(request, "tipoPratica") %>'/> |
||||||
<liferay-portlet:param name="tipoPratica" value='<%=ParamUtil.getString(request, "tipoPratica") %>'/> |
<liferay-portlet:param name="statoPratica" value='<%= ParamUtil.getString(request, "statoPratica") %>'/> |
||||||
<liferay-portlet:param name="statoPratica" value='<%=ParamUtil.getString(request, "statoPratica") %>'/> |
<liferay-portlet:param name="committente" value='<%= ParamUtil.getString(request, "committente") %>'/> |
||||||
<liferay-portlet:param name="committente" value='<%=ParamUtil.getString(request, "committente") %>'/> |
<liferay-portlet:param name="soggettiInterconnessi" value='<%= ParamUtil.getString(request, "soggettiInterconnessi") %>'/> |
||||||
<liferay-portlet:param name="soggettiInterconnessi" value='<%=ParamUtil.getString(request, "soggettiInterconnessi") %>'/> |
<liferay-portlet:param name="direttoreLavori" value='<%= ParamUtil.getString(request, "direttoreLavori") %>'/> |
||||||
<liferay-portlet:param name="direttoreLavori" value='<%=ParamUtil.getString(request, "direttoreLavori") %>'/> |
<liferay-portlet:param name="dataRichiestaInizio" value='<%= ParamUtil.getString(request, "dataRichiestaInizio") %>'/> |
||||||
<liferay-portlet:param name="dataRichiestaInizio" value='<%=ParamUtil.getString(request, "dataRichiestaInizio") %>'/> |
<liferay-portlet:param name="dataRichiestaFine" value='<%= ParamUtil.getString(request, "dataRichiestaFine") %>'/> |
||||||
<liferay-portlet:param name="dataRichiestaFine" value='<%=ParamUtil.getString(request, "dataRichiestaFine") %>'/> |
<liferay-portlet:param name="ufficio" value='<%= ParamUtil.getString(request, "ufficio") %>'/> |
||||||
<liferay-portlet:param name="ufficio" value='<%=ParamUtil.getString(request, "ufficio") %>'/> |
<liferay-portlet:param name="ordinaPer" value='<%= ParamUtil.getString(request, "ordinaPer") %>'/> |
||||||
<liferay-portlet:param name="ordinaPer" value='<%=ParamUtil.getString(request, "ordinaPer") %>'/> |
<liferay-portlet:param name="ordinaTipo" value='<%= ParamUtil.getString(request, "ordinaTipo") %>'/> |
||||||
<liferay-portlet:param name="ordinaTipo" value='<%=ParamUtil.getString(request, "ordinaTipo") %>'/> |
<liferay-portlet:param name="comune" value='<%= ParamUtil.getString(request, "comune") %>'/> |
||||||
<liferay-portlet:param name="comune" value='<%=ParamUtil.getString(request, "comune") %>'/> |
<liferay-portlet:param name="praticaAperta" value='<%= ParamUtil.getString(request, "praticaAperta") %>'/> |
||||||
<liferay-portlet:param name="praticaAperta" value='<%=ParamUtil.getString(request, "praticaAperta") %>'/> |
<liferay-portlet:param name="interventoTutti" value='<%= ParamUtil.getString(request, "interventoTutti") %>'/> |
||||||
<liferay-portlet:param name="interventoTutti" value='<%=ParamUtil.getString(request, "interventoTutti") %>'/> |
<liferay-portlet:param name="interventoNuovaCostruzione" value='<%= ParamUtil.getString(request, "interventoNuovaCostruzione") %>'/> |
||||||
<liferay-portlet:param name="interventoNuovaCostruzione" value='<%=ParamUtil.getString(request, "interventoNuovaCostruzione") %>'/> |
<liferay-portlet:param name="interventoAdeguamentoSismico" value='<%= ParamUtil.getString(request, "interventoAdeguamentoSismico") %>'/> |
||||||
<liferay-portlet:param name="interventoAdeguamentoSismico" value='<%=ParamUtil.getString(request, "interventoAdeguamentoSismico") %>'/> |
<liferay-portlet:param name="interventoMiglioramentoSismico" value='<%= ParamUtil.getString(request, "interventoMiglioramentoSismico") %>'/> |
||||||
<liferay-portlet:param name="interventoMiglioramentoSismico" value='<%=ParamUtil.getString(request, "interventoMiglioramentoSismico") %>'/> |
<liferay-portlet:param name="interventoRiparazioneInterventoLocale" value='<%= ParamUtil.getString(request, "interventoRiparazioneInterventoLocale") %>'/> |
||||||
<liferay-portlet:param name="interventoRiparazioneInterventoLocale" value='<%=ParamUtil.getString(request, "interventoRiparazioneInterventoLocale") %>'/> |
|
||||||
</liferay-portlet:resourceURL> |
</liferay-portlet:resourceURL> |
||||||
|
|
||||||
<% |
<% |
||||||
List<Organization> organizationList = OrganizationLocalServiceUtil.getUserOrganizations(user.getUserId()); |
List<Organization> organizationList = OrganizationLocalServiceUtil.getUserOrganizations(user.getUserId()); |
||||||
%> |
%> |
||||||
|
<liferay-ui:panel title="filters" defaultState="closed" |
||||||
<liferay-ui:panel title="filters" defaultState="closed" |
id='<%= renderResponse.getNamespace() + scopeGroupId + "ricercaSaiPanel" %>' collapsible="true" extended="false" |
||||||
id='<%= renderResponse.getNamespace() + scopeGroupId + "ricercaSaiPanel" %>' |
persistState="true"> |
||||||
collapsible="<%= true %>" extended="<%= false %>" persistState="<%= true %>"> |
<div class="container-fluid" style="padding: 15px;"> |
||||||
|
<div class="row"> |
||||||
<div class="container-fluid" style="padding: 15px;"> |
<div class="col-xs-12 col-md-3"> |
||||||
<div class="row"> |
<aui:input type="text" name="numeroProgetto" label="Numero Progetto"/> |
||||||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3"> |
</div> |
||||||
<aui:input type="text" name="numeroProgetto" label="Numero Progetto"/> |
<div class="col-xs-12 col-md-3"> |
||||||
</div> |
<aui:select name="tipoPratica" label="Tipo Pratica"> |
||||||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3"> |
<aui:option value="-1">Seleziona il tipo di pratica</aui:option> |
||||||
<aui:select name="tipoPratica" label="Tipo Pratica"> |
<aui:option value="01"><liferay-ui:message key="deposito"/></aui:option> |
||||||
<aui:option value="-1">Seleziona il tipo di pratica</aui:option> |
<aui:option value="02"><liferay-ui:message key="autorizzazione"/></aui:option> |
||||||
<aui:option value="01"><liferay-ui:message key="deposito"/></aui:option> |
<aui:option value="03"><liferay-ui:message key="sanatoria"/></aui:option> |
||||||
<aui:option value="02"><liferay-ui:message key="autorizzazione"/></aui:option> |
</aui:select> |
||||||
<aui:option value="03"><liferay-ui:message key="sanatoria"/></aui:option> |
</div> |
||||||
</aui:select> |
<div class="col-xs-12 col-md-3"> |
||||||
</div> |
<aui:select name="statoPratica" label="Stato Pratica"> |
||||||
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3"> |
<aui:option value="-1">Stato Pratica</aui:option> |
||||||
<aui:select name="statoPratica" label="Stato Pratica"> |
<aui:option value="<%= StatoPraticaConstants.ANNULLATA %>"><liferay-ui:message key="annullata"/></aui:option> |
||||||
<aui:option value="-1">Stato Pratica</aui:option> |
<aui:option value="<%= StatoPraticaConstants.COLLAUDO %>"><liferay-ui:message key="collaudo"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.ANNULLATA %>"><liferay-ui:message key="annullata"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.CONFORME %>"><liferay-ui:message key="conforme"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.COLLAUDO %>"><liferay-ui:message key="collaudo"/></aui:option> |
<aui:option value="sospesa"><liferay-ui:message key="sospesa"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.CONFORME %>"><liferay-ui:message key="conforme"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.FINE_LAVORI %>"><liferay-ui:message key="fine lavori"/></aui:option> |
||||||
<aui:option value="sospesa"><liferay-ui:message key="sospesa"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.COLLAUDO_PARZIALE %>"><liferay-ui:message key="collaudo parziale"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.FINE_LAVORI %>"><liferay-ui:message key="fine lavori"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.FINE_LAVORI_PARZIALE %>"><liferay-ui:message key="fine lavori parziali"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.COLLAUDO_PARZIALE %>"><liferay-ui:message key="collaudo parziale"/></aui:option> |
<aui:option value="VA"><liferay-ui:message key="variata"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.FINE_LAVORI_PARZIALE %>"><liferay-ui:message key="fine lavori parziali"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.NON_CONFORME %>"><liferay-ui:message key="nonConforme"/></aui:option> |
||||||
<aui:option value="VA"><liferay-ui:message key="variata"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.INTEGRAZIONE %>"><liferay-ui:message key="integrazione in corso"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.NON_CONFORME %>"><liferay-ui:message key="nonConforme"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.RIFIUTATA %>"><liferay-ui:message key="rifiutata"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.INTEGRAZIONE %>"><liferay-ui:message key="integrazione in corso"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.SORTEGGIATA %>"><liferay-ui:message key="sorteggiata"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.RIFIUTATA %>"><liferay-ui:message key="rifiutata"/></aui:option> |
<aui:option value="<%= StatoPraticaConstants.SOTTOPOSTA_A_PARERE %>"><liferay-ui:message key="sottoposta a parere"/></aui:option> |
||||||
<aui:option value="<%= StatoPraticaConstants.SORTEGGIATA %>"><liferay-ui:message key="sorteggiata"/></aui:option> |
</aui:select> |
||||||
<aui:option value="<%= StatoPraticaConstants.SOTTOPOSTA_A_PARERE %>"><liferay-ui:message key="sottoposta a parere"/></aui:option> |
</div> |
||||||
</aui:select> |
</div> |
||||||
</div> |
<div class="row"> |
||||||
</div> |
<div class="col-xs-12 col-md-4"> |
||||||
<div class="row"> |
<aui:input type="text" name="committente" label="Committente"/> |
||||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> |
</div> |
||||||
<aui:input type="text" name="committente" label="Committente"/> |
<div class="col-xs-12 col-md-4"> |
||||||
</div> |
<aui:input type="text" name="direttoreLavori" label="Direttore Lavori"/> |
||||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> |
</div> |
||||||
<aui:input type="text" name="direttoreLavori" label="Direttore Lavori"/> |
<div class="col-xs-12 col-md-4"> |
||||||
</div> |
<aui:input type="text" name="soggettiInterconnessi" label="Soggetti Interconnessi"/> |
||||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> |
</div> |
||||||
<aui:input type="text" name="soggettiInterconnessi" label="Soggetti Interconnessi"/> |
</div> |
||||||
</div> |
<div class="row"> |
||||||
</div> |
<div class="col-xs-12 col-md-2 add-new-project__ufficio"> |
||||||
<div class="row"> |
<c:if test="<%= organizationList != null && organizationList.size() > 1 %>"> |
||||||
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2 add-new-project__ufficio"> |
<aui:select name="ufficio" label="Ufficio"> |
||||||
<c:if test="<%=organizationList != null && !organizationList.isEmpty() && organizationList.size() > 1 %>"> |
<aui:option value="-1">Tutte</aui:option> |
||||||
<aui:select name="ufficio" label="Ufficio"> |
<% |
||||||
<aui:option value="-1">Tutte</aui:option> |
for (Organization org : organizationList) { |
||||||
<% |
%> |
||||||
for(Organization org : organizationList){ |
<aui:option value="<%= org.getGroupId() %>"><%= org.getName() %></aui:option> |
||||||
%> |
<% |
||||||
<aui:option value="<%=org.getGroupId() %>"><%=org.getName() %></aui:option> |
} |
||||||
<% |
%> |
||||||
} |
</aui:select> |
||||||
%> |
</c:if> |
||||||
</aui:select> |
</div> |
||||||
</c:if> |
<div class="col-xs-12 col-md-2 add-new-project__comune"> |
||||||
</div> |
<% |
||||||
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2 add-new-project__comune"> |
String comuneSelect = ParamUtil.getString(renderRequest, "comune"); |
||||||
<% |
%> |
||||||
String comuneSelect = ParamUtil.getString(renderRequest, "comune"); |
<aui:select name="comune" label="Comune" /> |
||||||
%> |
</div> |
||||||
<aui:select name="comune" label="Comune"> |
<div class="col-xs-12 col-md-4"> |
||||||
</aui:select> |
<aui:field-wrapper label="Data assegnazione pratica da" inlineField="true"> |
||||||
</div> |
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>"> |
||||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> |
<liferay-util:param name="field" value="dataRichiestaInizio" /> |
||||||
<aui:field-wrapper label="Data assegnazione pratica da" inlineField="<%= true %>"> |
</liferay-util:include> |
||||||
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>"> |
</aui:field-wrapper> |
||||||
<liferay-util:param name="field" value="dataRichiestaInizio" /> |
<aui:field-wrapper label="a" inlineField="true"> |
||||||
</liferay-util:include> |
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>"> |
||||||
</aui:field-wrapper> |
<liferay-util:param name="field" value="dataRichiestaFine" /> |
||||||
<aui:field-wrapper label="a" inlineField="<%= true %>"> |
</liferay-util:include> |
||||||
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>"> |
</aui:field-wrapper> |
||||||
<liferay-util:param name="field" value="dataRichiestaFine" /> |
</div> |
||||||
</liferay-util:include> |
</div> |
||||||
</aui:field-wrapper> |
<div class="row"> |
||||||
</div> |
<div class="col-xs-12 col-md-12"> |
||||||
</div> |
<aui:column> |
||||||
<div class="row"> |
<span style="font-weight: bold;">Pratica Aperta : </span> |
||||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> |
<aui:input checked="true" inlineField="true" type="radio" name="praticaAperta" value="tutte" label="Tutte"/> |
||||||
<aui:column> |
<aui:input inlineField="true" type="radio" name="praticaAperta" value="aperta" label="Si"/> |
||||||
<span style="font-weight: bold;">Pratica Aperta : </span> |
<aui:input inlineField="true" type="radio" name="praticaAperta" value="chiusa" label="No"/> |
||||||
<aui:input checked="true" inlineField="true" type="radio" name="praticaAperta" value="tutte" label="Tutte"/> |
</aui:column> |
||||||
<aui:input inlineField="true" type="radio" name="praticaAperta" value="aperta" label="Si"/> |
</div> |
||||||
<aui:input inlineField="true" type="radio" name="praticaAperta" value="chiusa" label="No"/> |
</div> |
||||||
</aui:column> |
<div class="row"> |
||||||
</div> |
<div class="col-xs-12 col-md-12"> |
||||||
</div> |
<aui:column> |
||||||
<div class="row"> |
<span style="font-weight: bold;">Tipologia Intervento : </span> |
||||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> |
<aui:input checked="true" inlineField="true" type="checkbox" name="interventoTutti" label="Tutti"/> |
||||||
<aui:column> |
<aui:input inlineField="true" type="checkbox" name="interventoNuovaCostruzione" label="Nuova Costruzione"/> |
||||||
<span style="font-weight: bold;">Tipologia Intervento : </span> |
<aui:input inlineField="true" type="checkbox" name="interventoAdeguamentoSismico" label="Adeguamento Sismico"/> |
||||||
<aui:input checked="true" inlineField="true" type="checkbox" name="interventoTutti" label="Tutti"/> |
<aui:input inlineField="true" type="checkbox" name="interventoMiglioramentoSismico" label="Miglioramento Sismico"/> |
||||||
<aui:input inlineField="true" type="checkbox" name="interventoNuovaCostruzione" label="Nuova Costruzione"/> |
<aui:input inlineField="true" type="checkbox" name="interventoRiparazioneInterventoLocale" label="Riparazione Intervento Locale"/> |
||||||
<aui:input inlineField="true" type="checkbox" name="interventoAdeguamentoSismico" label="Adeguamento Sismico"/> |
</aui:column> |
||||||
<aui:input inlineField="true" type="checkbox" name="interventoMiglioramentoSismico" label="Miglioramento Sismico"/> |
</div> |
||||||
<aui:input inlineField="true" type="checkbox" name="interventoRiparazioneInterventoLocale" label="Riparazione Intervento Locale"/> |
</div> |
||||||
</aui:column> |
<div class="row"> |
||||||
</div> |
<div class="col-xs-12 col-md-4"> |
||||||
</div> |
<div class="row"> |
||||||
<div class="row"> |
<div class="col-xs-12 col-md-6"> |
||||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> |
<aui:select name="ordinaPer" label="Ordina Per"> |
||||||
<div class="row"> |
<aui:option value="taskName">Nome Task</aui:option> |
||||||
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> |
<aui:option value="numeroProgetto">Numero Progetto</aui:option> |
||||||
<aui:select name="ordinaPer" label="Ordina Per"> |
<aui:option selected="true" value="createDate">Data Invio</aui:option> |
||||||
<aui:option value="taskName">Nome Task</aui:option> |
<aui:option value="tipoPratica">Tipo Pratica</aui:option> |
||||||
<aui:option value="numeroProgetto">Numero Progetto</aui:option> |
</aui:select> |
||||||
<aui:option selected="true" value="createDate">Data Invio</aui:option> |
</div> |
||||||
<aui:option value="tipoPratica">Tipo Pratica</aui:option> |
<div class="col-xs-12 col-md-6"> |
||||||
|
<aui:select name="ordinaTipo" label="Tipo Ordine"> |
||||||
</aui:select> |
<aui:option selected="true" value="asc">Asc</aui:option> |
||||||
</div> |
<aui:option value="dec">Dec</aui:option> |
||||||
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"> |
</aui:select> |
||||||
<aui:select name="ordinaTipo" label="Tipo Ordine"> |
|
||||||
<aui:option selected="true" value="asc">Asc</aui:option> |
|
||||||
<aui:option value="dec">Dec</aui:option> |
|
||||||
</aui:select> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<aui:button type="submit" value="search" /> |
|
||||||
<aui:button type="button" href="<%=exportCVS.toString() %>" value="export" /> |
|
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
</liferay-ui:panel> |
</div> |
||||||
|
</div> |
||||||
|
<aui:button type="submit" value="search" /> |
||||||
|
<aui:button type="button" href="<%= exportCVS.toString() %>" value="export" /> |
||||||
|
</div> |
||||||
|
</liferay-ui:panel> |
||||||
<%-- ADT BUG-ID=16 Sezione Pratiche Assegnate --%> |
<%-- ADT BUG-ID=16 Sezione Pratiche Assegnate --%> |
||||||
<liferay-portlet:resourceURL id="comuniForUfficio" var="getComuniURL" /> |
<liferay-portlet:resourceURL id="comuniForUfficio" var="getComuniURL" /> |
||||||
<aui:script use="aui-io-request"> |
<aui:script use="aui-io-request"> |
||||||
|
$(".add-new-project__ufficio select").change(function() { |
||||||
$(".add-new-project__ufficio select").change(function(){ |
var comuni = ''; |
||||||
var comuni = ''; |
var val = $(this).val(); |
||||||
var val = $(this).val(); |
$(".add-new-project__comune select").empty(); |
||||||
$(".add-new-project__comune select").empty(); |
A.io.request('<%= getComuniURL %>', { |
||||||
|
data: { |
||||||
A.io.request( |
<portlet:namespace />ufficioId: val |
||||||
'<%= getComuniURL %>', |
}, |
||||||
{ |
dataType: 'json', |
||||||
data: { |
on: { |
||||||
<portlet:namespace />ufficioId: val |
success: function() { |
||||||
},dataType: 'json', |
$(".add-new-project__comune select").empty(); |
||||||
on: { |
$(".add-new-project__comune select").append($('<option>').val('-1').text('Tutti')); |
||||||
success: function() { |
var response = this.get('responseData'); |
||||||
$(".add-new-project__comune select").empty(); |
<% |
||||||
$(".add-new-project__comune select").append($('<option>').val('-1').text('Tutti')); |
String csParam = ParamUtil.getString(renderRequest, "comune"); |
||||||
var response = this.get('responseData'); |
String cs = "null"; |
||||||
|
if (csParam != null && !csParam.equals(StringPool.BLANK)) { |
||||||
<% String csParam = ParamUtil.getString(renderRequest, "comune"); |
cs = csParam; |
||||||
String cs = "null"; |
} |
||||||
if(csParam != null && !csParam.equals("")){ |
%> |
||||||
cs = csParam; |
var cs = <%= cs %>; |
||||||
} |
var checkIfExists = false; |
||||||
%> |
for (index in response) { |
||||||
|
$(".add-new-project__comune select").append($('<option>').val(response[index].comuneId).text(response[index].descLong)); |
||||||
var cs = <%= cs %>; |
if (cs != 'null') { |
||||||
var checkIfExists = false; |
if (response[index].comuneId == cs) { |
||||||
for( index in response ){ |
checkIfExists = true; |
||||||
$(".add-new-project__comune select").append($('<option>').val(response[index].comuneId).text(response[index].descLong)); |
|
||||||
if(cs != 'null'){ |
|
||||||
if(response[index].comuneId == cs){ |
|
||||||
checkIfExists = true; |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
if(checkIfExists){ |
|
||||||
$(".add-new-project__comune select").val(cs); |
|
||||||
} |
|
||||||
} |
} |
||||||
} |
} |
||||||
} |
} |
||||||
); |
if (checkIfExists) { |
||||||
}).trigger("change"); |
$(".add-new-project__comune select").val(cs); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
}); |
||||||
|
}).trigger("change"); |
||||||
</aui:script> |
</aui:script> |
@ -1,50 +1,33 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||||
|
|
||||||
<%@page import="com.liferay.portal.kernel.util.StringUtil"%> |
<%@page import="com.liferay.portal.kernel.util.StringUtil"%> |
||||||
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> |
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> |
||||||
<%@page import="javax.portlet.PortletURL"%> |
<%@page import="javax.portlet.PortletURL"%> |
||||||
|
<%@include file="/html/gestionefirme/init.jsp"%> |
||||||
|
|
||||||
<%@include file="/html/gestionefirme/init.jsp" %> |
|
||||||
|
|
||||||
<% |
<% |
||||||
|
|
||||||
PortletURL portletURL = renderResponse.createRenderURL(); |
PortletURL portletURL = renderResponse.createRenderURL(); |
||||||
|
|
||||||
portletURL.setParameter("tabs1", tabs1 ); |
portletURL.setParameter("tabs1", tabs1 ); |
||||||
|
String[] tabs = StringUtil.split(tabNames); |
||||||
%> |
%> |
||||||
|
|
||||||
<div id="<portlet:namespace/>avvisiContainerId" class="container-fluid"> |
<div id="<portlet:namespace/>avvisiContainerId" class="container-fluid"> |
||||||
|
<liferay-ui:tabs names="<%= tabNames %>" url="<%= portletURL.toString() %>" /> |
||||||
<liferay-ui:tabs |
|
||||||
names="<%= tabNames %>" |
|
||||||
url="<%= portletURL.toString() %>" |
|
||||||
/> |
|
||||||
|
|
||||||
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar" > |
<liferay-ui:icon-menu showWhenSingleIcon="<%= false %>" extended="false" showExpanded="true" cssClass="inline_toolbar" > |
||||||
<aui:button value="Aggiorna" id='<%=renderResponse.getNamespace()+"aggiorna"%>' icon="fa fa-refresh" type="button" |
<aui:button value="Aggiorna" id='<%= renderResponse.getNamespace() + "aggiorna" %>' icon="fa fa-refresh" type="button" |
||||||
onclick="javascript:location.reload()" cssClass="btn btn-primary btn-action pull-right margin_10_0"/> |
onclick="javascript:location.reload()" cssClass="btn btn-primary btn-action pull-right margin_10_0" /> |
||||||
|
<%-- ADT BUG-ID=16 Sezione Pratiche Assegnate / Export CSV delle firme --%> |
||||||
|
<liferay-portlet:resourceURL id="exportCSV" var="exportScadenzePraticheURL"> |
||||||
<!-- ADT BUG-ID=16 Sezione Pratiche Assegnate / Export CSV delle firme --> |
<liferay-portlet:param name="tabs1" value="<%= tabs1 %>" /> |
||||||
<liferay-portlet:resourceURL id="exportCSV" var="exportScadenzePraticheURL"> |
</liferay-portlet:resourceURL> |
||||||
<liferay-portlet:param name="tabs1" value="<%= tabs1 %>" /> |
<aui:button value="Esporta" id='<%= renderResponse.getNamespace() + "esporta" %>' icon="fa fa-floppy-o" type="button" |
||||||
</liferay-portlet:resourceURL> |
cssClass="btn btn-primary btn-action pull-left margin_10_0" href="<%= exportScadenzePraticheURL %>"/> |
||||||
|
|
||||||
<aui:button value="Esporta" id='<%=renderResponse.getNamespace()+"esporta"%>' icon="fa fa-floppy-o" type="button" |
|
||||||
cssClass="btn btn-primary btn-action pull-left margin_10_0" href="<%= exportScadenzePraticheURL %>"/> |
|
||||||
</liferay-ui:icon-menu> |
</liferay-ui:icon-menu> |
||||||
|
|
||||||
<br/> |
<br/> |
||||||
|
<c:if test='<%= tabs1.equals(tabs[0]) %>'> |
||||||
<c:if test='<%= tabs1.equals(StringUtil.split(tabNames)[0]) %>'> |
|
||||||
<jsp:include page='/html/gestionefirme/avvisi_da_firmare.jsp'/> |
<jsp:include page='/html/gestionefirme/avvisi_da_firmare.jsp'/> |
||||||
</c:if> |
</c:if> |
||||||
<c:if test='<%= tabs1.equals(StringUtil.split(tabNames)[1]) %>'> |
<c:if test='<%= tabs1.equals(tabs[1]) %>'> |
||||||
<jsp:include page='/html/gestionefirme/avvisi_da_firmare_altri.jsp'/> |
<jsp:include page='/html/gestionefirme/avvisi_da_firmare_altri.jsp'/> |
||||||
</c:if> |
</c:if> |
||||||
<c:if test='<%= tabs1.equals(StringUtil.split(tabNames)[2]) %>'> |
<c:if test='<%= tabs1.equals(tabs[2]) %>'> |
||||||
<jsp:include page='/html/gestionefirme/avvisi_firme.jsp' /> |
<jsp:include page='/html/gestionefirme/avvisi_firme.jsp' /> |
||||||
</c:if> |
</c:if> |
||||||
</div> |
</div> |
||||||
|
Caricamento…
Reference in new issue