Sfoglia il codice sorgente

numerazione destinazione

master
Mattia Gosetto 3 anni fa
parent
commit
2f3936409f
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/axis.jar
  2. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-io.jar
  3. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-logging.jar
  4. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jaxrpc.jar
  5. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jstl-api.jar
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jstl-impl.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/log4j.jar
  8. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-bridges.jar
  9. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-taglib.jar
  10. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/wsdl4j.jar
  11. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/xml-apis.jar
  12. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java
  13. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java
  14. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java
  15. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java
  16. 58
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties
  17. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/DomandaUtil.java
  18. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java
  19. 14
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java
  20. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  21. 572
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/tld/c.tld
  22. 79
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp
  23. 20
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/ApiUtil.java
  24. 1
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/Parameters.java
  25. 8
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/CommandList.java
  26. 2
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/DeleteApplication.java
  27. 2
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/GetApplications.java
  28. 2
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListApplications.java
  29. 2
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListDocuments.java
  30. 32
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListFields.java
  31. 4
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListUses.java
  32. 102
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/SetFields.java
  33. 59
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/SetUse.java
  34. 2
      liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/parameter/Parameter.java

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/axis.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-io.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/commons-logging.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jaxrpc.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jstl-api.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/jstl-impl.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/log4j.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-bridges.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-taglib.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/wsdl4j.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/xml-apis.jar

File binario non mostrato.

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalService.java

@ -955,7 +955,7 @@ public interface DettPraticaLocalService extends BaseLocalService,
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.Map<java.lang.String, java.lang.String> getDestinazioniuso();
public java.util.Map<java.lang.String, java.lang.String> getDestinazioniUso();
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.List<java.lang.String> getDettPraticaFields();

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceClp.java

