First Commit from Source Code Reply

This commit is contained in:
vincenzofariello
2024-05-09 17:40:24 +02:00
parent 11e3b57c5b
commit 107a016cb9
35225 changed files with 1111346 additions and 1 deletions

View File

@@ -0,0 +1,190 @@
# content/risultatoRicerca.jsp
# ----------------------------------
label_causaleRifiutoPitagora=Causale rifiuto pitagora
label_causaleRifiutoOlo=Causale Rifiuto Olo
label_codiceOlo=Codice OLO
label_stato=Stato
label_header_risultatoOperazione=Risultato Operazione
label_header_listaRichieste=Elenco Richieste
label_header_listaRichiesteDuplicate=Elenco Richieste Duplicate
# ----------------------------------
# content/dettaglioRichiesta,jsp
label_tipoRichiesta=Tipo richiesta
label_idEsigenza=Id Esigenza
label_piattaformaCrm=Piattaforma CRM
label_numeroTelefono=Numero di telefono
label_marcaggio=Marcaggio
label_dataRicezioneRichiesta=Data ricezione richiesta
label_dataRicezioneAccettato=Data ricezione accettato
label_dataInvioOlo=Data invio ad OLO
label_dac=DAC
label_codiceSessione=Codice sessione
label_dataInvioPitagora=Data invio Pitagora
label_nomeFilePitagora=Nome file Pitagora
label_nomeFileOLO=Nome file OLO
label_cor=COR
label_cos=COS
label_Piva=CodFisc/P.Iva
label_numTentativiRiciclo=Numero tentativi di riciclo
label_dataRicezioneKO=Data ricezione KO
label_causaleReinvio=causale KO di reinvio
label_idCorrelazione=ID Correlazione
label_flDichiarazioneA375=Flag Dichiarazione A375
label_flGnr=Flag GNR
label_flConsip=Flag CONSIP
label_CodProg=Codice Progetto
label_flDichiarazione=Flag Dichiarazione
label_olo2=Cow 2
label_esitoA375Pit=Esito A375 Pitagora
label_canVendita=Canale Vendita
label_dn1=Dn1
label_dn2=Dn2
label_dn3=Dn3
label_dn4=Dn4
label_dn5=Dn5
label_dn6=Dn6
label_dn7=Dn7
label_dn8=Dn8
label_dn9=Dn9
label_dn10=Dn10
label_statoDn1=Stato Dn1
label_statoDn2=Stato Dn2
label_statoDn3=Stato Dn3
label_statoDn4=Stato Dn4
label_statoDn5=Stato Dn5
label_statoDn6=Stato Dn6
label_statoDn7=Stato Dn7
label_statoDn8=Stato Dn8
label_statoDn9=Stato Dn9
label_statoDn10=Stato Dn10
label_esitoDnaggA375_1=Esito Dnagg A375 1
label_esitoDnaggA375_2=Esito Dnagg A375 2
label_esitoDnaggA375_3=Esito Dnagg A375 3
label_esitoDnaggA375_4=Esito Dnagg A375 4
label_esitoDnaggA375_5=Esito Dnagg A375 5
label_esitoDnaggA375_6=Esito Dnagg A375 6
label_esitoDnaggA375_7=Esito Dnagg A375 7
label_esitoDnaggA375_8=Esito Dnagg A375 8
label_esitoDnaggA375_9=Esito Dnagg A375 9
label_esitoDnaggA375_10=Esito Dnagg A375 10
# ----------------------------------
# content/semaforo.jsp
header_semaforo=Monitoraggio Processi
richieste_table_header=Richieste in stato {0}
semaforo_table_header=Stato di lavorazione delle richieste di {0} - Data ultimo aggiornamento: {1}
semaforo_table_IDSTATO=ID Stato
semaforo_table_STATO=Stato
label_totali_semaforo=Totali per Semaforo
# content/routing.jsp
# ----------------------------------
label_tipologiaKO=Tipologia KO
label_tipologiaUtente=Tipo utenza
label_delibera=Delibera
label_processo=Processo
label_canaleVendita=Canale Vendita
label_regola=Nome Regola
label_basketAss=Basket di assegnazione
label_gruppoAss=Gruppo Assegnatario
# content/menu.jsp
menu_top_nng_recipient_link=Nuova NNG Recipient
menu_top_search_nng_recipient_link= NNG - Vista Recipient
menu_top_nng_donating_link=Nuova NNG Donating
menu_top_search_nng_donating_link= NNG - Vista Donating
menu_top_nng_ot_link=NNG - Vista Operatore Terzo
menu_top_nng_returning_link=Nuova NNG TIM Returning
menu_top_search_nng_returning_link= NNG - Vista TIM Returning
menu_top_nng_returned_link=Nuova NNG Returned
menu_top_search_nng_returned_link= NNG - Vista OLO Returning
menu_top_report_link=Reportistica
menu_top_richieste_link=D274 - Ricerca richieste
menu_top_richieste82_link=USCITE FTTH - OF
menu_top_richieste_rec_link=NP - Gestione richieste TIM Recipient
menu_top_richieste_don_link=NP - Gestione richieste TIM Donating
menu_top_semaforo_link=Monitoraggio Processi
menu_top_home_link=Home
menu_top_logout_link=Logout
# menu tool ko
menu_top_routing_link=Routing
menu_top_cambioStatoMassivo_link=Cambio Stato Massivo
menu_top_cruscotto_link=Cruscotto
menu_top_download_link=Download File
menu_top_toolkoRichieste_link=Le mie richieste
# menu codice ordine
menu_top_ricercaCodiceOrdine_link=Ricerca Codice Ordine
menu_top_storicoCodiceOrdine_link=Storico Codice Ordine
# Voce di menu gestita in modo diverso
cambia_pwd_link=Cambio Password
# reusable labels
label_selectProcess=Selezionare il Processo:
label_intervalDateFrom=Data da:
label_intervalDateTo=Data a:
label_num_richieste=Numero di Richieste
label_id_esigenza=Id Esigenza
label_data_olo=Data Invio OLO
label_crm=Piattaforma CRM
label_num_tel=Numero Telefono
label_version=Versione
label_olo=Codice OLO
label_cod_servzio=Codice Servizio
label_data_richiesta=Data Ricezione Richiesta
# reusable buttons
button_ok=OK
button_view=Visualizza
button_search=Ricerca
button_work_ok=Accetta
button_work_ko=Rifiuta
button_insert=Inserisci
button_search_duplicati=Ricerca Duplicati
#error messages
inconsistent_date_interval=Intervallo di date inconsistente
invalid_depth=Profondit\u00e0 massima consentita = {0}
bad_date_interval='Data da' deve essere minore o uguale a 'Data a'
label_toolko_dn=DN
label_toolko_cf=Codice Fiscale
label_toolko_tipoKO=Tipo KO
label_toolko_olo=Codice OLO
label_toolko_tipo_utenza=Tipo Utenza
label_toolko_delibera=Delibera
label_toolko_stato=Stato
label_toolko_esito=Esito
label_toolko_idesigenza=ID-Esigenza
label_toolko_processo=Processo
label_toolko_datapicda=Data Ric. da
label_toolko_datapica=Data Ric. a
label_toolko_basket=Basket
label_toolko_owner=Owner
label_toolko_addetto=Addetto
label_toolko_note=Note
label_toolko_operative=Note operative
label_toolko_flag_sky=Flag SKY
button_cambio_owner=Cambio Owner
button_cambio_addetto=Cambio Addetto
button_sollecito=Sollecito
button_dachiudere_crm=Da chiudere su CRM
button_daclonare_crm =Da clonare su CRM
warning_sollecito=Attenzione salvando, solo le richieste in stato SOLLECITATA_PPS/ASSEGNATA_PPS o SOLLECITATA_OLO/ASSEGNATA_OLO verranno sollecitate
warning_dachiudere=Attenzione salvando, tutte le pratiche scelte saranno assegnate all'utente selezionato
warning_daclonare = Attenzione salvando, tutte le pratiche scelte saranno assegnate all'utente selezionato
# content/storicoCodiceOrdine.jsp
label_head_cod_ordine=Ricerca Codice Ordine
label_cod_fiscale=Codice Fiscale / P.IVA
# content/storicoCodiceOrdine.jsp
label_head_storico_cod_ordine=Storico Codice Ordine
label_data_ordine_da=Data ordine Da
label_data_ordine_a=Data ordine A
label_dn=DN

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<onload-config xmlns="urn:onload-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:onload-config onload-config.xsd">
<navigation-rule>
<view-id>/init.jsp</view-id>
<action>#{user.checkUserProfile}</action>
</navigation-rule>
<navigation-rule>
<view-id>/getInfo.jsp</view-id>
<action>#{user.login}</action>
</navigation-rule>
</onload-config>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:onload-config"
xmlns="urn:onload-config"
elementFormDefault="qualified" version="1.0">
<xs:element name="onload-config" type="Config"/>
<xs:complexType name="Config">
<xs:annotation>
<xs:documentation>
Root element. Contains the configuration for the OnLoadPhaseListener
</xs:documentation>
</xs:annotation>
<xs:sequence maxOccurs="unbounded">
<xs:element name="navigation-rule" type="Rule"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Rule">
<xs:annotation>
<xs:documentation>
Defines the navigation rule for a JSF view-id or view-id pattern
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="view-id" type="ViewId"/>
<xs:element name="action" type="Action"/>
<xs:element name="success-result" type="SuccessResult" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="ViewId">
<xs:annotation>
<xs:documentation>
The view ID to match. This can be a full view-id or a path
ending with an asterisk. Examples: /myDir/myFile.xhtml, /myDir/my*, *
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:simpleType name="Action">
<xs:annotation>
<xs:documentation>
The EL syntax action name to invoke. This is the same syntax as
when specifying an action in the JSF page.
Example: #{myBean.myActionMethod}
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:simpleType name="SuccessResult">
<xs:annotation>
<xs:documentation>
If the result of an action is null or equal to the success result,
nothing is done. If the result is not equal to the success result
the result is used to navigate to a new view based on the
faces configuration file.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:schema>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd" [
]>
<faces-config>
<lifecycle>
<phase-listener>
it.valueteam.gnpgo.web.listener.phase.OnLoadPhaseListener
</phase-listener>
</lifecycle>
<!-- application>
<message-bundle>Messages</message-bundle>
<locale-config>
<default-locale>it</default-locale>
</locale-config>
</application -->
<application>
<view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl</view-handler>
</application>
<validator>
<validator-id>DateCompareValidator</validator-id>
<validator-class>it.valueteam.gnpgo.web.validator.DateCompareValidator</validator-class>
</validator>
<!-- <converter>
<converter-for-class>java.util.Date</converter-for-class>
<converter-class>it.valueteam.gnpgo.web.util.DateTimeConverter</converter-class>
</converter>-->
</faces-config>

