Mattia Gosetto
4 anni fa
1035 ha cambiato i file con 39427 aggiunte e 138194 eliminazioni
@ -0,0 +1,462 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> |
||||||
|
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Modello A" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> |
||||||
|
<property name="ireport.zoom" value="1.3636363636363653"/> |
||||||
|
<property name="ireport.x" value="0"/> |
||||||
|
<property name="ireport.y" value="1180"/> |
||||||
|
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> |
||||||
|
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="a88aaa8a-a8ef-4d30-97a7-683ded039127"> |
||||||
|
<field name="codiceAllegato" class="java.lang.String"/> |
||||||
|
<field name="titoloAllegato" class="java.lang.String"/> |
||||||
|
<field name="sha256Allegato" class="java.lang.String"/> |
||||||
|
</subDataset> |
||||||
|
<parameter name="LOGO_REGIONE" class="java.lang.String"/> |
||||||
|
<parameter name="motivazioni" class="java.lang.String"/> |
||||||
|
<parameter name="testo_del_documento" class="java.lang.String"/> |
||||||
|
<parameter name="LOGO_DIPARTIMENTO" class="java.lang.String"/> |
||||||
|
<field name="alCollaudatore" class="java.lang.String"/> |
||||||
|
<field name="alDirettoreLavori" class="java.lang.String"/> |
||||||
|
<field name="alTitolareDigitale" class="java.lang.String"/> |
||||||
|
<field name="committente" class="java.lang.String"/> |
||||||
|
<field name="comune" class="java.lang.String"/> |
||||||
|
<field name="lavoriDi" class="java.lang.String"/> |
||||||
|
<field name="alCommittente" class="java.lang.String"/> |
||||||
|
<field name="codiceUnivoco" class="java.lang.String"/> |
||||||
|
<field name="dataAvviso" class="java.util.Date"/> |
||||||
|
<field name="dataPratica" class="java.util.Date"/> |
||||||
|
<field name="numeroProtocollo" class="java.lang.String"/> |
||||||
|
<field name="numeroVariante" class="java.lang.String"/> |
||||||
|
<field name="sedeGenioCivile" class="java.lang.String"/> |
||||||
|
<field name="numeroProgetto" class="java.lang.String"/> |
||||||
|
<field name="ubicazione" class="java.lang.String"/> |
||||||
|
<field name="allegati" class="java.util.List"/> |
||||||
|
<field name="tipoAutorizzazione" class="java.lang.String"/> |
||||||
|
<background> |
||||||
|
<band splitType="Stretch"/> |
||||||
|
</background> |
||||||
|
<pageHeader> |
||||||
|
<band height="71" splitType="Stretch"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<image> |
||||||
|
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> |
||||||
|
</image> |
||||||
|
<textField> |
||||||
|
<reportElement x="360" y="49" width="189" height="19" uuid="54537172-6b28-41f4-914e-f4fab36cd4e9"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA["Soprintendenza BB.CC.AA"+"\n"+ |
||||||
|
"di "+$F{sedeGenioCivile}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="360" y="25" width="191" height="24" uuid="1b70a5b6-ea8f-42f7-926a-6afe5791e1f8"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Dipartimento dei beni culturali |
||||||
|
e dell'identità siciliana]]></text> |
||||||
|
</staticText> |
||||||
|
<image> |
||||||
|
<reportElement x="430" y="0" width="79" height="25" uuid="847628c6-b81f-4230-a9b0-06a8d5d7442c"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<imageExpression><![CDATA[$P{LOGO_DIPARTIMENTO}]]></imageExpression> |
||||||
|
</image> |
||||||
|
</band> |
||||||
|
</pageHeader> |
||||||
|
<detail> |
||||||
|
<band height="98"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<line> |
||||||
|
<reportElement x="0" y="22" width="555" height="1" uuid="9a12dff4-3c78-4e66-b1b6-13836bb2182b"/> |
||||||
|
</line> |
||||||
|
<staticText> |
||||||
|
<reportElement x="1" y="30" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"/> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Oggetto:]]></text> |
||||||
|
</staticText> |
||||||
|
<textField> |
||||||
|
<reportElement x="59" y="4" width="100" height="12" uuid="db3d08ab-28c7-4bb7-9758-f17e9a87c303"/> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" size="8"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="9" y="4" width="48" height="12" uuid="91b20a71-bc61-45b2-b546-829b214db055"/> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Data Avviso]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="84" width="130" height="14" uuid="2c29296d-097b-4faa-b4d2-7045cef06f6d"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Descrizione]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="59" y="30" width="491" height="26" uuid="6cb9f8b8-8715-41ba-a4d4-6eabe2e85408"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{tipoAutorizzazione}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="3" y="63" width="548" height="14" uuid="8c9f5378-8e8d-4655-84b5-eccad49767d5"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center"> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[ATTIVAZIONE PROCEDURA DI VERIFICA PREVENTIVA]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="84" width="360" height="14" uuid="877d100e-606b-4eea-960e-f889359577e1"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</band> |
||||||
|
<band height="49"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="0" width="130" height="14" uuid="4f9a8fdf-ffa4-40e1-8243-a75cc00f8200"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Ubicazione]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="14" width="130" height="14" uuid="3f6043ac-d101-498c-b158-050a7240c012"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Istanza n.]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="0" width="360" height="14" uuid="ac4495b9-44cc-4024-8f86-834e44616dff"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="14" width="360" height="14" uuid="cb433646-ff21-4c58-97d7-0cf423a63b23"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="28" width="360" height="14" uuid="352ff7ee-5039-4b04-8b75-755272041573"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="28" width="130" height="14" uuid="65bd3291-92e6-4348-9d4c-79304aa36c0e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Protocollo]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
<band height="197"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement key="" x="285" y="40" width="268" height="14" uuid="b82a2f48-cea2-4ad2-8b76-c443de8a1fe1"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement key="" x="170" y="10" width="115" height="14" uuid="c0370045-7e64-47e0-9c03-d9259f814713"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Al Committente]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="90" y="40" width="195" height="14" uuid="3f554448-d5dc-4075-b6ed-8e7bd10d7998"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[al Sindaco / S.U.E. del Comune di ]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement key="" x="285" y="10" width="268" height="14" uuid="f502c7f9-5ac4-43dd-bd91-cc46b395365e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement key="" x="285" y="24" width="268" height="14" uuid="03b513cf-794b-4cb8-92f4-2c81909cd825"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement key="" x="170" y="24" width="115" height="14" uuid="2a88b2fd-8fcf-4888-a1a1-82919fe0776a"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[c/o il suo delegato]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="3" y="70" width="548" height="40" uuid="e4fec3f3-6651-4474-af2b-5072d857d07e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Con riferimento all’istanza in oggetto |
||||||
|
- visto il Codice dei Beni Culturali e del Paesaggio (D.L.vo n. 42 del 22.01.2004 e ss.mm.ii.); |
||||||
|
esaminata la documentazione allegata all’istanza;]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="3" y="120" width="548" height="70" uuid="0156b4c7-6c07-4e4a-b8f6-e8ef115f5b1e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Justified"> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$P{testo_del_documento}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</band> |
||||||
|
<band height="63"> |
||||||
|
<componentElement> |
||||||
|
<reportElement x="3" y="33" width="548" height="30" uuid="1a359757-dc45-45cb-bdf8-215e91905c39"> |
||||||
|
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> |
||||||
|
<datasetRun subDataset="dataset1" uuid="c5c63b6d-60a1-4ab0-8a82-0ac6993df639"> |
||||||
|
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> |
||||||
|
</datasetRun> |
||||||
|
<jr:listContents height="30" width="548"> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="20" y="0" width="519" height="14" uuid="6689d4e1-4145-4de3-9faa-7206aab84bdd"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans" size="9"/> |
||||||
|
<paragraph lineSpacing="Single"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<ellipse> |
||||||
|
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="775a480f-53f2-43e5-ac27-8384f4986c90"> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
</reportElement> |
||||||
|
</ellipse> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="20" y="14" width="519" height="14" uuid="0c265a63-dc21-413a-8a3d-8eec3b770a17"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans" size="9"/> |
||||||
|
<paragraph lineSpacing="Single"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</jr:listContents> |
||||||
|
</jr:list> |
||||||
|
</componentElement> |
||||||
|
<staticText> |
||||||
|
<reportElement x="3" y="0" width="548" height="26" uuid="b1072570-e715-4b6f-bda4-ae4723e17f5d"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.leftIndent" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
<paragraph firstLineIndent="14" leftIndent="0"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Paesaggistica” della Regione Siciliana.]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
<band height="130"> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="10" width="547" height="80" uuid="e0eafb80-b8a6-4a02-a365-dbc0fdb746da"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Justified"> |
||||||
|
<font fontName="DejaVu Sans" size="11" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Contro il presente provvedimento è ammesso ricorso gerarchico all’Assessorato Regionale dei Beni Culturali ed Ambientali e dell’Identità Siciliana entro trenta giorni dall’acquisita conoscenza, o al Tribunale Amministrativo Regionale entro sessanta giorni. |
||||||
|
L’eventuale ricorso gerarchico, debitamente sottoscritto e regolarizzato in bollo, dovrà riportare le generalità del ricorrente, comprensive di indirizzo di posta elettronica certificata, cui effettuare comunicazioni e notifiche relative al procedimento.]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="100" width="547" height="20" uuid="a357f0d4-8217-44d7-b424-b81c836f803a"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Right"> |
||||||
|
<font fontName="DejaVu Sans" size="12" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Il soprintendente]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="120" width="547" height="10" uuid="e484cc67-3e66-431a-ad1f-bc7fc56c0836"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Right"> |
||||||
|
<font fontName="DejaVu Sans" size="8" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Firmato digitalmente]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
<band height="215"> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="10" width="547" height="190" uuid="1b23fa15-1e45-450e-9644-b07ed159627c"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Justified"> |
||||||
|
<font fontName="DejaVu Sans" isBold="false" isItalic="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. ii. e della L.R. 7/2019, si comunica che, per il presente procedimento amministrativo, |
||||||
|
- le Unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze dell’Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile del procedimento sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio; |
||||||
|
- responsabile dell'adozione del provvedimento finale è il Soprintendente; |
||||||
|
- ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità è il Dirigente Generale del Dipartimento Beni Culturali e dell’Identità Siciliana. |
||||||
|
Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it). |
||||||
|
|
||||||
|
Il titolare del trattamento, definito dall’articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), è il Dipartimento Beni Culturali e dell’Identità Siciliana. |
||||||
|
Responsabili del trattamento, definito all’articolo 4, n.8 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, Trapani, e la Soprintendenza del Mare.]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
</detail> |
||||||
|
<pageFooter> |
||||||
|
<band height="109" splitType="Stretch"> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="86" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" size="8" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[www.regione.sicilia.it |
||||||
|
https://paesaggistica.sicilia.it]]></text> |
||||||
|
</staticText> |
||||||
|
<line> |
||||||
|
<reportElement x="0" y="83" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
</line> |
||||||
|
<componentElement> |
||||||
|
<reportElement x="183" y="10" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> |
||||||
|
</reportElement> |
||||||
|
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom"> |
||||||
|
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> |
||||||
|
</jr:PDF417> |
||||||
|
</componentElement> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="8" y="60" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center"> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</band> |
||||||
|
</pageFooter> |
||||||
|
</jasperReport> |
@ -0,0 +1,462 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!-- Created with Jaspersoft Studio version 6.4.3.final utlizzo versione della libreria JasperReports6.4.3 --> |
||||||
|
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Modello A" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="afafe5d8-778e-4527-a33a-8c04000abd71"> |
||||||
|
<property name="ireport.zoom" value="1.3636363636363653"/> |
||||||
|
<property name="ireport.x" value="0"/> |
||||||
|
<property name="ireport.y" value="1180"/> |
||||||
|
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> |
||||||
|
<subDataset name="dataset1" whenResourceMissingType="Empty" uuid="a88aaa8a-a8ef-4d30-97a7-683ded039127"> |
||||||
|
<field name="codiceAllegato" class="java.lang.String"/> |
||||||
|
<field name="titoloAllegato" class="java.lang.String"/> |
||||||
|
<field name="sha256Allegato" class="java.lang.String"/> |
||||||
|
</subDataset> |
||||||
|
<parameter name="LOGO_REGIONE" class="java.lang.String"/> |
||||||
|
<parameter name="motivazioni" class="java.lang.String"/> |
||||||
|
<parameter name="testo_del_documento" class="java.lang.String"/> |
||||||
|
<parameter name="LOGO_DIPARTIMENTO" class="java.lang.String"/> |
||||||
|
<field name="alCollaudatore" class="java.lang.String"/> |
||||||
|
<field name="alDirettoreLavori" class="java.lang.String"/> |
||||||
|
<field name="alTitolareDigitale" class="java.lang.String"/> |
||||||
|
<field name="committente" class="java.lang.String"/> |
||||||
|
<field name="comune" class="java.lang.String"/> |
||||||
|
<field name="lavoriDi" class="java.lang.String"/> |
||||||
|
<field name="alCommittente" class="java.lang.String"/> |
||||||
|
<field name="codiceUnivoco" class="java.lang.String"/> |
||||||
|
<field name="dataAvviso" class="java.util.Date"/> |
||||||
|
<field name="dataPratica" class="java.util.Date"/> |
||||||
|
<field name="numeroProtocollo" class="java.lang.String"/> |
||||||
|
<field name="numeroVariante" class="java.lang.String"/> |
||||||
|
<field name="sedeGenioCivile" class="java.lang.String"/> |
||||||
|
<field name="numeroProgetto" class="java.lang.String"/> |
||||||
|
<field name="ubicazione" class="java.lang.String"/> |
||||||
|
<field name="allegati" class="java.util.List"/> |
||||||
|
<field name="tipoAutorizzazione" class="java.lang.String"/> |
||||||
|
<background> |
||||||
|
<band splitType="Stretch"/> |
||||||
|
</background> |
||||||
|
<pageHeader> |
||||||
|
<band height="71" splitType="Stretch"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<image> |
||||||
|
<reportElement x="0" y="0" width="224" height="68" uuid="69ba1fba-114d-4d87-afcf-2a121decda52"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<imageExpression><![CDATA[$P{LOGO_REGIONE}]]></imageExpression> |
||||||
|
</image> |
||||||
|
<textField> |
||||||
|
<reportElement x="360" y="49" width="189" height="19" uuid="54537172-6b28-41f4-914e-f4fab36cd4e9"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA["Soprintendenza BB.CC.AA"+"\n"+ |
||||||
|
"di "+$F{sedeGenioCivile}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="360" y="25" width="191" height="24" uuid="1b70a5b6-ea8f-42f7-926a-6afe5791e1f8"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans Bold" size="8" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Dipartimento dei beni culturali |
||||||
|
e dell'identità siciliana]]></text> |
||||||
|
</staticText> |
||||||
|
<image> |
||||||
|
<reportElement x="430" y="0" width="79" height="25" uuid="847628c6-b81f-4230-a9b0-06a8d5d7442c"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<imageExpression><![CDATA[$P{LOGO_DIPARTIMENTO}]]></imageExpression> |
||||||
|
</image> |
||||||
|
</band> |
||||||
|
</pageHeader> |
||||||
|
<detail> |
||||||
|
<band height="98"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<line> |
||||||
|
<reportElement x="0" y="22" width="555" height="1" uuid="9a12dff4-3c78-4e66-b1b6-13836bb2182b"/> |
||||||
|
</line> |
||||||
|
<staticText> |
||||||
|
<reportElement x="1" y="30" width="56" height="13" uuid="9f68e9a8-cba6-4f14-bfd8-00b5bb45ebcb"/> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Oggetto:]]></text> |
||||||
|
</staticText> |
||||||
|
<textField> |
||||||
|
<reportElement x="59" y="4" width="100" height="12" uuid="db3d08ab-28c7-4bb7-9758-f17e9a87c303"/> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" size="8"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($F{dataAvviso})]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="9" y="4" width="48" height="12" uuid="91b20a71-bc61-45b2-b546-829b214db055"/> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" size="8" isBold="false" isItalic="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Data Avviso]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="84" width="130" height="14" uuid="2c29296d-097b-4faa-b4d2-7045cef06f6d"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Descrizione]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="59" y="30" width="491" height="26" uuid="6cb9f8b8-8715-41ba-a4d4-6eabe2e85408"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{tipoAutorizzazione}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="3" y="63" width="548" height="14" uuid="8c9f5378-8e8d-4655-84b5-eccad49767d5"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center"> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[CONCLUSIONE PROCEDURA DI VERIFICA PREVENTIVA]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="84" width="360" height="14" uuid="877d100e-606b-4eea-960e-f889359577e1"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{lavoriDi}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</band> |
||||||
|
<band height="49"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="0" width="130" height="14" uuid="4f9a8fdf-ffa4-40e1-8243-a75cc00f8200"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Ubicazione]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="14" width="130" height="14" uuid="3f6043ac-d101-498c-b158-050a7240c012"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Istanza n.]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="0" width="360" height="14" uuid="ac4495b9-44cc-4024-8f86-834e44616dff"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{ubicazione} != null ? $F{ubicazione} : ""]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="14" width="360" height="14" uuid="cb433646-ff21-4c58-97d7-0cf423a63b23"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{numeroProgetto}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="190" y="28" width="360" height="14" uuid="352ff7ee-5039-4b04-8b75-755272041573"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{numeroProtocollo}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement x="59" y="28" width="130" height="14" uuid="65bd3291-92e6-4348-9d4c-79304aa36c0e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Protocollo]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
<band height="197"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement key="" x="285" y="40" width="268" height="14" uuid="b82a2f48-cea2-4ad2-8b76-c443de8a1fe1"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{comune}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement key="" x="170" y="10" width="115" height="14" uuid="c0370045-7e64-47e0-9c03-d9259f814713"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Al Committente]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="90" y="40" width="195" height="14" uuid="3f554448-d5dc-4075-b6ed-8e7bd10d7998"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[al Sindaco / S.U.E. del Comune di ]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement key="" x="285" y="10" width="268" height="14" uuid="f502c7f9-5ac4-43dd-bd91-cc46b395365e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{alCommittente}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement key="" x="285" y="24" width="268" height="14" uuid="03b513cf-794b-4cb8-92f4-2c81909cd825"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{alTitolareDigitale}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<staticText> |
||||||
|
<reportElement key="" x="170" y="24" width="115" height="14" uuid="2a88b2fd-8fcf-4888-a1a1-82919fe0776a"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans Bold" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[c/o il suo delegato]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="3" y="70" width="548" height="40" uuid="e4fec3f3-6651-4474-af2b-5072d857d07e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Con riferimento all’istanza in oggetto |
||||||
|
- visto il Codice dei Beni Culturali e del Paesaggio (D.L.vo n. 42 del 22.01.2004 e ss.mm.ii.); |
||||||
|
esaminata la documentazione allegata all’istanza;]]></text> |
||||||
|
</staticText> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="3" y="120" width="548" height="70" uuid="0156b4c7-6c07-4e4a-b8f6-e8ef115f5b1e"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Justified"> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$P{testo_del_documento}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</band> |
||||||
|
<band height="63"> |
||||||
|
<componentElement> |
||||||
|
<reportElement x="3" y="33" width="548" height="30" uuid="1a359757-dc45-45cb-bdf8-215e91905c39"> |
||||||
|
<property name="com.jaspersoft.studio.unit.CONTENTS.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical"> |
||||||
|
<datasetRun subDataset="dataset1" uuid="c5c63b6d-60a1-4ab0-8a82-0ac6993df639"> |
||||||
|
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{allegati})]]></dataSourceExpression> |
||||||
|
</datasetRun> |
||||||
|
<jr:listContents height="30" width="548"> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="20" y="0" width="519" height="14" uuid="6689d4e1-4145-4de3-9faa-7206aab84bdd"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans" size="9"/> |
||||||
|
<paragraph lineSpacing="Single"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{codiceAllegato}+" - "+$F{titoloAllegato}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
<ellipse> |
||||||
|
<reportElement x="11" y="5" width="4" height="4" backcolor="#000000" uuid="775a480f-53f2-43e5-ac27-8384f4986c90"> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
</reportElement> |
||||||
|
</ellipse> |
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
||||||
|
<reportElement x="20" y="14" width="519" height="14" uuid="0c265a63-dc21-413a-8a3d-8eec3b770a17"> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle"> |
||||||
|
<font fontName="DejaVu Sans" size="9"/> |
||||||
|
<paragraph lineSpacing="Single"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA["SHA256: "+$F{sha256Allegato}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</jr:listContents> |
||||||
|
</jr:list> |
||||||
|
</componentElement> |
||||||
|
<staticText> |
||||||
|
<reportElement x="3" y="0" width="548" height="26" uuid="b1072570-e715-4b6f-bda4-ae4723e17f5d"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.height" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.leftIndent" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
<paragraph firstLineIndent="14" leftIndent="0"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Viene di seguito riportato l’elenco dei documenti allegati all’istanza ed acquisiti dal sistema informatico “Paesaggistica” della Regione Siciliana.]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
<band height="130"> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="10" width="547" height="80" uuid="e0eafb80-b8a6-4a02-a365-dbc0fdb746da"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Justified"> |
||||||
|
<font fontName="DejaVu Sans" size="11" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Contro il presente provvedimento è ammesso ricorso gerarchico all’Assessorato Regionale dei Beni Culturali ed Ambientali e dell’Identità Siciliana entro trenta giorni dall’acquisita conoscenza, o al Tribunale Amministrativo Regionale entro sessanta giorni. |
||||||
|
L’eventuale ricorso gerarchico, debitamente sottoscritto e regolarizzato in bollo, dovrà riportare le generalità del ricorrente, comprensive di indirizzo di posta elettronica certificata, cui effettuare comunicazioni e notifiche relative al procedimento.]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="100" width="547" height="20" uuid="a357f0d4-8217-44d7-b424-b81c836f803a"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Right"> |
||||||
|
<font fontName="DejaVu Sans" size="12" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Il soprintendente]]></text> |
||||||
|
</staticText> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="120" width="547" height="10" uuid="e484cc67-3e66-431a-ad1f-bc7fc56c0836"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Right"> |
||||||
|
<font fontName="DejaVu Sans" size="8" isBold="false"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Firmato digitalmente]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
<band height="215"> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="10" width="547" height="190" uuid="1b23fa15-1e45-450e-9644-b07ed159627c"> |
||||||
|
<property name="com.jaspersoft.studio.unit.x" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<property name="com.jaspersoft.studio.unit.width" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Justified"> |
||||||
|
<font fontName="DejaVu Sans" isBold="false" isItalic="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[Nel rispetto di quanto prescritto dalla L. 241/1990 e ss. mm. ii. e della L.R. 7/2019, si comunica che, per il presente procedimento amministrativo, |
||||||
|
- le Unità Operative che si occupano di provvedimenti autorizzativi in materia di Beni Culturali nelle Soprintendenze dell’Isola, ognuna per le proprie competenze, rappresentano l'unità organizzativa responsabile del procedimento sotto il profilo tecnico-scientifico e di ogni atto procedimentale interlocutorio; |
||||||
|
- responsabile dell'adozione del provvedimento finale è il Soprintendente; |
||||||
|
- ai fini dell’eventuale richiesta di esercizio dei poteri sostitutivi, il responsabile della correttezza e della celerità è il Dirigente Generale del Dipartimento Beni Culturali e dell’Identità Siciliana. |
||||||
|
Responsabile della piattaforma telematica è il Dott. Mario Parlavecchio (mparlavecchio@regione.sicilia.it). |
||||||
|
|
||||||
|
Il titolare del trattamento, definito dall’articolo 4, n. 7 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), è il Dipartimento Beni Culturali e dell’Identità Siciliana. |
||||||
|
Responsabili del trattamento, definito all’articolo 4, n.8 del GDPR - Regolamento generale sulla protezione dei dati (UE/2016/679), sono le Soprintendenze di Agrigento, Caltanissetta, Catania, Enna, Messina, Palermo, Ragusa, Siracusa, Trapani, e la Soprintendenza del Mare.]]></text> |
||||||
|
</staticText> |
||||||
|
</band> |
||||||
|
</detail> |
||||||
|
<pageFooter> |
||||||
|
<band height="109" splitType="Stretch"> |
||||||
|
<staticText> |
||||||
|
<reportElement x="4" y="86" width="301" height="23" uuid="89e43c7c-c4e3-456f-8eba-d21332502699"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement> |
||||||
|
<font fontName="DejaVu Sans" size="8" isBold="true"/> |
||||||
|
</textElement> |
||||||
|
<text><![CDATA[www.regione.sicilia.it |
||||||
|
https://paesaggistica.sicilia.it]]></text> |
||||||
|
</staticText> |
||||||
|
<line> |
||||||
|
<reportElement x="0" y="83" width="555" height="1" uuid="f2f3ee86-58db-4a77-937b-428b7f419b7b"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
</line> |
||||||
|
<componentElement> |
||||||
|
<reportElement x="183" y="10" width="188" height="50" uuid="4f9aca65-1cf3-4aae-bc48-c9a0517bf888"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
<printWhenExpression><![CDATA[$F{codiceUnivoco} != null]]></printWhenExpression> |
||||||
|
</reportElement> |
||||||
|
<jr:PDF417 xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" moduleWidth="50.0" textPosition="bottom"> |
||||||
|
<jr:codeExpression><![CDATA[$F{codiceUnivoco}]]></jr:codeExpression> |
||||||
|
</jr:PDF417> |
||||||
|
</componentElement> |
||||||
|
<textField isBlankWhenNull="true"> |
||||||
|
<reportElement x="8" y="60" width="538" height="20" uuid="17c484f8-1f60-4ac6-bf04-4b1ef031793a"> |
||||||
|
<property name="com.jaspersoft.studio.unit.y" value="px"/> |
||||||
|
</reportElement> |
||||||
|
<textElement textAlignment="Center"> |
||||||
|
<font fontName="DejaVu Sans"/> |
||||||
|
</textElement> |
||||||
|
<textFieldExpression><![CDATA[$F{codiceUnivoco}]]></textFieldExpression> |
||||||
|
</textField> |
||||||
|
</band> |
||||||
|
</pageFooter> |
||||||
|
</jasperReport> |
@ -1,7 +0,0 @@ |
|||||||
app.server.tomcat.lib.global.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62/lib/ext |
|
||||||
app.server.tomcat.deploy.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62/webapps |
|
||||||
app.server.parent.dir = /home/portos/bin/liferay-paesaggistica |
|
||||||
app.server.tomcat.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62 |
|
||||||
app.server.type = tomcat |
|
||||||
app.server.tomcat.portal.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62/webapps/ROOT |
|
||||||
javac.encoding = UTF-8 |
|
@ -1,7 +0,0 @@ |
|||||||
app.server.tomcat.lib.global.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62/lib/ext |
|
||||||
app.server.tomcat.deploy.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62/webapps |
|
||||||
app.server.parent.dir = /home/portos/bin/liferay-paesaggistica |
|
||||||
app.server.tomcat.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62 |
|
||||||
app.server.type = tomcat |
|
||||||
app.server.tomcat.portal.dir = /home/portos/bin/liferay-paesaggistica/tomcat-7.0.62/webapps/ROOT |
|
||||||
javac.encoding = UTF-8 |
|
@ -0,0 +1,9 @@ |
|||||||
|
# Managed by Liferay IDE (remove this comment to prevent future updates) |
||||||
|
|
||||||
|
app.server.tomcat.lib.global.dir = /home/ture/liferay/portali/paesaggistica/tomcat-7.0.62/lib/ext |
||||||
|
app.server.tomcat.deploy.dir = /home/ture/liferay/portali/paesaggistica/tomcat-7.0.62/webapps |
||||||
|
app.server.parent.dir = /home/ture/liferay/portali/paesaggistica |
||||||
|
app.server.tomcat.dir = /home/ture/liferay/portali/paesaggistica/tomcat-7.0.62 |
||||||
|
app.server.type = tomcat |
||||||
|
app.server.tomcat.portal.dir = /home/ture/liferay/portali/paesaggistica/tomcat-7.0.62/webapps/ROOT |
||||||
|
javac.encoding = UTF-8 |
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.7 |
|
@ -1,23 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<classpath> |
|
||||||
<classpathentry kind="src" path="docroot/WEB-INF/src"/> |
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_79"> |
|
||||||
<attributes> |
|
||||||
<attribute name="owner.project.facets" value="java"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/com.liferay.ide.eclipse.server.tomcat.runtimeClasspathProvider/Liferay v6.2 CE (Tomcat 7)"> |
|
||||||
<attributes> |
|
||||||
<attribute name="owner.project.facets" value="jst.web"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> |
|
||||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> |
|
||||||
<classpathentry kind="con" path="com.liferay.ide.eclipse.server.plugin.container/hook"> |
|
||||||
<attributes> |
|
||||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="lib" path="/home/portos/sources/portos-src/liferay-plugins-sdk-6.2/hooks/lr-arpa-al-hook/docroot/WEB-INF/lib/arpa-common-2.1.jar"/> |
|
||||||
<classpathentry kind="output" path="docroot/WEB-INF/classes"/> |
|
||||||
</classpath> |
|
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.7 |
|
@ -1,8 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> |
|
||||||
<wb-module deploy-name="lr-arpa-al-hook"> |
|
||||||
<wb-resource deploy-path="/" source-path="/docroot" tag="defaultRootSource"/> |
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/docroot/WEB-INF/src"/> |
|
||||||
<property name="context-root" value="lr-arpa-al-hook"/> |
|
||||||
<property name="java-output-path" value="/lr-arpa-al-hook/docroot/WEB-INF/classes"/> |
|
||||||
</wb-module> |
|
||||||
</project-modules> |
|
@ -1,6 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE project> |
|
||||||
|
|
||||||
<project name="lr-arpa-al-hook" basedir="." default="deploy"> |
|
||||||
<import file="../build-common-hook.xml" /> |
|
||||||
</project> |
|
@ -1,34 +0,0 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
<%-- |
|
||||||
/** |
|
||||||
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. |
|
||||||
* |
|
||||||
* This library is free software; you can redistribute it and/or modify it under |
|
||||||
* the terms of the GNU Lesser General Public License as published by the Free |
|
||||||
* Software Foundation; either version 2.1 of the License, or (at your option) |
|
||||||
* any later version. |
|
||||||
* |
|
||||||
* This library is distributed in the hope that it will be useful, but WITHOUT |
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
||||||
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
|
||||||
* details. |
|
||||||
*/ |
|
||||||
--%> |
|
||||||
|
|
||||||
<%@ include file="/html/portlet/portal_settings/init.jsp" %> |
|
||||||
|
|
||||||
<% |
|
||||||
boolean arpaAuthEnabled = PrefsPropsUtil.getBoolean(company.getCompanyId(), _ARPA_AUTH_ENABLED_KEY, _ARPA_AUTH_ENABLED_VALUE); |
|
||||||
|
|
||||||
%> |
|
||||||
|
|
||||||
<aui:fieldset> |
|
||||||
<aui:input label="enabled" name='<%= "settings--" + _ARPA_AUTH_ENABLED_KEY + "--" %>' type="checkbox" value="<%= arpaAuthEnabled %>" /> |
|
||||||
</aui:fieldset> |
|
||||||
|
|
||||||
<%! |
|
||||||
private static final String _ARPA_AUTH_ENABLED_KEY = "arpa.auth.enabled"; |
|
||||||
|
|
||||||
private static final boolean _ARPA_AUTH_ENABLED_VALUE = GetterUtil.getBoolean(PropsUtil.get(_ARPA_AUTH_ENABLED_KEY)); |
|
||||||
|
|
||||||
%> |
|
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1,8 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE hook PUBLIC "-//Liferay//DTD Hook 6.2.0//EN" "http://www.liferay.com/dtd/liferay-hook_6_2_0.dtd"> |
|
||||||
|
|
||||||
<hook> |
|
||||||
<portal-properties>portal.properties</portal-properties> |
|
||||||
<language-properties>content/language.properties</language-properties> |
|
||||||
<custom-jsp-dir>/META-INF/custom_jsps</custom-jsp-dir> |
|
||||||
</hook> |
|
@ -1,15 +0,0 @@ |
|||||||
name=ARPA AutoLogin |
|
||||||
module-group-id=liferay |
|
||||||
module-incremental-version=1 |
|
||||||
tags= |
|
||||||
short-description= |
|
||||||
long-description= |
|
||||||
change-log= |
|
||||||
page-url=http://www.liferay.com |
|
||||||
author=Liferay, Inc. |
|
||||||
licenses=LGPL |
|
||||||
liferay-versions=6.2+ |
|
||||||
portal-dependency-jars=\ |
|
||||||
commons-configuration.jar,\ |
|
||||||
commons-lang.jar,\ |
|
||||||
commons-collections.jar |
|
@ -1,4 +0,0 @@ |
|||||||
arpa=Arpa |
|
||||||
arpa-login-url = Url di Accreditamento |
|
||||||
arpa-redirect-url = Chiave per il redirect |
|
||||||
arpa-redirect-url-encoded = Redirect Url Codificato |
|
@ -1,228 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.util; |
|
||||||
|
|
||||||
import it.toscana.regione.arpa.common.ArpaSSOProxy; |
|
||||||
import it.toscana.regione.arpa.common.ArpaUser; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
import javax.servlet.http.HttpSession; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.log.Log; |
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
||||||
import com.liferay.portal.model.User; |
|
||||||
import com.liferay.portal.service.UserLocalServiceUtil; |
|
||||||
import com.liferay.portal.util.PortalUtil; |
|
||||||
|
|
||||||
|
|
||||||
public class ArpaUtils { |
|
||||||
|
|
||||||
protected static Log _log = LogFactoryUtil.getLog(ArpaUtils.class); |
|
||||||
|
|
||||||
public static ArpaUser getUser(ArpaSSOProxy proxy) { |
|
||||||
|
|
||||||
ArpaUser user = proxy.getAuthenticatedUser(); |
|
||||||
|
|
||||||
if (user != null) { |
|
||||||
|
|
||||||
_log.debug("Authenticated User is : " + user); |
|
||||||
|
|
||||||
} else { |
|
||||||
_log.warn("Authenticated User is null"); |
|
||||||
} |
|
||||||
|
|
||||||
ArpaUser delegatingUser = proxy.getDelegatingUser(); |
|
||||||
if (delegatingUser != null) { |
|
||||||
|
|
||||||
_log.debug("Delegating User is : " + delegatingUser); |
|
||||||
|
|
||||||
user = delegatingUser; |
|
||||||
} else { |
|
||||||
_log.debug("Delegating User is null"); |
|
||||||
} |
|
||||||
|
|
||||||
return user; |
|
||||||
} |
|
||||||
|
|
||||||
public static String getUserInfo(HttpServletRequest request) { |
|
||||||
|
|
||||||
String result = null; |
|
||||||
try { |
|
||||||
User user = PortalUtil.getUser(request); |
|
||||||
String userId = ""; |
|
||||||
String screename = ""; |
|
||||||
if (user != null) { |
|
||||||
userId = String.valueOf(user.getUserId()); |
|
||||||
screename = user.getScreenName(); |
|
||||||
} else { |
|
||||||
_log.debug("Liferay User is null"); |
|
||||||
} |
|
||||||
|
|
||||||
result = userId + "," + screename; |
|
||||||
} catch (Exception e) { |
|
||||||
_log.error("Error getting Liferay User ", e); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
_log.debug("Returning message result = " + result); |
|
||||||
|
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
public static String getUserInfo(HttpSession session) { |
|
||||||
|
|
||||||
Long userId = (Long) session.getAttribute("USER_ID"); |
|
||||||
String result = null; |
|
||||||
if (userId != null) { |
|
||||||
try { |
|
||||||
User user = UserLocalServiceUtil.fetchUserById(userId.longValue()); |
|
||||||
String screename = ""; |
|
||||||
if (user != null) { |
|
||||||
screename = user.getScreenName(); |
|
||||||
} else { |
|
||||||
_log.debug("Liferay User is null"); |
|
||||||
} |
|
||||||
|
|
||||||
result = userId + "," + screename; |
|
||||||
} catch (Exception e) { |
|
||||||
_log.error("Error getting user with id " + userId, e); |
|
||||||
} |
|
||||||
} |
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isArpaAuthenticated(HttpSession session) { |
|
||||||
|
|
||||||
boolean isArpaAuthenticated = false; |
|
||||||
if (session != null) { |
|
||||||
|
|
||||||
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED"); |
|
||||||
|
|
||||||
Object arpaAuthenticated = session.getAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED"); |
|
||||||
|
|
||||||
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED and value = " + arpaAuthenticated); |
|
||||||
|
|
||||||
if (arpaAuthenticated != null) { |
|
||||||
if ((arpaAuthenticated instanceof Boolean)) { |
|
||||||
isArpaAuthenticated = ((Boolean) arpaAuthenticated).booleanValue(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
if (isArpaAuthenticated) { |
|
||||||
_log.debug("User is authenticated width Arpa "); |
|
||||||
} else { |
|
||||||
_log.debug("User is not authenticated width Arpa "); |
|
||||||
} |
|
||||||
|
|
||||||
return isArpaAuthenticated; |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isArpaAuthenticated(HttpServletRequest request) { |
|
||||||
|
|
||||||
HttpSession session = request.getSession(); |
|
||||||
return isArpaAuthenticated(session); |
|
||||||
} |
|
||||||
|
|
||||||
public static void markAuthenticated(HttpSession session, ArpaUser realUser, ArpaUser arpaUser) { |
|
||||||
|
|
||||||
boolean authenticated = true; |
|
||||||
|
|
||||||
if (arpaUser != null) { |
|
||||||
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL value = " |
|
||||||
+ arpaUser.getEmailAddress()); |
|
||||||
|
|
||||||
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress()); |
|
||||||
|
|
||||||
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF value = " + arpaUser.getCf()); |
|
||||||
|
|
||||||
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf()); |
|
||||||
} |
|
||||||
|
|
||||||
if (realUser != null) { |
|
||||||
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF value = " + realUser.getCf()); |
|
||||||
|
|
||||||
session.setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf()); |
|
||||||
} |
|
||||||
if (arpaUser != null) { |
|
||||||
_log.debug("Setting session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED value = " + authenticated); |
|
||||||
} |
|
||||||
session.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated)); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
public static String getArpaUserInfo(HttpSession session) { |
|
||||||
|
|
||||||
boolean isArpaAuthenticated = isArpaAuthenticated(session); |
|
||||||
String result = null; |
|
||||||
Object realCf = null; |
|
||||||
Object cf = null; |
|
||||||
if ((isArpaAuthenticated) && (session != null)) { |
|
||||||
|
|
||||||
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF"); |
|
||||||
|
|
||||||
realCf = session.getAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF"); |
|
||||||
|
|
||||||
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF and value = " + realCf); |
|
||||||
} |
|
||||||
|
|
||||||
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF"); |
|
||||||
|
|
||||||
cf = session.getAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF"); |
|
||||||
|
|
||||||
_log.debug("Getted session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF and value = " + cf); |
|
||||||
|
|
||||||
|
|
||||||
if (cf == null) { |
|
||||||
cf = ""; |
|
||||||
} |
|
||||||
if (realCf == null) { |
|
||||||
realCf = ""; |
|
||||||
} |
|
||||||
result = isArpaAuthenticated + "," + cf + "," + realCf; |
|
||||||
|
|
||||||
_log.debug("Returning result message = " + result); |
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
public static String getArpaUserInfo(HttpServletRequest request) { |
|
||||||
|
|
||||||
return getArpaUserInfo(request.getSession()); |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isLogoutAlreadyCalled(HttpServletRequest request) { |
|
||||||
|
|
||||||
boolean result = false; |
|
||||||
HttpSession session = request.getSession(false); |
|
||||||
result = isLogoutAlreadyCalled(session); |
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
public static boolean isLogoutAlreadyCalled(HttpSession session) { |
|
||||||
|
|
||||||
boolean result = false; |
|
||||||
if (session != null) { |
|
||||||
_log.debug("Getting session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED"); |
|
||||||
|
|
||||||
Object value = session.getAttribute("_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED"); |
|
||||||
if (_log.isDebugEnabled()) { |
|
||||||
_log.debug("Session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = " + value); |
|
||||||
} |
|
||||||
result = value != null; |
|
||||||
} |
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
public static void markLogoutCalled(HttpSession session) { |
|
||||||
|
|
||||||
_log.debug("Setting session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = true"); |
|
||||||
|
|
||||||
if (session != null) { |
|
||||||
session.setAttribute("_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED", Boolean.valueOf(true)); |
|
||||||
} else if (_log.isDebugEnabled()) _log.debug("Could not set session attribute _ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED = true because session is null"); |
|
||||||
} |
|
||||||
|
|
||||||
public static void markLogoutCalled(HttpServletRequest request) { |
|
||||||
|
|
||||||
HttpSession session = request.getSession(false); |
|
||||||
markLogoutCalled(session); |
|
||||||
} |
|
||||||
} |
|
@ -1,45 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.util; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.util.GetterUtil; |
|
||||||
import com.liferay.portal.kernel.util.PropsUtil; |
|
||||||
|
|
||||||
public interface Constants extends com.liferay.portal.kernel.util.Constants { |
|
||||||
public static final String _ARPA_AUTH_ENABLED_KEY = "arpa.auth.enabled"; |
|
||||||
public static final boolean _ARPA_AUTH_ENABLED_VALUE = GetterUtil.getBoolean(PropsUtil.get(_ARPA_AUTH_ENABLED_KEY)); |
|
||||||
public static final String EMAIL_ATTRIBUTE = "emailAddress"; |
|
||||||
/* |
|
||||||
* public static final String DEFAULT_PARAMETER_LOGOUT_LOG_ALREADY_CALLED = |
|
||||||
* "_ARPA_AUTOLOGIN_LOGOUT_LOG_CALLED"; public static final String ARPA_AUTHENTICATED_PARAMETER = |
|
||||||
* "_ARPA_AUTOLOGIN_AUTHENTICATED"; public static final String ARPA_AUTHENTICATED_CF_PARAMETER = |
|
||||||
* "_ARPA_AUTOLOGIN_AUTHENTICATED_CF"; public static final String |
|
||||||
* ARPA_AUTHENTICATED_REAL_CF_PARAMETER = "_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF"; public static |
|
||||||
* final String ARPA_AUTHENTICATED_EMAIL_PARAMETER = "_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL"; public |
|
||||||
* static final String INVALIDATE_SESSION_DEFAULT_MESSAGE_PRE = "SessionInvalidated"; public |
|
||||||
* static final String LOGIN_DEFAULT_MESSAGE_PRE = "Login"; public static final String |
|
||||||
* LOGOUT_DEFAULT_MESSAGE_PRE = "Logout"; public static final String USER_UPDATE_USER_ASSOCIATION |
|
||||||
* = "arpa.roledecoder.updateuserassociation"; public static final boolean |
|
||||||
* DEFAULT_USER_UPDATE_USER_ASSOCIATION = true; public static final String AUTENTICATING_ARPA_USER |
|
||||||
* = "arpa.agent.user.authenticating"; public static final String EMAIL_NULL_AUTOGENERATE = |
|
||||||
* "arpa.createuser.null.email.autogenerate"; public static final String |
|
||||||
* EMAIL_ADDRESS_USER_AUTHENTICATE_PARAMETER = "arpa.authenticate.emailaddress"; public static |
|
||||||
* final boolean DEFAULT_EMAIL_SEND_AFTER_CREATE_USER = false; public static final String |
|
||||||
* EMAIL_SEND_AFTER_CREATE_USER = "arpa.createuser.emailsend"; public static final String |
|
||||||
* USER_NULL_AUTOGENERATE = "arpa.roledecoder.autocreateuser"; public static final boolean |
|
||||||
* DEFAULT_USER_NULL_AUTOGENERATE = true; public static final boolean |
|
||||||
* DEFAULT_EMAIL_NULL_AUTOGENERATE = true; public static final boolean |
|
||||||
* DEFAULT_AGREED_TO_TERMS_AFTER_CREATE_USER = false; public static final boolean |
|
||||||
* DEFAULT_AGREED_TO_TERMS_AUTOGENERATED_EMAIL = false; public static final String |
|
||||||
* AGREED_TO_TERMS_AUTOGENERATED_EMAIL = "arpa.createuser.agreedToTerms.view.email.autogenerate"; |
|
||||||
* public static final String AGREED_TO_TERMS_AFTER_CREATE_USER = |
|
||||||
* "arpa.createuser.agreedToTerms.ignore"; public static final String |
|
||||||
* USERGROUP_AUTOCREATE_PARAMETER = "arpa.roledecoder.autocreateusergroup"; public static final |
|
||||||
* String ORGANIZATION_AUTOCREATE_PARAMETER = "arpa.roledecoder.autocreateorganization"; public |
|
||||||
* static final String USERDAO_IMPL_PARAMETER = "arpa.userdao.impl"; public static final String |
|
||||||
* AUTO_LOGIN_REDIRECT_AND_CONTINUE_ENABLED_PARAMETER = |
|
||||||
* "arpa.authenticate.loginredirectandcontinue.enabled"; public static final boolean |
|
||||||
* DEFAULT_AUTO_LOGIN_REDIRECT_AND_CONTINUE_ENABLED_PARAMETER = true; |
|
||||||
*/ |
|
||||||
// public static final String ROLE_DECODER_LOCATION_PARAMETER = "arpa.roledecoder.location";
|
|
||||||
// public static final String ROLE_AUTOCREATE_PARAMETER = "arpa.roledecoder.autocreaterole";
|
|
||||||
// public static final String AGENT_CHECK_PARAMETER = "arpa.agent.attribute.verify";
|
|
||||||
} |
|
@ -1,84 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.util.mapper; |
|
||||||
|
|
||||||
import it.toscana.regione.arpa.common.ArpaAttribute; |
|
||||||
import it.toscana.regione.arpa.common.ArpaSSOProxy; |
|
||||||
import it.toscana.regione.arpa.common.ArpaUser; |
|
||||||
|
|
||||||
import java.util.Collection; |
|
||||||
|
|
||||||
public class AttributeArpaUser implements ArpaUser { |
|
||||||
private ArpaSSOProxy proxy; |
|
||||||
private ArpaUser target; |
|
||||||
|
|
||||||
|
|
||||||
public AttributeArpaUser(ArpaSSOProxy proxy, ArpaUser target) { |
|
||||||
this.proxy = proxy; |
|
||||||
this.target = target; |
|
||||||
} |
|
||||||
|
|
||||||
public String getBirthcc() { |
|
||||||
return this.target == null ? null : this.target.getBirthcc(); |
|
||||||
} |
|
||||||
|
|
||||||
public String getBirthday() { |
|
||||||
return this.target == null ? null : this.target.getBirthday(); |
|
||||||
} |
|
||||||
|
|
||||||
public String getCf() { |
|
||||||
return this.target == null ? null : this.target.getCf(); |
|
||||||
} |
|
||||||
|
|
||||||
public String getName() { |
|
||||||
return this.target == null ? null : this.target.getName(); |
|
||||||
} |
|
||||||
|
|
||||||
public String getSurname() { |
|
||||||
return this.target == null ? null : this.target.getSurname(); |
|
||||||
} |
|
||||||
|
|
||||||
public ArpaSSOProxy getProxy() { |
|
||||||
return this.proxy; |
|
||||||
} |
|
||||||
|
|
||||||
public String getEmailAddress() { |
|
||||||
String email = this.target == null ? null : this.target.getEmailAddress(); |
|
||||||
/* |
|
||||||
* if ((this.proxy != null) && Validator.isNull(email)) { |
|
||||||
* log.debug("Try to getting email Address from Attributes"); try { email = |
|
||||||
* getMappedAttribute("emailAddress"); |
|
||||||
* |
|
||||||
* log.debug("Email Attribute is " + email); } catch (Exception e) { |
|
||||||
* log.error("Error getting attribute emailAddress from user Attribute", e); } } |
|
||||||
*/ |
|
||||||
return email; |
|
||||||
} |
|
||||||
|
|
||||||
public String getAttribute(String attributeName) { |
|
||||||
return getSingleAttribute(this.proxy.getWorkingAttributes(attributeName)); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
private static String getSingleAttribute(ArpaAttribute arpaAttribute) { |
|
||||||
if (arpaAttribute != null) { |
|
||||||
Collection values = arpaAttribute.getValues(); |
|
||||||
if ((values != null) && (values.size() > 0)) { |
|
||||||
return values.iterator().next().toString(); |
|
||||||
} |
|
||||||
} |
|
||||||
return null; |
|
||||||
} |
|
||||||
|
|
||||||
private static String getSingleAttribute(Collection attributeSet) { |
|
||||||
ArpaAttribute arpaAttribute = getArpaAttribute(attributeSet); |
|
||||||
return getSingleAttribute(arpaAttribute); |
|
||||||
} |
|
||||||
|
|
||||||
private static ArpaAttribute getArpaAttribute(Collection attributeSet) { |
|
||||||
if ((attributeSet != null) && (attributeSet.size() > 0)) { |
|
||||||
ArpaAttribute atrribute = (ArpaAttribute) attributeSet.iterator().next(); |
|
||||||
return atrribute; |
|
||||||
} |
|
||||||
return null; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,377 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.version6_2; |
|
||||||
|
|
||||||
import it.toscana.regione.arpa.al.util.ArpaUtils; |
|
||||||
import it.toscana.regione.arpa.al.util.Constants; |
|
||||||
import it.toscana.regione.arpa.al.util.mapper.AttributeArpaUser; |
|
||||||
import it.toscana.regione.arpa.common.ArpaException; |
|
||||||
import it.toscana.regione.arpa.common.ArpaProxyFactoryLocator; |
|
||||||
import it.toscana.regione.arpa.common.ArpaSSOProxy; |
|
||||||
import it.toscana.regione.arpa.common.ArpaUser; |
|
||||||
|
|
||||||
import java.util.Locale; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
import javax.servlet.http.HttpServletResponse; |
|
||||||
|
|
||||||
import com.liferay.portal.NoSuchUserException; |
|
||||||
import com.liferay.portal.kernel.exception.PortalException; |
|
||||||
import com.liferay.portal.kernel.exception.SystemException; |
|
||||||
import com.liferay.portal.kernel.log.Log; |
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
||||||
import com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil; |
|
||||||
import com.liferay.portal.kernel.util.ParamUtil; |
|
||||||
import com.liferay.portal.kernel.util.PrefsPropsUtil; |
|
||||||
import com.liferay.portal.kernel.util.StringPool; |
|
||||||
import com.liferay.portal.kernel.util.Validator; |
|
||||||
import com.liferay.portal.model.User; |
|
||||||
import com.liferay.portal.security.auth.AutoLogin; |
|
||||||
import com.liferay.portal.security.auth.AutoLoginException; |
|
||||||
import com.liferay.portal.service.ServiceContext; |
|
||||||
import com.liferay.portal.service.UserLocalServiceUtil; |
|
||||||
import com.liferay.portal.util.PortalUtil; |
|
||||||
|
|
||||||
|
|
||||||
public class ArpaAutoLogin implements AutoLogin { |
|
||||||
|
|
||||||
|
|
||||||
private static final Log _log = LogFactoryUtil.getLog(ArpaAutoLogin.class); |
|
||||||
|
|
||||||
|
|
||||||
public final String[] login(HttpServletRequest request, HttpServletResponse response) throws AutoLoginException { |
|
||||||
|
|
||||||
String[] result = doLogin(request, response); |
|
||||||
if ((result != null) && (result.length > 0)) { |
|
||||||
long companyId = PortalUtil.getCompanyId(request); |
|
||||||
boolean enabled = true; |
|
||||||
try { |
|
||||||
enabled = |
|
||||||
PrefsPropsUtil.getBoolean(companyId, "arpa.authenticate.loginredirectandcontinue.enabled", |
|
||||||
Boolean.valueOf(true)); |
|
||||||
} catch (SystemException e) { |
|
||||||
_log.error(e, e); |
|
||||||
} |
|
||||||
|
|
||||||
if (enabled) { |
|
||||||
String currentURL = PortalUtil.getCurrentURL(request); |
|
||||||
_log.trace("Cecking if currentURL " + currentURL + " contains /portal/login"); |
|
||||||
|
|
||||||
if (currentURL.contains("/portal/login")) { |
|
||||||
String redirect = ParamUtil.getString(request, "redirect"); |
|
||||||
|
|
||||||
if (Validator.isNotNull(redirect)) { |
|
||||||
_log.debug("Setting AUTO_LOGIN_REDIRECT_AND_CONTINUE parameter to " + redirect); |
|
||||||
request.setAttribute("AUTO_LOGIN_REDIRECT_AND_CONTINUE", redirect); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} else { |
|
||||||
_log.trace("Function AUTO_LOGIN_REDIRECT_AND_CONTINUE is not enabled"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
protected String[] doLogin(HttpServletRequest request, HttpServletResponse response) { |
|
||||||
|
|
||||||
String[] result = null; |
|
||||||
User user = null; |
|
||||||
long companyId = PortalUtil.getCompanyId(request); |
|
||||||
|
|
||||||
boolean arpaAuthEnabled = false; |
|
||||||
try { |
|
||||||
arpaAuthEnabled = |
|
||||||
PrefsPropsUtil.getBoolean(companyId, Constants._ARPA_AUTH_ENABLED_KEY, Constants._ARPA_AUTH_ENABLED_VALUE); |
|
||||||
} catch (SystemException e) { |
|
||||||
_log.error(e, e); |
|
||||||
} |
|
||||||
|
|
||||||
// _log.info("3F: spAgentSSOToken = " + request.getAttribute("spAgentSSOToken"));
|
|
||||||
//
|
|
||||||
// _log.info("******3FC*******");
|
|
||||||
// Enumeration<String> parametersName = request.getParameterNames();
|
|
||||||
// while (parametersName.hasMoreElements()) {
|
|
||||||
//
|
|
||||||
// String paramName = parametersName.nextElement();
|
|
||||||
//
|
|
||||||
// String[] paramValues = request.getParameterValues(paramName);
|
|
||||||
// for (int i = 0; i < paramValues.length; i++) {
|
|
||||||
// _log.info("Parameter " + paramName + " = " + paramValues[i]);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// Enumeration<String> attributesName = request.getAttributeNames();
|
|
||||||
// while (attributesName.hasMoreElements()) {
|
|
||||||
//
|
|
||||||
// String attributeName = attributesName.nextElement();
|
|
||||||
//
|
|
||||||
// String attributeValue = (String) request.getAttribute(attributeName);
|
|
||||||
//
|
|
||||||
// _log.info("Attribute " + attributeName + " = " + attributeValue);
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
// _log.info("******3FC*******");
|
|
||||||
|
|
||||||
if (arpaAuthEnabled) { |
|
||||||
_log.debug("3F: autenticazione arpa abilitata"); |
|
||||||
String agentCheckParameterName = StringPool.BLANK; |
|
||||||
try { |
|
||||||
agentCheckParameterName = PrefsPropsUtil.getString(companyId, "arpa.agent.attribute.verify"); |
|
||||||
} catch (SystemException e) { |
|
||||||
_log.error(e, e); |
|
||||||
} |
|
||||||
|
|
||||||
boolean canContinue = true; |
|
||||||
Object agentCheckValue = null; |
|
||||||
|
|
||||||
if ((agentCheckParameterName != null) && (agentCheckParameterName.trim().length() > 0)) { |
|
||||||
_log.debug("3F: entro qui"); |
|
||||||
_log.debug("Try to get agent Check attribute from request " + agentCheckParameterName); |
|
||||||
|
|
||||||
canContinue = false; |
|
||||||
agentCheckValue = request.getAttribute(agentCheckParameterName); |
|
||||||
if (agentCheckValue != null) { |
|
||||||
canContinue = true; |
|
||||||
_log.debug("Value of AgentCheckParameter " + agentCheckValue); |
|
||||||
if ((agentCheckValue instanceof Boolean)) { |
|
||||||
canContinue = ((Boolean) agentCheckValue).booleanValue(); |
|
||||||
} |
|
||||||
} else _log.debug("Agent Check attribute is null"); |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
boolean authenticated = false; |
|
||||||
if (canContinue) { |
|
||||||
_log.debug("3F: sono abilitato ad autenticare"); |
|
||||||
|
|
||||||
try { |
|
||||||
ArpaSSOProxy proxy = ArpaProxyFactoryLocator.getInstance(request); |
|
||||||
if (proxy != null) { |
|
||||||
_log.debug("3F: provo ad autenticare"); |
|
||||||
ArpaUser arpaUser = ArpaUtils.getUser(proxy); |
|
||||||
if (arpaUser != null) { |
|
||||||
request.setAttribute("arpa.agent.user.authenticating", arpaUser); |
|
||||||
arpaUser = new AttributeArpaUser(proxy, arpaUser); |
|
||||||
_log.debug("Try to login user " + arpaUser); |
|
||||||
|
|
||||||
try { |
|
||||||
|
|
||||||
user = createUserIfnotExist(companyId, arpaUser); |
|
||||||
|
|
||||||
} catch (Exception portalException) { |
|
||||||
_log.error("Error Getting or Adding User " + arpaUser.getCf(), portalException); |
|
||||||
} |
|
||||||
|
|
||||||
if (user != null) { |
|
||||||
result = makeCredentials(user); |
|
||||||
authenticated = true; |
|
||||||
try { |
|
||||||
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL value = " |
|
||||||
+ arpaUser.getEmailAddress()); |
|
||||||
|
|
||||||
|
|
||||||
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress()); |
|
||||||
|
|
||||||
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_EMAIL", arpaUser.getEmailAddress()); |
|
||||||
|
|
||||||
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED_CF value = " |
|
||||||
+ arpaUser.getCf()); |
|
||||||
|
|
||||||
|
|
||||||
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf()); |
|
||||||
|
|
||||||
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED_CF", arpaUser.getCf()); |
|
||||||
|
|
||||||
ArpaUser realUser = proxy.getAuthenticatedUser(); |
|
||||||
|
|
||||||
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF value = " |
|
||||||
+ realUser.getCf()); |
|
||||||
|
|
||||||
request.setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf()); |
|
||||||
|
|
||||||
request.getSession().setAttribute("_ARPA_AUTOLOGIN_REAL_AUTHENTICATED_CF", realUser.getCf()); |
|
||||||
} catch (Exception e) { |
|
||||||
_log.error("Cannot Setting Parameter on request and session, caused by", e); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} else { |
|
||||||
_log.warn("ArpaUser is null"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} catch (ArpaException e) { |
|
||||||
_log.error("Error getting ArpaUser", e); |
|
||||||
} |
|
||||||
} else { |
|
||||||
_log.debug("Request is not processed because request parameter " + agentCheckParameterName + " is = " |
|
||||||
+ agentCheckValue); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
if ((result != null) && (result.length >= 3)) { |
|
||||||
_log.debug("Credentials:[" + result[0] + "][" + result[1] + "][" + result[2] + "]"); |
|
||||||
} else { |
|
||||||
_log.debug("No Authenticated User"); |
|
||||||
} |
|
||||||
|
|
||||||
_log.debug("Setting request and session attribute key = _ARPA_AUTOLOGIN_AUTHENTICATED value = " + authenticated); |
|
||||||
|
|
||||||
request.setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated)); |
|
||||||
request.getSession().setAttribute("_ARPA_AUTOLOGIN_AUTHENTICATED", Boolean.valueOf(authenticated)); |
|
||||||
} |
|
||||||
return result; |
|
||||||
} |
|
||||||
|
|
||||||
protected User createUserIfnotExist(long companyId, ArpaUser arpaUser) throws PortalException, SystemException { |
|
||||||
|
|
||||||
User user = null; |
|
||||||
if (arpaUser != null) { |
|
||||||
String screenName = arpaUser.getCf(); |
|
||||||
screenName = FriendlyURLNormalizerUtil.normalize(screenName); |
|
||||||
user = UserLocalServiceUtil.fetchUserByScreenName(companyId, screenName); |
|
||||||
if (user == null) { |
|
||||||
_log.info("L'utente [" + arpaUser.getCf() + "] non e' censito. Tento Creazione Utente nel Sistema"); |
|
||||||
boolean male = true; |
|
||||||
int birthdayMonth = 0; |
|
||||||
int birthdayDay = 1; |
|
||||||
int birthdayYear = 1970; |
|
||||||
String jobTitle = StringPool.BLANK; |
|
||||||
String openId = StringPool.BLANK; |
|
||||||
long[] groupIds = null; |
|
||||||
long[] organizationIds = null; |
|
||||||
long[] roleIds = null; |
|
||||||
long[] userGroupIds = null; |
|
||||||
long facebookId = 0l; |
|
||||||
boolean autoPassword = true; |
|
||||||
String password1 = "replaceme"; |
|
||||||
String password2 = "replaceme"; |
|
||||||
boolean autoScreenName = false; |
|
||||||
boolean sendEmailToUser = false; |
|
||||||
Locale locale = Locale.ITALY; |
|
||||||
ServiceContext serviceContext = new ServiceContext(); |
|
||||||
String userScreenName = arpaUser.getCf(); |
|
||||||
long creatorUserId = UserLocalServiceUtil.getDefaultUserId(companyId); |
|
||||||
|
|
||||||
String emailAddress = arpaUser.getEmailAddress(); |
|
||||||
String firstName = arpaUser.getName(); |
|
||||||
if ((firstName == null) || (firstName.trim().length() <= 0)) { |
|
||||||
firstName = screenName; |
|
||||||
} |
|
||||||
String middleName = StringPool.BLANK; |
|
||||||
String lastName = arpaUser.getSurname(); |
|
||||||
if ((lastName == null) || (lastName.trim().length() <= 0)) { |
|
||||||
lastName = screenName; |
|
||||||
} |
|
||||||
|
|
||||||
try { |
|
||||||
user = |
|
||||||
UserLocalServiceUtil.addUser(creatorUserId, companyId, autoPassword, password1, password2, |
|
||||||
autoScreenName, screenName, emailAddress, facebookId, openId, locale, firstName, middleName, |
|
||||||
lastName, 0, 0, male, birthdayMonth, birthdayDay, birthdayYear, jobTitle, groupIds, organizationIds, |
|
||||||
roleIds, userGroupIds, sendEmailToUser, serviceContext); |
|
||||||
/* |
|
||||||
* long userId = 0; if (user != null) { userId = user.getUserId(); |
|
||||||
* _log.debug("Updating Password Reset "); |
|
||||||
* UserLocalServiceUtil.updatePasswordReset(userId, false); } if ((user != null) && |
|
||||||
* (!screenName.equals(user.getScreenName()))) { _log.debug("Updating ScreenName from " + |
|
||||||
* user.getScreenName() + " to " + screenName); |
|
||||||
* UserLocalServiceUtil.updateScreenName(userId, screenName); if (_log.isDebugEnabled()) { |
|
||||||
* _log.debug("Updated ScreenName from " + user.getScreenName() + " to " + screenName); } |
|
||||||
* try { user = UserLocalServiceUtil.getUserById(userId); } catch (Exception e) { |
|
||||||
* _log.warn("Error refreshing user after updating screename = " + user.getScreenName()); |
|
||||||
* } } if ((user != null) && (updateAgreedToTermsOfUse) && |
|
||||||
* ((!viewAgreedToTermsOfUseNullEmail) || (!autogeneratedEmail))) { |
|
||||||
* _log.debug("Updating AgreedToTermsOfUse for user " + user.getScreenName()); try { |
|
||||||
* UserLocalServiceUtil.updateAgreedToTermsOfUse(user.getUserId(), true); } catch |
|
||||||
* (Exception e) { if (_log.isWarnEnabled()) { |
|
||||||
* _log.warn("Errror updating AgreedToTermsOfUse for user Id = " + user, e); } } } |
|
||||||
*/ |
|
||||||
_log.info("Ho aggiunto il nuovo utente [" + userScreenName + "]."); |
|
||||||
} catch (Exception e) { |
|
||||||
throw new PortalException("Error Adding user on Liferay", e); |
|
||||||
} |
|
||||||
|
|
||||||
} else { |
|
||||||
_log.warn("The User already Exist, Ignoring add user = " + user); |
|
||||||
} |
|
||||||
} |
|
||||||
return user; |
|
||||||
} |
|
||||||
|
|
||||||
protected User loginUser(long companyId, ArpaUser arpaUser) throws PortalException, SystemException { |
|
||||||
|
|
||||||
String userScreenName = arpaUser.getCf(); |
|
||||||
User user = null; |
|
||||||
if (arpaUser != null) { |
|
||||||
try { |
|
||||||
user = UserLocalServiceUtil.getUserByScreenName(companyId, userScreenName); |
|
||||||
|
|
||||||
_log.info("L'utente [" + userScreenName + "] e' gia' censito."); |
|
||||||
|
|
||||||
} catch (NoSuchUserException ex) { |
|
||||||
boolean authenticateWithEmailAddress = |
|
||||||
PrefsPropsUtil.getBoolean(companyId, "arpa.authenticate.emailaddress", Boolean.valueOf(false)); |
|
||||||
|
|
||||||
if (authenticateWithEmailAddress) { |
|
||||||
String emailAddress = arpaUser.getEmailAddress(); |
|
||||||
if ((emailAddress != null) && (emailAddress.trim().length() > 0)) { |
|
||||||
try { |
|
||||||
_log.info("L'utente [" + userScreenName + "] non e' censito con lo screename, Provo con l'email address."); |
|
||||||
|
|
||||||
user = UserLocalServiceUtil.getUserByEmailAddress(companyId, emailAddress); |
|
||||||
|
|
||||||
_log.info("L'utente [" + userScreenName + "] e' gia' censito con l'indirizzo email " + emailAddress + "."); |
|
||||||
|
|
||||||
} catch (NoSuchUserException ex2) { |
|
||||||
_log.info("L'utente [" + userScreenName + "] non e' censito con l'indirizzo email " + emailAddress + ". "); |
|
||||||
|
|
||||||
} catch (PortalException e) { |
|
||||||
_log.info( |
|
||||||
"L'utente [" + userScreenName + "] non e' censito con l'indirizzo email " + emailAddress + ". ", e); |
|
||||||
} catch (SystemException e) { |
|
||||||
_log.info( |
|
||||||
"L'utente [" + userScreenName + "] non e' censito con l'indirizzo email " + emailAddress + ". ", e); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} else { |
|
||||||
_log.info("L'utente [" + userScreenName |
|
||||||
+ "] non e' censito con lo screename, non provo con l'email address perche' la funzione e' disabilitata."); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
return user; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
protected String[] makeCredentials(User user) { |
|
||||||
|
|
||||||
String[] retval = null; |
|
||||||
if (user != null) { |
|
||||||
retval = new String[3]; |
|
||||||
retval[0] = String.valueOf(user.getUserId()); |
|
||||||
retval[1] = user.getPassword(); |
|
||||||
retval[2] = Boolean.FALSE.toString(); |
|
||||||
} |
|
||||||
|
|
||||||
return retval; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
@Override |
|
||||||
public String[] handleException(HttpServletRequest request, HttpServletResponse response, Exception e) |
|
||||||
throws AutoLoginException { |
|
||||||
|
|
||||||
_log.error(e); |
|
||||||
return null; |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,44 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.version6_2.action; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.events.Action; |
|
||||||
import com.liferay.portal.kernel.events.ActionException; |
|
||||||
import com.liferay.portal.kernel.log.Log; |
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
||||||
|
|
||||||
import it.toscana.regione.arpa.al.util.ArpaUtils; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
import javax.servlet.http.HttpServletResponse; |
|
||||||
import javax.servlet.http.HttpSession; |
|
||||||
|
|
||||||
public abstract class LiferayLogUserAction extends Action { |
|
||||||
|
|
||||||
protected static Log _log = LogFactoryUtil.getLog(LiferayLogUserAction.class); |
|
||||||
|
|
||||||
public abstract String getMessagePre(HttpServletRequest request); |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void run(HttpServletRequest request, HttpServletResponse response) throws ActionException { |
|
||||||
try { |
|
||||||
String remoteInfo = "Host = " + request.getRemoteHost() + ", Port= " + request.getRemotePort(); |
|
||||||
|
|
||||||
_log.debug("Running " + remoteInfo + ", User = " + request.getRemoteUser()); |
|
||||||
|
|
||||||
HttpSession session = request.getSession(); |
|
||||||
if (session != null) { |
|
||||||
String message = |
|
||||||
"[" + getMessagePre(request) + "," + ArpaUtils.getUserInfo(request) + "," |
|
||||||
+ ArpaUtils.getArpaUserInfo(request) + "]"; |
|
||||||
|
|
||||||
|
|
||||||
_log.info(message); |
|
||||||
|
|
||||||
_log.debug("Getting session attribute with key = _ARPA_AUTOLOGIN_AUTHENTICATED"); |
|
||||||
} |
|
||||||
|
|
||||||
} catch (Exception e) { |
|
||||||
_log.error("Error executing operations", e); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
@ -1,44 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.version6_2.action; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.events.ActionException; |
|
||||||
import com.liferay.portal.kernel.events.SessionAction; |
|
||||||
import com.liferay.portal.kernel.log.Log; |
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
||||||
|
|
||||||
import it.toscana.regione.arpa.al.util.ArpaUtils; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpSession; |
|
||||||
|
|
||||||
public class LiferayLogoutSessionAction extends SessionAction { |
|
||||||
|
|
||||||
private static Log _log = LogFactoryUtil.getLog(LiferayLogoutSessionAction.class); |
|
||||||
|
|
||||||
@Override |
|
||||||
public void run(HttpSession session) throws ActionException { |
|
||||||
if (_log.isDebugEnabled()) { |
|
||||||
_log.debug("Called"); |
|
||||||
} |
|
||||||
if (session != null) { |
|
||||||
String userInfo = ArpaUtils.getUserInfo(session); |
|
||||||
if (userInfo != null) { |
|
||||||
if (!ArpaUtils.isLogoutAlreadyCalled(session)) { |
|
||||||
String message = |
|
||||||
"[" + getMessagePre(session) + "," + userInfo + "," + ArpaUtils.getArpaUserInfo(session) + "]"; |
|
||||||
|
|
||||||
_log.info(message); |
|
||||||
} else { |
|
||||||
_log.debug("Do no print message because session invalidation _log is already printed"); |
|
||||||
} |
|
||||||
|
|
||||||
} else |
|
||||||
_log.debug("Do no print message because user is not authenticated"); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
protected String getMessagePre(HttpSession session) { |
|
||||||
return "SessionInvalidated"; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} |
|
@ -1,11 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.version6_2.action; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
|
|
||||||
public class LogLoginPostAction extends LiferayLogUserAction { |
|
||||||
|
|
||||||
@Override |
|
||||||
public String getMessagePre(HttpServletRequest request) { |
|
||||||
return "Login"; |
|
||||||
} |
|
||||||
} |
|
@ -1,21 +0,0 @@ |
|||||||
package it.toscana.regione.arpa.al.version6_2.action; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.events.ActionException; |
|
||||||
|
|
||||||
import it.toscana.regione.arpa.al.util.ArpaUtils; |
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest; |
|
||||||
import javax.servlet.http.HttpServletResponse; |
|
||||||
|
|
||||||
public class LogLogoutPreAction extends LiferayLogUserAction { |
|
||||||
|
|
||||||
public void run(HttpServletRequest request, HttpServletResponse response) throws ActionException { |
|
||||||
super.run(request, response); |
|
||||||
ArpaUtils.markLogoutCalled(request); |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
public String getMessagePre(HttpServletRequest request) { |
|
||||||
return "Logout"; |
|
||||||
} |
|
||||||
} |
|
@ -1,41 +0,0 @@ |
|||||||
|
|
||||||
#Wed Feb 26 17:06:52 CET 2014 |
|
||||||
company.settings.form.authentication=arpa |
|
||||||
#login.form.navigation.pre=arpa |
|
||||||
# Se true vuol dire che il sistema ARPA è attivo |
|
||||||
arpa.auth.enabled = true |
|
||||||
# paramerto da passare per il backurl |
|
||||||
arpa.redirect.url = backurl |
|
||||||
# se true significa che manderà l'indirizzo di back codificato html |
|
||||||
arpa.redirect.encoded = true |
|
||||||
|
|
||||||
######################################################################### |
|
||||||
# # |
|
||||||
# Proprieta' ARPA PLUGIN da settare nel file portal-ext.properties # |
|
||||||
# # |
|
||||||
######################################################################### |
|
||||||
|
|
||||||
#Se true, si salta la verifica dell'agent attribute nella request |
|
||||||
#arpa.function.mode.test=false |
|
||||||
|
|
||||||
#Indica se inviare la mail con password all'utente non registrato che accede con arpa |
|
||||||
#arpa.createuser.emailsend=true |
|
||||||
#Permette al sistema la generazione automatica di un indirizzo email nel caso non fosse presente in Arpa oppure già presente in liferay (default true) |
|
||||||
#arpa.createuser.null.email.autogenerate=true |
|
||||||
#Evita la visualizzazione del messaggio di accettazione delle policy |
|
||||||
#arpa.createuser.agreedToTerms.ignore=true |
|
||||||
|
|
||||||
#Per la versione 6.2 utilizzare questa configurazione |
|
||||||
auto.login.hooks=it.toscana.regione.arpa.al.version6_2.ArpaAutoLogin |
|
||||||
logout.events.pre=it.toscana.regione.arpa.al.version6_2.action.LogLogoutPreAction |
|
||||||
logout.events.post=it.toscana.regione.arpa.al.version6_2.action.LogLoginPostAction |
|
||||||
servlet.session.destroy.events=it.toscana.regione.arpa.al.version6_2.action.LiferayLogoutSessionAction |
|
||||||
|
|
||||||
##OLD properties |
|
||||||
#Indica al modulo di autenticazione dove cercare il file per il mapping dei ruoli |
|
||||||
#arpa.roledecoder.location=liferayMapper.xml |
|
||||||
#Se true, indica al modulo di autenticazione se creare automaticamente il ruolo nel caso non fosse trovato all'interno di Liferay |
|
||||||
#arpa.roledecoder.autocreaterole=true |
|
||||||
#Non permette la modifica via gui dell'attributo screename |
|
||||||
#Indica il nome dell'attributo all'interno della request per verificare se la richiesta e' stata elaborata dall'agent. |
|
||||||
#arpa.agent.attribute.verify=_ARPA_ENFORCED_URL |
|
@ -1,4 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<web-app id="WebApp_ID" version="2.5" 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-app_2_5.xsd"> |
|
||||||
|
|
||||||
</web-app> |
|
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.7 |
|
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
File binario non mostrato.
@ -1 +1 @@ |
|||||||
875e1c4437fb71ef78ec054720f63e50 |
2c267788e15963b22e4e720e12f5611c |
||||||
|
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.7 |
|
File binario non mostrato.
File binario non mostrato.
@ -1,6 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE project> |
|
||||||
|
|
||||||
<project name="PortoTestPlugin-portlet" basedir="." default="deploy"> |
|
||||||
<import file="../build-common-portlet.xml" /> |
|
||||||
</project> |
|
@ -1,3 +0,0 @@ |
|||||||
Manifest-Version: 1.0 |
|
||||||
Class-Path: |
|
||||||
|
|
@ -1,9 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd"> |
|
||||||
|
|
||||||
<display> |
|
||||||
|
|
||||||
<category name="category.sample"> |
|
||||||
<portlet id="test-portos"></portlet> |
|
||||||
</category> |
|
||||||
</display> |
|
@ -1,31 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd"> |
|
||||||
|
|
||||||
<liferay-portlet-app> |
|
||||||
|
|
||||||
<portlet> |
|
||||||
<portlet-name>test-portos</portlet-name> |
|
||||||
<icon>/icon.png</icon> |
|
||||||
<header-portlet-css>/css/main.css</header-portlet-css> |
|
||||||
<footer-portlet-javascript> |
|
||||||
/js/main.js |
|
||||||
</footer-portlet-javascript> |
|
||||||
<css-class-wrapper>test-portos-portlet</css-class-wrapper> |
|
||||||
</portlet> |
|
||||||
<role-mapper> |
|
||||||
<role-name>administrator</role-name> |
|
||||||
<role-link>Administrator</role-link> |
|
||||||
</role-mapper> |
|
||||||
<role-mapper> |
|
||||||
<role-name>guest</role-name> |
|
||||||
<role-link>Guest</role-link> |
|
||||||
</role-mapper> |
|
||||||
<role-mapper> |
|
||||||
<role-name>power-user</role-name> |
|
||||||
<role-link>Power User</role-link> |
|
||||||
</role-mapper> |
|
||||||
<role-mapper> |
|
||||||
<role-name>user</role-name> |
|
||||||
<role-link>User</role-link> |
|
||||||
</role-mapper> |
|
||||||
</liferay-portlet-app> |
|
@ -1,38 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
|
|
||||||
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0"> |
|
||||||
|
|
||||||
<portlet> |
|
||||||
<portlet-name>test-portos</portlet-name> |
|
||||||
<display-name>Test Portos</display-name> |
|
||||||
<portlet-class> |
|
||||||
it.tref.liferay.portos.plugin.TestPortosPortlet |
|
||||||
</portlet-class> |
|
||||||
<init-param> |
|
||||||
<name>view-template</name> |
|
||||||
<value>/html/testportos/view.jsp</value> |
|
||||||
</init-param> |
|
||||||
<expiration-cache>0</expiration-cache> |
|
||||||
<supports> |
|
||||||
<mime-type>text/html</mime-type> |
|
||||||
<portlet-mode>view</portlet-mode> |
|
||||||
</supports> |
|
||||||
<portlet-info> |
|
||||||
<title>Test Portos</title> |
|
||||||
<short-title>Test Portos</short-title> |
|
||||||
<keywords></keywords> |
|
||||||
</portlet-info> |
|
||||||
<security-role-ref> |
|
||||||
<role-name>administrator</role-name> |
|
||||||
</security-role-ref> |
|
||||||
<security-role-ref> |
|
||||||
<role-name>guest</role-name> |
|
||||||
</security-role-ref> |
|
||||||
<security-role-ref> |
|
||||||
<role-name>power-user</role-name> |
|
||||||
</security-role-ref> |
|
||||||
<security-role-ref> |
|
||||||
<role-name>user</role-name> |
|
||||||
</security-role-ref> |
|
||||||
</portlet> |
|
||||||
</portlet-app> |
|
@ -1,99 +0,0 @@ |
|||||||
package it.tref.liferay.portos.plugin; |
|
||||||
|
|
||||||
import it.tref.liferay.portos.bo.model.ControlloPratica; |
|
||||||
import it.tref.liferay.portos.bo.model.IntPratica; |
|
||||||
import it.tref.liferay.portos.bo.service.ClpSerializer; |
|
||||||
import it.tref.liferay.portos.bo.service.ControlloPraticaLocalServiceUtil; |
|
||||||
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; |
|
||||||
|
|
||||||
import java.util.List; |
|
||||||
|
|
||||||
import javax.portlet.ActionRequest; |
|
||||||
import javax.portlet.ActionResponse; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; |
|
||||||
import com.liferay.portal.kernel.dao.orm.DynamicQuery; |
|
||||||
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; |
|
||||||
import com.liferay.portal.kernel.dao.orm.QueryUtil; |
|
||||||
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; |
|
||||||
import com.liferay.portal.kernel.exception.PortalException; |
|
||||||
import com.liferay.portal.kernel.exception.SystemException; |
|
||||||
import com.liferay.portal.kernel.log.Log; |
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
||||||
import com.liferay.portal.kernel.search.Indexer; |
|
||||||
import com.liferay.portal.kernel.search.IndexerRegistryUtil; |
|
||||||
import com.liferay.portal.kernel.util.ParamUtil; |
|
||||||
import com.liferay.portal.kernel.util.WebKeys; |
|
||||||
import com.liferay.portal.theme.ThemeDisplay; |
|
||||||
import com.liferay.util.bridges.mvc.MVCPortlet; |
|
||||||
|
|
||||||
/** |
|
||||||
* Portlet implementation class TestPortosPortlet |
|
||||||
*/ |
|
||||||
public class TestPortosPortlet extends MVCPortlet { |
|
||||||
private static final Log _log = LogFactoryUtil.getLog(TestPortosPortlet.class); |
|
||||||
|
|
||||||
public void reIndexFasciolo(ActionRequest actionRequest, ActionResponse actionResponse) { |
|
||||||
|
|
||||||
|
|
||||||
try { |
|
||||||
|
|
||||||
ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY); |
|
||||||
long intPraticaId = ParamUtil.getLong(actionRequest, "intPraticaId"); |
|
||||||
|
|
||||||
Indexer intIndexer = IndexerRegistryUtil.getIndexer(IntPratica.class); |
|
||||||
Indexer controlloIndexer = IndexerRegistryUtil.getIndexer(ControlloPratica.class); |
|
||||||
|
|
||||||
IntPratica intPratica = IntPraticaLocalServiceUtil.fetchIntPratica(intPraticaId); |
|
||||||
|
|
||||||
if (intPratica != null) { |
|
||||||
|
|
||||||
intIndexer.delete(themeDisplay.getCompanyId(), intPratica.getUuid()); |
|
||||||
intIndexer.reindex(IntPratica.class.getName(), intPratica.getIntPraticaId()); |
|
||||||
|
|
||||||
ClassLoader classLoader = |
|
||||||
(ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader"); |
|
||||||
|
|
||||||
DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(ControlloPratica.class, classLoader); |
|
||||||
queryCP.add(RestrictionsFactoryUtil.eq("intPraticaId", intPratica.getIntPraticaId())); |
|
||||||
|
|
||||||
List<ControlloPratica> appList = |
|
||||||
ControlloPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS); |
|
||||||
|
|
||||||
if (appList != null && !appList.isEmpty()) { |
|
||||||
for (ControlloPratica controlloPratica : appList) { |
|
||||||
controlloIndexer.delete(themeDisplay.getCompanyId(),controlloPratica.getUuid()); |
|
||||||
controlloIndexer.reindex(ControlloPratica.class.getName(),controlloPratica.getControlloPraticaId()); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
} catch (PortalException | SystemException e) { |
|
||||||
_log.error(e,e); |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} |
|
||||||
|
|
||||||
public void updateCollaudoStatico(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException { |
|
||||||
|
|
||||||
// ClassLoader classLoader =
|
|
||||||
// (ClassLoader) PortletBeanLocatorUtil.locate(ClpSerializer.getServletContextName(), "portletClassLoader");
|
|
||||||
//
|
|
||||||
// DynamicQuery queryCP = DynamicQueryFactoryUtil.forClass(DettPratica.class, classLoader);
|
|
||||||
// queryCP.add(RestrictionsFactoryUtil.ne("oldDettPraticaId", 0L));
|
|
||||||
//
|
|
||||||
// List<DettPratica> lista = DettPraticaLocalServiceUtil.dynamicQuery(queryCP, QueryUtil.ALL_POS, QueryUtil.ALL_POS);
|
|
||||||
// for (DettPratica dettPratica : lista) {
|
|
||||||
//
|
|
||||||
// dettPratica.setCollaudoStatico(!dettPratica.getCollaudoStatico());
|
|
||||||
// DettPraticaLocalServiceUtil.updateDettPratica(dettPratica);
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
} |
|
||||||
|
|
||||||
public void testActionUrl(ActionRequest actionRequest, ActionResponse actionResponse) { |
|
||||||
System.out.println(ParamUtil.getString(actionRequest, "pagamentoId")); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
@ -1,3 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<web-app id="WebApp_ID" version="2.5" 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-app_2_5.xsd"> |
|
||||||
</web-app> |
|
@ -1,12 +0,0 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> |
|
||||||
|
|
||||||
|
|
||||||
<liferay-theme:defineObjects /> |
|
||||||
<portlet:defineObjects /> |
|
@ -1,62 +0,0 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%> |
|
||||||
<%@include file="init.jsp"%> |
|
||||||
|
|
||||||
<% |
|
||||||
long pagamentoId = ParamUtil.getLong(request, "pagamentoId", 0L); |
|
||||||
String dialogId = "testPopupIdUnique"; |
|
||||||
String portletNameApp = "#p_p_id_"+ themeDisplay.getPortletDisplay().getId() +"_"; |
|
||||||
%> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL name="testActionUrl" var="testActionUrlURL"> |
|
||||||
<portlet:param name="pagamentoId" value='<%=pagamentoId + "" %>'/> |
|
||||||
</liferay-portlet:actionURL> |
|
||||||
|
|
||||||
|
|
||||||
<aui:form action="<%=testActionUrlURL %>" method="POST"> |
|
||||||
<div class="container-fluid"> |
|
||||||
<div class="row"> |
|
||||||
<div class="col-sm-12 col-md-12"> |
|
||||||
<span style="font-weight: bold;font-size:18px;">Si è sicuri di voler rigenerare il pagamento? Questa azione sarà irreversibile!</span> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<div class="row" style="margin-top:20px;"> |
|
||||||
<div class="col-sm-6 col-md-6" style="width:50%;float: left;"> |
|
||||||
<aui:button |
|
||||||
name="submitFormRigeneraPagamento" |
|
||||||
type="submit" cssClass="btn btn-info" value="Chiudi" |
|
||||||
style=" font-size:12px;" |
|
||||||
onClick='<%=renderResponse.getNamespace()+"closePopup()"%>' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
<div class="col-sm-6 col-md-6" style="width:50%;float: left;"> |
|
||||||
<aui:button name="submitFormRigeneraPagamento" |
|
||||||
type="submit" cssClass="btn btn-danger" value="Rigenera Pagamento" |
|
||||||
style=" font-size:12px;" |
|
||||||
onClick='<%=renderResponse.getNamespace()+"closePopup()"%>' |
|
||||||
/> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
|
|
||||||
</aui:form> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<aui:script use="aui-base"> |
|
||||||
Liferay.provide( |
|
||||||
window, |
|
||||||
'<portlet:namespace/>closePopup', |
|
||||||
function() { |
|
||||||
|
|
||||||
Liferay.Util.getOpener().refreshPortlet(); |
|
||||||
Liferay.Util.getOpener().closePopup('<%= dialogId %>'); |
|
||||||
|
|
||||||
}, |
|
||||||
['aui-base','liferay-util-window'] |
|
||||||
); |
|
||||||
</aui:script> |
|
@ -1,115 +0,0 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> |
|
||||||
<%@include file="init.jsp"%> |
|
||||||
|
|
||||||
<hr style="margin:20px;" /> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL name="reIndexFasciolo" var="reIndexFascioloURL" /> |
|
||||||
<div class="row-fluid" style="margin-top:20px;"> |
|
||||||
<div class="span12"> |
|
||||||
<div style="font-weight: bold; font-size:18px; margin-bottom: 10px;">Form per reindicizzare un fascicolo</div> |
|
||||||
<aui:form action="<%=reIndexFascioloURL %>" method="post" name="fm1"> |
|
||||||
<div> |
|
||||||
<aui:input name="intPraticaId" label="IntPraticaId" > |
|
||||||
<aui:validator name="number"/> |
|
||||||
</aui:input> |
|
||||||
<aui:button type="submit" value="Reindicizza Fascicolo" /> |
|
||||||
</div> |
|
||||||
</aui:form> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
<hr style="margin:20px;" /> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL name="updateCollaudoStatico" var="updateCollaudoStaticoURL" /> |
|
||||||
<div class="row-fluid" style="margin-top:20px;"> |
|
||||||
<div class="span12"> |
|
||||||
<div style="font-weight: bold; font-size:18px; margin-bottom: 10px;">Corregge le DettPratica: Va premuto solo una volta!!!!</div> |
|
||||||
<aui:form action="<%=updateCollaudoStaticoURL %>" method="post" name="fm1"> |
|
||||||
<div> |
|
||||||
|
|
||||||
<aui:button type="submit" value="RIPARA DettPratica" /> |
|
||||||
</div> |
|
||||||
</aui:form> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
|
||||||
|
|
||||||
<portlet:actionURL name="testActionUrl" var="testActionUrlURL"> |
|
||||||
<portlet:param name="testParam" value="testParamValue" /> |
|
||||||
</portlet:actionURL> |
|
||||||
|
|
||||||
|
|
||||||
<portlet:renderURL var="popupURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" > |
|
||||||
<portlet:param name="mvcPath" value="/html/testportos/rigenera_pagamento.jsp"/> |
|
||||||
<portlet:param name="pagamentoId" value="12200" /> |
|
||||||
</portlet:renderURL> |
|
||||||
|
|
||||||
<aui:button useDialog="true" id='rigeneraPagamento_a' icon="fa fa-plus" href="<%=popupURL%>" cssClass="btn btn-primary btn-action"/> |
|
||||||
|
|
||||||
|
|
||||||
<a href="#" id="<portlet:namespace/>showPopup"> |
|
||||||
<span class="edit-mode-addportlet"> </span> |
|
||||||
<liferay-ui:message key='add-content-element' /> |
|
||||||
</a> |
|
||||||
|
|
||||||
<script type="text/javascript"> |
|
||||||
|
|
||||||
AUI().ready('aui-node', function(A) { |
|
||||||
A.one('#<portlet:namespace/>showPopup').on('click', function(e) { |
|
||||||
Liferay.Util.openWindow( |
|
||||||
{ |
|
||||||
dialog: { |
|
||||||
modal: true, |
|
||||||
cache: false, |
|
||||||
centered: true, |
|
||||||
resizable: false, |
|
||||||
destroyOnClose: true, |
|
||||||
width: 500, |
|
||||||
height: 250 |
|
||||||
}, |
|
||||||
id: 'testPopupIdUnique', |
|
||||||
title: 'Rigenera Pagamento', |
|
||||||
uri: '<%=popupURL%>' |
|
||||||
} |
|
||||||
); |
|
||||||
|
|
||||||
}); |
|
||||||
|
|
||||||
Liferay.provide(window,'closePopup', |
|
||||||
function(popupIdToClose) { |
|
||||||
var dialog = Liferay.Util.getWindow(popupIdToClose); |
|
||||||
dialog.destroy(); // You can try toggle/hide whatever You want |
|
||||||
}, |
|
||||||
['aui-base','aui-dialog','aui-dialog-iframe'] |
|
||||||
); |
|
||||||
}); |
|
||||||
|
|
||||||
</script> |
|
||||||
|
|
||||||
<aui:script> |
|
||||||
Liferay.provide(window, 'refreshPortlet', function() { |
|
||||||
var curPortlet = '#p_p_id<portlet:namespace/>'; |
|
||||||
Liferay.Portlet.refresh(curPortlet); |
|
||||||
}, |
|
||||||
['aui-dialog','aui-dialog-iframe'] |
|
||||||
); |
|
||||||
</aui:script> |
|
||||||
|
|
||||||
<aui:script> |
|
||||||
Liferay.provide(window, 'closePopup', function(dialogId) { |
|
||||||
var A = AUI(); |
|
||||||
var dialog = Liferay.Util.Window.getById(dialogId); |
|
||||||
dialog.destroy(); |
|
||||||
}, |
|
||||||
['liferay-util-window'] |
|
||||||
); |
|
||||||
</aui:script> |
|
||||||
|
|
||||||
|
|
||||||
<div title="Rigenera Pagamento" class="tooltip-info"> |
|
||||||
<liferay-ui:icon id='<%="rigeneraPagamento_"%>' linkCssClass="btn btn-danger" iconCssClass="fa fa-trash" message="Rigenera Pagamento" url="javascript:void(0)"/> |
|
||||||
</div> |
|
||||||
|
|
||||||
<liferay-ui:icon-delete message="return" url="<%= testActionUrlURL %>"/> |
|
||||||
|
|
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.7 |
|
@ -0,0 +1 @@ |
|||||||
|
{"ide":{"scriptPaths":[]},"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"]} |
@ -0,0 +1 @@ |
|||||||
|
/classes/ |
@ -1 +1 @@ |
|||||||
3ae4ba23d25ab17dd579df162025fd7e |
987c468ab803b131a7ff0c2ece8911b3 |
||||||
|
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.7 |
|
@ -0,0 +1 @@ |
|||||||
|
/classes/ |
@ -1,36 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<projectDescription> |
|
||||||
<name>portos-autodestroy-portlet</name> |
|
||||||
<comment></comment> |
|
||||||
<projects> |
|
||||||
</projects> |
|
||||||
<buildSpec> |
|
||||||
<buildCommand> |
|
||||||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name> |
|
||||||
<arguments> |
|
||||||
</arguments> |
|
||||||
</buildCommand> |
|
||||||
<buildCommand> |
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name> |
|
||||||
<arguments> |
|
||||||
</arguments> |
|
||||||
</buildCommand> |
|
||||||
<buildCommand> |
|
||||||
<name>org.eclipse.wst.common.project.facet.core.builder</name> |
|
||||||
<arguments> |
|
||||||
</arguments> |
|
||||||
</buildCommand> |
|
||||||
<buildCommand> |
|
||||||
<name>org.eclipse.wst.validation.validationbuilder</name> |
|
||||||
<arguments> |
|
||||||
</arguments> |
|
||||||
</buildCommand> |
|
||||||
</buildSpec> |
|
||||||
<natures> |
|
||||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> |
|
||||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> |
|
||||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature> |
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature> |
|
||||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature> |
|
||||||
</natures> |
|
||||||
</projectDescription> |
|
@ -1,12 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<classpath> |
|
||||||
<classpathentry kind="src" path="docroot"/> |
|
||||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> |
|
||||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"> |
|
||||||
<attributes> |
|
||||||
<attribute name="hide" value="true"/> |
|
||||||
</attributes> |
|
||||||
</classpathentry> |
|
||||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/> |
|
||||||
<classpathentry kind="output" path=""/> |
|
||||||
</classpath> |
|
@ -1,7 +0,0 @@ |
|||||||
eclipse.preferences.version=1 |
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 |
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.8 |
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
|
||||||
org.eclipse.jdt.core.compiler.source=1.8 |
|
@ -1 +0,0 @@ |
|||||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary |
|
@ -1 +0,0 @@ |
|||||||
Window |
|
@ -1,6 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE project> |
|
||||||
|
|
||||||
<project name="portos-autodestroy-portlet" basedir="." default="deploy"> |
|
||||||
<import file="../build-common-portlet.xml" /> |
|
||||||
</project> |
|
@ -1,3 +0,0 @@ |
|||||||
Manifest-Version: 1.0 |
|
||||||
Class-Path: |
|
||||||
|
|
@ -1,13 +0,0 @@ |
|||||||
name=Portos Autodestroy Portos |
|
||||||
module-group-id=liferay |
|
||||||
module-incremental-version=1 |
|
||||||
tags= |
|
||||||
short-description= |
|
||||||
long-description= |
|
||||||
change-log= |
|
||||||
page-url=http://www.liferay.com |
|
||||||
author=Liferay, Inc. |
|
||||||
licenses=LGPL |
|
||||||
liferay-versions=6.2.0+ |
|
||||||
required-deployment-contexts=\ |
|
||||||
portos-bo-portlet |
|
@ -1,32 +0,0 @@ |
|||||||
package it.tref.liferay.portos.autodestroy.portlet; |
|
||||||
|
|
||||||
import it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil; |
|
||||||
|
|
||||||
import javax.portlet.ActionRequest; |
|
||||||
import javax.portlet.ActionResponse; |
|
||||||
|
|
||||||
import com.liferay.portal.kernel.cache.CacheRegistryUtil; |
|
||||||
import com.liferay.portal.kernel.log.Log; |
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
||||||
import com.liferay.portal.kernel.servlet.SessionErrors; |
|
||||||
import com.liferay.util.bridges.mvc.MVCPortlet; |
|
||||||
|
|
||||||
/** |
|
||||||
* Portlet implementation class AutoDestroyPortlet |
|
||||||
*/ |
|
||||||
public class AutoDestroyPortlet extends MVCPortlet { |
|
||||||
|
|
||||||
private static Log _log = LogFactoryUtil.getLog(AutoDestroyPortlet.class.getName()); |
|
||||||
|
|
||||||
public void autoDestroy(ActionRequest actionRequest, ActionResponse actionResponse) { |
|
||||||
|
|
||||||
try { |
|
||||||
IntPraticaLocalServiceUtil.clearDb(); |
|
||||||
CacheRegistryUtil.clear(); |
|
||||||
} catch (Exception e) { |
|
||||||
SessionErrors.add(actionRequest, "errore"); |
|
||||||
_log.error(e, e); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
File diff soppresso perché troppo grande
Load Diff
@ -1,538 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
|
||||||
|
|
||||||
<taglib> |
|
||||||
<tlib-version>1.0</tlib-version> |
|
||||||
<jsp-version>1.1</jsp-version> |
|
||||||
<short-name>liferay-portlet</short-name> |
|
||||||
<uri>http://liferay.com/tld/portlet</uri> |
|
||||||
|
|
||||||
<!-- |
|
||||||
liferay-portlet:actionURL is similar to portlet:actionURL except it has the |
|
||||||
additional attributes plid, portletName, anchor, and encrypt. |
|
||||||
|
|
||||||
Set varImpl to set the PortletURL object. This gives you an object reference |
|
||||||
to the underlying URL implementation. |
|
||||||
|
|
||||||
Set plid to the plid of another layout. This allows you to post the URL to |
|
||||||
another layout. |
|
||||||
|
|
||||||
Set portletName to the name of a portlet other than the current portlet. |
|
||||||
This allows you to post the URL to another portlet. |
|
||||||
|
|
||||||
Set anchor to false if you do not want the page to refresh and anchor to the |
|
||||||
current portlet. |
|
||||||
|
|
||||||
Set encrypt to true if you want to encrypt all the parameter values. |
|
||||||
|
|
||||||
Set doAsUserId to process this URL as if it is accessed by the specified |
|
||||||
user. |
|
||||||
|
|
||||||
Set portletConfiguration to true if you want to pass the parameters needed |
|
||||||
when you are accessing a portlet that is wrapped by the Portlet |
|
||||||
Configuration portlet. |
|
||||||
--> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<name>actionURL</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>allowEmptyParam</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>anchor</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>copyCurrentRenderParameters</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>doAsGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>doAsUserId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>encrypt</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>plid</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletConfiguration</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletMode</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletName</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>refererGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>refererPlid</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>secure</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>varImpl</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>windowState</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-back</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconBackTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-close</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconCloseTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-configuration</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconConfigurationTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-edit</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconEditTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-edit-defaults</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconEditDefaultsTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-edit-guest</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconEditGuestTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-export-import</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconExportImportTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-help</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconHelpTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-maximize</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconMaximizeTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-minimize</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconMinimizeTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-options</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconOptionsTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-portlet</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconPortletTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>ariaRole</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>id</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>label</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portlet</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>url</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-portlet-css</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconPortletCssTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-print</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconPrintTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>icon-refresh</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.IconRefreshTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>param</name> |
|
||||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>preview</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.PreviewTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>portletName</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>queryString</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>showBorders</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>width</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<!-- |
|
||||||
liferay-portlet:renderURL is similar to portlet:renderURL except it has the |
|
||||||
additional attributes plid, portletName, anchor, and encrypt. |
|
||||||
|
|
||||||
Set varImpl to set the PortletURL object. This gives you an object reference |
|
||||||
to the underlying URL implementation. |
|
||||||
|
|
||||||
Set plid to the plid of another layout. This allows you to post the URL to |
|
||||||
another layout. |
|
||||||
|
|
||||||
Set portletName to the name of a portlet other than the current portlet. |
|
||||||
This allows you to post the URL to another portlet. |
|
||||||
|
|
||||||
Set anchor to false if you do not want the page to refresh and anchor to the |
|
||||||
current portlet. |
|
||||||
|
|
||||||
Set encrypt to true if you want to encrypt all the parameter values. |
|
||||||
|
|
||||||
Set doAsUserId to process this URL as if it is accessed by the specified |
|
||||||
user. |
|
||||||
|
|
||||||
Set portletConfiguration to true if you want to pass the parameters needed |
|
||||||
when you are accessing a portlet that is wrapped by the Portlet |
|
||||||
Configuration portlet. |
|
||||||
--> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<name>renderURL</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>allowEmptyParam</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>anchor</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>copyCurrentRenderParameters</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>doAsGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>doAsUserId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>encrypt</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>plid</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletConfiguration</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletMode</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletName</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>refererGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>refererPlid</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>secure</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>varImpl</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>windowState</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>renderURLParams</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.RenderURLParamsTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>varImpl</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
|
|
||||||
<!-- |
|
||||||
liferay-portlet:resourceURL is similar to portlet:resourceURL except it has |
|
||||||
the additional attributes plid, portletName, anchor, and encrypt. |
|
||||||
|
|
||||||
Set varImpl to set the PortletURL object. This gives you an object reference |
|
||||||
to the underlying URL implementation. |
|
||||||
|
|
||||||
Set plid to the plid of another layout. This allows you to post the URL to |
|
||||||
another layout. |
|
||||||
|
|
||||||
Set portletName to the name of a portlet other than the current portlet. |
|
||||||
This allows you to post the URL to another portlet. |
|
||||||
|
|
||||||
Set anchor to false if you do not want the page to refresh and anchor to the |
|
||||||
current portlet. |
|
||||||
|
|
||||||
Set encrypt to true if you want to encrypt all the parameter values. |
|
||||||
|
|
||||||
Set doAsUserId to process this URL as if it is accessed by the specified |
|
||||||
user. |
|
||||||
|
|
||||||
Set portletConfiguration to true if you want to pass the parameters needed |
|
||||||
when you are accessing a portlet that is wrapped by the Portlet |
|
||||||
Configuration portlet. |
|
||||||
--> |
|
||||||
|
|
||||||
<tag> |
|
||||||
<name>resourceURL</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>anchor</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>copyCurrentRenderParameters</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>doAsGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>doAsUserId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>encrypt</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>id</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>plid</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletConfiguration</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletMode</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletName</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>refererGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>refererPlid</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>secure</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>varImpl</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>windowState</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>runtime</name> |
|
||||||
<tag-class>com.liferay.taglib.portletext.RuntimeTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>defaultPreferences</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletName</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>queryString</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
</taglib> |
|
@ -1,158 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
|
||||||
|
|
||||||
<taglib> |
|
||||||
<tlib-version>1.0</tlib-version> |
|
||||||
<jsp-version>1.1</jsp-version> |
|
||||||
<short-name>portlet</short-name> |
|
||||||
<uri>http://java.sun.com/portlet</uri> |
|
||||||
<tag> |
|
||||||
<name>actionURL</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.ActionURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.ActionURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>copyCurrentRenderParameters</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletMode</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>secure</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>windowState</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>defineObjects</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.DefineObjectsTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.DefineObjectsTei</tei-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>namespace</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.NamespaceTag</tag-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>param</name> |
|
||||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>property</name> |
|
||||||
<tag-class>com.liferay.taglib.util.PropertyTag</tag-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>renderURL</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.RenderURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.RenderURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>copyCurrentRenderParameters</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletMode</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>secure</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>windowState</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>resourceURL</name> |
|
||||||
<tag-class>com.liferay.taglib.portlet.ResourceURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.portlet.ResourceURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>cacheability</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>escapeXml</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>id</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>secure</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
</taglib> |
|
@ -1,106 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
|
||||||
|
|
||||||
<taglib> |
|
||||||
<tlib-version>1.0</tlib-version> |
|
||||||
<jsp-version>1.1</jsp-version> |
|
||||||
<short-name>liferay-security</short-name> |
|
||||||
<uri>http://liferay.com/tld/security</uri> |
|
||||||
<tag> |
|
||||||
<name>doAsURL</name> |
|
||||||
<tag-class>com.liferay.taglib.security.DoAsURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.security.DoAsURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>doAsUserId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>encrypt</name> |
|
||||||
<tag-class>com.liferay.taglib.security.EncryptTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>className</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>protocol</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>style</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>target</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>unencryptedParams</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>url</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>permissionsURL</name> |
|
||||||
<tag-class>com.liferay.taglib.security.PermissionsURLTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.security.PermissionsURLTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>modelResource</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>modelResourceDescription</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>redirect</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>resourceGroupId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>resourcePrimKey</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>roleTypes</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>windowState</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
</taglib> |
|
@ -1,65 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
|
||||||
|
|
||||||
<taglib> |
|
||||||
<tlib-version>1.0</tlib-version> |
|
||||||
<jsp-version>1.1</jsp-version> |
|
||||||
<short-name>theme</short-name> |
|
||||||
<uri>http://liferay.com/tld/theme</uri> |
|
||||||
<tag> |
|
||||||
<name>defineObjects</name> |
|
||||||
<tag-class>com.liferay.taglib.theme.DefineObjectsTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.theme.DefineObjectsTei</tei-class> |
|
||||||
<body-content>empty</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>include</name> |
|
||||||
<tag-class>com.liferay.taglib.theme.IncludeTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>page</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>layout-icon</name> |
|
||||||
<tag-class>com.liferay.taglib.theme.LayoutIconTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>layout</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>meta-tags</name> |
|
||||||
<tag-class>com.liferay.taglib.theme.MetaTagsTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>param</name> |
|
||||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>wrap-portlet</name> |
|
||||||
<tag-class>com.liferay.taglib.theme.WrapPortletTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>page</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
</taglib> |
|
File diff soppresso perché troppo grande
Load Diff
@ -1,141 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> |
|
||||||
|
|
||||||
<taglib> |
|
||||||
<tlib-version>1.2</tlib-version> |
|
||||||
<jsp-version>1.1</jsp-version> |
|
||||||
<short-name>liferay-util</short-name> |
|
||||||
<uri>http://liferay.com/tld/util</uri> |
|
||||||
<tag> |
|
||||||
<name>body-bottom</name> |
|
||||||
<tag-class>com.liferay.taglib.util.BodyBottomTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>outputKey</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>body-top</name> |
|
||||||
<tag-class>com.liferay.taglib.util.BodyTopTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>outputKey</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>buffer</name> |
|
||||||
<tag-class>com.liferay.taglib.util.BufferTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.util.BufferTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>get-url</name> |
|
||||||
<tag-class>com.liferay.taglib.util.GetUrlTag</tag-class> |
|
||||||
<tei-class>com.liferay.taglib.util.GetUrlTei</tei-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>expires</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>url</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>var</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>html-bottom</name> |
|
||||||
<tag-class>com.liferay.taglib.util.HtmlBottomTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>outputKey</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>position</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>html-top</name> |
|
||||||
<tag-class>com.liferay.taglib.util.HtmlTopTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>outputKey</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>position</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>include</name> |
|
||||||
<tag-class>com.liferay.taglib.util.IncludeTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>page</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>portletId</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>servletContext</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>strict</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>useCustomPage</name> |
|
||||||
<required>false</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>param</name> |
|
||||||
<tag-class>com.liferay.taglib.util.ParamTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
<attribute> |
|
||||||
<name>name</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
<attribute> |
|
||||||
<name>value</name> |
|
||||||
<required>true</required> |
|
||||||
<rtexprvalue>true</rtexprvalue> |
|
||||||
</attribute> |
|
||||||
</tag> |
|
||||||
<tag> |
|
||||||
<name>whitespace-remover</name> |
|
||||||
<tag-class>com.liferay.taglib.util.WhitespaceRemoverTag</tag-class> |
|
||||||
<body-content>JSP</body-content> |
|
||||||
</tag> |
|
||||||
</taglib> |
|
@ -1,2 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"/> |
|
@ -1,66 +0,0 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
|
|
||||||
<%@page import="java.text.Format"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.FastDateFormatFactoryUtil"%> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.StringUtil"%> |
|
||||||
<%@page import="java.util.Arrays"%> |
|
||||||
<%@page import="javax.portlet.WindowState"%> |
|
||||||
<%@page import="javax.portlet.PortletMode"%> |
|
||||||
|
|
||||||
<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> |
|
||||||
|
|
||||||
<%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> |
|
||||||
<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %> |
|
||||||
|
|
||||||
<%@page import="com.liferay.portal.kernel.dao.search.ResultRow" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.template.TemplateHandler" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.template.TemplateHandlerRegistryUtil" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.GetterUtil" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.ParamUtil" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.StringPool" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.WebKeys" %> |
|
||||||
<%@page import="com.liferay.portal.kernel.util.TextFormatter" %> |
|
||||||
<%@page import="com.liferay.portal.model.Group" %> |
|
||||||
<%@page import="com.liferay.portlet.portletdisplaytemplate.util.PortletDisplayTemplateUtil" %> |
|
||||||
<%@page import="com.liferay.portal.theme.ThemeDisplay" %> |
|
||||||
<%@page import="com.liferay.portal.util.PortalUtil" %> |
|
||||||
<%@ page import="com.liferay.portlet.PortletPreferencesFactoryUtil" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.util.Validator" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.language.LanguageUtil" %> |
|
||||||
|
|
||||||
<%@ page import="javax.portlet.PortletPreferences" %> |
|
||||||
|
|
||||||
|
|
||||||
<%@page import="java.text.SimpleDateFormat" %> |
|
||||||
<%@page import="java.util.List" %> |
|
||||||
|
|
||||||
|
|
||||||
<%@ page import="com.liferay.portal.kernel.dao.orm.QueryUtil" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.dao.search.DisplayTerms" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.dao.search.ResultRow" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.dao.search.RowChecker" %> |
|
||||||
|
|
||||||
<%@ page import="com.liferay.portal.kernel.dao.search.SearchContainer" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.util.OrderByComparator" %> |
|
||||||
<%@ page import="com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil" %> |
|
||||||
|
|
||||||
|
|
||||||
<liferay-theme:defineObjects /> |
|
||||||
|
|
||||||
<portlet:defineObjects /> |
|
||||||
|
|
||||||
|
|
||||||
<% |
|
||||||
Format dateFormatDate = FastDateFormatFactoryUtil.getDate(locale, timeZone); |
|
||||||
Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone); |
|
||||||
WindowState windowState = renderRequest.getWindowState(); |
|
||||||
PortletMode portletMode = renderRequest.getPortletMode(); |
|
||||||
|
|
||||||
String currentURL = PortalUtil.getCurrentURL(liferayPortletRequest); |
|
||||||
|
|
||||||
|
|
||||||
%> |
|
@ -1,11 +0,0 @@ |
|||||||
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
||||||
<%@include file="/html/autodestroy/init.jsp" %> |
|
||||||
|
|
||||||
<liferay-portlet:actionURL var="autoDestroyURL" name="autoDestroy"> |
|
||||||
<liferay-portlet:param name="redirect" value="<%=currentURL %>"/> |
|
||||||
</liferay-portlet:actionURL> |
|
||||||
|
|
||||||
|
|
||||||
<button class=" img-circle" style="background-color: red;width: 200px; height: 200px;color: white;font-weight: bold;font-size: 24px;" onclick="javascript:location.href='<%=autoDestroyURL%>'">DON'T PRESS</button> |
|
||||||
|
|
||||||
|
|
Prima Larghezza: | Altezza: | Dimensione: 467 B |
@ -1,15 +0,0 @@ |
|||||||
<?xml version="1.0"?> |
|
||||||
|
|
||||||
<arquillian |
|
||||||
xmlns="http://jboss.org/schema/arquillian" |
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
||||||
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd" |
|
||||||
> |
|
||||||
<container default="true" qualifier="tomcat"> |
|
||||||
<configuration> |
|
||||||
<property name="jmxPort">8099</property> |
|
||||||
<property name="pass">tomcat</property> |
|
||||||
<property name="user">tomcat</property> |
|
||||||
</configuration> |
|
||||||
</container> |
|
||||||
</arquillian> |
|
Some files were not shown because too many files have changed in this diff Show More
Caricamento…
Reference in new issue