@ -537,7 +537,7 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
_methodParameterTypes79 = new String[] { "long" };
_methodName80 = "getDestinazioniuso";
_methodName80 = "getDestinazioniUso";
_methodParameterTypes80 = new String[] { };
@ -4606,7 +4606,7 @@ public class DettPraticaLocalServiceClp implements DettPraticaLocalService {
}
@Override
public java.util.Map<java.lang.String, java.lang.String> getDestinazioniuso() {
public java.util.Map<java.lang.String, java.lang.String> getDestinazioniUso() {
Object returnObj = null;
try {

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceUtil.java

@ -1287,8 +1287,8 @@ public class DettPraticaLocalServiceUtil {
return getService().getFirstCompletedByIntPratica(intPraticaId);
}
public static java.util.Map<java.lang.String, java.lang.String> getDestinazioniuso() {
return getService().getDestinazioniuso();
public static java.util.Map<java.lang.String, java.lang.String> getDestinazioniUso() {
return getService().getDestinazioniUso();
}
public static java.util.List<java.lang.String> getDettPraticaFields() {

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/DettPraticaLocalServiceWrapper.java

@ -1357,8 +1357,8 @@ public class DettPraticaLocalServiceWrapper implements DettPraticaLocalService,
}
@Override
public java.util.Map<java.lang.String, java.lang.String> getDestinazioniuso() {
return _dettPraticaLocalService.getDestinazioniuso();
public java.util.Map<java.lang.String, java.lang.String> getDestinazioniUso() {
return _dettPraticaLocalService.getDestinazioniUso();
}
@Override

58
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/content/Portal.properties

@ -344,7 +344,7 @@ destinazione-A2D = Edifici ed opere individuate nei piani d'emergenza o in altre
destinazione-A3 = Strutture Militari
destinazione-A3A = Caserme delle Forze Armate, dei Carabinieri, della Pubblica Sicurezza, dei Vigili del Fuoco, della Guardia di Finanza, del Corpo Forestale dello Stato
destinazione-A4 = 4. Infrastrutture
destinazione-A4 = Infrastrutture
destinazione-A4A = Centrali Elettriche di importanza primaria
destinazione-A4B = Strutture primarie per le telecomunicazioni (radio, televisioni, telefonia fissa e portatile, ponti radio della rete nazionale)
destinazione-A4C = Vie di comunicazione (strade, ferrovie) ed opere d'arte annesse, limitatamente a quelle strategiche individuate nei piani di emergenza o in altre disposizioni per la gestione dell'emergenza
@ -357,34 +357,34 @@ destinazione-A5A = altre infrastrutture
destinazione-B = EDIFICI E OPERE INFRASTRUTTURALI RILEVANTI
destinazione-B1 = 1. Strutture per l'Istruzione sia pubbliche che private
destinazione-B1A = a) Scuole di ogni ordine e grado, comprese le strutture funzionali primarie annesse
destinazione-B1B = b) Palestre annesse agli edifici scolastici
destinazione-B1C = c) Sedi universitarie, accademie, conservatori e relative strutture gestionali e di coordinamento
destinazione-B2 = 2. Strutture Civili
destinazione-B2A = a) Uffici amministrativi degli enti pubblici
destinazione-B2B = b) Uffici con notevole accesso al pubblico (uffici postali e bancari principali, centri civici, centri per convegni, mense)
destinazione-B2C = c) Edifici con elevato contenuto artistico e/o patrimoniale (musei, biblioteche)
destinazione-B2D = d) Edifici per il culto con superficie utile &gt; 200 mq
destinazione-B2E = e) Sale per lo spettacolo, teatri, cinema, sale da ballo, con capienza utile &gt; 100 persone
destinazione-B2F = f) Edifici adibiti ad attivitàsportive o ad esse funzionali e destinati al pubblico, con capienza utile &gt; 100 persone (Stadi, tribune, palazzetti dello sport)
destinazione-B2G = g) Grandi magazzini di vendita, mercati coperti, centri commerciali con superficie di vendita &gt; 2500 mq
destinazione-B2H = h) Edifici con destinazione residenziale con cubatura &gt; 5.000 mc ed altezza &gt; 25 m
destinazione-B2I = i) Edifici con destinazione alberghiera con capacità ricettiva &gt; 50 persone
destinazione-B2J = j) Strutture sanitarie o socioassistenziali con ospiti non autosufficienti (ospizi, orfanotrofi)
destinazione-B3 = 3. Strutture Industriali
destinazione-B3A = a) Edifici industriali ove sia prevista una presenza contemporanea media &gt; 200 addetti
destinazione-B3B = b) Edifici industriali nei quali avvengono lavorazioni di materie insalubri o pericolose
destinazione-B4 = 4. Infrastrutture
destinazione-B4A = a) Vie di comunicazione (strade, ferrovie, banchine portuali, piste aeroportuali , funivie) ed opere d'arte annesse, il collasso delle quali può determinare gravi conseguenze in termini di perdite di vite umane, ovvero interruzioni prolungate del traffico
destinazione-B4B = b) Opere di ritenuta (dighe) con volume di acqua invasato &gt; 50000 mc o altezza dello sbarramento &gt; 5 m
destinazione-B4C = c) Impianti primari di depurazione
destinazione-B5 = 5. Altre strutture e infrastrutture individuate nei piani di emergenza o in altre disposizioni di protezione civile
destinazione-B5A = altre infrastrutture
destinazione-B1 = Strutture per l'Istruzione sia pubbliche che private
destinazione-B1A = Scuole di ogni ordine e grado, comprese le strutture funzionali primarie annesse
destinazione-B1B = Palestre annesse agli edifici scolastici
destinazione-B1C = Sedi universitarie, accademie, conservatori e relative strutture gestionali e di coordinamento
destinazione-B2 = Strutture Civili
destinazione-B2A = Uffici amministrativi degli enti pubblici
destinazione-B2B = Uffici con notevole accesso al pubblico (uffici postali e bancari principali, centri civici, centri per convegni, mense)
destinazione-B2C = Edifici con elevato contenuto artistico e/o patrimoniale (musei, biblioteche)
destinazione-B2D = Edifici per il culto con superficie utile &gt; 200 mq
destinazione-B2E = Sale per lo spettacolo, teatri, cinema, sale da ballo, con capienza utile &gt; 100 persone
destinazione-B2F = Edifici adibiti ad attivitàsportive o ad esse funzionali e destinati al pubblico, con capienza utile &gt; 100 persone (Stadi, tribune, palazzetti dello sport)
destinazione-B2G = Grandi magazzini di vendita, mercati coperti, centri commerciali con superficie di vendita &gt; 2500 mq
destinazione-B2H = Edifici con destinazione residenziale con cubatura &gt; 5.000 mc ed altezza &gt; 25 m
destinazione-B2I = Edifici con destinazione alberghiera con capacità ricettiva &gt; 50 persone
destinazione-B2J = Strutture sanitarie o socioassistenziali con ospiti non autosufficienti (ospizi, orfanotrofi)
destinazione-B3 = Strutture Industriali
destinazione-B3A = Edifici industriali ove sia prevista una presenza contemporanea media &gt; 200 addetti
destinazione-B3B = Edifici industriali nei quali avvengono lavorazioni di materie insalubri o pericolose
destinazione-B4 = Infrastrutture
destinazione-B4A = Vie di comunicazione (strade, ferrovie, banchine portuali, piste aeroportuali , funivie) ed opere d'arte annesse, il collasso delle quali può determinare gravi conseguenze in termini di perdite di vite umane, ovvero interruzioni prolungate del traffico
destinazione-B4B = Opere di ritenuta (dighe) con volume di acqua invasato &gt; 50000 mc o altezza dello sbarramento &gt; 5 m
destinazione-B4C = Impianti primari di depurazione
#destinazione-B5 = 5. Altre strutture e infrastrutture individuate nei piani di emergenza o in altre disposizioni di protezione civile
#destinazione-B5A = altre infrastrutture
## SISTEMI COSTRUTTIVI E NORME DI RIFERIMENTO ##
dp-sc = Sistemi Costruttivi

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/DomandaUtil.java