View File

@@ -0,0 +1,334 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<managed-bean>
<managed-bean-name>user</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.UserBean
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>userName</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>codiceProfilo</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>userIPAddress</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>userHostName</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>report</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.ReportBean
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>reportID</property-name>
<property-class>java.lang.Integer</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>processID</property-name>
<property-class>java.lang.Integer</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>reportTypes</property-name>
<property-class>java.util.List</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>filterList</property-name>
<property-class>java.util.List</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>processTypes</property-name>
<property-class>java.util.List</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>dataInserimento</property-name>
<property-class>java.util.Date</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>sollecitiToUpdate</property-name>
<property-class>java.util.Set</property-class>
<null-value></null-value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>richieste</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.RichiesteBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>filtroRichiesta</property-name>
<property-class>it.valueteam.gnpgo.web.bean.RequestFilterBean</property-class>
<value>#{filtroIniziale}</value>
</managed-property>
<managed-property>
<property-name>listaRichieste</property-name>
<property-class>java.util.List</property-class>
<null-value/>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>filtroIniziale</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.RequestFilterBean</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>navigationMenu</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.NavigationMenu
</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>monitoring</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.MonitoringBean
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>filter</property-name>
<property-class>
it.valueteam.gnpgo.web.bean.filter.MonitoringFilterBean
</property-class>
<value>#{monitoringInitFilter}</value>
</managed-property>
<managed-property>
<property-name>lastUpdate</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>pollEnabled</property-name>
<property-class>java.lang.Boolean</property-class>
<value>false</value>
</managed-property>
<managed-property>
<property-name>selectedState</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>view</property-name>
<property-class>java.util.List</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>requestList</property-name>
<property-class>java.util.List</property-class>
<null-value></null-value>
</managed-property>
<managed-property>
<property-name>pollInterval</property-name>
<property-class>java.lang.Long</property-class>
<value>0</value>
</managed-property>
<managed-property>
<description>
contiene il path dell'icona del semaforo selezionato
</description>
<property-name>selectedColor</property-name>
<property-class>java.lang.String</property-class>
<null-value></null-value>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>monitoringInitFilter</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.filter.MonitoringFilterBean</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
</managed-bean>
<!-- Bean x il semaforo -->
<!-- <managed-bean>
<managed-bean-name>semaforo</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.SemaforoBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>semaforoFilter</property-name>
<property-class>it.valueteam.gnpgo.web.bean.filter.SemaforoFilterBean</property-class>
<value>#{semaforoInitFilter}</value>
</managed-property>
<managed-property>
<property-name>view</property-name>
<property-class>java.util.List</property-class>
<null-value/>
</managed-property>
<managed-property>
<property-name>requestsList</property-name>
<property-class>java.util.List</property-class>
<null-value/>
</managed-property>
</managed-bean>
<managed-bean>
<managed-bean-name>semaforoInitFilter</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.filter.SemaforoFilterBean</managed-bean-class>
<managed-bean-scope>none</managed-bean-scope>
</managed-bean> -->
<managed-bean>
<managed-bean-name>lov</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.LovBean
</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>anag_olo</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.AnagOloBean
</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>nng</managed-bean-name>
<managed-bean-class>
it.valueteam.gnpgo.web.bean.NngBean
</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<!-- Aggiunta Sassone 2013.05.10 -->
<!--
<managed-bean>
<managed-bean-name>toolkoregola</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.core.object.ToolkoRegola</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
-->
<managed-bean>
<managed-bean-name>routing</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.RoutingBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>downloadFile</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.DownloadBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>toolkoRichieste</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.ToolkoRichiesteBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>cambioStatoMassivo</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.CambioStatoMassivoBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>toolkoAnagraficheBean</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.ToolkoAnagraficheBean</managed-bean-class>
<managed-bean-scope>application</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>cruscotto</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.CruscottoBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>cruscotto_storico</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.CruscottoStoricoBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<!-- X05 2014 -->
<managed-bean>
<managed-bean-name>ricercaCodiceOrdine</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.RicercaCodiceOrdineBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>storicoCodiceOrdine</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.StoricoCodiceOrdineBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>notificheRec</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheRecBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>notificheDon</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheDonBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>nng_recipient</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngRecBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>notificheNngRec</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngRecBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>nng_donating</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngDonBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>notificheNngDon</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngDonBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>tc2Don</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.Tc2Bean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>notificheNngReturning</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngReturningBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>notificheNngReturned</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngReturnedBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>nng_ot</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngOpTerzoBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>nng_returning</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngReturningBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>nng_returned</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.NotificheNngReturnedBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>richiesteD82</managed-bean-name>
<managed-bean-class>it.valueteam.gnpgo.web.bean.RichiesteD82Bean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>

View File

