|
|
@ -18,6 +18,8 @@ String via = ParamUtil.getString(request, "via", StringPool.BLANK); |
|
|
|
String lat = ParamUtil.getString(request, "lat", StringPool.BLANK); |
|
|
|
String lat = ParamUtil.getString(request, "lat", StringPool.BLANK); |
|
|
|
String lng = ParamUtil.getString(request, "long", StringPool.BLANK); |
|
|
|
String lng = ParamUtil.getString(request, "long", StringPool.BLANK); |
|
|
|
String raggio = ParamUtil.getString(request, "raggio", StringPool.BLANK); |
|
|
|
String raggio = ParamUtil.getString(request, "raggio", StringPool.BLANK); |
|
|
|
|
|
|
|
boolean targetBlank = ParamUtil.getBoolean(request, "blank", true); |
|
|
|
|
|
|
|
String target = (targetBlank ? "_blank" : StringPool.BLANK); |
|
|
|
|
|
|
|
|
|
|
|
PortletURL iteratorURL = liferayPortletResponse.createRenderURL(); |
|
|
|
PortletURL iteratorURL = liferayPortletResponse.createRenderURL(); |
|
|
|
if (Validator.isNotNull(codiceProvincia)) { |
|
|
|
if (Validator.isNotNull(codiceProvincia)) { |
|
|
@ -38,9 +40,11 @@ if (Validator.isNotNull(lng)) { |
|
|
|
if (Validator.isNotNull(raggio)) { |
|
|
|
if (Validator.isNotNull(raggio)) { |
|
|
|
iteratorURL.setParameter("raggio", raggio); |
|
|
|
iteratorURL.setParameter("raggio", raggio); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
iteratorURL.setParameter("blank", String.valueOf(targetBlank)); |
|
|
|
|
|
|
|
|
|
|
|
DecimalFormat fmt = (DecimalFormat) NumberFormat.getInstance(Locale.ITALY); |
|
|
|
DecimalFormat fmt = (DecimalFormat) NumberFormat.getInstance(Locale.ITALY); |
|
|
|
boolean showNotes = false; |
|
|
|
boolean showNotes = false; |
|
|
|
int[] raggi = { 1, 2, 3, 5, 10 }; |
|
|
|
int[] raggi = { 500, 1000, 2000, 3000, 5000, 10000 }; |
|
|
|
|
|
|
|
|
|
|
|
%> |
|
|
|
%> |
|
|
|
<div class="container-fluid"> |
|
|
|
<div class="container-fluid"> |
|
|
@ -84,7 +88,7 @@ int[] raggi = { 1, 2, 3, 5, 10 }; |
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
<aui:select name="raggio" label="dp-raggio"> |
|
|
|
<aui:select name="raggio" label="dp-raggio"> |
|
|
|
<% for (int i = 0; i < raggi.length; i++) { %> |
|
|
|
<% for (int i = 0; i < raggi.length; i++) { %> |
|
|
|
<aui:option value="<%= raggi[i] * 1000 %>"><%= raggi[i] %> Km</aui:option> |
|
|
|
<aui:option value="<%= raggi[i] %>"><%= fmt.format(raggi[i] / 1000.0) %> Km</aui:option> |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
</aui:select> |
|
|
|
</aui:select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -186,21 +190,21 @@ int[] raggi = { 1, 2, 3, 5, 10 }; |
|
|
|
<%= fmt.format(pratica.getDistanzaOrtodromica()) %> |
|
|
|
<%= fmt.format(pratica.getDistanzaOrtodromica()) %> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
|
|
|
|
|
|
|
|
<liferay-ui:search-container-column-text name="n-progetto" cssClass="text-nowrap"> |
|
|
|
<liferay-ui:search-container-column-text name="n-progetto" href="<%= viewURL %>" target="<%= target %>" cssClass="text-nowrap"> |
|
|
|
<%= pratica.getTitle(locale, true) %> |
|
|
|
<%= pratica.getTitle(locale, true) %> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
|
|
|
|
|
|
|
|
<liferay-ui:search-container-column-text name="titolare-digitale" href="<%= viewURL %>" cssClass="text-nowrap"> |
|
|
|
<liferay-ui:search-container-column-text name="titolare-digitale" href="<%= viewURL %>" target="<%= target %>" cssClass="text-nowrap"> |
|
|
|
<c:if test="<%= Validator.isNotNull(titolare) %>"> |
|
|
|
<c:if test="<%= Validator.isNotNull(titolare) %>"> |
|
|
|
<%= titolare.getTitle() %><br/><%= titolare.getCodiceFiscale() %> |
|
|
|
<%= titolare.getTitle() %><br/><%= titolare.getCodiceFiscale() %> |
|
|
|
</c:if> |
|
|
|
</c:if> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
|
|
|
|
|
|
|
|
<liferay-ui:search-container-column-text name="committenti" href="<%=viewURL %>"> |
|
|
|
<liferay-ui:search-container-column-text name="committenti" href="<%= viewURL %>" target="<%= target %>"> |
|
|
|
<%= committenti %> |
|
|
|
<%= committenti %> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
|
|
|
|
|
|
|
|
<liferay-ui:search-container-column-text name="esito" href="<%=viewURL %>" cssClass="text-nowrap text-center middle-aligned"> |
|
|
|
<liferay-ui:search-container-column-text name="esito" href="<%= viewURL %>" target="<%= target %>" cssClass="text-nowrap text-center middle-aligned"> |
|
|
|
<strong><%= LanguageUtil.get(pageContext, PraticaUtil.getStatoPraticaLabel(pratica.getStatoPratica(), intPraticaId)) %></strong> |
|
|
|
<strong><%= LanguageUtil.get(pageContext, PraticaUtil.getStatoPraticaLabel(pratica.getStatoPratica(), intPraticaId)) %></strong> |
|
|
|
<span class="text-center display-block" style="margin-top:5px"> |
|
|
|
<span class="text-center display-block" style="margin-top:5px"> |
|
|
|
<% |
|
|
|
<% |
|
|
@ -221,7 +225,7 @@ int[] raggi = { 1, 2, 3, 5, 10 }; |
|
|
|
<a class="btn status-icon tooltip-info btn-action" |
|
|
|
<a class="btn status-icon tooltip-info btn-action" |
|
|
|
title="<%= HtmlUtil.escapeAttribute(sb.toString()) %>" |
|
|
|
title="<%= HtmlUtil.escapeAttribute(sb.toString()) %>" |
|
|
|
href="<%= fascicoloAvvisiURL.toString() + "#_" + PortletKeys.FASCICOLO |
|
|
|
href="<%= fascicoloAvvisiURL.toString() + "#_" + PortletKeys.FASCICOLO |
|
|
|
+ "_tab=_" + PortletKeys.FASCICOLO + "_page_avvisi" %>"> |
|
|
|
+ "_tab=_" + PortletKeys.FASCICOLO + "_page_avvisi" %>" target="<%= target %>"> |
|
|
|
<i class="fa fa-envelope relative"> |
|
|
|
<i class="fa fa-envelope relative"> |
|
|
|
<span class="fa-hover fa-top-right txt-bold"><%= avvisi.size() %></span> |
|
|
|
<span class="fa-hover fa-top-right txt-bold"><%= avvisi.size() %></span> |
|
|
|
</i> |
|
|
|
</i> |
|
|
@ -280,7 +284,7 @@ int[] raggi = { 1, 2, 3, 5, 10 }; |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
</liferay-ui:search-container-column-text> |
|
|
|
|
|
|
|
|
|
|
|
<liferay-ui:search-container-column-text name="col-desc-interv"> |
|
|
|
<liferay-ui:search-container-column-text name="col-desc-interv" href="<%= viewURL %>" target="<%= target %>"> |
|
|
|
Territorio: <strong><%= comune.getDenominazione() %> |
|
|
|
Territorio: <strong><%= comune.getDenominazione() %> |
|
|
|
<%= (dettaglio == null || dettaglio.getLocalita().isEmpty()) ? |
|
|
|
<%= (dettaglio == null || dettaglio.getLocalita().isEmpty()) ? |
|
|
|
"" : |
|
|
|
"" : |
|
|
|