@ -18,7 +18,7 @@ public class DomandaUtil {
private static final List<String> DETT_PRATICA_FIELDS;
private static final Map<String, Integer> DETT_PRATICA_FIELDS_TYPES;
public static Map<String, String> getDestinazioniuso() {
public static Map<String, String> getDestinazioniUso() {
return DESTINAZIONI_USO;
}

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/DettPraticaLocalServiceClpInvoker.java

@ -546,7 +546,7 @@ public class DettPraticaLocalServiceClpInvoker {
_methodParameterTypes272 = new String[] { "long" };
_methodName273 = "getDestinazioniuso";
_methodName273 = "getDestinazioniUso";
_methodParameterTypes273 = new String[] { };
@ -1532,7 +1532,7 @@ public class DettPraticaLocalServiceClpInvoker {
if (_methodName273.equals(name) &&
Arrays.deepEquals(_methodParameterTypes273, parameterTypes)) {
return DettPraticaLocalServiceUtil.getDestinazioniuso();
return DettPraticaLocalServiceUtil.getDestinazioniUso();
}
if (_methodName274.equals(name) &&

14
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/DettPraticaLocalServiceImpl.java

@ -1761,7 +1761,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
versions.add(deserializer.deserialize(serializer.serialize(lista.get(i))));
changes.add(new HashMap<String, Serializable>());
}
for (String field : dettPraticaFields) {
for (String field : DomandaUtil.getDettPraticaFields()) {
Serializable v0 = null == versions.get(0).get(field) ? StringPool.BLANK : versions.get(0).get(field);
boolean changed = false;
for (int i = 1; i < size; i++) {
@ -1784,7 +1784,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
@Override
public boolean isNumber(String field) {
switch (dettPraticaFieldsTypes.get(field)) {
switch (DomandaUtil.getDettPraticaFieldsTypes().get(field)) {
case Types.BOOLEAN:
case Types.TIMESTAMP:
return false;
@ -1799,7 +1799,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
case Types.INTEGER:
return true;
default:
_log.info(dettPraticaFieldsTypes.get(field));
_log.info(DomandaUtil.getDettPraticaFieldsTypes().get(field));
}
return true;
}
@ -1807,7 +1807,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
@Override
public String format(String field, Serializable value) {
switch (dettPraticaFieldsTypes.get(field)) {
switch (DomandaUtil.getDettPraticaFieldsTypes().get(field)) {
case Types.BOOLEAN:
return (Boolean) value ? "Sì" : "No";
case Types.TIMESTAMP:
@ -1831,7 +1831,7 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
case Types.INTEGER:
return NumberFormat.getInstance().format(value);
default:
_log.info(dettPraticaFieldsTypes.get(field));
_log.info(DomandaUtil.getDettPraticaFieldsTypes().get(field));
return "XXXXXXXXXXXXX";
}
}
@ -1865,8 +1865,8 @@ public class DettPraticaLocalServiceImpl extends DettPraticaLocalServiceBaseImpl
}
@Override
public Map<String, String> getDestinazioniuso() {
return DomandaUtil.getDestinazioniuso();
public Map<String, String> getDestinazioniUso() {
return DomandaUtil.getDestinazioniUso();
}
@Override

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=3203
build.date=1624545918094
build.number=3206
build.date=1624547371477
build.auto.upgrade=true
##

572
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/tld/c.tld

@ -1,572 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<description>JSTL 1.2 core library</description>
<display-name>JSTL core</display-name>
<tlib-version>1.2</tlib-version>
<short-name>c</short-name>
<uri>http://java.sun.com/jsp/jstl/core</uri>
<validator>
<description>
Provides core validation features for JSTL tags.
</description>
<validator-class>
org.apache.taglibs.standard.tlv.JstlCoreTLV
</validator-class>
</validator>
<tag>
<description>
Catches any Throwable that occurs in its body and optionally
exposes it.
</description>
<name>catch</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable for the
exception thrown from a nested action. The type of the
scoped variable is the type of the exception thrown.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
&lt;when&gt; and &lt;otherwise&gt;
</description>
<name>choose</name>
<tag-class>com.liferay.taglib.core.ChooseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<description>
Simple conditional tag, which evalutes its body if the
supplied condition is true and optionally exposes a Boolean
scripting variable representing the evaluation of this condition
</description>
<name>if</name>
<tag-class>com.liferay.taglib.core.IfTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The test condition that determines whether or
not the body content should be processed.
</description>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resulting value of the test condition. The type
of the scoped variable is Boolean.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Retrieves an absolute or relative URL and exposes its contents
to either the page, a String in 'var', or a Reader in 'varReader'.
</description>
<name>import</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
<body-content>JSP</body-content>
<attribute>
<description>
The URL of the resource to import.
</description>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resource's content. The type of the scoped
variable is String.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resource's content. The type of the scoped
variable is Reader.
</description>
<name>varReader</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when accessing a relative
URL resource that belongs to a foreign
context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Character encoding of the content at the input
resource.
</description>
<name>charEncoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
The basic iteration tag, accepting many different
collection types and supporting subsetting and other
functionality
</description>
<name>forEach</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
<body-content>JSP</body-content>
<attribute>
<description>
Collection of items to iterate over.
</description>
<name>items</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Object</type>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
<description>
If items specified:
Iteration begins at the item located at the
specified index. First item of the collection has
index 0.
If items not specified:
Iteration begins with index set at the value
specified.
</description>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
If items specified:
Iteration ends at the item located at the
specified index (inclusive).
If items not specified:
Iteration ends when index reaches the value
specified.
</description>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration will only process every step items of
the collection, starting with the first one.
</description>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
current item of the iteration. This scoped
variable has nested visibility. Its type depends
on the object of the underlying collection.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
status of the iteration. Object exported is of type
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
visibility.
</description>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Iterates over tokens, separated by the supplied delimeters
</description>
<name>forTokens</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
String of tokens to iterate over.
</description>
<name>items</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
</attribute>
<attribute>
<description>
The set of delimiters (the characters that
separate the tokens in the string).
</description>
<name>delims</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
Iteration begins at the token located at the
specified index. First token has index 0.
</description>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration ends at the token located at the
specified index (inclusive).
</description>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration will only process every step tokens
of the string, starting with the first one.
</description>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
current item of the iteration. This scoped
variable has nested visibility.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
status of the iteration. Object exported is of
type
javax.servlet.jsp.jstl.core.LoopTag
Status. This scoped variable has nested
visibility.
</description>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Like &lt;%= ... &gt;, but for expressions.
</description>
<name>out</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Expression to be evaluated.
</description>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Default value if the resulting value is null.
</description>
<name>default</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Determines whether characters &lt;,&gt;,&amp;,'," in the
resulting string should be converted to their
corresponding character entity codes. Default value is
true.
</description>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
and runs only if all of the prior conditions evaluated to
'false'
</description>
<name>otherwise</name>
<tag-class>com.liferay.taglib.core.OtherwiseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<description>
Adds a parameter to a containing 'import' tag's URL.
</description>
<name>param</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the query string parameter.
</description>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Value of the parameter.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Redirects to a new URL.
</description>
<name>redirect</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The URL of the resource to redirect to.
</description>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when redirecting to a relative URL
resource that belongs to a foreign context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Removes a scoped variable (from a particular scope, if specified).
</description>
<name>remove</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>
Name of the scoped variable to be removed.
</description>
<name>var</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Sets the result of an expression evaluation in a 'scope'
</description>
<name>set</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable to hold the value
specified in the action. The type of the scoped variable is
whatever type the value expression evaluates to.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Expression to be evaluated.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<deferred-value>
<type>java.lang.Object</type>
</deferred-value>
</attribute>
<attribute>
<description>
Target object whose property will be set. Must evaluate to
a JavaBeans object with setter property property, or to a
java.util.Map object.
</description>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the property to be set in the target object.
</description>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Creates a URL with optional query parameters.
</description>
<name>url</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable for the
processed url. The type of the scoped variable is
String.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
URL to be processed.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when specifying a relative URL
resource that belongs to a foreign context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Subtag of &lt;choose&gt; that includes its body if its
condition evalutes to 'true'
</description>
<name>when</name>
<tag-class>com.liferay.taglib.core.WhenTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The test condition that determines whether or not the
body content should be processed.
</description>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
</taglib>

79
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -400,42 +400,42 @@ boolean enabledByIntegrazione = DelegheUtil.hasDelegaCompilazioneDomanda(user.ge
<p>&nbsp;</p>
<p>1. <%= LanguageUtil.get(pageContext, "destinazione-A1") %></p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A1A") %>' name="destinazione" value="A1A"
label="<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A1A") %>"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A1A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A1B") %>' name="destinazione" value="A1B"
label="<%= "b) " + LanguageUtil.get(pageContext, "destinazione-A1B") %>"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-A1B") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A1C") %>' name="destinazione" value="A1C"
label="<%= "c) " + LanguageUtil.get(pageContext, "destinazione-A1C") %>"/>
label='<%= "c) " + LanguageUtil.get(pageContext, "destinazione-A1C") %>'/>
<p>&nbsp;</p>
<p>2. <%= LanguageUtil.get(pageContext, "destinazione-A2") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A2A") %>' name="destinazione" value="A2A"
label="<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A2A") %>"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A2A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A2B") %>' name="destinazione" value="A2B"
label="<%= "b) " + LanguageUtil.get(pageContext, "destinazione-A2B") %>"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-A2B") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A2C") %>' name="destinazione" value="A2C"
label="<%= "c) " + LanguageUtil.get(pageContext, "destinazione-A2C") %>"/>
label='<%= "c) " + LanguageUtil.get(pageContext, "destinazione-A2C") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A2D") %>' name="destinazione" value="A2D"
label="<%= "d) " + LanguageUtil.get(pageContext, "destinazione-A2D") %>"/>
label='<%= "d) " + LanguageUtil.get(pageContext, "destinazione-A2D") %>'/>
<p>&nbsp;</p>
<p>3. <%= LanguageUtil.get(pageContext, "destinazione-A3") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A3A") %>' name="destinazione" value="A3A"
label="<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A3A") %>"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A3A") %>'/>
<p>&nbsp;</p>
<p><%= LanguageUtil.get(pageContext, "destinazione-A4") %></p>
<p>4. <%= LanguageUtil.get(pageContext, "destinazione-A4") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A4A") %>' name="destinazione" value="A4A"
label="<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A4A") %>"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-A4A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A4B") %>' name="destinazione" value="A4B"
label="<%= "b) " + LanguageUtil.get(pageContext, "destinazione-A4B") %>"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-A4B") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A4C") %>' name="destinazione" value="A4C"
label="<%= "c) " + LanguageUtil.get(pageContext, "destinazione-A4C") %>"/>
label='<%= "c) " + LanguageUtil.get(pageContext, "destinazione-A4C") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A4D") %>' name="destinazione" value="A4D"
label="<%= "d) " + LanguageUtil.get(pageContext, "destinazione-A4D") %>"/>
label='<%= "d) " + LanguageUtil.get(pageContext, "destinazione-A4D") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A4E") %>' name="destinazione" value="A4E"
label="<%= "e) " + LanguageUtil.get(pageContext, "destinazione-A4E") %>"/>
label='<%= "e) " + LanguageUtil.get(pageContext, "destinazione-A4E") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("A4F") %>' name="destinazione" value="A4F"
label="<%= "f) " + LanguageUtil.get(pageContext, "destinazione-A1F") %>"/>
label='<%= "f) " + LanguageUtil.get(pageContext, "destinazione-A1F") %>'/>
<p>&nbsp;</p>
<p>5. <%= LanguageUtil.get(pageContext, "destinazione-A5") %></p>
<p>&nbsp;</p>
@ -447,59 +447,54 @@ boolean enabledByIntegrazione = DelegheUtil.hasDelegaCompilazioneDomanda(user.ge
<p>B) <%= LanguageUtil.get(pageContext, "destinazione-B") %></p>
<p>&nbsp;</p>
<p><%= LanguageUtil.get(pageContext, "destinazione-B1") %></p>
<p>1. <%= LanguageUtil.get(pageContext, "destinazione-B1") %></p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B1A") %>' name="destinazione" value="B1A"
label="destinazione-B1A"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-B1A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B1B") %>' name="destinazione" value="B1B"
label="destinazione-B1B"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-B1B") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B1C") %>' name="destinazione" value="B1C"
label="destinazione-B1C"/>
label='<%= "c) " + LanguageUtil.get(pageContext, "destinazione-B1C") %>'/>
<p>&nbsp;</p>
<p><%= LanguageUtil.get(pageContext, "destinazione-B2") %></p>
<p>2. <%= LanguageUtil.get(pageContext, "destinazione-B2") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2A") %>' name="destinazione" value="B2A"
label="destinazione-B2A"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-B2A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2B") %>' name="destinazione" value="B2B"
label="destinazione-B2B"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-B2B") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2C") %>' name="destinazione" value="B2C"
label="destinazione-B2C"/>
label='<%= "c) " + LanguageUtil.get(pageContext, "destinazione-B2C") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2D") %>' name="destinazione" value="B2D"
label="destinazione-B2D"/>
label='<%= "d) " + LanguageUtil.get(pageContext, "destinazione-B2D") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2E") %>' name="destinazione" value="B2E"
label="destinazione-B2E"/>
label='<%= "e) " + LanguageUtil.get(pageContext, "destinazione-B2E") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2F") %>' name="destinazione" value="B2F"
label="destinazione-B2F"/>
label='<%= "f) " + LanguageUtil.get(pageContext, "destinazione-B2F") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2G") %>' name="destinazione" value="B2G"
label="destinazione-B2G"/>
label='<%= "g) " + LanguageUtil.get(pageContext, "destinazione-B2G") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2H") %>' name="destinazione" value="B2H"
label="destinazione-B2H"/>
label='<%= "h) " + LanguageUtil.get(pageContext, "destinazione-B2H") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2I") %>' name="destinazione" value="B2I"
label="destinazione-B2I"/>
label='<%= "i) " + LanguageUtil.get(pageContext, "destinazione-B2I") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B2J") %>' name="destinazione" value="B2J"
label="destinazione-B2J"/>
label='<%= "j) " + LanguageUtil.get(pageContext, "destinazione-B2J") %>'/>
<p>&nbsp;</p>
<p><%= LanguageUtil.get(pageContext, "destinazione-B3") %></p>
<p>3. <%= LanguageUtil.get(pageContext, "destinazione-B3") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B3A") %>' name="destinazione" value="B3A"
label="destinazione-B3A"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-B3A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B3B") %>' name="destinazione" value="B3B"
label="destinazione-B3B"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-B3B") %>'/>
<p>&nbsp;</p>
<p><%= LanguageUtil.get(pageContext, "destinazione-B4") %></p>
<p>4. <%= LanguageUtil.get(pageContext, "destinazione-B4") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B4A") %>' name="destinazione" value="B4A"
label="destinazione-B4A"/>
label='<%= "a) " + LanguageUtil.get(pageContext, "destinazione-B4A") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B4B") %>' name="destinazione" value="B4B"
label="destinazione-B4B"/>
label='<%= "b) " + LanguageUtil.get(pageContext, "destinazione-B4B") %>'/>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B4C") %>' name="destinazione" value="B4C"
label="destinazione-B4C"/>
label='<%= "c) " + LanguageUtil.get(pageContext, "destinazione-B4C") %>'/>
<p>&nbsp;</p>
<!--<p><%= LanguageUtil.get(pageContext, "destinazione-B5") %></p>
<p>&nbsp;</p>
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="radio" checked='<%=BeanParamUtil.getString(dettPratica, request, "destinazione").equalsIgnoreCase("B5A") %>' name="destinazione" value="B5A"
label="destinazione-B5A"/>
<p>&nbsp;</p>-->
</div>
</div>
</div>