@@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<navigation-rule>
<from-view-id>/init.jsp</from-view-id>
<navigation-case>
<from-action>#{user.checkUserProfile}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>/getClientInfo.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{user.checkUserProfile}</from-action>
<from-outcome>failure</from-outcome>
<to-view-id>/accessFailure.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/getInfo.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/home.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-view-id>/accessFailure.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/visualizzaReport.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/visualizzaReport.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<!-- FINE MENU -->
<!-- NAVIGAZIONI DA OVUNQUE -->
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>error</from-outcome>
<to-view-id>/error.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>report</from-outcome>
<to-view-id>/visualizzaReport.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>logout</from-outcome>
<to-view-id>/logout.jsp</to-view-id>
</navigation-case>
<!-- Number Portabiliy Non Geografica 09/2023 -->
<navigation-case>
<from-outcome>nng_donating</from-outcome>
<to-view-id>/nuovaNngDonating.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>nng_recipient</from-outcome>
<to-view-id>/nuovaNngRecipient.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>nng_returning</from-outcome>
<to-view-id>/nuovaNngReturning.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>nng_ot</from-outcome>
<to-view-id>/searchNngOpTerzo.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notificheNngRec</from-outcome>
<to-view-id>/searchNngRecipient.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notificheNngDon</from-outcome>
<to-view-id>/searchNngDonating.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notificheNngReturning</from-outcome>
<to-view-id>/searchNngReturning.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notificheNngReturned</from-outcome>
<to-view-id>/searchNngOloReturning.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>richieste</from-outcome>
<to-view-id>/ricercaRichieste.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notificheRec</from-outcome>
<to-view-id>/ricercaRichiesteRec.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>notificheDon</from-outcome>
<to-view-id>/ricercaRichiesteDon.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>richiesteD82</from-outcome>
<to-view-id>/ricercaUsciteFTTH.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>monitoring</from-outcome>
<to-view-id>/monitoring.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>home</from-outcome>
<to-view-id>/home.jsp</to-view-id>
</navigation-case>
<!-- Aggiunta Sassone 2013.05.07 -->
<navigation-case>
<from-outcome>routing</from-outcome>
<to-view-id>/routing.jsp</to-view-id>
</navigation-case>
<!-- Aggiunta Sassone 2013.06.04 -->
<navigation-case>
<from-outcome>cruscotto</from-outcome>
<to-view-id>/cruscotto.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>cruscotto_storico</from-outcome>
<to-view-id>/cruscotto_storico.jsp</to-view-id>
</navigation-case>
<!-- X05 2014 -->
<navigation-case>
<from-outcome>ricercaCodiceOrdine</from-outcome>
<to-view-id>/ricercaCodiceOrdine.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>storicoCodiceOrdine</from-outcome>
<to-view-id>/storicoCodiceOrdine.jsp</to-view-id>
</navigation-case>
<!-- to delete or comment -->
<navigation-case>
<from-outcome>tester</from-outcome>
<to-view-id>/tester.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>tester2</from-outcome>
<to-view-id>/tester2.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>toolkoRichieste</from-outcome>
<to-view-id>/toolkoRichieste.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>cambioStatoMassivo</from-outcome>
<to-view-id>/cambioStatoMassivo.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>downloadFile</from-outcome>
<to-view-id>/downloadFile.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/cambioStatoMassivo.jsp</from-view-id>
<navigation-case>
<from-outcome>cambioStatoMassivo</from-outcome>
<to-view-id>/cambioStatoMassivo.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,344 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.2</tlibversion>
<jspversion>1.1</jspversion>
<shortname>tiles</shortname>
<uri>http://struts.apache.org/tags-tiles</uri>
<tag>
<name>insert</name>
<tagclass>org.apache.struts.taglib.tiles.InsertTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>template</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>component</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>definition</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>attribute</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanScope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>flush</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>ignore</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>controllerUrl</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>controllerClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>definition</name>
<tagclass>org.apache.struts.taglib.tiles.DefinitionTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>template</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>page</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>extends</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>put</name>
<tagclass>org.apache.struts.taglib.tiles.PutTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>content</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>direct</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>beanName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanScope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>putList</name>
<tagclass>org.apache.struts.taglib.tiles.PutListTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<name>add</name>
<tagclass>org.apache.struts.taglib.tiles.AddTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>content</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>direct</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>type</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>beanName</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanProperty</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanScope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>get</name>
<tagclass>org.apache.struts.taglib.tiles.GetTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>ignore</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>flush</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>getAsString</name>
<tagclass>org.apache.struts.taglib.tiles.GetAttributeTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>ignore</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>role</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>useAttribute</name>
<tagclass>org.apache.struts.taglib.tiles.UseAttributeTag</tagclass>
<teiclass>org.apache.struts.taglib.tiles.UseAttributeTei</teiclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>classname</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>ignore</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>importAttribute</name>
<tagclass>org.apache.struts.taglib.tiles.ImportAttributeTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>ignore</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>initComponentDefinitions</name>
<tagclass>org.apache.struts.taglib.tiles.InitDefinitionsTag</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>file</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<name>classname</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
</taglib>

View File

