|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
|
|
|
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%> |
|
|
|
|
<%@page import="it.tref.liferay.portos.bo.shared.util.StatoPraticaConstants"%> |
|
|
|
|
<%@page import="java.util.Map.Entry"%> |
|
|
|
|
<%@page import="java.util.ArrayList"%> |
|
|
|
|
<%@page import="java.util.Collections"%> |
|
|
|
|
<%@page import="java.util.Comparator"%> |
|
|
|
@ -10,8 +12,11 @@
|
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
<% |
|
|
|
|
String comune = ParamUtil.getString(request, "comune"); |
|
|
|
|
String provinciaJS = ParamUtil.getString(request, "provinciaJS"); |
|
|
|
|
String provinciaSelect = ParamUtil.getString(renderRequest, "provincia"); |
|
|
|
|
String comuneSelect = ParamUtil.getString(renderRequest, "comune"); |
|
|
|
|
String istruttoreSelect = ParamUtil.getString(renderRequest, "istruttore"); |
|
|
|
|
String uoSelect = ParamUtil.getString(renderRequest, "unitaOperativa"); |
|
|
|
|
String geologoSelect = ParamUtil.getString(renderRequest, "geologi"); |
|
|
|
|
%> |
|
|
|
|
<liferay-ui:panel title="filters" defaultState="closed" |
|
|
|
|
id='<%= renderResponse.getNamespace() + scopeGroupId + "ricercaSaiPanel" %>' collapsible="true" extended="false" |
|
|
|
@ -22,148 +27,65 @@ String provinciaJS = ParamUtil.getString(request, "provinciaJS");
|
|
|
|
|
<aui:input type="text" name="numeroProgetto" label="Numero Progetto" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:input type="text" name="protocollo" label="Protocollo" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="tipoPratica" label="Tipo Pratica"> |
|
|
|
|
<aui:select name="tipoProcedura" label="Tipo Pratica"> |
|
|
|
|
<aui:option value="-1">Seleziona il tipo di pratica</aui:option> |
|
|
|
|
<aui:option value="01"><liferay-ui:message key="deposito"/></aui:option> |
|
|
|
|
<aui:option value="02"><liferay-ui:message key="autorizzazione"/></aui:option> |
|
|
|
|
<aui:option value="03"><liferay-ui:message key="sanatoria"/></aui:option> |
|
|
|
|
</aui:select> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="statoPratica" label="Stato Procedimento"> |
|
|
|
|
<aui:option value="-1">Stato Pratica</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.ANNULLATA %>"> |
|
|
|
|
<liferay-ui:message key="annullata"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.AUTORIZZATA %>"> |
|
|
|
|
<liferay-ui:message key="autorizzata"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.NON_AUTORIZZATA %>"> |
|
|
|
|
<liferay-ui:message key="non autorizzata"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.COLLAUDO %>"> |
|
|
|
|
<liferay-ui:message key="collaudo"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.COLLAUDO_PARZIALE %>"> |
|
|
|
|
<liferay-ui:message key="collaudo parziale"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.CONFORME %>"> |
|
|
|
|
<liferay-ui:message key="conforme"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.NON_CONFORME %>"> |
|
|
|
|
<liferay-ui:message key="non conforme"/> |
|
|
|
|
</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.INTEGRAZIONE %>"> |
|
|
|
|
<liferay-ui:message key="integrazione in corso"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="sospesa"><liferay-ui:message key="sospesa"/></aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.SOTTOPOSTA_A_PARERE %>"> |
|
|
|
|
<liferay-ui:message key="sottoposta a parere"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.VARIATA %>"> |
|
|
|
|
<liferay-ui:message key="variata"/> |
|
|
|
|
</aui:option> |
|
|
|
|
<% |
|
|
|
|
for (Entry<String, String> procedura : IntPraticaLocalServiceUtil.getTipiProcedure().entrySet()) { |
|
|
|
|
String tipo = procedura.getKey(); |
|
|
|
|
String label = procedura.getValue(); |
|
|
|
|
String nomeProcedura = LanguageUtil.get(pageContext, "label_procedura_"+tipo) + ") " + label; |
|
|
|
|
if(nomeProcedura.length() > 90) |
|
|
|
|
nomeProcedura = nomeProcedura.substring(0, 90) + "..."; |
|
|
|
|
%> |
|
|
|
|
<aui:option value="<%= tipo %>"><%= nomeProcedura %></aui:option> |
|
|
|
|
<% |
|
|
|
|
} |
|
|
|
|
%> |
|
|
|
|
</aui:select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
|
<aui:input label="Descrizione Intervento" name="descIntervento" type="text" placeholder="" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="tipoIntervento" label="Tipo Intervento"> |
|
|
|
|
<aui:option value="-1">Tipo Intervento</aui:option> |
|
|
|
|
<aui:option value="interventoLocale"><liferay-ui:message key="Intervento Locale" /></aui:option> |
|
|
|
|
<aui:option value="miglioramento"><liferay-ui:message key="Miglioramento Sismico" /></aui:option> |
|
|
|
|
<aui:option value="adeguamento"><liferay-ui:message key="Adeguamento Sismico" /></aui:option> |
|
|
|
|
<aui:option value="nuovaCostruzione"><liferay-ui:message key="Nuova Costruzione" /></aui:option> |
|
|
|
|
</aui:select> |
|
|
|
|
<aui:select name="provincia" label="Provincia" cssClass="provinciaSelect" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:column cssClass="praticaApertaContainer"> |
|
|
|
|
<span style="font-weight: bold;">Pratica Aperta : </span> |
|
|
|
|
<aui:input checked="true" inlineField="true" type="radio" name="praticaAperta" value="tutte" |
|
|
|
|
label="Tutte" /> |
|
|
|
|
<aui:input inlineField="true" type="radio" name="praticaAperta" value="aperta" label="Sì" /> |
|
|
|
|
<aui:input inlineField="true" type="radio" name="praticaAperta" value="chiusa" label="No" /> |
|
|
|
|
</aui:column> |
|
|
|
|
<div class="col-sm-12 col-md-3 add-new-project__comune"> |
|
|
|
|
<aui:select name="comune" label="Comune" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="provincia" label="Provincia" cssClass="provinciaSelect"> |
|
|
|
|
<aui:option value="000"> </aui:option> |
|
|
|
|
<% |
|
|
|
|
List<String> province = TerritorioLocalServiceUtil.getActiveProvince(); |
|
|
|
|
//ADT BUG-ID=15 Sezione Ricerca / Ordinamento Filtro |
|
|
|
|
List<Provincia> provinceList = new ArrayList<Provincia>(); |
|
|
|
|
for (String codiceProvincia : province) { |
|
|
|
|
Provincia provinciaToStamp = ProvinciaLocalServiceUtil.fetchByC_C(company.getCompanyId(), |
|
|
|
|
codiceProvincia); |
|
|
|
|
provinceList.add(provinciaToStamp); |
|
|
|
|
} |
|
|
|
|
Collections.sort(provinceList, new Comparator<Provincia>() { |
|
|
|
|
public int compare(Provincia o1, Provincia o2){ |
|
|
|
|
return o1.getProvincia().compareTo(o2.getProvincia()); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
for (Provincia provincia : provinceList) { |
|
|
|
|
%> |
|
|
|
|
<aui:option value="<%= provincia.getCodiceProvincia() %>"> |
|
|
|
|
<%= provincia.getProvincia() %> |
|
|
|
|
</aui:option> |
|
|
|
|
<% |
|
|
|
|
} |
|
|
|
|
%> |
|
|
|
|
</aui:select> |
|
|
|
|
<aui:input type="text" name="titolareDigitale" label="Titolare Digitale" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="comune" label="Comune" cssClass="comuneSelect"> |
|
|
|
|
<aui:option value="000" /> |
|
|
|
|
<% |
|
|
|
|
if (Validator.isNotNull(provinciaJS) && !provinciaJS.equals("000")) { |
|
|
|
|
List<Long> comuni = TerritorioLocalServiceUtil.getActiveComuniByCodiceProvincia(provinciaJS); |
|
|
|
|
for (long comuneId : comuni) { |
|
|
|
|
Comune comuneToStamp = ComuneLocalServiceUtil.getComune(comuneId); |
|
|
|
|
%> |
|
|
|
|
<aui:option value="<%= comuneToStamp.getComuneId() %>"> |
|
|
|
|
<%= comuneToStamp.getDenominazione() %> |
|
|
|
|
</aui:option> |
|
|
|
|
<% |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
%> |
|
|
|
|
</aui:select> |
|
|
|
|
<aui:input type="text" name="committente" label="Committente" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:input type="text" name="indirizzo" label="Indirizzo" /> |
|
|
|
|
<aui:input type="text" name="soggettiInterconnessi" label="Soggetti Interconnessi" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:input type="text" name="tecnicoIstruttore" label="Tecnico Istruttore" /> |
|
|
|
|
<div class="col-xs-12 col-md-1"> |
|
|
|
|
<aui:select name="unitaOperativa" label="unita-operativa" cssClass="uoSelect" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:input type="text" name="titolareDigitale" label="Titolare Digitale" /> |
|
|
|
|
<div class="col-xs-12 col-md-2"> |
|
|
|
|
<aui:select name="istruttore" label="Istruttore" cssClass="istruttoreSelect" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:input type="text" name="committente" label="Committente" /> |
|
|
|
|
<aui:select name="geologi" label="Parere endoprocedimentale" cssClass="geologoSelect" /> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:input type="text" name="soggettiInterconnessi" label="Soggetti Interconnessi" /> |
|
|
|
|
<aui:select name="parereGeologo" label="Parere fornito"> |
|
|
|
|
<aui:option value="-1">Tutte</aui:option> |
|
|
|
|
<aui:option value="1">Si</aui:option> |
|
|
|
|
<aui:option value="0">No</aui:option> |
|
|
|
|
</aui:select> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-4"> |
|
|
|
|
<div class="col-xs-12 col-md-12"> |
|
|
|
|
<aui:field-wrapper label="Data richiesta da" inlineField="true"> |
|
|
|
|
<liferay-util:include page="/html/common/input_date_time.jsp" servletContext="<%= application %>"> |
|
|
|
|
<liferay-util:param name="field" value="dataRichiestaInizio" /> |
|
|
|
@ -177,16 +99,43 @@ String provinciaJS = ParamUtil.getString(request, "provinciaJS");
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-4"> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="tipoAttivita" label="Attività"> |
|
|
|
|
<aui:option value="-1">Tutte</aui:option> |
|
|
|
|
<aui:option value="Assegnazione">Assegnazione</aui:option> |
|
|
|
|
<aui:option value="Approvazione">Approvazione</aui:option> |
|
|
|
|
<aui:option value="Annullato">Annullato</aui:option> |
|
|
|
|
<aui:option value="Esito">Esito</aui:option> |
|
|
|
|
<aui:option value="NonApprovato">Non Approvato</aui:option> |
|
|
|
|
<aui:option value="signal_cittadino">Richiesta Integrazione</aui:option> |
|
|
|
|
<aui:option value="signal_ff">Firma</aui:option> |
|
|
|
|
</aui:select> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="statoPratica" label="Esito"> |
|
|
|
|
<aui:option value="-1">Tutti</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.AUTORIZZATA %>">Autorizzata</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.ANNULLATA %>">Annullata</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.CONFORME %>">Conforme</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.INTEGRAZIONE %>">Integrazione</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.NO_PARERE %>">Nessun parere</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.NON_AUTORIZZATA %>">Non autorizzata</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.NON_CONFORME %>">Non conforme</aui:option> |
|
|
|
|
<aui:option value="<%= StatoPraticaConstants.PREAVVISO_CONTRARIO %>">Preavviso contrario</aui:option> |
|
|
|
|
</aui:select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-12"> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="ordinaPer" label="Ordina Per"> |
|
|
|
|
<aui:option selected="true" value="numeroProgetto">Numero Progetto</aui:option> |
|
|
|
|
<aui:option value="protocollo">Protocollo</aui:option> |
|
|
|
|
<aui:option value="dataCreazione">Data Invio</aui:option> |
|
|
|
|
</aui:select> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
|
<div class="col-xs-12 col-md-3"> |
|
|
|
|
<aui:select name="ordinaTipo" label="Tipo Ordine"> |
|
|
|
|
<aui:option selected="true" value="dec">Dec</aui:option> |
|
|
|
|
<aui:option value="asc">Asc</aui:option> |
|
|
|
@ -198,45 +147,126 @@ String provinciaJS = ParamUtil.getString(request, "provinciaJS");
|
|
|
|
|
<aui:button type="submit" value="search" /> |
|
|
|
|
</div> |
|
|
|
|
</liferay-ui:panel> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<liferay-portlet:resourceURL id="unitaOperative" var="getUnitaOperativeUrl" /> |
|
|
|
|
<liferay-portlet:resourceURL id="province" var="getProvinceURL" /> |
|
|
|
|
<liferay-portlet:resourceURL id="comuni" var="getComuniURL" /> |
|
|
|
|
<aui:script use="aui-base,aui-io-request"> |
|
|
|
|
var getComuni = function(provinciaId, comuneId, comuneValue) { |
|
|
|
|
var comuneSelect = A.one("#"+comuneId); |
|
|
|
|
if (provinciaId == "" || provinciaId == "000") { |
|
|
|
|
comuneSelect.html("<option value='000' label=''></option>") |
|
|
|
|
comuneSelect.addClass("disabled").set("disabled", true); |
|
|
|
|
} else { |
|
|
|
|
A.io.request('<%= getComuniURL %>', { |
|
|
|
|
<liferay-portlet:resourceURL id="istruttore" var="getIstruttoriUrl" /> |
|
|
|
|
<liferay-portlet:resourceURL id="geologo" var="getGeologoUrl" /> |
|
|
|
|
|
|
|
|
|
<aui:script use="aui-io-request,liferay-dynamic-select"> |
|
|
|
|
var getUnitaOperative = function(callback) { |
|
|
|
|
A.io.request( |
|
|
|
|
'<%= getUnitaOperativeUrl %>', |
|
|
|
|
{ |
|
|
|
|
dataType: 'json', |
|
|
|
|
on: { |
|
|
|
|
success: function() { |
|
|
|
|
callback(this.get('responseData')); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var getProvince = function(callback) { |
|
|
|
|
A.io.request( |
|
|
|
|
'<%= getProvinceURL %>', |
|
|
|
|
{ |
|
|
|
|
dataType: 'json', |
|
|
|
|
on: { |
|
|
|
|
success: function() { |
|
|
|
|
callback(this.get('responseData')); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var getComuni = function(callback, provinciaId) { |
|
|
|
|
A.io.request( |
|
|
|
|
'<%= getComuniURL %>', |
|
|
|
|
{ |
|
|
|
|
data: { |
|
|
|
|
<portlet:namespace />provinciaId: provinciaId |
|
|
|
|
},dataType: 'json', |
|
|
|
|
on: { |
|
|
|
|
success: function() { |
|
|
|
|
callback(this.get('responseData')); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var getIstruttori = function(callback, uoId) { |
|
|
|
|
A.io.request('<%= getIstruttoriUrl %>', { |
|
|
|
|
data: { |
|
|
|
|
<portlet:namespace />provinciaId: provinciaId |
|
|
|
|
<portlet:namespace />uoId: uoId |
|
|
|
|
}, |
|
|
|
|
dataType: 'json', |
|
|
|
|
on: { |
|
|
|
|
success: function() { |
|
|
|
|
var response = this.get('responseData'); |
|
|
|
|
comuneSelect.html("<option value='000' label=''></option>") |
|
|
|
|
for (index in response) { |
|
|
|
|
var code = '<option value="' + response[index].comuneId + '" label="' + response[index].descLong |
|
|
|
|
+ '" class="comuneItem" ' + (comuneValue==response[index].comuneId ? "selected=\"true\"" |
|
|
|
|
: "") |
|
|
|
|
+ '>' + response[index].descLong + '</option>'; |
|
|
|
|
comuneSelect.append(code); |
|
|
|
|
} |
|
|
|
|
if (provinciaId != "" && provinciaId != "000") { |
|
|
|
|
comuneSelect.removeClass("disabled").set("disabled", false); |
|
|
|
|
} |
|
|
|
|
callback(this.get('responseData')); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
A.ready(function() { |
|
|
|
|
A.one(".provinciaSelect").on('change', function(event) { |
|
|
|
|
var provinciaId = event.currentTarget.get('value'), |
|
|
|
|
comuneId = event.currentTarget.attr("id").replace("provincia","comune"), |
|
|
|
|
comuneValue = "000"; |
|
|
|
|
getComuni(provinciaId, comuneId, comuneValue) |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
</aui:script> |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
var getGeologo = function(callback) { |
|
|
|
|
A.io.request('<%= getGeologoUrl %>', { |
|
|
|
|
dataType: 'json', |
|
|
|
|
on: { |
|
|
|
|
success: function() { |
|
|
|
|
callback(this.get('responseData')); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
new Liferay.DynamicSelect( |
|
|
|
|
[ |
|
|
|
|
{ |
|
|
|
|
select: '<portlet:namespace />provincia', |
|
|
|
|
selectData: getProvince, |
|
|
|
|
selectDesc: 'descLong', |
|
|
|
|
selectId: 'provinciaId', |
|
|
|
|
selectSort: true, |
|
|
|
|
selectVal: '<%= (Validator.isNotNull(provinciaSelect) ? provinciaSelect : "") %>' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
select: '<portlet:namespace />comune', |
|
|
|
|
selectData: getComuni, |
|
|
|
|
selectDesc: 'descLong', |
|
|
|
|
selectId: 'comuneId', |
|
|
|
|
selectSort: true, |
|
|
|
|
selectVal: '<%= (Validator.isNotNull(comuneSelect) ? comuneSelect : "") %>' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
select: '<portlet:namespace />unitaOperativa', |
|
|
|
|
selectData: getUnitaOperative, |
|
|
|
|
selectDesc: 'descLong', |
|
|
|
|
selectId: 'uoId', |
|
|
|
|
selectSort: false, |
|
|
|
|
selectVal: '<%= (Validator.isNotNull(uoSelect) ? uoSelect : "") %>' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
select: '<portlet:namespace />istruttore', |
|
|
|
|
selectData: getIstruttori, |
|
|
|
|
selectDesc: 'descLong', |
|
|
|
|
selectId: 'istruttoreId', |
|
|
|
|
selectSort: true, |
|
|
|
|
selectVal: '<%= (Validator.isNotNull(istruttoreSelect) ? istruttoreSelect : "") %>' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
select: '<portlet:namespace />geologi', |
|
|
|
|
selectData: getGeologo, |
|
|
|
|
selectDesc: 'descLong', |
|
|
|
|
selectId: 'geologoId', |
|
|
|
|
selectSort: true, |
|
|
|
|
selectVal: '<%= (Validator.isNotNull(geologoSelect) ? geologoSelect : "") %>' |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
); |
|
|
|
|
</aui:script> |
|
|
|
|