20
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/ApiUtil.java

@ -2,11 +2,14 @@ package it.mwg.sicilia.sue.api.v1;
import it.mwg.sicilia.sue.service.ApiSettingLocalServiceUtil;
import java.io.Serializable;
import java.security.KeyFactory;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
import java.util.Map;
import java.util.Map.Entry;
import javax.crypto.Cipher;
@ -56,4 +59,21 @@ public class ApiUtil {
String check = DigestUtils.sha256Hex(hash + secret);
return hash + StringPool.PERIOD + check;
}
@SuppressWarnings("unchecked")
public static Map<String, Serializable> getMapStringSerializable(Object object) {
if (object instanceof Map<?, ?>) {
Map<Object, Object> map = (Map<Object, Object>) object;
if (map.size() > 0) {
Entry<Object, Object> first = map.entrySet().iterator().next();
if ((first.getKey() instanceof String) && (first.getValue() instanceof Serializable)) {
return (Map<String, Serializable>) object;
}
} else {
return (Map<String, Serializable>) object;
}
}
return null;
}
}

1
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/Parameters.java

@ -21,6 +21,7 @@ public class Parameters {
public static final String TYPE = "type";
public static final String USERNAME = "username";
public static final String USES = "uses";
public static final String VALUE = "value";
public static final String VAT_ID = "vatId";
public static final String X_AUTH_TOKEN = "X-Auth-Token";
}