@@ -0,0 +1,281 @@
<!--
DTD for the Tile Definition File, Version 1.1
To support validation of your configuration file, include the following
DOCTYPE element at the beginning (after the "xml" declaration):
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
$Id: tiles-config_1_1.dtd,v 1.1.1.1.2.2 2012/02/21 09:49:04 valueteam\pocciac Exp $
-->
<!-- ========== Defined Types ============================================= -->
<!-- A "Boolean" is the string representation of a boolean (true or false)
variable.
-->
<!ENTITY % Boolean "(true|false)">
<!-- A "ContentType" is the content type of an attribute passed to a tile
component.
-->
<!ENTITY % ContentType "(string|page|template|definition)">
<!-- A "ClassName" is the fully qualified name of a Java class that is
instantiated to provide the functionality of the enclosing element.
-->
<!ENTITY % ClassName "CDATA">
<!-- A "RequestPath" is an module-relative URI path, beginning with a
slash, that identifies a mapped resource (such as a JSP page or a servlet)
within this web application.
-->
<!ENTITY % RequestPath "CDATA">
<!-- A "DefinitionName" is the unique identifier of a definition. This identifier
is a logical name used to reference the definition.
-->
<!ENTITY % DefinitionName "CDATA">
<!-- A "BeanName" is the identifier of a JavaBean, such as a form bean,
and also serves as the name of the corresponding scripting variable
and the name of the JSP attribute under which the bean is accessed.
Therefore, it must conform to the rules for a Java identifier.
-->
<!ENTITY % BeanName "CDATA">
<!-- A "PropName" is the name of a JavaBeans property, and must begin with
a lower case letter and contain only characters that are legal in a
Java identifier.
-->
<!ENTITY % PropName "CDATA">
<!-- A "Location" is a relative path, delimited by "/" characters, that
defines the location of a resource relative to the location of the
configuration file itself.
-->
<!ENTITY % Location "#PCDATA">
<!-- ========== Top Level Elements ======================================== -->
<!-- deprecated: use tiles-definitions instead.-->
<!ELEMENT component-definitions (definition+)>
<!-- The "tiles-definitions" element is the root of the configuration file
hierarchy, and contains nested elements for all of the other
configuration settings.
-->
<!ELEMENT tiles-definitions (definition+)>
<!-- The "definition" element describes a definition that can be inserted in a jsp
page. This definition is identified by its logical name. A definition allows
to define all the attributes that can be set in <insert> tag from a jsp page.
controllerClass The fully qualified Java class name of the controller
subclass to call immediately before the tiles is inserted.
Only one of controllerClass or controllerUrl should be
specified.
controllerUrl The context-relative path to the resource used as controller
called immediately before the tiles is inserted.
Only one of controllerClass or controllerUrl should be
specified.
extends Name of a definition that is used as ancestor of this definition.
All attributes from the ancestor are available to the new
definition. Any attribute inherited from the ancestor can
be overloaded by providing a new value.
name The unique identifier for this definition.
page Same as path.
path The context-relative path to the resource used as tiles to
insert. This tiles will be inserted and a tiles context
containing appropriate attributes will be available.
role Security role name that is allowed access to this definition
object. The definition is inserted only if the role name is
allowed.
template Same as path. For compatibility with the template tag library.
-->
<!ELEMENT definition (icon?, display-name?, description?, put*, putList*)>
<!ATTLIST definition id ID #IMPLIED>
<!ATTLIST definition controllerClass %ClassName; #IMPLIED>
<!ATTLIST definition controllerUrl %RequestPath; #IMPLIED>
<!ATTLIST definition extends %DefinitionName; #IMPLIED>
<!ATTLIST definition name %DefinitionName; #REQUIRED>
<!ATTLIST definition page %RequestPath; #IMPLIED>
<!ATTLIST definition path %RequestPath; #IMPLIED>
<!ATTLIST definition role CDATA #IMPLIED>
<!ATTLIST definition template %RequestPath; #IMPLIED>
<!-- The "put" element describes an attribute of a definition. It allows to
specify the tiles attribute name and its value. The tiles value can be
specified as an xml attribute, or in the body of the <put> tag.
content Same as value. For compatibility with the template tag library.
direct Same as type="string". For compatibility with the template
tag library.
name The unique identifier for this put.
type The type of the value. Can be: string, page, template or definition.
By default, no type is associated to a value. If a type is
associated, it will be used as a hint to process the value
when the attribute will be used in the inserted tiles.
value The value associated to this tiles attribute. The value should
be specified with this tag attribute, or in the body of the tag.
-->
<!ELEMENT put (#PCDATA)>
<!ATTLIST put id ID #IMPLIED>
<!ATTLIST put content CDATA #IMPLIED>
<!ATTLIST put direct %Boolean; #IMPLIED>
<!ATTLIST put name CDATA #REQUIRED>
<!ATTLIST put type %ContentType; #IMPLIED>
<!ATTLIST put value CDATA #IMPLIED>
<!-- The "putList" element describes a list attribute of a definition. It allows to
specify an attribute that is a java List containing any kind of values. In
the config file, the list elements are specified by nested <add>, <item> or
<putList>.
name The unique identifier for this put list.
-->
<!ELEMENT putList ( (add* | item* | bean* | putList*)+) >
<!ATTLIST putList id ID #IMPLIED>
<!ATTLIST putList name CDATA #REQUIRED>
<!-- ========== Subordinate Elements ====================================== -->
<!-- The "add" element describes an element of a list. It is similar to the
<put> element.
content Same as value. For compatibility with the template tag library.
direct Same as type="string". For compatibility with the template
tag library.
type The type of the value. Can be: string, page, template or definition.
By default, no type is associated to a value. If a type is
associated, it will be used as a hint to process the value
when the attribute will be used in the inserted tiles.
value The value associated to this tiles attribute. The value should
be specified with this tag attribute, or in the body of the tag.
-->
<!ELEMENT add (#PCDATA)>
<!ATTLIST add id ID #IMPLIED>
<!ATTLIST add content CDATA #IMPLIED>
<!ATTLIST add direct %Boolean; #IMPLIED>
<!ATTLIST add type %ContentType; #IMPLIED>
<!ATTLIST add value CDATA #IMPLIED>
<!-- The "bean" element describes an element of a list. It create a bean of the
specified java classtype. This bean is initialized with appropriate nested
<set-property>.
classtype The fully qualified classname for this bean.
-->
<!ELEMENT bean (set-property*)>
<!ATTLIST bean id ID #IMPLIED>
<!ATTLIST bean classtype %ClassName; #REQUIRED>
<!-- The "set-property" element specifies the method name and initial value of
a bean property. When the object representing
the surrounding element is instantiated, the accessor for the indicated
property is called and passed the indicated value.
property Name of the JavaBeans property whose setter method
will be called.
value String representation of the value to which this
property will be set, after suitable type conversion
-->
<!ELEMENT set-property EMPTY>
<!ATTLIST set-property id ID #IMPLIED>
<!ATTLIST set-property property %PropName; #REQUIRED>
<!ATTLIST set-property value CDATA #REQUIRED>
<!-- The "item" element describes an element of a list. It create a bean added as
element to the list. Each bean can contain different properties: value, link,
icon, tooltip. These properties are to be interpreted by the jsp page using
them.
By default the bean is of type
"org.apache.struts.tiles.beans.SimpleMenuItem". This bean is useful to
create a list of beans used as menu items.
classtype The fully qualified classtype for this bean.
If specified, the classtype must be a subclass of the interface
"org.apache.struts.tiles.beans.MenuItem".
icon The bean 'icon' property.
link The bean 'link' property.
tooltip The bean 'tooltip' property.
value The bean 'value' property.
-->
<!ELEMENT item (#PCDATA)>
<!ATTLIST item id ID #IMPLIED>
<!ATTLIST item classtype %ClassName; #IMPLIED>
<!ATTLIST item icon CDATA #IMPLIED>
<!ATTLIST item link CDATA #REQUIRED>
<!ATTLIST item tooltip CDATA #IMPLIED>
<!ATTLIST item value CDATA #REQUIRED>
<!-- ========== Info Elements ====================================== -->
<!-- The "description" element contains descriptive (paragraph length) text
about the surrounding element, suitable for use in GUI tools.
-->
<!ELEMENT description (#PCDATA)>
<!ATTLIST description id ID #IMPLIED>
<!-- The "display-name" element contains a short (one line) description of
the surrounding element, suitable for use in GUI tools.
-->
<!ELEMENT display-name (#PCDATA)>
<!ATTLIST display-name id ID #IMPLIED>
<!-- The "icon" element contains a small-icon and large-icon element which
specify the location, relative to the Struts configuration file, for small
and large images used to represent the surrounding element in GUI tools.
-->
<!ELEMENT icon (small-icon?, large-icon?)>
<!ATTLIST icon id ID #IMPLIED>
<!-- The "large-icon" element specifies the location, relative to the Struts
configuration file, of a resource containing a large (32x32 pixel)
icon image.
-->
<!ELEMENT large-icon (%Location;)>
<!ATTLIST large-icon id ID #IMPLIED>
<!-- The "small-icon" element specifies the location, relative to the Struts
configuration file, of a resource containing a small (16x16 pixel)
icon image.
-->
<!ELEMENT small-icon (%Location;)>
<!ATTLIST small-icon id ID #IMPLIED>

View File

@@ -0,0 +1,217 @@
<!DOCTYPE tiles-definitions
[
<!ENTITY % Boolean "(true|false)">
<!ENTITY % ContentType "(string|template|definition|object)">
<!ENTITY % ClassName "CDATA">
<!ENTITY % RequestPath "CDATA">
<!ENTITY % DefinitionName "CDATA">
<!ENTITY % BeanName "CDATA">
<!ENTITY % PropName "CDATA">
<!ENTITY % Location "#PCDATA">
<!ELEMENT tiles-definitions (definition+)>
<!ELEMENT definition (icon?, display-name?, description?, put-attribute*, put-list-attribute*)>
<!ATTLIST definition id ID #IMPLIED>
<!ATTLIST definition preparer CDATA #IMPLIED>
<!ATTLIST definition extends CDATA #IMPLIED>
<!ATTLIST definition name CDATA #REQUIRED>
<!ATTLIST definition role CDATA #IMPLIED>
<!ATTLIST definition template CDATA #IMPLIED>
<!ELEMENT put-attribute (#PCDATA)>
<!ATTLIST put-attribute id ID #IMPLIED>
<!ATTLIST put-attribute name CDATA #REQUIRED>
<!ATTLIST put-attribute type (string|template|definition|object) #IMPLIED>
<!ATTLIST put-attribute value CDATA #IMPLIED>
<!ATTLIST put-attribute role CDATA #IMPLIED>
<!ELEMENT put-list-attribute ( (add-attribute* | item* | bean* | add-list-attribute*)+) >
<!ATTLIST put-list-attribute id ID #IMPLIED>
<!ATTLIST put-list-attribute name CDATA #REQUIRED>
<!ATTLIST put-list-attribute role CDATA #IMPLIED>
<!ELEMENT add-attribute (#PCDATA)>
<!ATTLIST add-attribute id ID #IMPLIED>
<!ATTLIST add-attribute type (string|template|definition|object) #IMPLIED>
<!ATTLIST add-attribute value CDATA #IMPLIED>
<!ATTLIST add-attribute role CDATA #IMPLIED>
<!ELEMENT add-list-attribute ( (add-attribute* | item* | bean* | add-list-attribute*)+) >
<!ATTLIST add-list-attribute id ID #IMPLIED>
<!ATTLIST add-list-attribute role CDATA #IMPLIED>
<!ELEMENT bean (set-property*)>
<!ATTLIST bean id ID #IMPLIED>
<!ATTLIST bean classtype CDATA #REQUIRED>
<!ELEMENT set-property EMPTY>
<!ATTLIST set-property id ID #IMPLIED>
<!ATTLIST set-property property CDATA #REQUIRED>
<!ATTLIST set-property value CDATA #REQUIRED>
<!ELEMENT item (#PCDATA)>
<!ATTLIST item id ID #IMPLIED>
<!ATTLIST item classtype CDATA #IMPLIED>
<!ATTLIST item icon CDATA #IMPLIED>
<!ATTLIST item link CDATA #REQUIRED>
<!ATTLIST item tooltip CDATA #IMPLIED>
<!ATTLIST item value CDATA #REQUIRED>
<!ELEMENT description (#PCDATA)>
<!ATTLIST description id ID #IMPLIED>
<!ELEMENT display-name (#PCDATA)>
<!ATTLIST display-name id ID #IMPLIED>
<!ELEMENT icon (small-icon?, large-icon?)>
<!ATTLIST icon id ID #IMPLIED>
<!ELEMENT large-icon (#PCDATA)>
<!ATTLIST large-icon id ID #IMPLIED>
<!ELEMENT small-icon (#PCDATA)>
<!ATTLIST small-icon id ID #IMPLIED>
]>
<tiles-definitions>
<definition name="defaultNoMenu.layout" template="/template/templateNoMenu.jsp">
<put-attribute name="title" value="Gestione Operativa DBCFX"/>
<put-attribute name="header" value="/common/header.jsp"/>
</definition>
<definition name="default.layout" template="/template/RiaTemplate.jsp">
<put-attribute name="title" value="Gestione Operativa DBCFX"/>
<put-attribute name="header" value="/common/header.jsp" />
<put-attribute name="menu" value="/common/menu.jsp" />
<put-attribute name="main" value="/content/homeContent.jsp" />
<put-attribute name="footer" value="/common/changePassword.jsp" />
</definition>
<definition name="/home.tiles" extends="default.layout">
<put-attribute name="title" value="Gestione Operativa DBCFX"/>
<put-attribute name="main" value="/content/homeContent.jsp" />
</definition>
<definition name="/visualizzaReport.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Visualizzazione Report"/>
<put-attribute name="main" value="/content/visualizzaReportContent.jsp" />
</definition>
<definition name="/nuovaNngRecipient.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - NNG Recipient"/>
<put-attribute name="main" value="/content/nuovaNngRecipient.jsp" />
</definition>
<definition name="/searchNngRecipient.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Ricerca NNG Recipient"/>
<put-attribute name="main" value="/content/searchNngRecipient.jsp" />
</definition>
<definition name="/nuovaNngDonating.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - NNG Donating"/>
<put-attribute name="main" value="/content/nuovaNngDonating.jsp" />
</definition>
<definition name="/searchNngDonating.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Ricerca NNG Donating"/>
<put-attribute name="main" value="/content/searchNngDonating.jsp" />
</definition>
<definition name="/nuovaNngReturning.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - NNG Returning"/>
<put-attribute name="main" value="/content/nuovaNngReturning.jsp" />
</definition>
<definition name="/searchNngReturning.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Ricerca NNG TIM Returning"/>
<put-attribute name="main" value="/content/searchNngReturning.jsp" />
</definition>
<definition name="/searchNngOloReturning.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Ricerca NNG OLO Returned"/>
<put-attribute name="main" value="/content/searchNngOloReturning.jsp" />
</definition>
<definition name="/searchNngOpTerzo.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Cruscotto Operatore Terzo"/>
<put-attribute name="main" value="/content/searchNngOpTerzo.jsp" />
</definition>
<definition name="/ricercaRichieste.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Ricerca"/>
<put-attribute name="main" value="/content/risultatoRicerca.jsp" />
</definition>
<definition name="/ricercaRichiesteRec.tiles" extends="default.layout">
<put-attribute name="title" value="Gestione Operativa DBCFX"/>
<put-attribute name="main" value="/content/ricercaOrdineTimRecipient.jsp" />
</definition>
<definition name="/ricercaRichiesteDon.tiles" extends="default.layout">
<put-attribute name="title" value="Gestione Operativa DBCFX"/>
<put-attribute name="main" value="/content/ricercaOrdineTimDonating.jsp" />
</definition>
<definition name="/ricercaUsciteFTTH.tiles" extends="default.layout">
<put-attribute name="title" value="Gestione Operativa DBCFX"/>
<put-attribute name="main" value="/content/ricercaOrdineUsciteFTTH.jsp" />
</definition>
<definition name="/semaforo.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Semaforo"/>
<put-attribute name="main" value="/content/semaforo.jsp" />
</definition>
<definition name="/monitoring.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Monitoring"/>
<put-attribute name="main" value="/content/monitoring.jsp" />
</definition>
<definition name="/accessFailure.tiles" extends="defaultNoMenu.layout">
<put-attribute name="title" value="DBCFXGO - Accesso fallito"/>
<put-attribute name="main" value="/content/accessFailureContent.jsp" />
</definition>
<definition name="/error.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Pagina di errore"/>
<put-attribute name="main" value="/content/errorContent.jsp" />
</definition>
<!-- Aggiunta Sassone 2013.05.07 -->
<definition name="/routing.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Routing"/>
<put-attribute name="main" value="/content/routing.jsp" />
</definition>
<!-- Aggiunta Sassone 2013.06.04 -->
<definition name="/cruscotto.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Cruscotto"/>
<put-attribute name="main" value="/content/toolko/cruscotto.jsp" />
</definition>
<definition name="/cruscotto_storico.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Cruscotto"/>
<put-attribute name="main" value="/content/toolko/cruscotto_storico.jsp" />
</definition>
<!-- X05 2014 -->
<definition name="/ricercaCodiceOrdine.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Ricerca Codice Ordine"/>
<put-attribute name="main" value="/content/ricercaCodiceOrdine.jsp" />
</definition>
<definition name="/storicoCodiceOrdine.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Storico Codice Ordine"/>
<put-attribute name="main" value="/content/storicoCodiceOrdine.jsp" />
</definition>
<!-- to delete or comment -->
<definition name="/tester.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Tester JSF"/>
<put-attribute name="main" value="/tester/listTester.jsp" />
</definition>
<definition name="/tester2.tiles" extends="default.layout">
<put-attribute name="title" value="DBCFXGO - Tester JSF 2"/>
<put-attribute name="main" value="/tester/listTester2.jsp" />
</definition>
<definition name="/downloadFile.tiles" extends="default.layout">
<put-attribute name="title" value="TOOLKO - Download file PPS/OLO"/>
<put-attribute name="main" value="/content/toolko/downloadFile.jsp" />
</definition>
<definition name="/toolkoRichieste.tiles" extends="default.layout">
<put-attribute name="title" value="TOOLKO - Gestione Richieste"/>
<put-attribute name="main" value="/content/toolko/toolkoRichieste.jsp" />
</definition>
<definition name="/cambioStatoMassivo.tiles" extends="default.layout">
<put-attribute name="title" value="TOOLKO - Cambio Stato Massivo"/>
<put-attribute name="main" value="/content/toolko/cambioStatoMassivo.jsp" />
</definition>
</tiles-definitions>

View File

@@ -0,0 +1,343 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<description>dbcfxgo web.xml</description>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>com.prime.facestrace.DISABLE_TRACE</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>
Comma separated list of URIs of (additional) faces config
files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2,
10.3.2 Attention: You may not put /WEB-INF/faces-config.xml
in here.
</description>
<param-name>onload-config</param-name>
<param-value>/WEB-INF/conf/onload-config.xml</param-value>
</context-param>
<context-param>
<description>
Comma separated list of URIs of (additional) faces config
files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2,
10.3.2 Attention: You may not put /WEB-INF/faces-config.xml
in here.
</description>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/faces/faces-config.xml,/WEB-INF/faces/navigation-rules.xml,/WEB-INF/faces/managed-bean.xml
</param-value>
</context-param>
<context-param>
<description>
State saving method: "client" or "server" (= default) See
JSF Specification 2.5.3
</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default). Defines the amount (default = 20) of the latest
views are stored in session.
</description>
<param-name>
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
</param-name>
<param-value>20</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default). If true (default) the state will be serialized to
a byte stream before it is written to the session. If false
the state will not be serialized to a byte stream.
</description>
<param-name>
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default) and if
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (=
default) If true (default) the serialized state will be
compressed before it is written to the session. If false the
state will not be compressed.
</description>
<param-name>
org.apache.myfaces.COMPRESS_STATE_IN_SESSION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
This parameter tells MyFaces if javascript code should be
allowed in the rendered HTML output. If javascript is
allowed, command_link anchors will have javascript code that
submits the corresponding form. If javascript is not
allowed, the state saving info and nested parameters will be
added as url parameters. Default: "true"
</description>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>
If true, rendered HTML code will be formatted, so that it is
"human readable". i.e. additional line separators and
whitespace will be written, that do not influence the HTML
code. Default: "true"
</description>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
If true, a javascript function will be rendered that is able
to restore the former vertical scroll on every request.
Convenient feature if you have pages with long lists and you
do not want the browser page to always jump to the top if
you trigger a link or button action that stays on the same
page. Default: "false"
</description>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
Used for encrypting view state. Only relevant for client
side state saving. See MyFaces wiki/web site documentation
for instructions on how to configure an application for
diffenent encryption strengths.
</description>
<param-name>org.apache.myfaces.SECRET</param-name>
<param-value>NzY1NDMyMTA=</param-value>
</context-param>
<context-param>
<description>
Validate managed beans, navigation rules and ensure that
forms are not nested.
</description>
<param-name>org.apache.myfaces.VALIDATE</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
A class implementing the
org.apache.myfaces.shared.renderkit.html.util.AddResource
interface. It is responsible to place scripts and css on the
right position in your HTML document. Default:
"org.apache.myfaces.shared.renderkit.html.util.DefaultAddResource"
Follow the description on the MyFaces-Wiki-Performance page
to enable StreamingAddResource instead of DefaultAddResource
if you want to gain performance.
</description>
<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
<param-value>
org.apache.myfaces.renderkit.html.util.DefaultAddResource
</param-value>
<!--param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value-->
</context-param>
<context-param>
<description>
A very common problem in configuring
MyFaces-web-applications is that the Extensions-Filter is
not configured at all or improperly configured. This
parameter will check for a properly configured
Extensions-Filter if it is needed by the web-app. In most
cases this check will work just fine, there might be cases
where an internal forward will bypass the Extensions-Filter
and the check will not work. If this is the case, you can
disable the check by setting this parameter to false.
</description>
<param-name>
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
</param-name>
<param-value>true</param-value>
</context-param>
<!-- Tiles ViewHandler config file -->
<context-param>
<description>
Tiles configuration definition files and a listener need to
be defined. the listener will initialize
JspTilesViewHandlerImpl with tiles definitions.
</description>
<param-name>tiles-definitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<!--requisiti sicurezza ADRCSA01548 -->
<filter>
<filter-name>HSTSFilter</filter-name>
<filter-class>it.valueteam.gnpgo.web.filter.HSTSFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>HSTSFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter>
<filter-name>SessionFilter</filter-name>
<filter-class>
it.valueteam.gnpgo.web.filter.SecurityFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<listener>
<listener-class>
it.valueteam.gnpgo.web.listener.DbcfxGoContextListener
</listener-class>
</listener>
<listener>
<listener-class>
it.valueteam.gnpgo.web.listener.DbcfxGoSessionListener
</listener-class>
</listener>
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<description>
Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<description>
Set the threshold size - files below this limit are
stored in memory, files above this limit are stored on
disk.
Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>SourceCodeServlet</servlet-name>
<servlet-class>
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SourceCodeServlet</servlet-name>
<url-pattern>*.source</url-pattern>
</servlet-mapping>
<!-- <security-constraint>
<web-resource-collection>
<web-resource-name>security</web-resource-name>
<url-pattern>/content/*</url-pattern>
<url-pattern>/common/*</url-pattern>
<url-pattern>/template/*</url-pattern>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/index.jsf</url-pattern>
<url-pattern>/init.jsf</url-pattern>
<url-pattern>/init.jsp</url-pattern>
<url-pattern>/getClientInfo.jsp</url-pattern>
<url-pattern>/getClientInfo.jsf</url-pattern>
<url-pattern>/getInfo.jsp</url-pattern>
<url-pattern>/getInfo.jsf</url-pattern>
<url-pattern>/error.jsp</url-pattern>
<url-pattern>/error.jsf</url-pattern>
<url-pattern>/logout.jsp</url-pattern>
<url-pattern>/logout.jsf</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>Utenti sicuri</description>
<role-name>UtenteDBCFXGO</role-name>
<role-name>ADMIN</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint> -->
<security-role>
<description>Utente Admin per i test</description>
<role-name>ADMIN</role-name>
</security-role>
<security-role>
<description>Utente applicativo Dbcfxgo</description>
<role-name>UtenteDBCFXGO</role-name>
</security-role>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/pcs_login/login.jsp</form-login-page>
<form-error-page>/pcs_login/error.jsp</form-error-page>
</form-login-config>
</login-config>
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
<welcome-file-list>
<welcome-file>init.jsf</welcome-file>
</welcome-file-list>
</web-app>

View File

@@ -0,0 +1,343 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<description>dbcfxgo web.xml</description>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>com.prime.facestrace.DISABLE_TRACE</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>
Comma separated list of URIs of (additional) faces config
files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2,
10.3.2 Attention: You may not put /WEB-INF/faces-config.xml
in here.
</description>
<param-name>onload-config</param-name>
<param-value>/WEB-INF/conf/onload-config.xml</param-value>
</context-param>
<context-param>
<description>
Comma separated list of URIs of (additional) faces config
files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2,
10.3.2 Attention: You may not put /WEB-INF/faces-config.xml
in here.
</description>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/faces/faces-config.xml,/WEB-INF/faces/navigation-rules.xml,/WEB-INF/faces/managed-bean.xml
</param-value>
</context-param>
<context-param>
<description>
State saving method: "client" or "server" (= default) See
JSF Specification 2.5.3
</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default). Defines the amount (default = 20) of the latest
views are stored in session.
</description>
<param-name>
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
</param-name>
<param-value>20</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default). If true (default) the state will be serialized to
a byte stream before it is written to the session. If false
the state will not be serialized to a byte stream.
</description>
<param-name>
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default) and if
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (=
default) If true (default) the serialized state will be
compressed before it is written to the session. If false the
state will not be compressed.
</description>
<param-name>
org.apache.myfaces.COMPRESS_STATE_IN_SESSION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
This parameter tells MyFaces if javascript code should be
allowed in the rendered HTML output. If javascript is
allowed, command_link anchors will have javascript code that
submits the corresponding form. If javascript is not
allowed, the state saving info and nested parameters will be
added as url parameters. Default: "true"
</description>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>
If true, rendered HTML code will be formatted, so that it is
"human readable". i.e. additional line separators and
whitespace will be written, that do not influence the HTML
code. Default: "true"
</description>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
If true, a javascript function will be rendered that is able
to restore the former vertical scroll on every request.
Convenient feature if you have pages with long lists and you
do not want the browser page to always jump to the top if
you trigger a link or button action that stays on the same
page. Default: "false"
</description>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
Used for encrypting view state. Only relevant for client
side state saving. See MyFaces wiki/web site documentation
for instructions on how to configure an application for
diffenent encryption strengths.
</description>
<param-name>org.apache.myfaces.SECRET</param-name>
<param-value>NzY1NDMyMTA=</param-value>
</context-param>
<context-param>
<description>
Validate managed beans, navigation rules and ensure that
forms are not nested.
</description>
<param-name>org.apache.myfaces.VALIDATE</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
A class implementing the
org.apache.myfaces.shared.renderkit.html.util.AddResource
interface. It is responsible to place scripts and css on the
right position in your HTML document. Default:
"org.apache.myfaces.shared.renderkit.html.util.DefaultAddResource"
Follow the description on the MyFaces-Wiki-Performance page
to enable StreamingAddResource instead of DefaultAddResource
if you want to gain performance.
</description>
<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
<param-value>
org.apache.myfaces.renderkit.html.util.DefaultAddResource
</param-value>
<!--param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value-->
</context-param>
<context-param>
<description>
A very common problem in configuring
MyFaces-web-applications is that the Extensions-Filter is
not configured at all or improperly configured. This
parameter will check for a properly configured
Extensions-Filter if it is needed by the web-app. In most
cases this check will work just fine, there might be cases
where an internal forward will bypass the Extensions-Filter
and the check will not work. If this is the case, you can
disable the check by setting this parameter to false.
</description>
<param-name>
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
</param-name>
<param-value>true</param-value>
</context-param>
<!-- Tiles ViewHandler config file -->
<context-param>
<description>
Tiles configuration definition files and a listener need to
be defined. the listener will initialize
JspTilesViewHandlerImpl with tiles definitions.
</description>
<param-name>tiles-definitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<!--requisiti sicurezza ADRCSA01548 -->
<filter>
<filter-name>HSTSFilter</filter-name>
<filter-class>it.valueteam.gnpgo.web.filter.HSTSFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>HSTSFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter>
<filter-name>SessionFilter</filter-name>
<filter-class>
it.valueteam.gnpgo.web.filter.SecurityFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<listener>
<listener-class>
it.valueteam.gnpgo.web.listener.DbcfxGoContextListener
</listener-class>
</listener>
<listener>
<listener-class>
it.valueteam.gnpgo.web.listener.DbcfxGoSessionListener
</listener-class>
</listener>
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<description>
Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<description>
Set the threshold size - files below this limit are
stored in memory, files above this limit are stored on
disk.
Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>SourceCodeServlet</servlet-name>
<servlet-class>
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SourceCodeServlet</servlet-name>
<url-pattern>*.source</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>security</web-resource-name>
<url-pattern>/content/*</url-pattern>
<url-pattern>/common/*</url-pattern>
<url-pattern>/template/*</url-pattern>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/index.jsf</url-pattern>
<url-pattern>/init.jsf</url-pattern>
<url-pattern>/init.jsp</url-pattern>
<url-pattern>/getClientInfo.jsp</url-pattern>
<url-pattern>/getClientInfo.jsf</url-pattern>
<url-pattern>/getInfo.jsp</url-pattern>
<url-pattern>/getInfo.jsf</url-pattern>
<url-pattern>/error.jsp</url-pattern>
<url-pattern>/error.jsf</url-pattern>
<url-pattern>/logout.jsp</url-pattern>
<url-pattern>/logout.jsf</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>Utenti sicuri</description>
<role-name>UtenteDBCFXGO</role-name>
<role-name>ADMIN</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<security-role>
<description>Utente Admin per i test</description>
<role-name>ADMIN</role-name>
</security-role>
<security-role>
<description>Utente applicativo Dbcfxgo</description>
<role-name>UtenteDBCFXGO</role-name>
</security-role>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/pcs_login/login.jsp</form-login-page>
<form-error-page>/pcs_login/error.jsp</form-error-page>
</form-login-config>
</login-config>
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
<welcome-file-list>
<welcome-file>init.jsf</welcome-file>
</welcome-file-list>
</web-app>

View File

@@ -0,0 +1,338 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<description>dbcfxgo web.xml</description>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>com.prime.facestrace.DISABLE_TRACE</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>
Comma separated list of URIs of (additional) faces config
files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2,
10.3.2 Attention: You may not put /WEB-INF/faces-config.xml
in here.
</description>
<param-name>onload-config</param-name>
<param-value>/WEB-INF/conf/onload-config.xml</param-value>
</context-param>
<context-param>
<description>
Comma separated list of URIs of (additional) faces config
files. (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2,
10.3.2 Attention: You may not put /WEB-INF/faces-config.xml
in here.
</description>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>
/WEB-INF/faces/faces-config.xml,/WEB-INF/faces/navigation-rules.xml,/WEB-INF/faces/managed-bean.xml
</param-value>
</context-param>
<context-param>
<description>
State saving method: "client" or "server" (= default) See
JSF Specification 2.5.3
</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default). Defines the amount (default = 20) of the latest
views are stored in session.
</description>
<param-name>
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION
</param-name>
<param-value>20</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default). If true (default) the state will be serialized to
a byte stream before it is written to the session. If false
the state will not be serialized to a byte stream.
</description>
<param-name>
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
Only applicable if state saving method is "server" (=
default) and if
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (=
default) If true (default) the serialized state will be
compressed before it is written to the session. If false the
state will not be compressed.
</description>
<param-name>
org.apache.myfaces.COMPRESS_STATE_IN_SESSION
</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
This parameter tells MyFaces if javascript code should be
allowed in the rendered HTML output. If javascript is
allowed, command_link anchors will have javascript code that
submits the corresponding form. If javascript is not
allowed, the state saving info and nested parameters will be
added as url parameters. Default: "true"
</description>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>
If true, rendered HTML code will be formatted, so that it is
"human readable". i.e. additional line separators and
whitespace will be written, that do not influence the HTML
code. Default: "true"
</description>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
If true, a javascript function will be rendered that is able
to restore the former vertical scroll on every request.
Convenient feature if you have pages with long lists and you
do not want the browser page to always jump to the top if
you trigger a link or button action that stays on the same
page. Default: "false"
</description>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
Used for encrypting view state. Only relevant for client
side state saving. See MyFaces wiki/web site documentation
for instructions on how to configure an application for
diffenent encryption strengths.
</description>
<param-name>org.apache.myfaces.SECRET</param-name>
<param-value>NzY1NDMyMTA=</param-value>
</context-param>
<context-param>
<description>
Validate managed beans, navigation rules and ensure that
forms are not nested.
</description>
<param-name>org.apache.myfaces.VALIDATE</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>
A class implementing the
org.apache.myfaces.shared.renderkit.html.util.AddResource
interface. It is responsible to place scripts and css on the
right position in your HTML document. Default:
"org.apache.myfaces.shared.renderkit.html.util.DefaultAddResource"
Follow the description on the MyFaces-Wiki-Performance page
to enable StreamingAddResource instead of DefaultAddResource
if you want to gain performance.
</description>
<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
<param-value>
org.apache.myfaces.renderkit.html.util.DefaultAddResource
</param-value>
<!--param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value-->
</context-param>
<context-param>
<description>
A very common problem in configuring
MyFaces-web-applications is that the Extensions-Filter is
not configured at all or improperly configured. This
parameter will check for a properly configured
Extensions-Filter if it is needed by the web-app. In most
cases this check will work just fine, there might be cases
where an internal forward will bypass the Extensions-Filter
and the check will not work. If this is the case, you can
disable the check by setting this parameter to false.
</description>
<param-name>
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
</param-name>
<param-value>true</param-value>
</context-param>
<!-- Tiles ViewHandler config file -->
<context-param>
<description>
Tiles configuration definition files and a listener need to
be defined. the listener will initialize
JspTilesViewHandlerImpl with tiles definitions.
</description>
<param-name>tiles-definitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<!--requisiti sicurezza ADRCSA01548 -->
<filter>
<filter-name>HSTSFilter</filter-name>
<filter-class>it.valueteam.gnpgo.web.filter.HSTSFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>HSTSFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter>
<filter-name>SessionFilter</filter-name>
<filter-class>
it.valueteam.gnpgo.web.filter.SecurityFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<listener>
<listener-class>
it.valueteam.gnpgo.web.listener.DbcfxGoContextListener
</listener-class>
</listener>
<listener>
<listener-class>
it.valueteam.gnpgo.web.listener.DbcfxGoSessionListener
</listener-class>
</listener>
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>
org.apache.myfaces.webapp.filter.ExtensionsFilter
</filter-class>
<init-param>
<description>
Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<description>
Set the threshold size - files below this limit are
stored in memory, files above this limit are stored on
disk.
Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
</description>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>SourceCodeServlet</servlet-name>
<servlet-class>
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SourceCodeServlet</servlet-name>
<url-pattern>*.source</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>security</web-resource-name>
<url-pattern>/content/*</url-pattern>
<url-pattern>/common/*</url-pattern>
<url-pattern>/template/*</url-pattern>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/index.jsf</url-pattern>
<url-pattern>/init.jsf</url-pattern>
<url-pattern>/init.jsp</url-pattern>
<url-pattern>/getClientInfo.jsp</url-pattern>
<url-pattern>/getClientInfo.jsf</url-pattern>
<url-pattern>/getInfo.jsp</url-pattern>
<url-pattern>/getInfo.jsf</url-pattern>
<url-pattern>/error.jsp</url-pattern>
<url-pattern>/error.jsf</url-pattern>
<url-pattern>/logout.jsp</url-pattern>
<url-pattern>/logout.jsf</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<security-role>
<description>Utente Admin per i test</description>
<role-name>ADMIN</role-name>
</security-role>
<security-role>
<description>Utente applicativo Dbcfxgo</description>
<role-name>UtenteDBCFXGO</role-name>
</security-role>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/pcs_login/login.jsp</form-login-page>
<form-error-page>/pcs_login/error.jsp</form-error-page>
</form-login-config>
</login-config>
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
<welcome-file-list>
<welcome-file>init.jsf</welcome-file>
</welcome-file-list>
</web-app>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app
http://xmlns.oracle.com/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<weblogic-version>10.3.6</weblogic-version>
<session-descriptor>
<persistent-store-type>memory</persistent-store-type>
<!--requisiti sicurezza ADRCSA01549, ADRCSA01552 -->
<cookie-http-only>true</cookie-http-only>
<cookie-secure>true</cookie-secure>
<url-rewriting-enabled>false</url-rewriting-enabled>
<!--requisito sicurezza ADRCSA01553-->
<timeout-secs>1800</timeout-secs>
</session-descriptor>
<security-role-assignment>
<role-name>UtenteDBCFXGO</role-name>
<principal-name>PCS_Group</principal-name>
</security-role-assignment>
<security-role-assignment>
<role-name>ADMIN</role-name>
<principal-name>Administrators</principal-name>
</security-role-assignment>
<context-root>/DBCFX</context-root>
</weblogic-web-app>

View File

@@ -0,0 +1,245 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
<description>dbcfxgo web.xml</description>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>com.prime.facestrace.DISABLE_TRACE</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Comma separated list of URIs of (additional) faces config files.
(e.g. /WEB-INF/my-config.xml)
See JSF 1.0 PRD2, 10.3.2
Attention: You may not put /WEB-INF/faces-config.xml in here.
</description>
<param-name>onload-config</param-name>
<param-value>/WEB-INF/conf/onload-config.xml</param-value>
</context-param>
<context-param>
<description>Comma separated list of URIs of (additional) faces config files.
(e.g. /WEB-INF/my-config.xml)
See JSF 1.0 PRD2, 10.3.2
Attention: You may not put /WEB-INF/faces-config.xml in here.
</description>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces/faces-config.xml,/WEB-INF/faces/navigation-rules.xml,/WEB-INF/faces/managed-bean.xml</param-value>
</context-param>
<context-param>
<description>State saving method: "client" or "server" (= default)
See JSF Specification 2.5.3</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<description>Only applicable if state saving method is "server" (= default).
Defines the amount (default = 20) of the latest views are stored in session.</description>
<param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name>
<param-value>20</param-value>
</context-param>
<context-param>
<description>Only applicable if state saving method is "server" (= default).
If true (default) the state will be serialized to a byte stream before it
is written to the session.
If false the state will not be serialized to a byte stream.</description>
<param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>Only applicable if state saving method is "server" (= default) and if
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= default)
If true (default) the serialized state will be compressed before it
is written to the session. If false the state will not be compressed.</description>
<param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>This parameter tells MyFaces if javascript code should be allowed in the
rendered HTML output.
If javascript is allowed, command_link anchors will have javascript code
that submits the corresponding form.
If javascript is not allowed, the state saving info and nested parameters
will be added as url parameters.
Default: "true"</description>
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>If true, rendered HTML code will be formatted, so that it is "human readable".
i.e. additional line separators and whitespace will be written, that do not
influence the HTML code.
Default: "true"</description>
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>If true, a javascript function will be rendered that is able to restore the
former vertical scroll on every request. Convenient feature if you have pages
with long lists and you do not want the browser page to always jump to the top
if you trigger a link or button action that stays on the same page.
Default: "false"</description>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description> Used for encrypting view state. Only relevant for client side
state saving. See MyFaces wiki/web site documentation for instructions
on how to configure an application for diffenent encryption strengths.
</description>
<param-name>org.apache.myfaces.SECRET</param-name>
<param-value>NzY1NDMyMTA=</param-value>
</context-param>
<context-param>
<description>
Validate managed beans, navigation rules and ensure that forms are not nested.
</description>
<param-name>org.apache.myfaces.VALIDATE</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>A class implementing the
org.apache.myfaces.shared.renderkit.html.util.AddResource
interface. It is responsible to
place scripts and css on the right position in your HTML document.
Default: "org.apache.myfaces.shared.renderkit.html.util.DefaultAddResource"
Follow the description on the MyFaces-Wiki-Performance page to enable
StreamingAddResource instead of DefaultAddResource if you want to
gain performance.
</description>
<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
<param-value>org.apache.myfaces.renderkit.html.util.DefaultAddResource</param-value>
<!--param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value-->
</context-param>
<context-param>
<description>
A very common problem in configuring MyFaces-web-applications
is that the Extensions-Filter is not configured at all
or improperly configured. This parameter will check for a properly
configured Extensions-Filter if it is needed by the web-app.
In most cases this check will work just fine, there might be cases
where an internal forward will bypass the Extensions-Filter and the check
will not work. If this is the case, you can disable the check by setting
this parameter to false.
</description>
<param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
<param-value>true</param-value>
</context-param>
<!-- Tiles ViewHandler config file -->
<context-param>
<description>Tiles configuration
definition files and a listener need to be defined.
the listener will initialize JspTilesViewHandlerImpl with tiles definitions.
</description>
<param-name>tiles-definitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<filter>
<filter-name>SessionFilter</filter-name>
<filter-class>it.valueteam.gnpgo.web.filter.SecurityFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>SessionFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<listener>
<listener-class>it.valueteam.gnpgo.web.listener.DbcfxGoContextListener</listener-class>
</listener>
<listener>
<listener-class>it.valueteam.gnpgo.web.listener.DbcfxGoSessionListener</listener-class>
</listener>
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
<description>Set the threshold size - files
below this limit are stored in memory, files above
this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
</filter>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>SourceCodeServlet</servlet-name>
<servlet-class>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>SourceCodeServlet</servlet-name>
<url-pattern>*.source</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>no_access</web-resource-name>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.jsf</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error.jsp</location>
</error-page>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>