8
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/CommandList.java

@ -5,11 +5,13 @@ import it.mwg.sicilia.sue.api.v1.command.impl.DeleteApplication;
import it.mwg.sicilia.sue.api.v1.command.impl.GetApplications;
import it.mwg.sicilia.sue.api.v1.command.impl.ListApplications;
import it.mwg.sicilia.sue.api.v1.command.impl.ListDocuments;
import it.mwg.sicilia.sue.api.v1.command.impl.ListFields;
import it.mwg.sicilia.sue.api.v1.command.impl.ListUses;
import it.mwg.sicilia.sue.api.v1.command.impl.Login;
import it.mwg.sicilia.sue.api.v1.command.impl.Manual;
import it.mwg.sicilia.sue.api.v1.command.impl.ManualHtml;
import it.mwg.sicilia.sue.api.v1.command.impl.Nop;
import it.mwg.sicilia.sue.api.v1.command.impl.SetFields;
import it.mwg.sicilia.sue.api.v1.command.impl.SetUse;
import java.util.Collection;
@ -33,13 +35,15 @@ public class CommandList {
addCommand(new ListApplications("Elenco delle istanze presentabili sul portale", HttpMethods.GET,
HttpMethods.POST));
addCommand(new ListDocuments("Elenco dei documenti riconosciuti dal portale", HttpMethods.GET, HttpMethods.POST));
// addCommand(new ListFields("Elenco dei dati dell'istanza accettati dal portale", HttpMethods.GET,
// HttpMethods.POST));
addCommand(new ListFields("Elenco dei dati dell'istanza accettati dal portale", HttpMethods.GET,
HttpMethods.POST));
addCommand(new ListUses("Elenco delle destinazioni d'uso riconosciute dal portale", HttpMethods.GET,
HttpMethods.POST));
// Istanze
addCommand(new AddApplication(
"Crea una nuova istanza di endoprocedimento, crea l'utente se non esiste ancora sul portale"));
addCommand(new SetFields("Imposta i valori dei dati dell'istanza, l'elenco è fornito dal comando /"
+ Command.getCommandName(ListFields.class)));
addCommand(new SetUse("Imposta la destinazione d'uso dell'immobile relativo all'istanza"));
addCommand(new GetApplications("Elenca le istanze in lavorazione da questo SUE", HttpMethods.GET,
HttpMethods.POST));

2
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/DeleteApplication.java

@ -66,7 +66,7 @@ public class DeleteApplication extends Command {
try {
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
if (territorio.getComuneId() != sportello.getComuneId() || !intPratica.isInLavorazioneSue()) {
additionalInfo.add("Istanza " + applicationId + " non cancellabile");
additionalInfo.add("Istanza " + applicationId + " non modificabile");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}

2
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/GetApplications.java

@ -26,7 +26,7 @@ import com.liferay.portal.kernel.servlet.ServletResponseUtil;
public class GetApplications extends Command {
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<Parameter>();
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<>();
static {
OUTPUT_PARAMETERS.addAll(BASE_OUTPUT_PARAMETERS);
Parameter p = new Parameter(Parameters.APPLICATIONS, TYPES.ARRAY, "Elenco di istanze presentate");

2
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListApplications.java

@ -23,7 +23,7 @@ import com.liferay.portal.kernel.servlet.ServletResponseUtil;
public class ListApplications extends Command {
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<Parameter>();
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<>();
static {
OUTPUT_PARAMETERS.addAll(BASE_OUTPUT_PARAMETERS);
Parameter p = new Parameter(Parameters.DOCUMENTS, TYPES.ARRAY, "Elenco di istanze presentabili");

2
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListDocuments.java

@ -23,7 +23,7 @@ import com.liferay.portal.kernel.servlet.ServletResponseUtil;
public class ListDocuments extends Command {
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<Parameter>();
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<>();
static {
OUTPUT_PARAMETERS.addAll(BASE_OUTPUT_PARAMETERS);
Parameter p = new Parameter(Parameters.DOCUMENTS, TYPES.ARRAY, "Elenco di documenti");

32
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListFields.java

@ -14,19 +14,17 @@ import java.sql.Types;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.liferay.portal.kernel.language.LanguageUtil;
import com.liferay.portal.kernel.servlet.ServletResponseUtil;
import com.liferay.portal.kernel.util.StringPool;
public class ListFields extends Command {
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<Parameter>();
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<>();
static {
OUTPUT_PARAMETERS.addAll(BASE_OUTPUT_PARAMETERS);
Parameter p = new Parameter(Parameters.FIELDS, TYPES.ARRAY, "Elenco di dati accettati");
@ -44,17 +42,21 @@ public class ListFields extends Command {
@Override
public void run(HttpServletRequest request, HttpServletResponse response) throws Exception {
List<Field> fields = new ArrayList<>();
List<Field> list = new ArrayList<>();
Map<String, Integer> fieldTypes = DettPraticaLocalServiceUtil.getDettPraticaFieldsTypes();
Map<String, List<String>> dpFields = DettPraticaLocalServiceUtil.getFields();
for (String section : dpFields.keySet()) {
List<String> sFields = dpFields.get(section);
for (String field : sFields) {
String description = StringPool.OPEN_BRACKET
+ section
+ "] "
+ LanguageUtil.get(Locale.ITALIAN, field.replaceAll("([A-Z])", "-$1").toLowerCase()).replace(
"<br/>", StringPool.SPACE);
List<String> fields = DettPraticaLocalServiceUtil.getDettPraticaFields();
for (String field : fields) {
String description = StringPool.BLANK;
boolean insert = true;
switch (field) {
case "destinazione":
description = "Codice della destinazione d'uso, l'elenco è fornito dal comando /"
+ getCommandName(ListUses.class);
break;
default:
insert = false;
}
if (insert) {
TYPES type = TYPES.UNKNOWN;
switch (fieldTypes.get(field)) {
case Types.BIGINT:
@ -74,11 +76,11 @@ public class ListFields extends Command {
type = TYPES.STRING;
break;
}
fields.add(new Field(field, description, type));
list.add(new Field(field, description, type));
}
}
Map<String, Serializable> result = new HashMap<>();
result.put(Parameters.FIELDS, (Serializable) fields);
result.put(Parameters.FIELDS, (Serializable) list);
ServletResponseUtil.write(response, Response.get(Status.OK, result));
}

4
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/ListUses.java

@ -23,7 +23,7 @@ import com.liferay.portal.kernel.servlet.ServletResponseUtil;
public class ListUses extends Command {
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<Parameter>();
private static final List<Parameter> OUTPUT_PARAMETERS = new ArrayList<>();
static {
OUTPUT_PARAMETERS.addAll(BASE_OUTPUT_PARAMETERS);
Parameter p = new Parameter(Parameters.USES, TYPES.ARRAY, "Elenco di destinazioni d'uso");
@ -40,7 +40,7 @@ public class ListUses extends Command {
public void run(HttpServletRequest request, HttpServletResponse response) throws Exception {
List<ListElement> uses = new ArrayList<>();
for (Entry<String, String> e : DettPraticaLocalServiceUtil.getDestinazioniuso().entrySet()) {
for (Entry<String, String> e : DettPraticaLocalServiceUtil.getDestinazioniUso().entrySet()) {
uses.add(new ListElement(e.getKey(), e.getValue()));
}
Map<String, Serializable> result = new HashMap<>();

102
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/SetFields.java

@ -0,0 +1,102 @@
package it.mwg.sicilia.sue.api.v1.command.impl;
import it.mwg.sicilia.sue.api.v1.ApiUtil;
import it.mwg.sicilia.sue.api.v1.Parameters;
import it.mwg.sicilia.sue.api.v1.Response;
import it.mwg.sicilia.sue.api.v1.Status;
import it.mwg.sicilia.sue.api.v1.command.Command;
import it.mwg.sicilia.sue.api.v1.parameter.Parameter;
import it.mwg.sicilia.sue.api.v1.parameter.Parameter.TYPES;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.servlet.ServletResponseUtil;
import com.liferay.portal.kernel.util.MapUtil;
public class SetFields extends Command {
private static final List<Parameter> INPUT_PARAMETERS = new ArrayList<>();
static {
INPUT_PARAMETERS.add(new Parameter(Parameters.APPLICATION_ID, TYPES.INTEGER, "Id dell'istanza"));
Parameter p = new Parameter(Parameters.FIELDS, TYPES.ARRAY, "Elenco di campi da impostare");
p.addSubParameter(new Parameter(Parameters.NAME, TYPES.STRING, "Nome del campo"));
p.addSubParameter(new Parameter(Parameters.VALUE, TYPES.VARYING, "Valore da impostare per il campo"));
}
public SetFields(String description, String... methods) {
super(description, methods);
}
@Override
public void run(HttpServletRequest request, HttpServletResponse response) throws Exception {
if (verifyAccessToken(request, response)) {
List<String> additionalInfo = new ArrayList<String>();
if (!parameters.containsKey(Parameters.APPLICATION_ID)) {
additionalInfo.add("Parametro " + Parameters.APPLICATION_ID + " mancante");
ServletResponseUtil.write(response, Response.get(Status.MALFORMED_REQUEST, additionalInfo));
return;
}
if (!parameters.containsKey(Parameters.FIELDS)) {
additionalInfo.add("Parametro " + Parameters.FIELDS + " mancante");
ServletResponseUtil.write(response, Response.get(Status.MALFORMED_REQUEST, additionalInfo));
return;
}
Map<String, Serializable> fields = ApiUtil.getMapStringSerializable(parameters.get(Parameters.FIELDS));
if (null == fields) {
additionalInfo.add("Parametro " + Parameters.FIELDS + " non corretto");
ServletResponseUtil.write(response, Response.get(Status.MALFORMED_REQUEST, additionalInfo));
return;
}
long applicationId = MapUtil.getLong(parameters, Parameters.APPLICATION_ID);
IntPratica intPratica = null;
try {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(applicationId);
} catch (PortalException | SystemException e) {
additionalInfo.add("Istanza " + applicationId + " non trovata");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}
DettPratica dettPratica = null;
try {
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
if (territorio.getComuneId() != sportello.getComuneId() || !intPratica.isInLavorazioneSue()) {
additionalInfo.add("Istanza " + applicationId + " non modificabile");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}
dettPratica = DettPraticaLocalServiceUtil.getLastEditableByIntPratica(applicationId);
} catch (PortalException | SystemException e) {
additionalInfo.add("Errore del server durante il caricamento dell'istanza");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}
ServletResponseUtil.write(response, Response.get(Status.OK));
}
}
@Override
public List<Parameter> getInputParameters() {
return INPUT_PARAMETERS;
}
@Override
public List<Parameter> getOutputParameters() {
return BASE_OUTPUT_PARAMETERS;
}
}

59
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/command/impl/SetUse.java

@ -1,9 +1,17 @@
package it.mwg.sicilia.sue.api.v1.command.impl;
import it.mwg.sicilia.sue.api.v1.Parameters;
import it.mwg.sicilia.sue.api.v1.Response;
import it.mwg.sicilia.sue.api.v1.Status;
import it.mwg.sicilia.sue.api.v1.command.Command;
import it.mwg.sicilia.sue.api.v1.parameter.Parameter;
import it.mwg.sicilia.sue.api.v1.parameter.Parameter.TYPES;
import it.tref.liferay.portos.bo.model.DettPratica;
import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.Territorio;
import it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil;
import it.tref.liferay.portos.bo.service.TerritorioLocalServiceUtil;
import java.util.ArrayList;
import java.util.List;
@ -11,6 +19,11 @@ import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.kernel.servlet.ServletResponseUtil;
import com.liferay.portal.kernel.util.MapUtil;
public class SetUse extends Command {
@SuppressWarnings("serial")
@ -20,7 +33,7 @@ public class SetUse extends Command {
add(new Parameter(Parameters.CODE, TYPES.STRING, "Codice della destinazione d'uso come restituito da /"
+ getCommandName(ListUses.class)));
add(new Parameter(Parameters.DESCRIPTION, TYPES.STRING,
"Descrizione della destinazione d'uso, obbligatoria se " + Parameters.CODE + " = 3", false));
"Descrizione della destinazione d'uso, obbligatoria* se " + Parameters.CODE + " = 3", false));
}
};
@ -32,7 +45,49 @@ public class SetUse extends Command {
public void run(HttpServletRequest request, HttpServletResponse response) throws Exception {
if (verifyAccessToken(request, response)) {
List<String> additionalInfo = new ArrayList<String>();
if (!parameters.containsKey(Parameters.APPLICATION_ID)) {
additionalInfo.add("Parametro " + Parameters.APPLICATION_ID + " mancante");
ServletResponseUtil.write(response, Response.get(Status.MALFORMED_REQUEST, additionalInfo));
return;
}
if (!parameters.containsKey(Parameters.CODE)) {
additionalInfo.add("Parametro " + Parameters.CODE + " mancante");
ServletResponseUtil.write(response, Response.get(Status.MALFORMED_REQUEST, additionalInfo));
return;
}
long applicationId = MapUtil.getLong(parameters, Parameters.APPLICATION_ID);
String code = MapUtil.getString(parameters, Parameters.CODE);
if (!DettPraticaLocalServiceUtil.getDestinazioniUso().containsKey(code)) {
additionalInfo.add("Parametro " + Parameters.CODE + " = " + code + " non valido");
ServletResponseUtil.write(response, Response.get(Status.MALFORMED_REQUEST, additionalInfo));
return;
}
IntPratica intPratica = null;
try {
intPratica = IntPraticaLocalServiceUtil.getIntPratica(applicationId);
} catch (PortalException | SystemException e) {
additionalInfo.add("Istanza " + applicationId + " non trovata");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}
DettPratica dettPratica = null;
try {
Territorio territorio = TerritorioLocalServiceUtil.getTerritorio(intPratica.getTerritorioId());
if (territorio.getComuneId() != sportello.getComuneId() || !intPratica.isInLavorazioneSue()) {
additionalInfo.add("Istanza " + applicationId + " non modificabile");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}
dettPratica = DettPraticaLocalServiceUtil.getLastEditableByIntPratica(applicationId);
} catch (PortalException | SystemException e) {
additionalInfo.add("Errore del server durante il caricamento dell'istanza");
ServletResponseUtil.write(response, Response.get(Status.INVALID_INPUT, additionalInfo));
return;
}
dettPratica.setDestinazione(code);
DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
ServletResponseUtil.write(response, Response.get(Status.OK));
}
}

2
liferay-plugins-sdk-6.2/portlets/sicilia-sue-connector-portlet/docroot/WEB-INF/src/it/mwg/sicilia/sue/api/v1/parameter/Parameter.java

@ -56,6 +56,6 @@ public class Parameter {
}
public static enum TYPES {
ARRAY, BOOLEAN, FLOAT, INTEGER, STRING, TIMESTAMP, TEXT_HTML, TEXT_PLAIN, UNKNOWN
ARRAY, BOOLEAN, FLOAT, INTEGER, STRING, TIMESTAMP, TEXT_HTML, TEXT_PLAIN, UNKNOWN, VARYING
}
}

Caricamento…
Annulla
Salva