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,3 @@
Manifest-Version: 1.0
Class-Path:

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>

View File

@@ -0,0 +1,12 @@
<%@ page import="it.valueteam.gnpgo.core.util.Resources" %>
<ul>
<li>
<a href="<%=Resources.getChangePasswordLink()%>" target="_blank">Cambio di Password</a>
</li>
<li>
<br>
</li>
<li>
<em><%=Resources.getLabelDel_152_02_CONS_Web()%></em>
</li>
</ul>

View File

@@ -0,0 +1,6 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<t:graphicImage value="/resources/images/logo_telecom_new.gif" alt="Logo Telecom"/>
<f:verbatim><br></f:verbatim>
<h2>DBCFX - Gestione Operativa</h2>

View File

@@ -0,0 +1,23 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<rich:panel header="Menu">
<rich:panel style="background-color:#FFFFFF;border-top:0;border-left:0;border-right:0;border-bottom: dotted 1px #FF0000;">
<f:verbatim>
<ul>
<li>primo</li>
<li>secondo</li>
<li>terzo</li>
<li>quarto</li>
</ul>
</f:verbatim>
</rich:panel>
<rich:panel style="border:0;">
<rich:toggleControl>
<t:graphicImage id="pic2" style="border-width:0" value="/resources/images/arrow-previous.gif" alt="Close Menu"/>
</rich:toggleControl>
</rich:panel>
</rich:panel>

View File

@@ -0,0 +1,38 @@
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<rich:toolBar>
<rich:menuItem action="#{navigationMenu.home}" value="#{msg.menu_top_home_link}" style="cursor: pointer"/>
<!-- 152248 / 227248 ricerca specializzata recipient donating -->
<rich:dropDownMenu value="CRUSCOTTO NNG">
<rich:menuItem action="#{navigationMenu.nng_recipient}" value="Nuova NNG Recipient" rendered="#{(user.codiceProfilo eq 'OR') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'ON')}"/>
<rich:menuItem action="#{navigationMenu.notificheNngRec}" value="NNG - Vista Recipient" rendered="#{(user.codiceProfilo eq 'OR') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'VR') or (user.codiceProfilo eq 'ON') or (user.codiceProfilo eq 'VN')}"/>
<rich:menuItem action="#{navigationMenu.notificheNngDon}" value="NNG - Vista Donating" rendered="#{(user.codiceProfilo eq 'OD') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'VD') or (user.codiceProfilo eq 'ON') or (user.codiceProfilo eq 'VN')}"/>
<rich:menuItem action="#{navigationMenu.nng_ot}" value="NNG - Vista Operatore Terzo" rendered="#{(user.codiceProfilo eq 'OT') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'VT') or (user.codiceProfilo eq 'ON') or (user.codiceProfilo eq 'VN')}" />
<rich:menuItem action="#{navigationMenu.nng_returning}" value="Nuova NNG TIM Returning" rendered="#{(user.codiceProfilo eq 'OC') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'ON')}" />
<rich:menuItem action="#{navigationMenu.notificheNngReturning}" value="NNG - Vista TIM Returning" rendered="#{(user.codiceProfilo eq 'OC') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'VC') or (user.codiceProfilo eq 'ON') or (user.codiceProfilo eq 'VN')}" />
<rich:menuItem action="#{navigationMenu.notificheNngReturned}" value="NNG - Vista OLO Returning" rendered="#{(user.codiceProfilo eq 'OC') or (user.codiceProfilo eq 'GG') or (user.codiceProfilo eq 'VC') or (user.codiceProfilo eq 'ON') or (user.codiceProfilo eq 'VN')}" />
</rich:dropDownMenu>
<rich:dropDownMenu value="DBCFX GO">
<rich:menuItem action="#{navigationMenu.report}" value="#{msg.menu_top_report_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV') or (user.codiceProfilo eq 'GA')}"/>
<rich:menuItem action="#{navigationMenu.richieste}" value="#{msg.menu_top_richieste_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV')}" />
<rich:menuItem action="#{navigationMenu.richiesteD82}" value="#{msg.menu_top_richieste82_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV')}" />
<rich:menuItem action="#{navigationMenu.notificheRec}" value="#{msg.menu_top_richieste_rec_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV')}" />
<rich:menuItem action="#{navigationMenu.notificheDon}" value="#{msg.menu_top_richieste_don_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV')}" />
<rich:menuItem action="#{navigationMenu.monitoring}" value="#{msg.menu_top_semaforo_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GA')}"/>
</rich:dropDownMenu>
<rich:dropDownMenu value="TOOL KO">
<rich:menuItem action="#{navigationMenu.routing}" value="#{msg.menu_top_routing_link}" rendered="#{ user.codiceProfilo eq 'GG' }" />
<rich:menuItem action="#{navigationMenu.cambioStatoMassivo}" value="#{msg.menu_top_cambioStatoMassivo_link}" rendered="#{ (user.codiceProfilo eq 'GG') or (user.showMask eq '1') }" />
<rich:menuItem action="#{navigationMenu.cruscotto}" value="#{msg.menu_top_cruscotto_link}" rendered="#{ user.codiceProfilo eq 'GG' }" />
<rich:menuItem action="#{navigationMenu.downloadFile}" value="#{msg.menu_top_download_link}" rendered="#{ user.codiceProfilo eq 'GG' }" />
<rich:menuItem action="#{navigationMenu.toolkoRichieste}" value="#{msg.menu_top_toolkoRichieste_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV')}" />
</rich:dropDownMenu>
<rich:dropDownMenu value="CODICE ORDINE">
<rich:menuItem action="#{navigationMenu.ricercaCodiceOrdine}" value="#{msg.menu_top_ricercaCodiceOrdine_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV') or (user.codiceProfilo eq 'GA')}"/>
<rich:menuItem action="#{navigationMenu.storicoCodiceOrdine}" value="#{msg.menu_top_storicoCodiceOrdine_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'GV') or (user.codiceProfilo eq 'GA')}"/>
</rich:dropDownMenu>
<rich:menuItem action="#{navigationMenu.logout}" value="#{msg.menu_top_logout_link}" style="cursor: pointer" />
</rich:toolBar>
<rich:spacer width="1" height="10"/>

View File

@@ -0,0 +1,18 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<table width="100%" class="color1" border="0">
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr align="center" valign="middle">
<th class="XXL bold inverse" align="center">Utente non autenticato!</th>
</tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr align="center" valign="middle">
<th align="center"><t:messages styleClass="XL_Error" layout="table"></t:messages></th>
</tr>
<tr align="center" valign="middle">
<td colspan="3">&nbsp;</td>
</tr>
<tr><th class="bold inverse">&nbsp;</th></tr>
</table>

View File

@@ -0,0 +1,70 @@
<!-- <tr>
<td>
<rich:panel header="NP NG - Cerca richiesta Recipient" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_recipient.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceFiscalePiva" style="color:black;font-weight:bold;" value="CF / P.IVA: " />
</rich:column>
<rich:column>
<t:inputText id="codiceFiscalePiva" value="#{nng_recipient.codiceFiscalePiva}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" style="color:black;font-weight:bold;" value="Data Ordine: " />
</rich:column>
<rich:column>
<t:inputText id="dataOrdine" value="#{nng_recipient.dataOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoScarto" style="color:black;font-weight:bold;" value="Tipo Scarto: " />
</rich:column>
<rich:column>
<t:inputText id="tipoScarto" value="#{nng_recipient.tipoScarto}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{nng_recipient.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr> -->

View File

@@ -0,0 +1,8 @@
<%@ taglib uri="http://facestrace.sourceforge.net" prefix="ft"%>
<table width="100%">
<tr>
<td width="100%"><ft:trace/></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,24 @@
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<table width="100%" class="color1" border="0">
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr align="center" valign="middle">
<th class="XL bold inverse" align="center">Errore!</th>
</tr>
<tr align="center" valign="middle">
<th align="center"><rich:messages styleClass="XL_Error" layout="table" /></th>
</tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr><th class="XXL bold inverse"><span class="inverse XL">
<t:graphicImage value="/resources/images/logo_telecom_ef.gif" alt="logo telecom"></t:graphicImage></span></th>
</tr>
<tr align="center" valign="middle">
<td colspan="3">&nbsp;</td>
</tr>
<tr><th class="bold inverse">&nbsp;</th></tr>
</table>

View File

@@ -0,0 +1,7 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<table width="100%" class="color1" border="0" height="100%">
<tr align="center" valign="middle">
<th class="XXL bold inverse" align="center">Service &amp; Number Portability</th>
</tr>
</table>

View File

@@ -0,0 +1,419 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<a4j:region>
<h:form id="poll_form">
<a4j:poll id="poll" interval="#{monitoring.pollInterval}"
action="#{monitoring.viewAction}" enabled="#{monitoring.pollEnabled}"
reRender="poll,panel_requestView" />
</h:form>
</a4j:region>
<h:form id="monitoring_form">
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%">
<tr width="100%">
<td>
<rich:panel header="#{msg.header_semaforo}" style="cellpadding=0px;cellspacing=0px;width:100%;text-align:left;">
<h:panelGrid align="center" cellpadding="0" border="0" cellspacing="0" columns="3">
<rich:column width="33%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<h:outputLabel for="filtroProcesso" style="color:black;font-weight:bold;" value="#{msg.label_selectProcess}" />
<t:selectOneMenu style="width:170px;" value="#{monitoring.filter.processo}">
<t:selectItems value="#{lov.listaProcessi}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"/>
</t:selectOneMenu>
</h:panelGrid>
</rich:column>
<rich:column width="33%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<h:panelGroup>
<h:outputLabel for="dateFrom" value="#{msg.label_intervalDateFrom}" style="color:black;font-weight:bold;" />
<rich:calendar id="calDateFrom" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy"
enableManualInput="false" requiredMessage="required message"
value="#{monitoring.filter.dateFrom}" />
</h:panelGroup>
</h:panelGrid>
</rich:column>
<rich:column width="33%">
<h:panelGrid columns="1">
<h:panelGroup>
<h:outputLabel for="dateTo" value="#{msg.label_intervalDateTo}" style="color:black;font-weight:bold;" />
<rich:calendar id="calDateTo" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy"
enableManualInput="false" requiredMessage="required message"
value="#{monitoring.filter.dateTo}">
<f:validator validatorId="DateCompareValidator" />
<f:attribute name="operator" value="ge" />
<f:attribute name="compareWith" value="main:monitoring_form:calDateFrom" />
<f:attribute name="compareFieldName" value="Start Date" />
</rich:calendar>
</h:panelGroup>
</h:panelGrid>
</rich:column>
</h:panelGrid>
<rich:spacer height="10" />
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="1" width="90%">
<rich:column>
<rich:message for="calDateTo" errorLabelClass="error">
<f:facet name="errorMarker">
<h:graphicImage value="/resources/images/error_small.gif" />
</f:facet>
</rich:message>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" styleClass="button" width="100%" rowClasses="buttonReport" style="background-color: #CCCCCC; text-align:center;" align="center">
<h:column>
<a4j:commandButton id="buttonId"
action="#{monitoring.viewAction}" value="#{msg.button_view}" type="submit"
status="semaforoViewStatus" reRender="panel_semaforoView"
onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');"/>
</h:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td align="center">
<a4j:region id="region_semaforo">
<rich:modalPanel shadowDepth="1" shadowOpacity="4" styleClass="rich-mpnl-shadow" style="background-color:#FFFFFF; filter:alpha( opacity=80); border:2 outset;border-color:#AAAAFF;" width="252" height="232" id="loadingPanel" autosized="true" zindex="100" left="500" top="150">
<h:graphicImage alt="loading..." width="250" height="230" style="align:center;" value="/resources/images/loading_aqua.gif" />
</rich:modalPanel>
<a4j:outputPanel id="out_panel_semaforoView" ajaxRendered="true"
style="width:100%;align:center;" layout="block">
<a4j:status id="semaforoViewStatus" layout="block"
style="width:100%;align:center;">
<f:facet name="start">
</f:facet>
<f:facet name="stop">
<rich:panel id="panel_semaforoView"
rendered="#{(monitoring.view ne null) and (monitoring.viewSize gt 0)}"
style="cellpadding=0px;cellspacing=0px;width:100%;text-align:center;">
<rich:spacer height="20" />
<rich:dataTable width="60%" id="view_table" rows="30"
columnClasses="col" value="#{monitoring.view}" var="colonna"
border="1"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
style="border-style: solid; border-width: 2px; align:center;">
<f:facet name="header">
<h:outputFormat value="#{msg.semaforo_table_header}">
<f:param value="#{monitoring.filter.processo}" />
<f:param value="#{monitoring.lastUpdate}" />
</h:outputFormat>
</f:facet>
<rich:column rendered="false">
<h:outputText value="#{colonna[0]}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="#{msg.semaforo_table_STATO}" />
</f:facet>
<h:outputText value="#{colonna[1]}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column style="font-weight:bold;text-align:center;">
<f:facet name="header">
<t:graphicImage
value="/resources/images/semaforo_small_green.gif"
align="center"></t:graphicImage>
</f:facet>
<a4j:commandLink value="#{colonna[2]}"
action="#{monitoring.viewRequestAction}"
style="text-decoration:none" reRender="panel_requestView"
rendered="#{(colonna[2] ne '0')}" status="requestViewStatus"
onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');">
<f:param name="selectedStateId" value="#{colonna[0]}" />
<f:param name="selectedState" value="#{colonna[1]}" />
<f:param name="selectedPos" value="2" />
<f:param name="selectedCount" value="#{colonna[2]}" />
</a4j:commandLink>
<h:outputText value="#{colonna[2]}"
rendered="#{(colonna[2] eq '0')}"
style="color:black;font-weight:bold;font-size:11;" />
</rich:column>
<rich:column style="font-weight:bold;text-align:center;">
<f:facet name="header">
<t:graphicImage
value="/resources/images/semaforo_small_yellow.gif"
align="center"></t:graphicImage>
</f:facet>
<a4j:commandLink value="#{colonna[3]}"
action="#{monitoring.viewRequestAction}"
style="text-decoration:none" reRender="panel_requestView"
rendered="#{(colonna[3] ne '0')}" status="requestViewStatus"
onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');">
<f:param name="selectedStateId" value="#{colonna[0]}" />
<f:param name="selectedState" value="#{colonna[1]}" />
<f:param name="selectedPos" value="3" />
<f:param name="selectedCount" value="#{colonna[3]}" />
</a4j:commandLink>
<h:outputText value="#{colonna[3]}"
rendered="#{(colonna[3] eq '0')}"
style="color:black;font-weight:bold;font-size:11;" />
</rich:column>
<rich:column style="font-weight:bold;text-align:center;">
<f:facet name="header">
<t:graphicImage
value="/resources/images/semaforo_small_red.gif"
align="center"></t:graphicImage>
</f:facet>
<a4j:commandLink value="#{colonna[4]}"
action="#{monitoring.viewRequestAction}"
style="text-decoration:none" reRender="panel_requestView"
rendered="#{(colonna[4] ne '0')}" status="requestViewStatus"
onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');">
<f:param name="selectedStateId" value="#{colonna[0]}" />
<f:param name="selectedState" value="#{colonna[1]}" />
<f:param name="selectedPos" value="4" />
<f:param name="selectedCount" value="#{colonna[4]}" />
</a4j:commandLink>
<h:outputText value="#{colonna[4]}"
rendered="#{(colonna[4] eq '0')}"
style="color:black;font-weight:bold;font-size:11;" />
</rich:column>
<f:facet name="footer">
<rich:columnGroup>
<rich:column style="font-weight:bold;">
<h:outputText value="#{msg.label_totali_semaforo}" />
</rich:column>
<rich:column
style="color:black;font-weight:bold;text-align:center;font-size:11;">
<h:outputText value="#{monitoring.count[2]}" />
</rich:column>
<rich:column
style="color:black;font-weight:bold;text-align:center;font-size:11;">
<h:outputText value="#{monitoring.count[3]}" />
</rich:column>
<rich:column
style="color:black;font-weight:bold;text-align:center;font-size:11;">
<h:outputText value="#{monitoring.count[4]}" />
</rich:column>
</rich:columnGroup>
</f:facet>
</rich:dataTable>
</rich:panel>
</f:facet>
</a4j:status>
</a4j:outputPanel>
</a4j:region>
</td>
</tr>
<tr>
<td align="center">
<a4j:region id="region_request">
<a4j:outputPanel id="out_panel_requestView" ajaxRendered="true" style="align:center">
<a4j:status id="requestViewStatus" forceId="requestViewStatus"
layout="block" style="width:100%;align:center;">
<f:facet name="start">
</f:facet>
<f:facet name="stop">
<rich:panel id="panel_requestView"
rendered="#{(monitoring.requestList ne null) and (monitoring.requestListSize gt 0)}"
style="cellpadding=0px;cellspacing=0px;width:100%;text-align:center;">
<rich:spacer height="20" />
<rich:toolBar id="bar" height="20" itemSeparator="line"
width="60%">
<rich:toolBarGroup>
<h:outputFormat value="#{msg.richieste_table_header}">
<f:param value="#{monitoring.selectedState}" />
</h:outputFormat>
<h:graphicImage value="#{monitoring.selectedColor}" />
</rich:toolBarGroup>
</rich:toolBar>
<rich:dataTable width="60%" id="request_table" rows="30"
columnClasses="col" value="#{monitoring.requestList}"
var="request" border="1"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
style="border-style: solid; border-width: 2px; align:center;">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{msg.label_id_esigenza}" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{msg.label_data_olo}" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{msg.label_crm}" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{msg.label_num_tel}" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{msg.label_olo}" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{msg.label_cod_servzio}" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{request.idEsigenza}"
onclick="showDiv#{request.idProg}();hideShowLink#{request.idProg}();showHideLink#{request.idProg}()"
styleClass="myLink1" />
<h:outputText id="hideLink" value="#{request.idEsigenza}"
onclick="hideDiv#{request.idProg}();hideHideLink#{request.idProg}();showShowLink#{request.idProg}()"
styleClass="myLink2" style="display: none;" />
<rich:effect name="hideShowLink#{request.idProg}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{request.idProg}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{request.idProg}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{request.idProg}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{request.idProg}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{request.idProg}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{request.dataInvioOlo}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<h:outputText value="#{request.piattaformaCrm}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<h:outputText value="#{request.numeroTelefono}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<h:outputText value="#{request.cow}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<h:outputText value="#{request.cos}"
style="color:black;font-weight:bold;" />
</rich:column>
</rich:columnGroup>
<rich:columnGroup>
<rich:column colspan="6">
<f:facet name="header" />
<a4j:region id="dettaglioRegion" renderRegionOnly="true">
<rich:panel id="panelloDettaglio" style="display: none;">
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="#{msg.label_stato} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.gnpgoStatoRec.descrStato}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_causaleRifiutoOlo} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.causaleRifiutoOlo}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText
value="#{msg.label_causaleRifiutoPitagora} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.causaleRifiutoPitagora}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_canaleVendita} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.canaleVendita}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_marcaggio} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{lov.hashMarcaggi[request.marcaggio].descr}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText
value="#{msg.label_dataRicezioneRichiesta} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.dataRicezioneRichiesta}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText
value="#{msg.label_dataRicezioneAccettato} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.dataRicezionePic}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dac} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.dac}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_codiceSessione} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.codSessioneOlo}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataInvioPitagora} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.dataInvioPitagora}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_nomeFilePitagora} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.nomeFilePitagora}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_nomeFileOLO} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.nomeFileOlo}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_cor} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.cor}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_Piva} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.codFiscalePIva}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText
value="#{msg.label_numTentativiRiciclo} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.nroInviiOlo}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataRicezioneKO} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{request.dataRicezioneKoOlo}"
style="color:black;font-weight:bold;" />
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</a4j:region>
</rich:column>
</rich:columnGroup>
<f:facet name="footer">
<rich:datascroller align="center" renderIfSinglePage="false"
maxPages="20" fastStep="21" id="sc2"/>
</f:facet>
</rich:dataTable>
</rich:panel>
</f:facet>
</a4j:status>
</a4j:outputPanel>
</a4j:region>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,133 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Nuova richiesta Donating" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoComunicazione" style="color:black;font-weight:bold;" value="Tipo Comunicazione: " />
</rich:column>
<rich:column>
<t:inputText id="tipoComunicazione" value="#{nng_donating.tipoComunicazione}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoServizio" style="color:black;font-weight:bold;" value="Tipo Servizio: " />
</rich:column>
<rich:column>
<t:inputText id="tipoServizio" value="#{nng_donating.tipoServizio}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_donating.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceFiscalePiva" style="color:black;font-weight:bold;" value="CF / P.IVA: " />
</rich:column>
<rich:column>
<t:inputText id="codiceFiscalePiva" value="#{nng_donating.codiceFiscalePiva}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="idOperatore" style="color:black;font-weight:bold;" value="OP ID: " />
</rich:column>
<rich:column>
<t:inputText id="idOperatore" value="#{nng_donating.idOperatore}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dac" style="color:black;font-weight:bold;" value="DAC: " />
</rich:column>
<rich:column>
<t:inputText id="dac" value="#{nng_donating.dac}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceProgetto" style="color:black;font-weight:bold;" value="Codice Progetto: " />
</rich:column>
<rich:column>
<t:inputText id="codiceProgetto" value="#{nng_donating.codiceProgetto}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="mailAddress" style="color:black;font-weight:bold;" value="Email: " />
</rich:column>
<rich:column>
<t:inputText id="mailAddress" value="#{nng_donating.mailAddress}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_insert}"
action="#{nng_donating.inserisciRichiesta}"
title="Inserisci"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,212 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Nuova richiesta Recipient" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoComunicazione" style="color:black;font-weight:bold;" value="Tipo Comunicazione: " />
</rich:column>
<rich:column>
<t:inputText id="tipoComunicazione" value="1" disabled="true"/>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoServizio" style="color:black;font-weight:bold;" value="Tipo Servizio: " />
</rich:column>
<rich:column>
<t:selectOneMenu id="tipoServizio" onchange="dacVisible()" value="#{nng_recipient.tipoServizio}">
<f:selectItem id="servizio0" itemLabel="0 - Addebito al chiamato" itemValue="0" />
<f:selectItem id="servizio1" itemLabel="1 - Addebito ripartito" itemValue="1" />
<f:selectItem id="servizio2" itemLabel="2 - Addebito al chiamante" itemValue="2" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" maxlength="12" value="#{nng_recipient.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceFiscalePiva" style="color:black;font-weight:bold;" value="CF / P.IVA: " />
</rich:column>
<rich:column>
<t:inputText id="codiceFiscalePiva" maxlength="16" value="#{nng_recipient.codiceFiscalePiva}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="oloDonating" style="color:black;font-weight:bold;" value="OLO Donating" />
</rich:column>
<rich:column>
<t:inputText id="oloDonating" maxlength="3" value="#{nng_recipient.oloDonating}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dac" style="color:black;font-weight:bold;" value="DAC: " />
</rich:column>
<rich:column>
<rich:calendar id="dac" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{nng_recipient.dac}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceProgetto" style="color:black;font-weight:bold;" value="Codice Progetto: " />
</rich:column>
<rich:column>
<t:inputText id="codiceProgetto" maxlength="10" value="#{nng_recipient.codiceProgetto}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="idOperatore" style="color:black;font-weight:bold;" value="ID Operatore: " />
</rich:column>
<rich:column>
<t:selectOneMenu id="idOperatore" onchange="dacVisible()" value="#{nng_recipient.idOperatore}">
<f:selectItem id="op01" itemLabel="204" itemValue="204" />
<f:selectItem id="op02" itemLabel="244" itemValue="244" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="mailAddress" style="color:black;font-weight:bold;" value="Email: " />
</rich:column>
<rich:column>
<t:inputText id="mailAddress" value="#{nng_recipient.mailAddress}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="Dac minima: " />
</rich:column>
<rich:column>
<h:outputLabel style="color:red;font-weight:bold;" value="Tipo Servizio 0/1: " />
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{nng_recipient.dacIdeale01}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputLabel style="color:red;font-weight:bold;" value="Tipo Servizio 2: " />
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{nng_recipient.dacIdeale02}"/>
</h:outputFormat>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneKO" value="#{nng_recipient.erroreCompilazione}" style="color:red;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneOK" value="#{nng_recipient.compilazioneCorretta}" style="color:green;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_insert}"
action="#{nng_recipient.inserisciRichiesta}"
onclick="return confirm('Vuoi confermare invio notifica con i parametri inseriti?')"
title="Inserisci"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>
<script type="text/javascript">
/*
function dacVisible(){
if(document.getElementById('servizio2').selected=true) {
document.getElementById('dac1').style.display = 'none';
document.getElementById('dac2').style.display = 'block';
} else {
document.getElementById('dac2').style.display = 'none';
document.getElementById('dac1').style.display = 'block';
}
}*/
</script>

View File

@@ -0,0 +1,133 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Nuova richiesta Donating" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoComunicazione" style="color:black;font-weight:bold;" value="Tipo Comunicazione: " />
</rich:column>
<rich:column>
<t:inputText id="tipoComunicazione" value="#{nng_donating.tipoComunicazione}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoServizio" style="color:black;font-weight:bold;" value="Tipo Servizio: " />
</rich:column>
<rich:column>
<t:inputText id="tipoServizio" value="#{nng_donating.tipoServizio}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_donating.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceFiscalePiva" style="color:black;font-weight:bold;" value="CF / P.IVA: " />
</rich:column>
<rich:column>
<t:inputText id="codiceFiscalePiva" value="#{nng_donating.codiceFiscalePiva}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="idOperatore" style="color:black;font-weight:bold;" value="OP ID: " />
</rich:column>
<rich:column>
<t:inputText id="idOperatore" value="#{nng_donating.idOperatore}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dac" style="color:black;font-weight:bold;" value="DAC: " />
</rich:column>
<rich:column>
<t:inputText id="dac" value="#{nng_donating.dac}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceProgetto" style="color:black;font-weight:bold;" value="Codice Progetto: " />
</rich:column>
<rich:column>
<t:inputText id="codiceProgetto" value="#{nng_donating.codiceProgetto}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="mailAddress" style="color:black;font-weight:bold;" value="Email: " />
</rich:column>
<rich:column>
<t:inputText id="mailAddress" value="#{nng_donating.mailAddress}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_insert}"
action="#{nng_donating.inserisciRichiesta}"
title="Inserisci"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,110 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Nuova richiesta Returning" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoComunicazione" style="color:black;font-weight:bold;" value="Tipo Comunicazione: " />
</rich:column>
<rich:column>
<t:inputText id="tipoComunicazione" value="9" disabled="true"/>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText size="12" id="nng" value="#{nng_returning.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="oloDonating" style="color:black;font-weight:bold;" value="Olo Destinatario: " />
</rich:column>
<rich:column>
<t:inputText size="3" id="oloDonating" value="#{nng_returning.oloDonating}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneKO" value="#{nng_returning.erroreCompilazione}" style="color:red;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneOK" value="#{nng_returning.compilazioneCorretta}" style="color:green;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_insert}"
onclick="return confirm('Vuoi confermare invio notifica con i parametri inseriti?')"
action="#{nng_returning.inserisciRichiesta}"
title="Inserisci"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,158 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr>
<td>
<rich:panel id="listCodiceOrdine" header="#{msg.label_head_cod_ordine}" style="width:100%;text-align:center;">
<h:form id="idlistCodiceOrdine">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="3">
<rich:column>
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="sel_numTel" style="color:black;font-weight:bold;" value="#{msg.label_dn}" />
</rich:column>
<rich:column>
<t:inputText id="sel_numTel" value="#{ricercaCodiceOrdine.numTel}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column>
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="sel_codiceFiscale" style="color:black;font-weight:bold;" value="#{msg.label_cod_fiscale}" />
</rich:column>
<rich:column>
<t:inputText id="sel_codiceFiscale" value="#{ricercaCodiceOrdine.codiceFiscale}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="30"/>
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="3">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{ricercaCodiceOrdine.search}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="30"/>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<rich:dataTable value="#{ricercaCodiceOrdine.results}" width="98%" var="item" id="listaStorico" rows="25" style="text-align: center" columnClasses="col" rendered="#{ricercaCodiceOrdine.resultSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine" />
</rich:column>
<rich:column>
<h:outputText value="DN" />
</rich:column>
<rich:column>
<h:outputText value="Partita IVA / CF" />
</rich:column>
<rich:column>
<h:outputText value="Data Ordine" />
</rich:column>
<rich:column>
<h:outputText value="Data ricezione Tipo Com. 2" />
</rich:column>
<rich:column>
<h:outputText value="DAC inviata" />
</rich:column>
<rich:column>
<h:outputText value="Data fine silensio assenso" />
</rich:column>
<rich:column>
<h:outputText value="ID Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Codice Sessione OLO" />
</rich:column>
<rich:column>
<h:outputText value="Data ricezione codice Sessione" />
</rich:column>
<rich:column>
<h:outputText value="Codice tipo rientro" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputText value="#{item.id.codiceOrdine}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.id.dn}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codFiscalePIva}" rendered="#{ (user.codiceProfilo eq 'GG') }"/>
<h:outputText value="********************" rendered="#{ !(user.codiceProfilo eq 'GG') }"/>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{item.dataRicezioneTipoComm2 != null}">
<f:param value="#{item.dataRicezioneTipoComm2}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataRicezioneTipoComm2 == null}"/>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dacInviata}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dfsa != null}">
<f:param value="#{item.dfsa}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dfsa == null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.id.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codSessioneOlo}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{item.dataRicezioneCodSessione != null}">
<f:param value="#{item.dataRicezioneCodSessione}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataRicezioneCodSessione == null}"/>
</rich:column>
<rich:column>
<h:outputText value="U" rendered="#{item.processo eq 'FONIA' || item.processo eq 'DOPPIO_DONATING' || item.processo eq 'NAKED'}"/>
<h:outputText value="N" rendered="#{item.processo eq 'NPg35' || item.processo eq 'OLO35MN'}"/>
<h:outputText value="O" rendered="#{item.processo eq 'NATIVIOLO'}"/>
<h:outputText value="S" rendered="#{item.processo eq 'ADSL'}"/>
<h:outputText value="V" rendered="#{item.processo eq 'VOIP35'}"/>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<h:panelGrid align="left">
<rich:column>
<t:commandButton id="DownloadButtonCruscotto" action="#{ricercaCodiceOrdine.download}" type="submit" value="Download CSV"
rendered="#{ricercaCodiceOrdine.resultSize gt 0}" style="cursor:pointer" title="Download dei risultati in formato CSV"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:panel>
</td>
</tr>
</table>

View File

@@ -0,0 +1,284 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<!-- DEL 103 227248 / 152248 --->
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP - Gestione richieste TIM Donating" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="33%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="numeroTelefonoT" style="color:black;font-weight:bold;" value="Numero Telefono: " />
</rich:column>
<rich:column>
<t:inputText id="numeroTelefonoT" value="#{notificheDon.numTel}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="33%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdineNP" style="color:black;font-weight:bold;" value="Codice Ordine: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdineNP" value="#{notificheDon.codiceOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="33%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codCorrelazione" style="color:black;font-weight:bold;" value="Cod.Correlazione: " />
</rich:column>
<rich:column>
<t:inputText id="codCorrelazione" value="#{notificheDon.idCorrelazione}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{notificheDon.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{notificheDon.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{notificheDon.testataSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Numero Telefono" />
</rich:column>
<rich:column>
<h:outputText value="Piattaforma CRM" />
</rich:column>
<rich:column>
<h:outputText value="Recipient" />
</rich:column>
<rich:column>
<h:outputText value="Donor" />
</rich:column>
<rich:column>
<h:outputText value="Cod.Correlazione" />
</rich:column>
<rich:column>
<h:outputText value="Data KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice Rifiuto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Rifiuto" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.codiceOrdine}"
onclick="showDiv#{item.uniqueId}();hideShowLink#{item.uniqueId}();showHideLink#{item.uniqueId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.codiceOrdine}"
onclick="hideDiv#{item.uniqueId}();hideHideLink#{item.uniqueId}();showShowLink#{item.uniqueId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.uniqueId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.uniqueId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.uniqueId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.uniqueId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.uniqueId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.uniqueId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaCrm}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpRecipient}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpDonor}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codCorrelazione}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dataKO ne null}">
<f:param value="#{item.dataKO}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataKO == null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceRifiuto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.descrizioneRifiuto}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="9" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{notificheDon.listaRichieste}" width="100%" var="donList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{notificheDon.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(donList.codiceOrdine) eq (item.codiceOrdine)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Piattaforma CRM : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.piattaformaCrm}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numero telefono : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.numeroTelefono}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Recipient : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.codOpRecipient}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Donor : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codOpDonor}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Esito : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.esito}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.descrizioneRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Cod.Correlazione : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codCorrelazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file Fenp : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.nomeFileFenp}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Routing Number : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.routingNumber}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DAC : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dac != null}">
<f:param value="#{donList.dac}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data invio richiesta : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dataInvioRichiesta != null}">
<f:param value="#{donList.dataInvioRichiesta}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Segreto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceSegreto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Progetto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceProgetto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numero tot richieste : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.numTotRichieste}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data espletamento ordine : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dataEspletamentoOrdine != null}">
<f:param value="#{donList.dataEspletamentoOrdine}"/>
</h:outputFormat>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,306 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<!-- DEL 103 227248 / 152248 --->
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP - Gestione richieste TIM Recipient" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="numeroTelefonoT" style="color:black;font-weight:bold;" value="Numero Telefono: " />
</rich:column>
<rich:column>
<t:inputText id="numeroTelefonoT" value="#{notificheRec.numTel}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="identificativoTIM" style="color:black;font-weight:bold;" value="Identificativo TIM: " />
</rich:column>
<rich:column>
<t:inputText id="identificativoTIM" value="#{notificheRec.identificativoTIM}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdineNP" style="color:black;font-weight:bold;" value="Codice Ordine: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdineNP" value="#{notificheRec.codiceOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codCorrelazione" style="color:black;font-weight:bold;" value="Cod.Correlazione: " />
</rich:column>
<rich:column>
<t:inputText id="codCorrelazione" value="#{notificheRec.idCorrelazione}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{notificheRec.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{notificheRec.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{notificheRec.testataSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Numero Telefono" />
</rich:column>
<rich:column>
<h:outputText value="Piattaforma CRM" />
</rich:column>
<rich:column>
<h:outputText value="Identificativo TIM" />
</rich:column>
<rich:column>
<h:outputText value="Donating" />
</rich:column>
<rich:column>
<h:outputText value="Donor" />
</rich:column>
<rich:column>
<h:outputText value="Cod.Correlazione" />
</rich:column>
<rich:column>
<h:outputText value="Data KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice Rifiuto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Rifiuto" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.codiceOrdine}"
onclick="showDiv#{item.uniqueId}();hideShowLink#{item.uniqueId}();showHideLink#{item.uniqueId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.codiceOrdine}"
onclick="hideDiv#{item.uniqueId}();hideHideLink#{item.uniqueId}();showShowLink#{item.uniqueId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.uniqueId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.uniqueId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.uniqueId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.uniqueId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.uniqueId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.uniqueId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaCrm}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpDonating}" rendered="#{item.codOpDonating != null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpDonor}" rendered="#{item.codOpDonor != null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codCorrelazione}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dataKO ne null}">
<f:param value="#{item.dataKO}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataKO == null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceRifiuto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.descrizioneRifiuto}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="10" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{notificheRec.listaRichieste}" width="100%" var="recList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{notificheRec.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(recList.codiceOrdine) eq (item.codiceOrdine)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Id Esigenza : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.idEsigenza}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Piattaforma CRM : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.piattaformaCrm}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numero telefono : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.numeroTelefono}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Donating : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codOpDonating}" style="color:black;font-weight:bold;"
rendered="#{(recList.tipoComunicazione) ne '1'}"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Donor : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codOpDonor}" style="color:black;font-weight:bold;"
rendered="#{(recList.tipoComunicazione) ne '1'}"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Esito : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.esito}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.descrizioneRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Cod.Correlazione : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codCorrelazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file Fenp : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.nomeFileFenp}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Routing Number : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.routingNumber}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DAC : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dac != null}">
<f:param value="#{recList.dac}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data invio richiesta : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dataInvioRichiesta != null}">
<f:param value="#{recList.dataInvioRichiesta}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Segreto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codiceSegreto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Progetto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codiceProgetto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numero tot richieste : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.numTotRichieste}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data espletamento ordine : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dataEspletamentoOrdine != null}">
<f:param value="#{recList.dataEspletamentoOrdine}"/>
</h:outputFormat>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,461 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="Vista Uscite FTTH" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdineRec" style="color:black;font-weight:bold;" value="Codice Ordine Recipient: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdineRec" value="#{richiesteD82.codiceOrdineRecipient}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="cor" style="color:black;font-weight:bold;" value="COR: " />
</rich:column>
<rich:column>
<t:inputText id="cor" value="#{richiesteD82.cor}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="numTelefono" style="color:black;font-weight:bold;" value="Numero Telefono: " />
</rich:column>
<rich:column>
<t:inputText id="numTelefono" value="#{richiesteD82.numTel}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" value="Data Ordine:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdine" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richiesteD82.dataRichiesta}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dac" value="Data DAC:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dac" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richiesteD82.dac}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="piattaformaCRM" style="color:black;font-weight:bold;" value="Piattaforma CRM:" />
</rich:column>
<rich:column>
<t:selectOneMenu id="piattaformaCRM" value="#{richiesteD82.piattaformaCrm}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<f:selectItem itemLabel="Consumer" itemValue="D" />
<f:selectItem itemLabel="Business" itemValue="B" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="visuaEsito" style="color:black;font-weight:bold;" value="Esito:" />
</rich:column>
<rich:column>
<t:selectOneMenu id="visuaEsito" value="#{richiesteD82.esito}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<f:selectItem itemLabel="Solo OK" itemValue="0" />
<f:selectItem itemLabel="Solo KO" itemValue="1" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataKO" value="Data KO:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataKO" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richiesteD82.dataKO}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{richiesteD82.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{richiesteD82.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{richiesteD82.testataSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine Recipient"/>
</rich:column>
<rich:column>
<h:outputText value="Codice Ordine WHS"/>
</rich:column>
<rich:column>
<h:outputText value="COR" />
</rich:column>
<rich:column>
<h:outputText value="Numero Telefono" />
</rich:column>
<rich:column>
<h:outputText value="Piattaforma CRM" />
</rich:column>
<rich:column>
<h:outputText value="Data Ordine" />
</rich:column>
<rich:column>
<h:outputText value="Recipient" />
</rich:column>
<rich:column>
<h:outputText value="Donating" />
</rich:column>
<rich:column>
<h:outputText value="Codice Sessione" />
</rich:column>
<rich:column>
<h:outputText value="DAC" />
</rich:column>
<rich:column>
<h:outputText value="Data KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice Rifiuto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Rifiuto" />
</rich:column>
<rich:column>
<h:outputText value="DES" />
</rich:column>
<rich:column>
<h:outputText value="Ultimo Evento NOW" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.codiceOrdineRecipient}"
onclick="showDiv#{item.idRichiesta}();hideShowLink#{item.idRichiesta}();showHideLink#{item.idRichiesta}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.codiceOrdineRecipient}"
onclick="hideDiv#{item.idRichiesta}();hideHideLink#{item.idRichiesta}();showShowLink#{item.idRichiesta}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.idRichiesta}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.idRichiesta}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.idRichiesta}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.idRichiesta}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.idRichiesta}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.idRichiesta}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceOrdineWhs}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.cor}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaCrm}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dataCreazione ne null}">
<f:param value="#{item.dataCreazione}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataCreazione == null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.opRecipient}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.cow}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceSessione}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dac ne null}">
<f:param value="#{item.dac}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dac == null}"/>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dataKO ne null}">
<f:param value="#{item.dataKO}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataKO == null}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceRifiuto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.causaleRifiuto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.des}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.ultimoEventoNOW}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="15" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{richiesteD82.listaRichieste}" width="100%" var="donList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{richiesteD82.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(donList.codiceOrdineRecipient) eq (item.codiceOrdineRecipient)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Codice Ordine Recipient : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceOrdineRecipient}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="ID Richiesta DBCFX : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.idRichiesta}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="COR : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.cor}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Piattaforma CRM : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.piattaformaCrm}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numero telefono : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.numeroTelefono}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Recipient : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.opRecipient}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="COW Donating : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.cow}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Esito : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.stato}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.causaleRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="COS : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.cos}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.nomeFile}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="CF / PIVA : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codFiscalePIva}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DAC : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dac != null}">
<f:param value="#{donList.dac}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data notifica : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dataNotifica != null}">
<f:param value="#{donList.dataNotifica}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Sessione : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceSessione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data notifica : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dataScadenza != null}">
<f:param value="#{donList.dataScadenza}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Ordine WHS : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceOrdineWhs}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Tipo Evento Fase 3 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.tipoEventoFase3}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="ID Notifica NOW : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.idNotificaNow}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data espletamento ordine : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.des != null}">
<f:param value="#{donList.des}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn1}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN2 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn2}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN3 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn3}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN4 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn4}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN5 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn5}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN6 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn6}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN7 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn7}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN8 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn8}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN9 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn9}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DN10 : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.dn10}" style="color:black;font-weight:bold;" />
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,763 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="D274 - Ricerca richieste" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="5">
<rich:column width="20%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="causaleRifiutoPitagora" style="color:black;font-weight:bold;" value="#{msg.label_causaleRifiutoPitagora}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:35px;" value="#{richieste.filtroRichiesta.opearatorCausaleRifiutoPitagora}">
<t:selectItems value="#{richieste.filtroRichiesta.guiOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:inputText id="causaleRifiutoPitagora" value="#{richieste.filtroRichiesta.causaleRifiutoPitagora}" />
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="causaleRifiutoOlo" style="color:black;font-weight:bold;" value="#{msg.label_causaleRifiutoOlo}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:35px;" value="#{richieste.filtroRichiesta.opearatorCausaleRifiutoOlo}">
<t:selectItems value="#{richieste.filtroRichiesta.guiOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:inputText id="causaleRifiutoOlo" style="color:black;font-weight:bold;" value="#{richieste.filtroRichiesta.causaleRifiutoOlo}" />
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="codiceOLO" style="color:black;font-weight:bold;" value="#{msg.label_codiceOlo}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:35px;" value="#{richieste.filtroRichiesta.opearatorCodiceOlo}">
<t:selectItems value="#{richieste.filtroRichiesta.guiOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="codiceOLO" style="width:220px;" value="#{richieste.filtroRichiesta.cow}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCodiciOlo}" var="item2" itemLabel="#{item2.descr}" itemValue="#{item2.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="stato" style="color:black;font-weight:bold;" value="#{msg.label_stato}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:35px;" value="#{richieste.filtroRichiesta.opearatorStato}">
<t:selectItems value="#{richieste.filtroRichiesta.guiOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="stato" value="#{richieste.filtroRichiesta.stato}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaStati}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="canaleVendita" style="color:black;font-weight:bold;" value="#{msg.label_canaleVendita}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:35px;" value="#{richieste.filtroRichiesta.opearatorCanaleVendita}">
<t:selectItems value="#{richieste.filtroRichiesta.guiOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="canaleVendita" value="#{richieste.filtroRichiesta.canaleVendita}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCanaliVendita}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataRicezioneRich" value="Data ricezione richiesta:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataRicezioneRich" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richieste.filtroRichiesta.dataRicezioneRichiesta}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataRicezioneAcc" value="Data ricezione accettato:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataRicezioneAcc" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richieste.filtroRichiesta.dataRicezionePic}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column>
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="DataAttesaConsegna" value="Data Attesa Consegna:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="DataAttesaConsegna" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy"
enableManualInput="false" requiredMessage="required message" value="#{richieste.filtroRichiesta.dac}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataInvioOlo" value="Data invio ad OLO:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataInvioOlo" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richieste.filtroRichiesta.dataInvioOlo}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataInvioPitagora" value="Data Invio a Pitagora:" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataInvioPitagora" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" requiredMessage="required message" value="#{richieste.filtroRichiesta.dataInvioPitagora}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="tipoRichiesta" style="color:black;font-weight:bold;" value="Tipo Richiesta:" />
</rich:column>
<rich:column>
<t:selectOneMenu id="tipoRichiesta" value="#{richieste.filtroRichiesta.processo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaProcessi}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="piattaformaCRM" style="color:black;font-weight:bold;" value="Piattaforma CRM:" />
</rich:column>
<rich:column>
<t:selectOneMenu id="piattaformaCRM" value="#{richieste.filtroRichiesta.piattaformaCrm}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaPiattaformeCrm}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="marcaggio" style="color:black;font-weight:bold;" value="Marcaggio:" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:35px;" value="#{richieste.filtroRichiesta.opearatorMarcaggio}">
<t:selectItems value="#{richieste.filtroRichiesta.guiOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="marcaggio" style="width:220px;" value="#{richieste.filtroRichiesta.marcaggio}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaMarcaggi}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="idEsigenza" value="ID Esigenza: " style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<t:inputText id="idEsigenza" value="#{richieste.filtroRichiesta.idEsigenza}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="numeroTelefono" style="color:black;font-weight:bold;" value="Numero Telefono: " />
</rich:column>
<rich:column>
<t:inputText id="numeroTelefono" value="#{richieste.filtroRichiesta.numeroTelefono}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="flagGnr" style="color:black;font-weight:bold;" value="Flag GNR:" />
</rich:column>
<rich:column>
<t:selectOneMenu id="flagGnr" value="#{richieste.filtroRichiesta.flagGnr}">
<f:selectItem itemValue="-1" itemLabel="Tutti"/>
<f:selectItem itemValue="Y" itemLabel="Si"/>
<f:selectItem itemValue="N" itemLabel="No"/>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="flagConsip" style="color:black;font-weight:bold;" value="Flag CONSIP:" />
</rich:column>
<rich:column>
<t:selectOneMenu id="flagConsip" value="#{richieste.filtroRichiesta.flagConsip}">
<f:selectItem itemValue="-1" itemLabel="Tutti"/>
<f:selectItem itemValue="Y" itemLabel="Si"/>
<f:selectItem itemValue="N" itemLabel="No"/>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="20%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceProgetto" value="Codice Progetto : " style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<t:inputText id="codiceProgetto" value="#{richieste.filtroRichiesta.codiceProgetto}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<a4j:commandButton type="submit" onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');" reRender="panel_risultato" id="bottoneId" actionListener="#{richieste.populate}" value="#{msg.button_search}">
</a4j:commandButton>
</rich:column>
<rich:column>
<a4j:commandButton type="submit" onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');" reRender="panel_risultato" id="bottoneIdDuplicati" actionListener="#{richieste.populate}" value="#{msg.button_search_duplicati}">
</a4j:commandButton>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td align="center">
<!-- TABELLA RISULTATO -->
<rich:modalPanel styleClass="rich-mpnl-shadow" style="background-color:#FFFFFF; filter:alpha( opacity=90); border:2 outset;border-color:#AAAAFF;" width="252" height="232" id="loadingPanel" autosized="true" zindex="100">
<h:graphicImage alt="loading..." width="250" height="230" style="align:center;" value="/resources/images/loading_aqua.gif" />
</rich:modalPanel>
<a4j:outputPanel id="panelListaRichieste" ajaxRendered="true" style="align:center;">
<a4j:status id="listaRichiesteStatus" style="width:100%;align:center;">
<f:facet name="start"></f:facet>
<f:facet name="stop">
<rich:panel rendered="#{richieste.resultSize gt 0}" id="panel_risultato" style="background-color:white;cellpadding=0px;cellspacing=0px;width:100%;text-align:center;">
<h:panelGrid columns="2">
<rich:column style="border:0;">
<rich:togglePanel style="border:0;" id="panelToggle" initialState="panelSideBar" switchType="client" stateOrder="closed,panelSideBar">
<f:facet name="closed">
<rich:toggleControl style="border:0;aign:left;">
<t:graphicImage id="pic" style="border-width:0;vertical-align:top;" value="/resources/images/tab_menuLeftOpen.png" alt="Open Menu"/>
</rich:toggleControl>
</f:facet>
<f:facet name="panelSideBar">
<h:panelGrid columns="2" border="0">
<rich:column style="valign:top;border:0;">
<rich:panel header="#{richieste.alberoRichieste.itemName}" style="width:100%;border:1 solid;border-color:#AAAAFF;">
<rich:tree switchType="client" id="alberoRich">
<rich:treeNodesAdaptor id="cowAdaptor" nodes="#{richieste.alberoRichieste.children}" var="cow">
<rich:treeNode>
<a4j:commandLink onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');" styleClass="myLink3" immediate="true" reRender="alberoRich,panel_risultato" value="COW: #{cow.itemName} (#{cow.counter})" actionListener="#{richieste.filtraRisultati}">
<a4j:actionparam assignTo="#{richieste.tipoFiltro}" value="1" name="tipoFiltroCow"></a4j:actionparam>
<a4j:actionparam assignTo="#{richieste.filtro}" value="#{cow.itemName}" name="filtroCow"></a4j:actionparam>
</a4j:commandLink>
</rich:treeNode>
<rich:treeNodesAdaptor id="cosAdaptor" rendered="#{cow.children ne null}" var="cos" nodes="#{cow.children}">
<rich:treeNode>
<a4j:commandLink onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');" styleClass="myLink3" immediate="true" reRender="alberoRich,panel_risultato" value="COS: #{cos.itemName} (#{cos.counter})" actionListener="#{richieste.filtraRisultati}">
<a4j:actionparam assignTo="#{richieste.tipoFiltro}" value="2" name="tipoFiltroCos"></a4j:actionparam>
<a4j:actionparam assignTo="#{richieste.filtro}" value="#{cos.itemName}" name="filtroCos"></a4j:actionparam>
</a4j:commandLink>
</rich:treeNode>
<rich:treeNodesAdaptor rendered="#{cos.children ne null}" id="cvAdaptor" var="cv" nodes="#{cos.children}">
<rich:treeNode>
<a4j:commandLink onclick="Richfaces.showModalPanel('loadingPanel');" oncomplete="Richfaces.hideModalPanel('loadingPanel');" styleClass="myLink3" immediate="true" reRender="alberoRich,panel_risultato" value="Canale Vendita: #{cv.itemName} (#{cv.counter})" actionListener="#{richieste.filtraRisultati}">
<a4j:actionparam assignTo="#{richieste.tipoFiltro}" value="3" name="tipoFiltroCv"></a4j:actionparam>
<a4j:actionparam assignTo="#{richieste.filtro}" value="#{cv.itemName}" name="filtroCv"></a4j:actionparam>
</a4j:commandLink>
</rich:treeNode>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
</rich:tree>
</rich:panel>
</rich:column>
<rich:column style="valign:top;">
<rich:toggleControl style="valign:top;border:0;align:left;">
<t:graphicImage id="pic2" style="border-width:0;" value="/resources/images/tab_menuLeftClose.png" alt="Close Menu"/>
</rich:toggleControl>
</rich:column>
</h:panelGrid>
</f:facet>
</rich:togglePanel>
</rich:column>
<rich:column width="100%">
<rich:dataTable width="100%" id="listaRic" rows="30" columnClasses="col" value="#{richieste.listaRichieste}" var="richiesta">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText style="color:black;" value="Id Esigenza" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Data Invio OLO" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Processo" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Stato" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Piattaforma CRM" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Numero telefono" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Codice OLO" />
</rich:column>
<rich:column>
<h:outputText style="color:black;" value="Codice Servizio" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{richiesta.idEsigenza}"
onclick="showDiv#{richiesta.idProg}();hideShowLink#{richiesta.idProg}();showHideLink#{richiesta.idProg}()"
styleClass="myLink1" />
<h:outputText id="hideLink" value="#{richiesta.idEsigenza}"
onclick="hideDiv#{richiesta.idProg}();hideHideLink#{richiesta.idProg}();showShowLink#{richiesta.idProg}()"
styleClass="myLink2" style="display: none;" />
<rich:effect name="hideShowLink#{richiesta.idProg}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{richiesta.idProg}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{richiesta.idProg}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{richiesta.idProg}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{richiesta.idProg}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{richiesta.idProg}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.dataInvioOlo}" />
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.processo}" />
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.gnpgoStatoRec.descrStato}" />
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.piattaformaCrm}" />
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.cow}" />
</rich:column>
<rich:column>
<h:outputText value="#{richiesta.cos}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="8" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="#{msg.label_tipoRichiesta} : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.processo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_stato} : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.gnpgoStatoRec.descrStato}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_causaleRifiutoOlo} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{richiesta.causaleRifiutoOlo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_causaleRifiutoPitagora} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{richiesta.causaleRifiutoPitagora}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_idEsigenza} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.idEsigenza}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_piattaformaCrm} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{richiesta.piattaformaCrm}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_numeroTelefono} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{richiesta.numeroTelefono}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_codiceOlo} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.cow}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_canaleVendita} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.canaleVendita}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_marcaggio} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{lov.hashMarcaggi[request.marcaggio].descr}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataRicezioneRichiesta} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dataRicezioneRichiesta}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataRicezioneAccettato} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dataRicezionePic}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataInvioOlo} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dataInvioOlo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dac} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dac}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_codiceSessione} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.codSessioneOlo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataInvioPitagora} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dataInvioPitagora}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_nomeFilePitagora} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.nomeFilePitagora}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_nomeFileOLO} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.nomeFileOlo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_cor} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.cor}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_cos} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.cos}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_Piva} : "
styleClass="standard_bold_ruby"></h:outputText>
<!-- visualizzazione condizionle del codice fiscale -->
<h:outputText value="#{richiesta.codFiscalePIva}" style="color:black;font-weight:bold;" rendered="#{ (user.codiceProfilo eq 'GG') }"/>
<h:outputText value="*******************" style="color:black;font-weight:bold;" rendered="#{ !(user.codiceProfilo eq 'GG') }"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_numTentativiRiciclo} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.nroInviiOlo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_dataRicezioneKO} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dataRicezioneKoOlo}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_canVendita} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.canaleVendita}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_idCorrelazione} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.codCorrelazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_esitoA375Pit} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoA375Pitagora}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_olo2} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.cow2}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_flDichiarazione} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText rendered="#{richiesta.flagDichiarazione == '0'}" value="No" style="color:black;font-weight:bold;"/>
<h:outputText rendered="#{richiesta.flagDichiarazione == '1'}" value="Si" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_flDichiarazioneA375} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText rendered="#{richiesta.flagDichiarazioneA375 == '0'}" value="No" style="color:black;font-weight:bold;"/>
<h:outputText rendered="#{richiesta.flagDichiarazioneA375 == '1'}" value="Si" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn1 != null }">
<h:outputText value="#{msg.label_dn1} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn1}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn2 != null }">
<h:outputText value="#{msg.label_dn2} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn2}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn3 != null }">
<h:outputText value="#{msg.label_dn3} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn3}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn4 != null }">
<h:outputText value="#{msg.label_dn4} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn4}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn5 != null }">
<h:outputText value="#{msg.label_dn5} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn5}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn6 != null }">
<h:outputText value="#{msg.label_dn6} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn6}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn7 != null }">
<h:outputText value="#{msg.label_dn7} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn7}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn8 != null }">
<h:outputText value="#{msg.label_dn8} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn8}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn9 != null }">
<h:outputText value="#{msg.label_dn9} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn9}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.dn10 != null }">
<h:outputText value="#{msg.label_dn10} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.dn10}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn1 != null }">
<h:outputText value="#{msg.label_statoDn1} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn1}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn2 != null }">
<h:outputText value="#{msg.label_statoDn2} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn2}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn3 != null }">
<h:outputText value="#{msg.label_statoDn3} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn3}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn4 != null }">
<h:outputText value="#{msg.label_statoDn4} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn4}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn5 != null }">
<h:outputText value="#{msg.label_statoDn5} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn5}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn6 != null }">
<h:outputText value="#{msg.label_statoDn6} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn6}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn7 != null }">
<h:outputText value="#{msg.label_statoDn7} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn7}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn8 != null }">
<h:outputText value="#{msg.label_statoDn8} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn8}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn9 != null }">
<h:outputText value="#{msg.label_statoDn9} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn9}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.statoDn10 != null }">
<h:outputText value="#{msg.label_statoDn10} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.statoDn10}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3751 != null }">
<h:outputText value="#{msg.label_label_esitoDnaggA375_1} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3751}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3752 != null }">
<h:outputText value="#{msg.labell_esitoDnaggA375_2} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3752}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3753 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_3} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3753}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3754 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_4} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3754}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3755 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_5} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3755}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3756 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_6} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3756}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3757 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_7} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3757}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3758 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_8} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3758}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA3759 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_9} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA3759}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup rendered="#{richiesta.esitoDnaggA37510 != null }">
<h:outputText value="#{msg.label_esitoDnaggA375_10} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.esitoDnaggA37510}" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_flGnr} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText rendered="#{richiesta.flagGnr == 'N'}" value="No" style="color:black;font-weight:bold;"/>
<h:outputText rendered="#{richiesta.flagGnr == 'Y'}" value="Si" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_flConsip} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText rendered="#{richiesta.flagConsip == 'N'}" value="No" style="color:black;font-weight:bold;"/>
<h:outputText rendered="#{richiesta.flagConsip == 'Y'}" value="Si" style="color:black;font-weight:bold;"/>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="#{msg.label_CodProg} : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{richiesta.codiceProgetto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller align="center" renderIfSinglePage="false" maxPages="20" fastStep="21" id="sc2" />
</f:facet>
</rich:dataTable>
<a4j:outputPanel style="width:100%;background-color: #CCCCCC; text-align:center;" layout="block">
<t:commandButton id="DownloadButtonId2" action="#{richieste.download}" type="submit" value="Download"/>
</a4j:outputPanel>
</rich:column>
</h:panelGrid>
</rich:panel>
</f:facet>
</a4j:status>
</a4j:outputPanel>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,491 @@
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr>
<td style="text-align: center">
<rich:panel id="pan_routing" header="Regole di Routing">
<h:form id="frm_routing">
<rich:dataTable id="tbl_routing" value="#{routing.regole}" var="regola" rows="25" rules="all" width="98%" style="text-align: center;border: 1px solid black" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="#"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_tipologiaKO}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_olo}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_tipologiaUtente}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_delibera}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_processo}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_canaleVendita}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{msg.label_regola}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{msg.label_basketAss}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{msg.label_gruppoAss}"></h:outputText>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<a4j:commandLink action="#{routing.openDetails}" immediate="true"
reRender="tbl_popup_regola" oncomplete="Richfaces.showModalPanel('popup_regola', {width:'700px',height:'270px'});">
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Modifica Regola"/>
<f:param name="selectedRowIndex" value="#{regola.idRegola}"/>
</a4j:commandLink>
</rich:column>
<rich:column>
<h:outputText value="#{regola.idTipologiaKoFlagOperINOUT}"></h:outputText>
</rich:column>
<rich:column title="#{regola.idTipologiaKoTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.idTipologiaKo}" rendered="#{regola.idTipologiaKo != null}"></h:outputText>
<h:outputText value="Tutti" rendered="#{regola.idTipologiaKo == null}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.oloFlagOperINOUT}"></h:outputText>
</rich:column>
<rich:column title="#{regola.oloTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.olo}" rendered="#{regola.olo != null}"></h:outputText>
<h:outputText value="Tutti" rendered="#{regola.olo == null}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.tipoClienteFlagOperINOUT}"></h:outputText>
</rich:column>
<rich:column title="#{regola.tipoClienteTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.tipoCliente}" rendered="#{regola.tipoCliente != null}"></h:outputText>
<h:outputText value="Tutti" rendered="#{regola.tipoCliente == null}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.deliberaFlagOperINOUT}"></h:outputText>
</rich:column>
<rich:column title="#{regola.deliberaTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.delibera}" rendered="#{regola.delibera != null}"></h:outputText>
<h:outputText value="Tutti" rendered="#{regola.delibera == null}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.processoFlagOperINOUT}"></h:outputText>
</rich:column>
<rich:column title="#{regola.processoTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.processo}" rendered="#{regola.processo != null}"></h:outputText>
<h:outputText value="Tutti" rendered="#{regola.processo == null}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.canaleFlagOperINOUT}"></h:outputText>
</rich:column>
<rich:column title="#{regola.canaleTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.canale}" rendered="#{regola.canale != null}"></h:outputText>
<h:outputText value="Tutti" rendered="#{regola.canale == null}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{regola.descrizione}"></h:outputText>
</rich:column>
<rich:column title="#{regola.idBasketTXT}" style="cursor:pointer">
<h:outputText value="#{regola.idBasket}"></h:outputText>
</rich:column>
<rich:column title="#{regola.idOwnerTXTExtended}" style="cursor:pointer">
<h:outputText value="#{regola.idOwner}"></h:outputText>
</rich:column>
</rich:columnGroup>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
</h:form>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:modalPanel id="popup_regola" autosized="true" left="10px" style="float:left">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('popup_regola');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Dettaglio richiesta --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink action="#{routing.regolaClose}"
reRender="tbl_routing" immediate="true"
onclick="Richfaces.hideModalPanel('popup_regola');" >
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="frm_panelRouting">
<a4j:outputPanel ajaxRendered="true" id="out_panel_modal" >
<h:panelGrid id="tbl_popup_regola" columns="16" columnClasses="col">
<f:facet name="header" >
<rich:columnGroup style="background-color: #ADD8E6">
<rich:column>
<h:outputText value="ID Regola" />
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_tipologiaKO}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_olo}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_tipologiaUtente}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_delibera}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_processo}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{msg.label_canaleVendita}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{msg.label_regola}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{msg.label_basketAss}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{msg.label_gruppoAss}"></h:outputText>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText value=""></h:outputText>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:35px;" id="tipologiaKOflg" onchange="javascript:setDirectValueField('main:frm_panelRouting:valTipologiaKOFlagOper',this.value);setDirectValueSpan('main:frm_panelRouting:valTipologiaKOFlagOperTXT',this.options[this.selectedIndex].text)">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.idStr}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="tipologiaKO" onchange="javascript:setValueField('main:frm_panelRouting:valTipologiaKO',this.value);setValueSpan('main:frm_panelRouting:valTipologiaKOTXT',this.value)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaTipologieKO}" var="item2" itemLabel="#{item2.descr}" itemValue="#{item2.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:35px;" id="oloflg" onchange="javascript:setDirectValueField('main:frm_panelRouting:valOloFlagOper',this.value);setDirectValueSpan('main:frm_panelRouting:valOloFlagOperTXT',this.options[this.selectedIndex].text)">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item3" itemLabel="#{item3.descr}" itemValue="#{item3.idStr}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="olo" onchange="javascript:setValueField('main:frm_panelRouting:valOlo', this.value);setValueSpan('main:frm_panelRouting:valOloTXT', this.value)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCodiciOlo}" var="item4" itemLabel="#{item4.name} - #{item4.descr}" itemValue="#{item4.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:35px;" id="utenzaflg" onchange="javascript:setDirectValueField('main:frm_panelRouting:valTipoClienteFlagOper',this.value);setDirectValueSpan('main:frm_panelRouting:valTipoClienteFlagOperTXT',this.options[this.selectedIndex].text)">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item5" itemLabel="#{item5.descr}" itemValue="#{item5.idStr}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="utenza" onchange="javascript:setValueField('main:frm_panelRouting:valTipoCliente', this.value);setValueSpan('main:frm_panelRouting:valTipoClienteTXT', this.value)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaPiattaformeCrm}" var="item6" itemLabel="#{item6.name} - #{item6.descr}" itemValue="#{item6.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:35px;" id="deliberaflg" onchange="javascript:setDirectValueField('main:frm_panelRouting:valDeliberaFlagOper',this.value);setDirectValueSpan('main:frm_panelRouting:valDeliberaFlagOperTXT',this.options[this.selectedIndex].text)">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item7" itemLabel="#{item7.descr}" itemValue="#{item7.idStr}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="delibera" onchange="javascript:setValueField('main:frm_panelRouting:valDelibera', this.value);setValueSpan('main:frm_panelRouting:valDeliberaTXT', this.value)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaDelibere}" var="item8" itemLabel="#{item8.name} - #{item8.descr}" itemValue="#{item8.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:35px;" id="processoflg" onchange="javascript:setDirectValueField('main:frm_panelRouting:valProcessoFlagOper',this.value);setDirectValueSpan('main:frm_panelRouting:valProcessoFlagOperTXT',this.options[this.selectedIndex].text)">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item9" itemLabel="#{item9.descr}" itemValue="#{item9.idStr}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="processo" onchange="javascript:setValueField('main:frm_panelRouting:valProcesso', this.value);setValueSpan('main:frm_panelRouting:valProcessoTXT', this.value)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaToolProcessi}" var="item10" itemLabel="#{item10.name} - #{item10.descr}" itemValue="#{item10.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:35px;" id="canaleflg" onchange="javascript:setDirectValueField('main:frm_panelRouting:valCanaleFlagOper',this.value);setDirectValueSpan('main:frm_panelRouting:valCanaleFlagOperTXT',this.options[this.selectedIndex].text)">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item11" itemLabel="#{item11.descr}" itemValue="#{item11.idStr}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="canale" onchange="javascript:setValueField('main:frm_panelRouting:valCanale', this.value);setValueSpan('main:frm_panelRouting:valCanaleTXT', this.value)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<f:selectItem itemLabel="Nessuno" itemValue="NULL" />
<t:selectItems value="#{lov.listaCanaliVendita}" var="item12" itemLabel="#{item12.name} - #{item12.descr}" itemValue="#{item12.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<h:outputText value="#{routing.currentRegola.descrizione}"></h:outputText>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="basket" onchange="javascript:setDirectValueField('main:frm_panelRouting:valBasket',this.value);setDirectValueSpan('main:frm_panelRouting:valBasketTXT',this.options[this.selectedIndex].text)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{routing.basket}" var="item13" itemLabel="#{item13.idBasketString} - #{item13.descrizione}" itemValue="#{item13.idBasketString}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu style="width:85px;" id="owner" onchange="javascript:setValueField('main:frm_panelRouting:valOwner',this.value);setValueSpan('main:frm_panelRouting:valOwnerTXT',this.options[this.selectedIndex].text)">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaOwner}" var="item14" itemLabel="#{item14.name} - #{item14.descr}" itemValue="#{item14.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
<!-- dati -->
<rich:columnGroup>
<rich:column>
<h:outputText style="width:35px;" value="#{routing.currentRegola.idRegola}"></h:outputText>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.idTipologiaKoFlagOperStr}" id="valTipologiaKOFlagOper"/>
<h:outputText style="width:35px;" value="#{routing.currentRegola.idTipologiaKoFlagOperINOUT}" id="valTipologiaKOFlagOperTXT" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.idTipologiaKo}" id="valTipologiaKO"/>
<t:dataList id="lst_idTipologiaKo" value="#{routing.currentRegola.idTipologiaKoTXT}"
var="item_idTipologiaKo" layout="orderedList" first="0" >
<t:outputText value="#{item_idTipologiaKo}"></t:outputText>
</t:dataList>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.oloFlagOperStr}" id="valOloFlagOper"/>
<h:outputText style="width:35px;" value="#{routing.currentRegola.oloFlagOperINOUT}" id="valOloFlagOperTXT" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.olo}" id="valOlo" />
<t:dataList id="lst_olo" value="#{routing.currentRegola.oloTXT}"
var="item_olo" layout="orderedList" first="0" >
<t:outputText value="#{item_olo}"></t:outputText>
</t:dataList>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.tipoClienteFlagOperStr}" id="valTipoClienteFlagOper" />
<h:outputText style="width:35px;" value="#{routing.currentRegola.tipoClienteFlagOperINOUT}" id="valTipoClienteFlagOperTXT" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.tipoCliente}" id="valTipoCliente" />
<t:dataList id="lst_tipoCliente" value="#{routing.currentRegola.tipoClienteTXT}"
var="item_tipoCliente" layout="orderedList" first="0" >
<t:outputText value="#{item_tipoCliente}"></t:outputText>
</t:dataList>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.deliberaFlagOperStr}" id="valDeliberaFlagOper" />
<h:outputText style="width:35px;" value="#{routing.currentRegola.deliberaFlagOperINOUT}" id="valDeliberaFlagOperTXT" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.delibera}" id="valDelibera" />
<t:dataList id="lst_delibera" value="#{routing.currentRegola.deliberaTXT}"
var="item_delibera" layout="orderedList" first="0" >
<t:outputText value="#{item_delibera}"></t:outputText>
</t:dataList>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.processoFlagOperStr}" id="valProcessoFlagOper" />
<h:outputText style="width:35px;" value="#{routing.currentRegola.processoFlagOperINOUT}" id="valProcessoFlagOperTXT" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.processo}" id="valProcesso" />
<t:dataList id="lst_processo" value="#{routing.currentRegola.processoTXT}"
var="item_processo" layout="orderedList" first="0" >
<t:outputText value="#{item_processo}"></t:outputText>
</t:dataList>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.canaleFlagOperStr}" id="valCanaleFlagOper" />
<h:outputText style="width:35px;" value="#{routing.currentRegola.canaleFlagOperINOUT}" id="valCanaleFlagOperTXT" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.canale}" id="valCanale" />
<t:dataList id="lst_canale" value="#{routing.currentRegola.canaleTXT}"
var="item_canale" layout="orderedList" first="0" >
<t:outputText value="#{item_canale}"></t:outputText>
</t:dataList>
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.descrizione}" id="valNomeregolaMod" />
<h:inputText value="#{routing.currentRegola.descrizione}" id="valNomeregolaModTXT" readonly="false" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.idBasketStr}" id="valBasket" />
<h:outputText style="width:35px;" value="#{routing.currentRegola.idBasketTXT}" id="lst_basket" />
</rich:column>
<rich:column>
<h:inputHidden value="#{routing.currentRegola.idOwner}" id="valOwner" />
<t:dataList id="lst_owner" value="#{routing.currentRegola.idOwnerTXT}"
var="item_owner" layout="orderedList" first="0" >
<t:outputText value="#{item_owner}"></t:outputText>
</t:dataList>
</rich:column>
</rich:columnGroup>
<rich:columnGroup style="background-color: #ADD8E6;border: 1px solid black;" >
<rich:column>
<h:outputText value="#{routing.currentRegola.idRegola}"></h:outputText>
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{routing.currentRegola.idTipologiaKo}" id="valTipologiaKOTXT" />
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{routing.currentRegola.olo}" id="valOloTXT" />
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{routing.currentRegola.tipoCliente}" id="valTipoClienteTXT" />
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{routing.currentRegola.delibera}" id="valDeliberaTXT" />
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{routing.currentRegola.processo}" id="valProcessoTXT" />
</rich:column>
<rich:column colspan="2">
<h:outputText value="#{routing.currentRegola.canale}" id="valCanaleTXT" />
</rich:column>
<rich:column>
<h:outputText value="#{routing.currentRegola.descrizione}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{routing.idBasketStr}" id="valBasketTXT" />
</rich:column>
<rich:column>
<h:outputText value="#{routing.currentRegola.idOwner}" id="valOwnerTXT" />
</rich:column>
</rich:columnGroup>
</h:panelGrid>
<rich:separator lineType="solid" width="100%" height="15px" style="bacground-color: #ffffff"/>
<h:panelGrid align="center" cellspacing="5" columns="2">
<h:commandButton type="submit" style="cursor: pointer;" value="Salva regola"
onclick="return confirm('Sei sicuro di volere salvare la regola?')"
action="#{routing.salvaRegola}" />
<h:commandButton rendered="#{routing.currentRegola.idRegola != null}" type="submit" style="cursor: pointer;" value="Cancella regola"
onclick="return confirm('Sei sicuro di volere cancellare la regola?')"
action="#{routing.deleteRegola}" />
</h:panelGrid>
</a4j:outputPanel>
</h:form>
</rich:modalPanel>
</td>
</tr>
<tr>
<td>
<rich:spacer width="1" height="5"/>
<h:form id="frm_saveIconeRule">
<a4j:commandButton action="#{routing.newRegola}" style="cursor: pointer;" immediate="true" value="Nuova Regola"
oncomplete="Richfaces.showModalPanel('popup_regola', {width:'700px',height:'270px'});"
title="Inserisci una nuova regola"/>
</h:form>
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
<script type="text/javascript">
function setValueField(field_id, field_val){
var str_field = document.getElementById(field_id).value;
document.getElementById(field_id).value = modifyValue(field_val, (str_field.length != 0 ? str_field.split(",") : "") );
pulisci(field_id);
}
function pulisci(field_id){
var str_field=document.getElementById(field_id).value;
lunghezza=str_field.length;
if(str_field.substring(lunghezza-1,lunghezza)==","){
str_field=str_field.substring(0,lunghezza-1);
}
document.getElementById(field_id).value=str_field;
}
function setDirectValueField(field_id,field_val){
if(field_val!="-1")
document.getElementById(field_id).value=field_val;
}
//span
function setValueSpan(field_id, field_val){
var str_field = document.getElementById(field_id).innerHTML;
document.getElementById(field_id).innerHTML = modifyValue(field_val, (str_field.length != 0 ? str_field.split(",") : "") );
pulisciSpan(field_id);
}
function pulisciSpan(field_id){
var str_field=document.getElementById(field_id).innerHTML;
lunghezza=str_field.length;
if(str_field.substring(lunghezza-1,lunghezza)==","){
str_field=str_field.substring(0,lunghezza-1);
}
document.getElementById(field_id).innerHTML=str_field;
}
function setDirectValueSpan(field_id,field_val){
document.getElementById(field_id).innerHTML=field_val;
}
function modifyValue(str, strArray) {
var output = "";
trovato = false;
for (var j=0; j<strArray.length; j++) {
if (strArray[j] == str) {
trovato = true;
} else {
output = output + strArray[j] + ",";
}
}
if (!trovato) {
output = output + str + ",";
}
return output;
}
</script>

View File

@@ -0,0 +1,224 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<h:form>
<table>
<tr>
<td>
<rich:panel header="Routing" style="cellpadding=0px;cellspacing=0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="10">
<rich:column style="width:15px">
<h:selectBooleanCheckbox style="width:15px" />
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="codiceOLO" style="color:black;font-weight:bold;" value="#{msg.label_codiceOlo}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:55px;" value="#{richieste.filtroRichiesta.opearatorCodiceOlo}">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="codiceOLO" value="#{richieste.filtroRichiesta.cow}"
onchange="javascript : setValueDiv(this,'dv_olo')">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCodiciOlo}" var="item2" itemLabel="#{item2.descr}" itemValue="#{item2.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="piattaformaCRM" style="color:black;font-weight:bold;" value="Piattaforma CRM:" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:55px;" value="#{richieste.filtroRichiesta.operatorCrm}">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="piattaformaCRM" value="#{richieste.filtroRichiesta.piattaformaCrm}"
onchange="javascript : setValueDiv(this,'dv_crm')">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaPiattaformeCrm}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="delibera" style="color:black;font-weight:bold;" value="Delibera" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:55px;" value="#{richieste.filtroRichiesta.operatorDelibera}">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="delibera" value="#{richieste.filtroRichiesta.delibera}"
onchange="javascript : setValueDiv(this,'dv_delibera')">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<f:selectItem itemLabel="Del. 274" itemValue="274" />
<f:selectItem itemLabel="Del. 35" itemValue="35" />
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="processo" style="color:black;font-weight:bold;" value="Processo:" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:55px;" value="#{richieste.filtroRichiesta.operatorProcesso}">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="processo" value="#{richieste.filtroRichiesta.processo}"
onchange="javascript : setValueDiv(this,'dv_processo')">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaToolProcessi}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="canaleVendita" style="color:black;font-weight:bold;" value="#{msg.label_canaleVendita}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:55px;" value="#{richieste.filtroRichiesta.opearatorCanaleVendita}">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="canaleVendita" value="#{richieste.filtroRichiesta.canaleVendita}"
onchange="javascript : setValueDiv(this,'dv_canale')">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCanaliVendita}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>>
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="regola" style="color:black;font-weight:bold;" value="#{msg.label_regola}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<h:inputText id="regola" value=""></h:inputText>
</rich:column>
</rich:columnGroup>
</h:panelGrid>
</rich:column>
<rich:column width="10%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column colspan="2">
<h:outputLabel for="owner" style="color:black;font-weight:bold;" value="#{msg.label_canaleVendita}" />
</rich:column>
<rich:columnGroup>
<rich:column>
<t:selectOneMenu style="width:55px;" value="#{richieste.filtroRichiesta.operatorOwner}">
<t:selectItems value="#{richieste.filtroRichiesta.guiRoutingOperatorTypes}" var="item" itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="owner" value="#{richieste.filtroRichiesta.owner}"
onchange="javascript : setValueDiv(this,'dv_owner')">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaOwner}" var="item" itemLabel="#{item.descr}" itemValue="#{item.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</rich:columnGroup>
</h:panelGrid>>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<table style="width: 100%">
<tr>
<td style="width: 55px">check</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_olo" name="dv_olo">
olo
</div>
</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_crm" name="dv_crm">
crm
</div>
</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_delibera" name="dv_delibera">
delibera
</div>
</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_processo" name="dv_processo">
processo
</div>
</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_canale" name="dv_canale">
vendita
</div>
</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_regola" name="dv_regola">
regola
</div>
</td>
<td style="width: 275px;border:2px dashed #blue;">
<div id="dv_owner" name="dv_owner">
owner
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</h:form>
<script type="text/javascript">
function setValueDiv(el,dv){
var val=el.value;
var html_dv=document.getElementById(dv).innerHTML;
if(html_dv.indexOf(val)!==-1)
alert("value already selected!!");
else
document.getElementById(dv).innerHTML+=" "+val;
}
</script>

View File

@@ -0,0 +1,418 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form id="formCercaRichiestaDonating">
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Cerca richiesta Donating" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_donating.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceFiscalePiva" style="color:black;font-weight:bold;" value="CF / P.IVA: " />
</rich:column>
<rich:column>
<t:inputText id="codiceFiscalePiva" value="#{nng_donating.codiceFiscalePiva}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" style="color:black;font-weight:bold;" value="Data Ordine: " />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdine" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{nng_donating.dataOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="onlyKO" style="color:black;font-weight:bold;align:center" value="Mostra solo KO:" />
</rich:column>
<rich:column>
<t:selectBooleanCheckbox id="onlyKO" value="#{nng_donating.onlyKO}">
<a4j:actionparam name="editable" value="true" assignTo="#{nng_donating.onlyKO}"/>
</t:selectBooleanCheckbox>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{nng_donating.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{nng_donating.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{nng_donating.richiesteSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Data Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Numerazione NG" />
</rich:column>
<rich:column>
<h:outputText value="Codice Fiscale/P.IVA" />
</rich:column>
<rich:column>
<h:outputText value="Recipient" />
</rich:column>
<rich:column>
<h:outputText value="DAC" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Scarto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Scarto" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.codiceOrdine}"
onclick="showDiv#{item.rowId}();hideShowLink#{item.rowId}();showHideLink#{item.rowId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.codiceOrdine}"
onclick="hideDiv#{item.rowId}();hideHideLink#{item.rowId}();showShowLink#{item.rowId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.rowId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.rowId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.rowId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.rowId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.rowId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.rowId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.nng}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceFiscalePIVA}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpRecipient}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dac}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.tipoScarto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.descrizioneScarto}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="9" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{nng_donating.listaRichieste}" width="100%" var="donList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{nng_donating.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(donList.codiceOrdine) eq (item.codiceOrdine)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Ordine : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceOrdine}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data invio richiesta : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dataInvioRichiesta != null}">
<f:param value="#{donList.dataInvioRichiesta}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numerazione NG : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.NNG}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Tipo Servizio : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.tipoServizio}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Recipient : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.codOpRecipient}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="OP ID : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codOperatore}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Stato : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.stato}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{donList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.descrizioneRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Cod.Progetto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.codiceProgetto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file Fenp : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{donList.nomeFileFenp}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DAC : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dac != null}">
<f:param value="#{donList.dac}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data espletamento ordine : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{donList.dataEspletamento != null}">
<f:param value="#{donList.dataEspletamento}"/>
</h:outputFormat>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<h:form id="formInviaRichiestaDonating" rendered="#{(user.codiceProfilo eq 'OD') or (user.codiceProfilo eq 'ON')}">
<rich:panel header="NP NG - Invia risposta Donating" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdineTC2" style="color:black;font-weight:bold;" value="Codice Ordine: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdineTC2" value="#{tc2Don.selectedOrdine}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="Tipo Esito:" />
</rich:column>
<rich:column>
<t:selectOneMenu value="#{tc2Don.tipoScarto}" style="width:250px;">
<f:selectItem itemLabel="0 - Accetta la Richiesta" itemValue="0" />
<t:selectItems value="#{nng.listaNpNng}" var="item2" itemLabel="#{item2.codiceRifiuto} - #{item2.descrizioneRifiuto}" itemValue="#{item2.codiceRifiuto}"/>
<%--<f:selectItem itemLabel="1 - Numerazione non attiva presso il Donating" itemValue="1" />
<f:selectItem itemLabel="2 - Associazione tipo servizio / tipo numero non compatibile" itemValue="2" />
<f:selectItem itemLabel="3 - Errata associazione tra NNG e Codice Fiscale / Partita IVA" itemValue="3" />
<f:selectItem itemLabel="4 - Codice Operatore Recipient inesistente" itemValue="4" />
<f:selectItem itemLabel="5 - Codice Ordine Recipient duplicato" itemValue="5" />
<f:selectItem itemLabel="6 - DAC errata " itemValue="6" />
<f:selectItem itemLabel="7 - CODICE PROGETTO errato" itemValue="7" />
<f:selectItem itemLabel="8 - Altro ordine in corso" itemValue="8" />
<f:selectItem itemLabel="9 - Richiesta oltre DATA + 90 gg solari" itemValue="9" />
<f:selectItem itemLabel="10 - DATA ORDINE non corretta" itemValue="10" />
<f:selectItem itemLabel="11 - NNG non assegnato all'Operatore assegnatario della numerazione" itemValue="11" />
<f:selectItem itemLabel="12 - NNG gia restituita" itemValue="12" />
<f:selectItem itemLabel="13 - NNG non portato" itemValue="13" />--%>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="" />
</rich:column>
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="Invia Risposta"
onclick="return confirm('Sei sicuro di voler procedere all\'invio?')"
action="#{tc2Don.searchTC1}" title="Invia Risposta"/>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneKO" value="#{tc2Don.erroreCompilazione}" style="color:red;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneOK" value="#{tc2Don.compilazioneCorretta}" style="color:green;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</h:form>
</td>
</tr>
</table>
<rich:modalPanel resizeable="true" id="idPopupRifiutaRichiesta">
<f:facet name="header">
<h:panelGroup>
<h:outputText value=" Conferma Rifiuta Richiesta " />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupRifiutaRichiesta');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formRifiutaRichiesta">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelRifiutaRichiesta" columns="2">
<rich:column width="30%">
<h:outputLabel style="color:black;font-weight:bold;" value="Codice Ordine:" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{nng_donating.selectedOrdine.codiceOrdine}" />
</rich:column>
<rich:column width="30%">
<h:outputLabel style="color:black;font-weight:bold;" value="Tipo Scarto:" />
</rich:column>
<rich:column>
<t:selectOneMenu value="#{nng_donating.tipoScarto}" style="width:250px;">
<f:selectItem itemLabel="1 - Numerazione non attiva presso il Donating" itemValue="1" />
<f:selectItem itemLabel="2 - Associazione tipo servizio / tipo numero non compatibile" itemValue="2" />
<f:selectItem itemLabel="3 - Errata associazione tra NNG e Codice Fiscale / Partita IVA" itemValue="3" />
<f:selectItem itemLabel="4 - Codice Operatore Recipient inesistente" itemValue="4" />
<f:selectItem itemLabel="5 - Codice Ordine Recipient duplicato" itemValue="5" />
<f:selectItem itemLabel="6 - DAC errata " itemValue="6" />
<f:selectItem itemLabel="7 - CODICE PROGETTO errato" itemValue="7" />
<f:selectItem itemLabel="8 - Altro ordine in corso" itemValue="8" />
<f:selectItem itemLabel="9 - Richiesta oltre DATA + 90 gg solari" itemValue="9" />
<f:selectItem itemLabel="10 - DATA ORDINE non corretta" itemValue="10" />
<f:selectItem itemLabel="11 - NNG non assegnato all'Operatore assegnatario della numerazione" itemValue="11" />
<f:selectItem itemLabel="12 - NNG già restituita" itemValue="12" />
<f:selectItem itemLabel="13 - NNG non portato" itemValue="13" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
<h:panelGrid align="center" cellspacing="5" columns="2">
<rich:column colspan="2">
<h:commandButton type="submit" style="cursor: pointer;" value="Rifiuta"
action="#{nng_donating.rifiutaRichiesta}"
title="Rifiuta Richiesta"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:modalPanel>
<script language="JavaScript">
var chk_flg = 0;
function ctrl_chk() {
var ok = 0;
if (ok == 0) {
chk_flg = 1;
return confirm('Sei sicuro di volere procedere?');
}
}
</script>

View File

@@ -0,0 +1,319 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Cerca richiesta OLO Returning" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_returned.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" style="color:black;font-weight:bold;" value="Data Ordine: " />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdine" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{nng_returned.dataOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="onlyKO" style="color:black;font-weight:bold;align:center" value="Mostra solo KO:" />
</rich:column>
<rich:column>
<t:selectBooleanCheckbox id="onlyKO" value="#{nng_returned.onlyKO}">
<a4j:actionparam name="editable" value="true" assignTo="#{nng_returned.onlyKO}"/>
</t:selectBooleanCheckbox>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{nng_returned.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{nng_returned.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{nng_returned.richiesteSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Data Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Returning:"/>
</rich:column>
<rich:column>
<h:outputText value="Numerazione NG" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Scarto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Scarto" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.codiceOrdine}"
onclick="showDiv#{item.rowId}();hideShowLink#{item.rowId}();showHideLink#{item.rowId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.codiceOrdine}"
onclick="hideDiv#{item.rowId}();hideHideLink#{item.rowId}();showShowLink#{item.rowId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.rowId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.rowId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.rowId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.rowId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.rowId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.rowId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpReturning}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.nng}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.tipoScarto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.descrizioneScarto}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="9" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{nng_returned.listaRichieste}" width="100%" var="recList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{nng_returned.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(recList.codiceOrdine) eq (item.codiceOrdine)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Ordine : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codiceOrdine}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data invio richiesta : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dataInvioRichiesta != null}">
<f:param value="#{recList.dataInvioRichiesta}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numerazione NG : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.NNG}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Tipo Servizio : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoServizio}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Returning : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codOpRecipient}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="OP ID : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codOperatore}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Stato : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.stato}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.descrizioneRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file Fenp : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.nomeFileFenp}" style="color:black;font-weight:bold;" />
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<h:form id="formInviaRichiestaReturning" rendered="#{(user.codiceProfilo eq 'OC') or (user.codiceProfilo eq 'ON')}">
<rich:panel header="NP NG - Invia risposta a Olo Returning" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdineTC10" style="color:black;font-weight:bold;" value="Codice Ordine: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdineTC10" value="#{tc2Don.selectedOrdine}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="Tipo Esito:" />
</rich:column>
<rich:column>
<t:selectOneMenu value="#{tc2Don.tipoScarto}" style="width:250px;">
<f:selectItem itemLabel="0 - Accetta la Richiesta" itemValue="0" />
<t:selectItems value="#{nng.listaCessazioneNng}" var="item2" itemLabel="#{item2.codiceRifiuto} - #{item2.descrizioneRifiuto}" itemValue="#{item2.codiceRifiuto}"/>
<%--<f:selectItem itemLabel="1 - Numerazione non attiva presso il Donating" itemValue="1" />
<f:selectItem itemLabel="2 - Associazione tipo servizio / tipo numero non compatibile" itemValue="2" />
<f:selectItem itemLabel="3 - Errata associazione tra NNG e Codice Fiscale / Partita IVA" itemValue="3" />
<f:selectItem itemLabel="4 - Codice Operatore Recipient inesistente" itemValue="4" />
<f:selectItem itemLabel="5 - Codice Ordine Recipient duplicato" itemValue="5" />
<f:selectItem itemLabel="6 - DAC errata" itemValue="6" />
<f:selectItem itemLabel="7 - CODICE PROGETTO errato" itemValue="7" />
<f:selectItem itemLabel="8 - Altro ordine in corso" itemValue="8" />
<f:selectItem itemLabel="9 - Richiesta oltre DATA + 90 gg solari" itemValue="9" />
<f:selectItem itemLabel="10 - DATA ORDINE non corretta" itemValue="10" />
<f:selectItem itemLabel="11 - NNG non assegnato all'Operatore assegnatario della numerazione" itemValue="11" />
<f:selectItem itemLabel="12 - NNG gia restituita" itemValue="12" />
<f:selectItem itemLabel="13 - NNG non portato" itemValue="13" />--%>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="idOperatore" style="color:black;font-weight:bold;" value="ID Operatore: " />
</rich:column>
<rich:column>
<t:selectOneMenu id="idOperatore" onchange="dacVisible()" value="#{tc2Don.idOperatore}">
<f:selectItem id="op01" itemLabel="204" itemValue="204" />
<f:selectItem id="op02" itemLabel="244" itemValue="244" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="" />
</rich:column>
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="Invia Risposta"
onclick="return confirm('Sei sicuro di voler procedere all\'invio?')"
action="#{tc2Don.searchTC9}" title="Invia Risposta"/>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneKO" value="#{tc2Don.erroreCompilazione}" style="color:red;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneOK" value="#{tc2Don.compilazioneCorretta}" style="color:green;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</h:form>
</td>
</tr>
</table>

View File

@@ -0,0 +1,153 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Cruscotto Operatore Terzo" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="3">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_ot.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdine" style="color:black;font-weight:bold;" value="Codice Ordine: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdine" value="#{nng_ot.codiceOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" style="color:black;font-weight:bold;" value="Data Ordine: " />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdine" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{nng_ot.dataOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{nng_ot.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{nng_ot.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Data Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Numerazione NG" />
</rich:column>
<rich:column>
<h:outputText value="Codice Operatore" />
</rich:column>
<rich:column>
<h:outputText value="Recipient" />
</rich:column>
<rich:column>
<h:outputText value="DAC" />
</rich:column>
<rich:column>
<h:outputText value="RDAC" />
</rich:column>
<rich:column>
<h:outputText value="Note" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText value="#{item.codiceOrdine}" style="color:darkblue;font-weight:bold;" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.nng}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOperatore}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOpRecipient}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataEspletamento}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.rDac != null}">
<f:param value="#{item.rDac}" />
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.chiusura}" rendered="#{item.chiusura != null}" />
</rich:column>
</rich:columnGroup>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,354 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Cerca richiesta Recipient" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_recipient.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceFiscalePiva" style="color:black;font-weight:bold;" value="CF / P.IVA: " />
</rich:column>
<rich:column>
<t:inputText id="codiceFiscalePiva" value="#{nng_recipient.codiceFiscalePiva}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" style="color:black;font-weight:bold;" value="Data Ordine: " />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdine" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{nng_recipient.dataOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="onlyKO" style="color:black;font-weight:bold;align:center" value="Mostra solo KO:" />
</rich:column>
<rich:column>
<t:selectBooleanCheckbox id="onlyKO" value="#{nng_recipient.onlyKO}">
<a4j:actionparam name="editable" value="true" assignTo="#{nng_recipient.onlyKO}"/>
</t:selectBooleanCheckbox>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{nng_recipient.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{nng_recipient.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{nng_recipient.richiesteSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Esigenza"/>
</rich:column>
<rich:column>
<h:outputText value="Codice Ordine Fenp"/>
</rich:column>
<rich:column>
<h:outputText value="Data Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Numerazione NG" />
</rich:column>
<rich:column>
<h:outputText value="Codice Fiscale/P.IVA" />
</rich:column>
<rich:column>
<h:outputText value="Donating" />
</rich:column>
<rich:column>
<h:outputText value="DAC" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Scarto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Scarto" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.idEsigenza}"
onclick="showDiv#{item.rowId}();hideShowLink#{item.rowId}();showHideLink#{item.rowId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.idEsigenza}"
onclick="hideDiv#{item.rowId}();hideHideLink#{item.rowId}();showShowLink#{item.rowId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.rowId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.rowId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.rowId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.rowId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.rowId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.rowId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceOrdine}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.nng}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceFiscalePIVA}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codOperatore}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dac}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.tipoScarto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.descrizioneScarto}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="9" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{nng_recipient.listaRichieste}" width="100%" var="recList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{nng_recipient.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(recList.idEsigenza) eq (item.idEsigenza)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Ordine : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codiceOrdine}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data invio richiesta : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dataInvioRichiesta != null}">
<f:param value="#{recList.dataInvioRichiesta}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numerazione NG : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.NNG}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Tipo Servizio : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoServizio}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="OLO Donating : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codOpDonating}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="OP ID : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codOperatore}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Stato : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.stato}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.descrizioneRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Cod.Progetto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codiceProgetto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file Fenp : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.nomeFileFenp}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="DAC : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dac != null}">
<f:param value="#{recList.dac}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data espletamento ordine : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dataEspletamento != null}">
<f:param value="#{recList.dataEspletamento}"/>
</h:outputFormat>
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<h:form id="formInviaRichiestaRecipient" rendered="#{(user.codiceProfilo eq 'OR') or (user.codiceProfilo eq 'ON')}">
<rich:panel header="Notifica RDAC o Annullamento Recipient" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="codiceOrdineTC7" style="color:black;font-weight:bold;" value="Codice Esigenza: " />
</rich:column>
<rich:column>
<t:inputText id="codiceOrdineTC7" value="#{tc2Don.selectedOrdine}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="Tipo Operazione:" />
</rich:column>
<rich:column>
<t:selectOneMenu value="#{tc2Don.tipoComunicazioneRec}">
<f:selectItem itemLabel="7 - Rimodulazione DAC" itemValue="7" />
<f:selectItem itemLabel="8 - Annullamento" itemValue="8" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="rDAC" style="color:black;font-weight:bold;" value="RDAC:" />
</rich:column>
<rich:column>
<rich:calendar id="rDAC" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{tc2Don.rDAC}"/>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;" value="" />
</rich:column>
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="Invia Notifica"
onclick="return confirm('Sei sicuro di voler procedere all\'invio?')"
action="#{tc2Don.sendRDAC}" title="Invia Notifica"/>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneKO" value="#{tc2Don.erroreCompilazione}" style="color:red;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
</rich:column>
<rich:column>
<t:outputLabel id="compilazioneOK" value="#{tc2Don.compilazioneCorretta}" style="color:green;font-weight:bold;" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</h:form>
</td>
</tr>
</table>

View File

@@ -0,0 +1,228 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<h:form>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" >
<tr>
<td>
<rich:panel header="NP NG - Cerca richiesta TIM Returning" style="cellpadding:0px;cellspacing:0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="nng" style="color:black;font-weight:bold;" value="Numerazione NG: " />
</rich:column>
<rich:column>
<t:inputText id="nng" value="#{nng_returning.nng}"></t:inputText>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="dataOrdine" style="color:black;font-weight:bold;" value="Data Ordine: " />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdine" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{nng_returning.dataOrdine}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="1" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="onlyKO" style="color:black;font-weight:bold;align:center" value="Mostra solo KO:" />
</rich:column>
<rich:column>
<t:selectBooleanCheckbox id="onlyKO" value="#{nng_returning.onlyKO}">
<a4j:actionparam name="editable" value="true" assignTo="#{nng_returning.onlyKO}"/>
</t:selectBooleanCheckbox>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" />
</td>
</tr>
<tr align="center" style="background-color: #CCCCCC;">
<td align="center">
<rich:panel style="text-align:center;width:100%;">
<h:panelGrid columns="1" width="100%" style="background-color: #CCCCCC; text-align:center;" align="center">
<rich:column>
<h:panelGrid columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{nng_returning.searchTestata}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr>
<td>
<rich:dataTable value="#{nng_returning.listaTestate}" width="100%" var="item" id="listaTestate" rows="30" style="text-align: center" columnClasses="col" rendered="#{nng_returning.richiesteSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Esigenza"/>
</rich:column>
<rich:column>
<h:outputText value="Codice Ordine Fenp"/>
</rich:column>
<rich:column>
<h:outputText value="Data Ordine"/>
</rich:column>
<rich:column>
<h:outputText value="Numerazione NG" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Scarto" />
</rich:column>
<rich:column>
<h:outputText value="Descrizione Scarto" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column>
<h:outputText id="showLink" value="#{item.idEsigenza}"
onclick="showDiv#{item.rowId}();hideShowLink#{item.rowId}();showHideLink#{item.rowId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.idEsigenza}"
onclick="hideDiv#{item.rowId}();hideHideLink#{item.rowId}();showShowLink#{item.rowId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.rowId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.rowId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.rowId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.rowId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.rowId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.rowId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceOrdine}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.nng}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.tipoScarto}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.descrizioneScarto}" />
</rich:column>
</rich:columnGroup>
<rich:column colspan="9" >
<rich:panel id="panelloDettaglio" style="display: none;" >
<h:panelGrid columns="1" width="100%">
<rich:dataTable value="#{nng_returning.listaRichieste}" width="100%" var="recList" id="listaRichieste" style="text-align: center" columnClasses="col" rendered="#{nng_returning.richiesteSize gt 0}">
<rich:columnGroup rendered="#{(recList.idEsigenza) eq (item.idEsigenza)}">
<rich:column>
<rich:panel id="panelloSingleReq" style="display: block;" >
<h:panelGrid columns="4" width="100%">
<h:panelGroup>
<h:outputText value="Tipo Comunicazione : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoComunicazione}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice Ordine : " styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codiceOrdine}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Data invio richiesta : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputFormat value="{0, date, dd-MM-yyyy}" style="color:black;font-weight:bold;"
rendered="#{recList.dataInvioRichiesta != null}">
<f:param value="#{recList.dataInvioRichiesta}"/>
</h:outputFormat>
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Numerazione NG : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.NNG}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Tipo Servizio : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.tipoServizio}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="OLO numerazione : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codOpDonating}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="OP ID : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.codOperatore}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Stato : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.stato}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Codice rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText
value="#{recList.codiceRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Descrizione rifiuto : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.descrizioneRifiuto}" style="color:black;font-weight:bold;" />
</h:panelGroup>
<h:panelGroup>
<h:outputText value="Nome file Fenp : "
styleClass="standard_bold_ruby"></h:outputText>
<h:outputText value="#{recList.nomeFileFenp}" style="color:black;font-weight:bold;" />
</h:panelGroup>
</h:panelGrid>
</rich:panel>
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</h:panelGrid>
</rich:panel>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="20" fastStep="21" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
</td>
</tr>
</table>
</h:form>

View File

@@ -0,0 +1,118 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr>
<td>
<rich:panel id="listStoricoCodiceOrdine" header="#{msg.label_head_storico_cod_ordine}" style="width:100%;text-align:center;">
<h:form id="idlistStoricoCodiceOrdine">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="3">
<rich:column>
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column>
<h:outputLabel for="sel_numTelStorico" style="color:black;font-weight:bold;" value="#{msg.label_dn}" />
</rich:column>
<rich:column>
<t:inputText id="sel_numTelStorico" value="#{storicoCodiceOrdine.numTel}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column>
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="dataOrdineDa" value="#{msg.label_data_ordine_da}" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdineDa" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{storicoCodiceOrdine.dataOrdineDa}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column>
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="dataOrdineA" value="#{msg.label_data_ordine_a}" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataOrdineA" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{storicoCodiceOrdine.dataOrdineA}" />
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="30"/>
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="3">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{storicoCodiceOrdine.search}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="30"/>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<rich:dataTable value="#{storicoCodiceOrdine.results}" width="98%" var="item" id="listaStorico" rows="25" style="text-align: center" columnClasses="col" rendered="#{storicoCodiceOrdine.resultSize gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Codice Ordine" />
</rich:column>
<rich:column>
<h:outputText value="Data ordine" />
</rich:column>
<rich:column>
<h:outputText value="Id Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Codice stato ordine" />
</rich:column>
<rich:column>
<h:outputText value="Data chiusura DBCFX" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputText value="#{item.id.codiceOrdine}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}">
<f:param value="#{item.dataOrdine}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.id.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.dataChiusuraDbcfx ne null ? 'C' : 'A'}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy}" rendered="#{item.dataChiusuraDbcfx ne null}">
<f:param value="#{item.dataChiusuraDbcfx}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{item.dataChiusuraDbcfx == null}"/>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<h:panelGrid align="left">
<rich:column>
<t:commandButton id="DownloadButtonCruscotto" action="#{storicoCodiceOrdine.download}" type="submit" value="Download CSV"
rendered="#{storicoCodiceOrdine.resultSize gt 0}" style="cursor:pointer" title="Download dei risultati in formato CSV"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:panel>
</td>
</tr>
</table>

View File

@@ -0,0 +1,882 @@
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<h:form id="formCambioStatoMassivo">
<tr width="100%" align="center">
<td>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr width="100%" align="center">
<td>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr width="100%" align="center">
<td>
<rich:panel header="Cambio Stato Massivo" style="padding: 0px; border-spacing: 0px;width:100%;text-align:center;">
<h:panelGrid cellpadding="10" border="0" cellspacing="10" align="center" columns="4">
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="numTel" style="color:black;font-weight:bold;" value="#{msg.label_toolko_dn}" />
</rich:column>
<rich:column>
<t:inputText id="numTel" value="#{cambioStatoMassivo.numTel}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="tipoKo" style="color:black;font-weight:bold;" value="#{msg.label_toolko_tipoKO}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="tipoKo" style="width:220px;" value="#{cambioStatoMassivo.tipoKo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaTipologieKO}" var="item0" itemLabel="#{item0.descr}" itemValue="#{item0.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="olo" style="color:black;font-weight:bold;" value="#{msg.label_toolko_olo}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="olo" style="width:220px;" value="#{cambioStatoMassivo.olo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCodiciOlo}" var="item1" itemLabel="#{item1.name} - #{item1.descr}" itemValue="#{item1.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="tipoUtenza" style="color:black;font-weight:bold;" value="#{msg.label_toolko_tipo_utenza}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="tipoUtenza" style="width:220px;" value="#{cambioStatoMassivo.tipoUtenza}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaPiattaformeCrm}" var="item2" itemLabel="#{item2.name} - #{item2.descr}" itemValue="#{item2.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="delibera" style="color:black;font-weight:bold;" value="#{msg.label_toolko_delibera}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="delibera" style="width:220px;" value="#{cambioStatoMassivo.delibera}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaDelibere}" var="item3" itemLabel="#{item3.name} - #{item3.descr}" itemValue="#{item3.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="stato" style="color:black;font-weight:bold;" value="#{msg.label_toolko_stato}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="stato" style="width:220px;" value="#{cambioStatoMassivo.stato}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{cambioStatoMassivo.listaEsiti}" var="item4" itemLabel="#{item4.name} - #{item4.descr}" itemValue="#{item4.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="esito" style="color:black;font-weight:bold;" value="#{msg.label_toolko_esito}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="esito" style="width:220px;" value="#{cambioStatoMassivo.esito}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaEsiti}" var="item5" itemLabel="#{item5.name} - #{item5.descr}" itemValue="#{item5.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="idEsigenza" style="color:black;font-weight:bold;" value="#{msg.label_toolko_idesigenza}" />
</rich:column>
<rich:column>
<t:inputText id="idEsigenza" value="#{cambioStatoMassivo.idEsigenza}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="processo" style="color:black;font-weight:bold;" value="#{msg.label_toolko_processo}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="processo" style="width:220px;" value="#{cambioStatoMassivo.processo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaToolProcessi}" var="item6" itemLabel="#{item6.name} - #{item6.descr}" itemValue="#{item6.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="dataRicezioneDa" value="#{msg.label_toolko_datapicda}" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataRicezioneDa" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{cambioStatoMassivo.dataRicezioneDa}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="dataRicezioneA" value="#{msg.label_toolko_datapica}" style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<rich:calendar id="dataRicezioneA" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{cambioStatoMassivo.dataRicezioneA}" />
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="basket" style="color:black;font-weight:bold;" value="#{msg.label_toolko_basket}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="basket" style="width:220px;" value="#{cambioStatoMassivo.basket}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{routing.basket}" var="item7" itemLabel="#{item7.idBasketString} - #{item7.descrizione}" itemValue="#{item7.idBasketString}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="owner" style="color:black;font-weight:bold;" value="#{msg.label_toolko_owner}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="owner" style="width:220px;" value="#{cambioStatoMassivo.owner}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaOwner}" var="item8" itemLabel="#{item8.name} - #{item8.descr}" itemValue="#{item8.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="addetto" style="color:black;font-weight:bold;" value="#{msg.label_toolko_addetto}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="addetto" style="width:220px;" value="#{cambioStatoMassivo.addetto}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{cambioStatoMassivo.listaAddetti}" var="item9" itemLabel="#{item9.matricola} - #{item9.cognome} #{item9.nome}" itemValue="#{item9.matricola}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
<rich:column width="25%">
<h:panelGrid columns="2" cellpadding="0" border="0" cellspacing="0">
<rich:column width="30%">
<h:outputLabel for="flagSky" style="color:black;font-weight:bold;" value="#{msg.label_toolko_flag_sky}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="flagSky" value="#{cambioStatoMassivo.flagSky}">
<f:selectItem itemValue="-1" itemLabel="Tutti"/>
<f:selectItem itemValue="Y" itemLabel="Si"/>
<f:selectItem itemValue="N" itemLabel="No"/>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="5"/>
<h:panelGrid>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{cambioStatoMassivo.populate}"
title="Ricerca tra tutte le richieste"/>
</h:panelGrid>
</rich:panel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- FINE FILTRI -->
<!-- inizio risultati ricerca -->
<tr width="100%" align="center">
<td>
<div style="width: 80%; overflow-x:auto">
<rich:dataTable value="#{cambioStatoMassivo.risultatiRicerca}" rendered="#{cambioStatoMassivo.risultatiRicercaSize gt 0}" width="98%" var="item" id="listaRic" rows="25" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 30px;">
<h:selectBooleanCheckbox style="width: auto; border: none; background-color: transparent;" onclick="javascript:toggle_chk(this)" id="chk_csm"/>
</rich:column>
<rich:column>
<h:outputText value="ID Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Numero Telefonico" />
</rich:column>
<rich:column>
<h:outputText value="Addetto" />
</rich:column>
<rich:column>
<h:outputText value="Basket" />
</rich:column>
<rich:column>
<h:outputText value="Stato" />
</rich:column>
<rich:column>
<h:outputText value="Data Ricezione Tool KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice OLO" />
</rich:column>
<rich:column>
<h:outputText value="Tipologia KO" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Utenza" />
</rich:column>
<rich:column>
<h:outputText value="Processo" />
</rich:column>
<rich:column>
<h:outputText value="Canale Vendita" />
</rich:column>
<rich:column>
<h:outputText value="Flag SKY" />
</rich:column>
<rich:column style="align: center; width: 30px;">
<h:outputText value="" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column style="text-align: center; width: 30px;">
<h:selectBooleanCheckbox onclick="changeRow(this)"
style="width: auto; border: none; background-color: transparent;" value="#{cambioStatoMassivo.selectedRichieste[item]}"
id="chk_dett" title="#{item.id}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.addetto}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoBasketMap[item.idBasket]}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoStatoMap[item.stato]}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}">
<f:param value="#{item.dataArrivoTool}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.cowOrigine}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.causaleRifiuto}" title="#{item.causaleRifiuto} - #{lov.toolkoDescrTipoKO[item.KODescrKey]}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaProvenienza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.processo}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.canaleVendita}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.flagSky}" />
</rich:column>
<rich:column style="text-align: center; width: 30px;" >
<a4j:commandLink action="#{cambioStatoMassivo.openDetails}" reRender="panelDettaglio" oncomplete="Richfaces.showModalPanel('idPopupDettaglio', {width:'700px',height:'390px'});" >
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Visualizza la richiesta"/>
<f:param name="idRientroKO" value="#{item.id}"/>
</a4j:commandLink>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" onclick="clearSelectedRows();" pageIndexVar="#{cambioStatoMassivo.pageIndex}"/>
</f:facet>
</rich:dataTable>
</div>
</td>
</tr>
<!-- fine risultati ricerca -->
<tr align="center">
<td>
<rich:panel style="padding:0px; border-spacing:0px;width:100%;text-align:center;" rendered="#{cambioStatoMassivo.risultatiRicercaSize gt 0}">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="5">
<rich:column width="20%">
<a4j:commandButton type="submit" reRender="panelCambioOwner" style="cursor: pointer;" value="#{msg.button_cambio_owner}"
onclick="javascript:ctrl_chk()"
oncomplete="if(chk_flg==0)Richfaces.showModalPanel('idPopupCambioOwner', {width:'700px',height:'270px'});"/>
</rich:column>
<rich:column width="20%">
<a4j:commandButton type="submit" reRender="panelCambioAddetto" style="cursor: pointer;" value="#{msg.button_cambio_addetto}"
onclick="javascript:ctrl_chk()"
oncomplete="if(chk_flg==0)Richfaces.showModalPanel('idPopupCambioAddetto', {width:'700px',height:'270px'});"/>
</rich:column>
<rich:column width="20%">
<a4j:commandButton type="submit" reRender="panelSollecito" style="cursor: pointer;" value="#{msg.button_sollecito}"
onclick="javascript:ctrl_chk()"
oncomplete="if(chk_flg==0)Richfaces.showModalPanel('idPopupSollecito', {width:'700px',height:'270px'});"/>
</rich:column>
<rich:column width="20%">
<a4j:commandButton type="submit" reRender="panelDaChiudere" style="cursor: pointer;" value="#{msg.button_dachiudere_crm}"
onclick="javascript:ctrl_chk()"
oncomplete="if(chk_flg==0)Richfaces.showModalPanel('idPopupDaChiudere', {width:'700px',height:'270px'});"/>
</rich:column>
<rich:column width="20%">
<a4j:commandButton type="submit" reRender="panelDaClonare" style="cursor: pointer;" value="#{msg.button_daclonare_crm}"
onclick="javascript:ctrl_chk()"
oncomplete="if(chk_flg==0)Richfaces.showModalPanel('idPopupDaClonare', {width:'700px',height:'270px'});"/>
</rich:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
</h:form>
</table>
<!-- panello cambio owner -->
<rich:modalPanel resizeable="true" id="idPopupCambioOwner">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupCambioOwner');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Cambio Owner --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupCambioOwner');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formsaveCambioOwner">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelCambioOwner" columns="2">
<rich:column width="30%">
<h:outputLabel for="owner" style="color:black;font-weight:bold;" value="#{msg.label_toolko_owner}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="owner" style="width:220px;" value="#{cambioStatoMassivo.ownerToChange}">
<t:selectItems value="#{lov.listaOwner}" var="itemOwner" itemLabel="#{itemOwner.descr}" itemValue="#{itemOwner.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column width="30%">
<h:outputLabel for="myNotes" style="color:black;font-weight:bold;" value="#{msg.label_toolko_note}" />
</rich:column>
<rich:column>
<h:inputTextarea id="myNotes" style="width:320px;" value="#{cambioStatoMassivo.note}" />
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
<h:panelGrid align="center" cellspacing="5" columns="2">
<rich:column colspan="2">
<t:inputHidden id="selectedRowsPopupOwner" value="#{cambioStatoMassivo.selectedRows}"/>
<h:commandButton type="submit" style="cursor: pointer;" value="Salva"
action="#{cambioStatoMassivo.changeOwner}"
onclick="return submitAction('main:formsaveCambioOwner:selectedRowsPopupOwner');"
title="Cambia l'OWNER per tutte le richieste selezionate"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:modalPanel>
<!-- panello cambio addetto -->
<rich:modalPanel resizeable="true" id="idPopupCambioAddetto">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupCambioAddetto');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Cambio Addetto --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupCambioAddetto');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formsaveCambioAddetto">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelCambioAddetto" columns="2">
<rich:column width="30%">
<h:outputLabel for="owner" style="color:black;font-weight:bold;" value="#{msg.label_toolko_addetto}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="owner" style="width:220px;" value="#{cambioStatoMassivo.addettoToChange}">
<t:selectItems value="#{cambioStatoMassivo.listaAddetti}" var="itemAddetto" itemLabel="#{itemAddetto.matricola} - #{itemAddetto.cognome} #{itemAddetto.nome}" itemValue="#{itemAddetto.matricola}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column width="30%">
<h:outputLabel for="myNotes" style="color:black;font-weight:bold;" value="#{msg.label_toolko_note}" />
</rich:column>
<rich:column>
<h:inputTextarea id="myNotes" style="width:320px;" value="#{cambioStatoMassivo.note}" />
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
<h:panelGrid align="center" cellspacing="5" columns="2">
<rich:column colspan="2">
<t:inputHidden id="selectedRowsPopupAddetto" value="#{cambioStatoMassivo.selectedRows}"/>
<h:commandButton type="submit" style="cursor: pointer;" value="Salva"
action="#{cambioStatoMassivo.changeAddetto}"
onclick="return submitAction('main:formsaveCambioAddetto:selectedRowsPopupAddetto');"
title="Cambia l'addetto per tutte le richieste selezionate"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:modalPanel>
<!-- panello sollecito -->
<rich:modalPanel resizeable="true" id="idPopupSollecito">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupSollecito');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Sollecito --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupSollecito');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formsaveSollecito">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelSollecito" columns="2">
<rich:column >
<h:outputLabel style="color:black;font-weight:bold;align:center;" value="#{msg.warning_sollecito}" />
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
<h:panelGrid align="center" cellspacing="5" columns="2">
<rich:column colspan="2">
<t:inputHidden id="selectedRowsPopupSollecito" value="#{cambioStatoMassivo.selectedRows}"/>
<h:commandButton type="submit" style="cursor: pointer;" value="Salva"
action="#{cambioStatoMassivo.sollecita}"
onclick="return submitAction('main:formsaveSollecito:selectedRowsPopupSollecito');"
title="Sollecita tutte richieste selezionate"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:modalPanel>
<!-- panello cambio da chiudere -->
<rich:modalPanel resizeable="true" id="idPopupDaChiudere">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupDaChiudere');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Da chiudere su CRM --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupDaChiudere');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formsaveDaChiudere">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelDaChiudere" columns="2">
<rich:column width="30%">
<h:outputLabel for="addetto" style="color:black;font-weight:bold;" value="#{msg.label_toolko_addetto}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="addetto" style="width:220px;" value="#{cambioStatoMassivo.addettoToChange}">
<f:selectItem itemLabel="-" itemValue="" />
<t:selectItems value="#{cambioStatoMassivo.listaAddetti}" var="itemAddetto" itemLabel="#{itemAddetto.matricola} - #{itemAddetto.cognome} #{itemAddetto.nome}" itemValue="#{itemAddetto.matricola}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column width="30%">
<h:outputLabel for="myNotes" style="color:black;font-weight:bold;" value="#{msg.label_toolko_note}" />
</rich:column>
<rich:column>
<h:inputTextarea id="myNotes" style="width:320px;" value="#{cambioStatoMassivo.note}" />
</rich:column>
<rich:column width="30%">
<h:outputLabel style="font-weight:bold" for="myNoteOperative" value="#{msg.label_toolko_operative}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="myNoteOperative" style="width:220px;" value="#{cambioStatoMassivo.noteOperative}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaStatiParziali}" var="itemStatoPar" itemLabel="#{itemStatoPar.descr}" itemValue="#{itemStatoPar.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
<h:panelGrid align="left" cellspacing="5" columns="1" >
<rich:column>
<t:inputHidden id="selectedRowsPopupDaChiudere" value="#{cambioStatoMassivo.selectedRows}"/>
<h:commandButton type="submit" style="cursor: pointer;" value="Salva"
action="#{cambioStatoMassivo.daChiudere}"
onclick="return submitAction('main:formsaveDaChiudere:selectedRowsPopupDaChiudere');"
title="Porta in stato da chiudere su CRM le richieste selezionate"/>
</rich:column>
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;align:center;" value="#{msg.warning_dachiudere}" />
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
</h:form>
</rich:modalPanel>
<!-- panello cambio da clonare -->
<rich:modalPanel resizeable="true" id="idPopupDaClonare">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupDaClonare');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Da chiudere su CRM --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupDaClonare');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formsaveDaClonare">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelDaClonare" columns="2">
<rich:column width="30%">
<h:outputLabel for="addetto" style="color:black;font-weight:bold;" value="#{msg.label_toolko_addetto}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="addetto" style="width:220px;" value="#{cambioStatoMassivo.addettoToChange}">
<f:selectItem itemLabel="-" itemValue="" />
<t:selectItems value="#{cambioStatoMassivo.listaAddetti}" var="itemAddetto" itemLabel="#{itemAddetto.matricola} - #{itemAddetto.cognome} #{itemAddetto.nome}" itemValue="#{itemAddetto.matricola}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column width="30%">
<h:outputLabel for="myNotes" style="color:black;font-weight:bold;" value="#{msg.label_toolko_note}" />
</rich:column>
<rich:column>
<h:inputTextarea id="myNotes" style="width:320px;" value="#{cambioStatoMassivo.note}" />
</rich:column>
<rich:column width="30%">
<h:outputLabel style="font-weight:bold" for="myNoteOperative" value="#{msg.label_toolko_operative}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="myNoteOperative" style="width:220px;" value="#{cambioStatoMassivo.noteOperative}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaStatiParziali}" var="itemStatoPar" itemLabel="#{itemStatoPar.descr}" itemValue="#{itemStatoPar.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
<h:panelGrid align="left" cellspacing="5" columns="1" >
<rich:column>
<h:outputLabel style="color:black;font-weight:bold;align:center;" value="#{msg.warning_daclonare}" />
</rich:column>
<rich:column>
<t:inputHidden id="selectedRowsPopupDaClonare" value="#{cambioStatoMassivo.selectedRows}"/>
<h:commandButton type="submit" style="cursor: pointer;" value="Salva"
action="#{cambioStatoMassivo.daClonare}"
onclick="return submitAction('main:formsaveDaClonare:selectedRowsPopupDaClonare');"
title="Porta in stato da chiudere su CRM le richieste selezionate"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:modalPanel>
<!-- pannello dettaglio -->
<rich:modalPanel resizeable="true" id="idPopupDettaglio">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupDettaglio');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Dettaglio richiesta --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('idPopupDettaglio');">
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:form id="formPopupDettaglio">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid width="98%" cellspacing="5" id="panelDettaglio" columns="4">
<!-- PRIMA RIGA -->
<h:outputText style="font-weight:bold" value="Esigenza: " /><h:outputText value="#{cambioStatoMassivo.currentItem.idEsigenza}" />
<h:outputText style="font-weight:bold" value="Owner: " /><h:outputText value="#{cambioStatoMassivo.currentItem.idOwner}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data assegnazione: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{cambioStatoMassivo.currentItem.dataPic != null}">
<f:param value="#{cambioStatoMassivo.currentItem.dataPic}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{cambioStatoMassivo.currentItem.dataPic == null}"/>
<h:outputText style="font-weight:bold" value="Codice sessione: " /><h:outputText value="#{cambioStatoMassivo.currentItem.codSessioneOlo}" />
<h:outputText style="font-weight:bold" value="Canale acquisizione: " /><h:outputText value="#{cambioStatoMassivo.currentItem.canaleProvenienza}" />
<h:outputText style="font-weight:bold" value="Modulo Customer Care: " /><h:outputText value="#{cambioStatoMassivo.currentItem.moduloCc}" />
<h:outputText style="font-weight:bold" value="Modulo Partner: " /><h:outputText value="#{cambioStatoMassivo.currentItem.moduloPartner}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data ricezione KO: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{cambioStatoMassivo.currentItem.dataArrivoTool != null}">
<f:param value="#{cambioStatoMassivo.currentItem.dataArrivoTool}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{cambioStatoMassivo.currentItem.dataArrivoTool == null}"/>
<h:outputText style="font-weight:bold" value="Numero protocollo: " /><h:outputText value="#{cambioStatoMassivo.currentItem.protocolloDms}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data creazione CRM: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{cambioStatoMassivo.currentItem.dataCreazioneSr != null}">
<f:param value="#{cambioStatoMassivo.currentItem.dataCreazioneSr}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{cambioStatoMassivo.currentItem.dataCreazioneSr == null}"/>
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data prima esigenza: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{cambioStatoMassivo.currentItem.dataPrimaEsigenza != null}">
<f:param value="#{cambioStatoMassivo.currentItem.dataPrimaEsigenza}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{cambioStatoMassivo.currentItem.dataPrimaEsigenza == null}"/>
<h:outputText style="font-weight:bold" value="Codice migrazione: " /><h:outputText value="#{cambioStatoMassivo.currentItem.cow}#{cambioStatoMassivo.currentItem.cor}#{cambioStatoMassivo.currentItem.cos}" />
<h:outputText style="font-weight:bold" value="Codice migrazione 2: " /><h:outputText value="#{cambioStatoMassivo.currentItem.cow2}#{cambioStatoMassivo.currentItem.cor2}#{cambioStatoMassivo.currentItem.cos2}" />
<h:outputText style="font-weight:bold" value="Anzianita giacenza: " /><h:outputText value="#{cambioStatoMassivo.anzianita}" />
<h:outputText style="font-weight:bold" value="Codice KO: " /><h:outputText value="#{cambioStatoMassivo.currentItem.causaleRifiuto} - #{lov.toolkoDescrTipoKO[cambioStatoMassivo.currentItem.KODescrKey]}" />
<h:outputText style="font-weight:bold" value="Codice OLO: " /><h:outputText value="#{cambioStatoMassivo.currentItem.cow}" />
<h:outputText style="font-weight:bold" value="Codice servizio: " /><h:outputText value="#{cambioStatoMassivo.currentItem.cos}" />
<h:outputText style="font-weight:bold" value="CRM provenienza: " /><h:outputText value="#{cambioStatoMassivo.currentItem.piattaformaProvenienza}" />
<h:outputText style="font-weight:bold" value="ID Esigenza padre: " /><h:outputText value="#{cambioStatoMassivo.currentItem.idPadre}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data chiusura CRM: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{cambioStatoMassivo.currentItem.dataChiusuraCrm != null}">
<f:param value="#{cambioStatoMassivo.currentItem.dataChiusuraCrm}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{cambioStatoMassivo.currentItem.dataChiusuraCrm == null}"/>
<!-- TERZA RIGA -->
<h:outputText style="font-weight:bold" value="Stato Parziale: " /><h:outputText value="#{cambioStatoMassivo.currentItem.noteOperative}" />
<h:outputText style="font-weight:bold" value="Note : " /><h:inputTextarea readonly="true" style="width:320px;" value="#{cambioStatoMassivo.currentItem.note}" />
<a4j:commandLink action="#{cambioStatoMassivo.loadStoricoNote}" immediate="true" reRender="pannelloRisultatiStoricoNote" oncomplete="Richfaces.showModalPanel('idDettaglioStoricoNote', {width:'700px',height:'390px'});">
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Dettaglio Storico Note"/>
<f:param name="selectedIdRichiesta" value="#{cambioStatoMassivo.currentItem.id}"/>
</a4j:commandLink>
</h:panelGrid>
</a4j:outputPanel>
</h:form>
</rich:modalPanel>
<rich:modalPanel resizeable="true" id="idDettaglioStoricoNote">
<f:facet name="header">
<h:panelGroup>
<h:outputText style="cursor: pointer" value="X" onclick="Richfaces.hideModalPanel('idDettaglioStoricoNote');"/>
<h:outputText value=" -- Dettaglio storico note --" />
</h:panelGroup>
</f:facet>
<h:panelGrid id="pannelloRisultatiStoricoNote" width="98%">
<h:panelGrid columns="2">
<h:outputText style="font-weight:bold" value="Esigenza: " /><h:outputText value="#{cambioStatoMassivo.currentItem.idEsigenza}" />
</h:panelGrid>
<rich:dataTable value="#{cambioStatoMassivo.risultatiStorico}" width="98%" var="itemNote" id="listaStoricoNote" rows="25" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 25%;">
<h:outputText value="Data Inserimento" />
</rich:column>
<rich:column style="align: center; width: 75%;">
<h:outputText value="Note" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputFormat value="{0, date, yyyy-MM-dd HH:mm}">
<f:param value="#{itemNote.dataInserimento}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{itemNote.note}" />
</rich:column>
</rich:dataTable>
</h:panelGrid>
</rich:modalPanel>
<script language="JavaScript">
var chk_flg = 0;
var praticheSelezionate = new HashTable();
function toggle_chk(source) {
var c = new Array();
c = window.document.getElementsByTagName('input');
for (var i = 0; i < c.length; i++) {
if (c[i].type == 'checkbox' && c[i].id != source.id) {
//alert ("checked : "+i);
c[i].checked = source.checked;
chiave = '_'+c[i].title;
if (c[i].checked) {
praticheSelezionate.setItem(chiave, true);
} else {
praticheSelezionate.removeItem(chiave);
}
}
}
//alert("Selezionate ["+praticheSelezionate.length+"] pratiche");
}
function ctrl_chk() {
var ok = 0;
var c = new Array();
c = window.document.getElementsByTagName('input');
for (var i = 0; i < c.length; i++) {
if (c[i].type == 'checkbox') {
//alert ("checked : "+i);
if (c[i].checked)
ok = 1;
}
}
if (ok == 0) {
chk_flg = 1;
alert('Selezionare almeno una richiesta prima di operare !! ');
}
}
function submitAction(sourceId) {
hiddenField = document.getElementById(sourceId);
hiddenField.value = '';
for (var prop in praticheSelezionate.items) {
if (praticheSelezionate.items.hasOwnProperty(prop)) {
hiddenField.value = hiddenField.value + prop;
}
}
return confirm('Sei sicuro di volere salvare?');
}
function changeRow(source) {
chiave = '_'+source.title;
if (source.checked) {
praticheSelezionate.setItem(chiave, true);
//alert("Aggiunta ["+chiave+"]");
} else {
praticheSelezionate.removeItem(chiave);
//alert("Cancellata ["+chiave+"]");
}
//alert("Selezionate ["+praticheSelezionate.length+"] pratiche");
}
// HASHTABLE per la gestione dei checkbox delle pratiche
function HashTable() {
this.length = 0;
this.items = new Array();
for (var i = 0; i < arguments.length; i += 2) {
if (typeof (arguments[i + 1]) != 'undefined') {
this.items[arguments[i]] = arguments[i + 1];
this.length++;
}
}
this.removeItem = function (in_key) {
var tmp_previous;
if (typeof (this.items[in_key]) != 'undefined') {
this.length--;
var tmp_previous = this.items[in_key];
delete this.items[in_key];
}
return tmp_previous;
}
this.getItem = function (in_key) {
return this.items[in_key];
}
this.setItem = function (in_key, in_value) {
var tmp_previous;
if (typeof (in_value) != 'undefined') {
if (typeof (this.items[in_key]) == 'undefined') {
this.length++;
} else {
tmp_previous = this.items[in_key];
}
this.items[in_key] = in_value;
}
return tmp_previous;
}
this.hasItem = function (in_key) {
return typeof (this.items[in_key]) != 'undefined';
}
this.clear = function () {
for (var i in this.items) {
delete this.items[i];
}
this.length = 0;
}
}
function clearSelectedRows() {
praticheSelezionate.clear();
}
</script>

View File

@@ -0,0 +1,288 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr>
<td>
<rich:panel id="listCruscotto" header="Cruscotto">
<h:form id="idListCruscotto">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column>
<h:outputLabel for="sel_tipoKo" style="color:black;font-weight:bold;" value="#{msg.label_toolko_tipoKO}" />
</rich:column>
<rich:column >
<h:outputLabel for="sel_olo" style="color:black;font-weight:bold;" value="#{msg.label_toolko_olo}" />
</rich:column>
<rich:column>
<h:outputLabel for="sel_tipoUtenza" style="color:black;font-weight:bold;" value="#{msg.label_toolko_tipo_utenza}" />
</rich:column>
<rich:column>
<h:outputLabel for="sel_delibera" style="color:black;font-weight:bold;" value="#{msg.label_toolko_delibera}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_tipoKo" style="width:220px;" value="#{cruscotto.tipoKo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaTipologieKO}" var="item0" itemLabel="#{item0.descr}" itemValue="#{item0.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column >
<t:selectOneMenu id="sel_olo" style="width:220px;" value="#{cruscotto.olo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaCodiciOlo}" var="item1" itemLabel="#{item1.name} - #{item1.descr}" itemValue="#{item1.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_tipoUtenza" style="width:220px;" value="#{cruscotto.tipoUtenza}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaPiattaformeCrm}" var="item2" itemLabel="#{item2.name} - #{item2.descr}" itemValue="#{item2.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_delibera" style="width:220px;" value="#{cruscotto.delibera}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaDelibere}" var="item3" itemLabel="#{item3.name} - #{item3.descr}" itemValue="#{item3.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<h:outputLabel for="sel_stato" style="color:black;font-weight:bold;" value="#{msg.label_toolko_stato}" />
</rich:column>
<rich:column>
<h:outputLabel for="sel_esito" style="color:black;font-weight:bold;" value="#{msg.label_toolko_esito}" />
</rich:column>
<rich:column>
<h:outputLabel for="sel_addetto" style="color:black;font-weight:bold;" value="#{msg.label_toolko_addetto}" />
</rich:column>
<rich:column>
<h:outputLabel value="" />
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_stato" style="width:220px;" value="#{cruscotto.stato}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaStatiToolko}" var="item4" itemLabel="#{item4.name} - #{item4.descr}" itemValue="#{item4.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_esito" style="width:220px;" value="#{cruscotto.esito}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaEsiti}" var="item5" itemLabel="#{item5.name} - #{item5.descr}" itemValue="#{item5.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_addetto" style="width:220px;" value="#{cruscotto.addetto}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{cambioStatoMassivo.listaAddetti}" var="item9" itemLabel="#{item9.matricola} - #{item9.cognome} #{item9.nome}" itemValue="#{item9.matricola}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<h:outputLabel value="" />
</rich:column>
<!-- row 2 -->
<rich:column><h:outputLabel for="sel_numTel" style="color:black;font-weight:bold;" value="#{msg.label_toolko_dn}" /></rich:column>
<rich:column><h:outputLabel for="sel_idEsigenza" style="color:black;font-weight:bold;" value="#{msg.label_toolko_idesigenza}" /></rich:column>
<rich:column><h:outputLabel for="sel_processo" style="color:black;font-weight:bold;" value="#{msg.label_toolko_processo}" /></rich:column>
<rich:column><h:outputLabel for="sel_dataRicezioneDa" value="#{msg.label_toolko_datapicda}" style="color:black;font-weight:bold;" /></rich:column>
<rich:column>
<t:inputText id="sel_numTel" value="#{cruscotto.numTel}" />
</rich:column>
<rich:column>
<t:inputText id="sel_idEsigenza" value="#{cruscotto.idEsigenza}" />
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_processo" style="width:220px;" value="#{cruscotto.processo}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaToolProcessi}" var="item6" itemLabel="#{item6.name} - #{item6.descr}" itemValue="#{item6.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<rich:calendar id="sel_dataRicezioneDa" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{cruscotto.dataRicezioneDa}" />
</rich:column>
<rich:column><h:outputLabel for="sel_dataRicezioneA" value="#{msg.label_toolko_datapica}" style="color:black;font-weight:bold;" /></rich:column>
<rich:column><h:outputLabel for="sel_basket" style="color:black;font-weight:bold;" value="#{msg.label_toolko_basket}" /></rich:column>
<rich:column><h:outputLabel for="sel_owner" style="color:black;font-weight:bold;" value="#{msg.label_toolko_owner}" /></rich:column>
<rich:column><h:outputLabel for="flag_sky" style="color:black;font-weight:bold;" value="#{msg.label_toolko_flag_sky}" /></rich:column>
<rich:column>
<rich:calendar id="sel_dataRicezioneA" popup="true" bypassUpdates="true" datePattern="dd/MM/yyyy" enableManualInput="false" value="#{cruscotto.dataRicezioneA}"
requiredMessage="required message" reRender="error_dta">
<f:validator validatorId="DateCompareValidator" />
<f:attribute name="operator" value="ge" />
<f:attribute name="compareWith" value="main:idListCruscotto:sel_dataRicezioneDa" />
<f:attribute name="compareFieldName" value="Start Date" />
</rich:calendar>
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_basket" style="width:220px;" value="#{cruscotto.basket}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{routing.basket}" var="item7" itemLabel="#{item7.idBasketString} - #{item7.descrizione}" itemValue="#{item7.idBasketString}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="sel_owner" style="width:220px;" value="#{cruscotto.owner}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{lov.listaOwner}" var="item8" itemLabel="#{item8.name} - #{item8.descr}" itemValue="#{item8.name}"></t:selectItems>
</t:selectOneMenu>
</rich:column>
<rich:column>
<t:selectOneMenu id="flag_sky" style="width:220px;" value="#{cruscotto.flagSky}">
<f:selectItem itemValue="-1" itemLabel="Tutti"/>
<f:selectItem itemValue="Y" itemLabel="Si"/>
<f:selectItem itemValue="N" itemLabel="No"/>
</t:selectOneMenu>
</rich:column>
<rich:column width="20%">
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{cruscotto.populate}"
title="Ricerca Richieste"/>
</rich:column>
</h:panelGrid>
</h:form>
<rich:spacer width="1" height="30"/>
<h:panelGrid align="center">
<h:form id="panelPulsanteStorico">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="STORICO"
action="#{navigationMenu.cruscotto_storico}"
title="vai allo Storico Richieste"/>
</rich:column>
</h:form>
</h:panelGrid>
<rich:separator lineType="solid" width="100%" />
<h:form id="risultatiCruscotto">
<h:panelGrid id="error_dta" cellpadding="0" border="0" cellspacing="0" align="center" columns="1" width="90%">
<rich:column>
<rich:message for="sel_dataRicezioneA" errorLabelClass="error">
<f:facet name="errorMarker">
<h:graphicImage value="/resources/images/error_small.gif" />
</f:facet>
</rich:message>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="5"/>
<rich:dataTable value="#{cruscotto.worklistGruppo}" rendered="#{cruscotto.sizeWorklistGruppo gt 0}" width="98%" var="item" id="listaRichiesteCruscotto" rows="25" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 30px;">
<h:outputText value="Owner" />
</rich:column>
<rich:column>
<h:outputText value="ID Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Numero Telefonico" />
</rich:column>
<rich:column>
<h:outputText value="Basket" />
</rich:column>
<rich:column>
<h:outputText value="Stato" />
</rich:column>
<rich:column>
<h:outputText value="Causale chiusura CRM" />
</rich:column>
<rich:column>
<h:outputText value="Data Ricezione Tool KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice OLO" />
</rich:column>
<rich:column>
<h:outputText value="Tipologia KO" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Utenza" />
</rich:column>
<rich:column>
<h:outputText value="Processo" />
</rich:column>
<rich:column>
<h:outputText value="Canale Vendita" />
</rich:column>
<rich:column>
<h:outputText value="Flag SKY" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column style="text-align: center; width: 30px;">
<h:outputText value="#{item.idOwner}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoBasketMap[item.idBasket]}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoStatoMap[item.stato]}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.causaleKo}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}">
<f:param value="#{item.dataArrivoTool}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.cowOrigine}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.causaleRifiuto}" title="#{lov.toolkoDescrTipoKO[item.KODescrKey]}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaProvenienza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.processo}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.canaleVendita}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.flagSky}" />
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="30"/>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<a4j:outputPanel style="width:100%;background-color: #CCCCCC; float:left;" layout="block">
<t:commandButton id="DownloadButtonCruscotto" action="#{cruscotto.download}" type="submit" value="Download"
rendered="#{cruscotto.sizeWorklistGruppo gt 0}" style="cursor:pointer"/>
</a4j:outputPanel>
</h:form>
</rich:panel>
</td>
</tr>
</table>

View File

@@ -0,0 +1,217 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr>
<td>
<rich:panel id="listCruscottoStorico" header="Storico Cruscotto">
<h:form id="idListCruscottoStorico">
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="4">
<rich:column><h:outputLabel for="sel_numTelStorico" style="color:black;font-weight:bold;" value="#{msg.label_toolko_dn}" /></rich:column>
<rich:column>
<t:inputText id="sel_numTelStorico" value="#{cruscotto_storico.numTel}" />
</rich:column>
<rich:column><h:outputLabel for="sel_cfStorico" style="color:black;font-weight:bold;" value="#{msg.label_toolko_cf}" /></rich:column>
<rich:column>
<t:inputText id="sel_cfStorico" value="#{cruscotto_storico.cf}" />
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="30"/>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<h:panelGrid cellpadding="0" border="0" cellspacing="0" align="center" columns="2">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_search}"
action="#{cruscotto_storico.populate}"
title="Cerca"/>
</rich:column>
</h:panelGrid>
<rich:spacer width="1" height="30"/>
<h:panelGrid align="center">
<rich:column>
<h:commandButton type="submit" style="cursor: pointer;" value="CRUSCOTTO"
action="#{navigationMenu.cruscotto}"
title="vai al Cruscotto"/>
</rich:column>
</h:panelGrid>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<rich:dataTable value="#{cruscotto_storico.worklistGruppo}" width="98%" var="item" id="listaRichiesteCruscotto" rows="25" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 30px;">
<h:outputText value="ID" />
</rich:column>
<rich:column>
<h:outputText value="ID Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Codice Fiscale" />
</rich:column>
<rich:column>
<h:outputText value="Numero Telefonico" />
</rich:column>
<rich:column>
<h:outputText value="Basket" />
</rich:column>
<rich:column>
<h:outputText value="Data Ricezione Tool KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice OLO" />
</rich:column>
<rich:column>
<h:outputText value="Tipologia KO" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Utenza" />
</rich:column>
<rich:column>
<h:outputText value="Processo" />
</rich:column>
<rich:column>
<h:outputText value="Canale Vendita" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<a4j:commandLink action="#{cruscotto_storico.loadStorico}" immediate="true"
reRender="pannelloRisultatiStorico" oncomplete="Richfaces.showModalPanel('popup_storicoRichieste', {width:'700px',height:'270px'});">
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Dettaglio Storico"/>
<f:param name="selectedIdRichiesta" value="#{item.id}"/>
</a4j:commandLink>
</rich:column>
<rich:column>
<h:outputText value="#{item.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.codiceFiscalePartivaIva}" rendered="#{ (user.codiceProfilo eq 'GG') }" />
<h:outputText value="******************" rendered="#{ !(user.codiceProfilo eq 'GG') }" />
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoBasketMap[item.idBasket]}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}">
<f:param value="#{item.dataArrivoTool}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.cowOrigine}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.causaleRifiuto}" title="#{lov.toolkoDescrTipoKO[item.KODescrKey]}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaProvenienza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.processo}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.canaleVendita}" />
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="30"/>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<a4j:outputPanel style="width:100%;background-color: #CCCCCC; float:right;" layout="block">
<t:commandButton id="DownloadButtonCruscotto" action="#{cruscotto_storico.download}" type="submit" value="Download"
rendered="#{cruscotto_storico.sizeWorklistGruppo gt 0}" style="cursor:pointer"/>
</a4j:outputPanel>
</h:form>
</rich:panel>
</td>
</tr>
<tr>
<td>
<h:form id="idListCruscottoStoricoModal">
<rich:modalPanel id="popup_storicoRichieste" autosized="true" left="10px">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('popup_storicoRichieste');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Dettaglio storico richiesta --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<a4j:commandLink immediate="true"
onclick="Richfaces.hideModalPanel('popup_storicoRichieste');" >
<h:outputText value="X" />
</a4j:commandLink>
</f:facet>
<h:panelGrid id="pannelloRisultatiStorico" width="98%">
<h:panelGrid columns="2">
<h:outputText style="font-weight:bold" value="Esigenza: " /><h:outputText value="#{cruscotto_storico.currenItem.idEsigenza}" />
<h:outputText style="font-weight:bold" value="ID Richiesta: " /><h:outputText value="#{cruscotto_storico.currenItem.id}" />
</h:panelGrid>
<rich:dataTable value="#{cruscotto_storico.worklistGruppoStorico}" width="98%" var="itemStorico" id="listaRichiesteCruscottoStorico" rows="25" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Stato Da" />
</rich:column>
<rich:column>
<h:outputText value="Stato A" />
</rich:column>
<rich:column>
<h:outputText value="Data"/>
</rich:column>
<rich:column>
<h:outputText value="Addetto" />
</rich:column>
<rich:column>
<h:outputText value="Note" />
</rich:column>
<rich:column>
<h:outputText value="Note Operative" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputText value="#{itemStorico.statoDaTxt}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemStorico.statoATxt}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, yyyy-MM-dd HH:mm}">
<f:param value="#{itemStorico.dataInserimento}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{itemStorico.addetto}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemStorico.note}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemStorico.noteOperative}" />
</rich:column>
</rich:dataTable>
</h:panelGrid>
</rich:modalPanel>
</h:form>
</td>
</tr>
</table>

View File

@@ -0,0 +1,79 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr width="100%" align="center">
<td>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr width="100%" align="center">
<td>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr width="100%" align="center">
<td>
<rich:panel>
<f:facet name="header">
<h:outputText value="Download File" />
</f:facet>
</rich:panel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- FINE FILTRI -->
<tr width="100%" align="center">
<td>
<h:form id="updateForm">
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="50%" align="center">
<tr width="100%" align="center">
<td align="center">
<h:outputText value="Trovati #{downloadFile.resultsSize} files" />
<a4j:outputPanel id="panelListaFile" ajaxRendered="true" style="align:center;">
<!-- risultato -->
<h:panelGrid id="panelGridRisultato" columns="1" rendered="#{(downloadFile.resultsSize gt 0)}" width="100%">
<rich:dataTable value="#{downloadFile.dynamicList}" var="item" width="100%" id="listaRic" rows="25" columnClasses="col" rowKeyVar="rowKey">
<f:facet name="header">
<rich:columnGroup>
<rich:column width="5%" style="align: center;">
<h:outputText value="" />
</rich:column>
<rich:column width="65%">
<h:outputText value="Nome file" />
</rich:column>
<rich:column width="30%">
<h:outputText value="Data Creazione" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column style="align: center;" >
<a4j:htmlCommandLink id="DownloadButtonId2" action="#{downloadFile.download}" immediate="true">
<h:graphicImage style="margin: 2px; border: none;" value="/resources/images/drive-download.png" alt="Scarica il file #{item.fileName} " />
<f:param name="selectedCompleteFileName" value="#{item.completeFileName}"/>
<f:param name="selectedFileName" value="#{item.fileName}"/>
</a4j:htmlCommandLink>
</rich:column>
<rich:column>
<h:outputText value="#{item.fileName}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.lastModified}" />
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
</h:panelGrid>
</a4j:outputPanel>
</td>
</tr>
</table>
</h:form>
</td>
</tr>
</table>

View File

@@ -0,0 +1,457 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%" align="center">
<tr>
<td>
<rich:panel id="myIdWorklistGruppoPanel" header="Worklist Gruppo">
<h:form id="updateFormGruppo">
<rich:panel header="Filtri">
<h:panelGrid align="center" cellspacing="5" columns="6">
<!-- PRIMA RIGA -->
<h:outputText style="font-weight:bold" value="Codice OLO : " />
<t:selectOneMenu style="width:220px;" value="#{toolkoRichieste.filter.selectedCow}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaCodiciOlo}" var="codOlo" itemLabel="#{codOlo.name} - #{codOlo.descr}" itemValue="#{codOlo.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Tipo KO : " />
<t:selectOneMenu style="width:220px;" value="#{toolkoRichieste.filter.selectedTipoKo}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaTipologieKO}" var="tipKO" itemLabel="#{tipKO.descr}" itemValue="#{tipKO.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Tipo Utenza : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filter.selectedTipoUtenza}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaPiattaformeCrm}" var="tipoUtenza" itemLabel="#{tipoUtenza.name} - #{tipoUtenza.descr}" itemValue="#{tipoUtenza.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Delibera : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filter.selectedDelibera}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaDelibere}" var="tipoDel" itemLabel="#{tipoDel.name} - #{tipoDel.descr}" itemValue="#{tipoDel.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Processo : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filter.selectedProcesso}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaToolProcessi}" var="processo" itemLabel="#{processo.name} - #{processo.descr}" itemValue="#{processo.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Canale : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filter.selectedCanale}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaCanaliVendita}" var="canale" itemLabel="#{canale.name} - #{canale.descr}" itemValue="#{canale.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Flag SKY : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filter.flagSky}">
<f:selectItem itemValue="-1" itemLabel="Tutti"/>
<f:selectItem itemValue="Y" itemLabel="Si"/>
<f:selectItem itemValue="N" itemLabel="No"/>
</t:selectOneMenu>
</h:panelGrid>
<rich:spacer width="1" height="5"/>
<h:panelGrid align="center">
<h:commandButton type="submit" style="cursor: pointer;" value="Filtra"
action="#{toolkoRichieste.filtraWorklistGruppo}"
title="Filtra le richiesta della worklist di gruppo"/>
</h:panelGrid>
</rich:panel>
<rich:spacer width="1" height="10"/>
<rich:dataTable value="#{toolkoRichieste.worklistGruppo}" width="98%" var="item" id="listaRic" rows="25" columnClasses="col" rendered="#{(toolkoRichieste.sizeWorklistGruppo gt 0)}">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 30px;">
<h:outputText value="" />
</rich:column>
<rich:column>
<h:outputText value="ID Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Numero Telefonico" />
</rich:column>
<rich:column>
<h:outputText value="Basket" />
</rich:column>
<rich:column>
<h:outputText value="Data Ricezione Tool KO" />
</rich:column>
<rich:column>
<h:outputText value="Codice OLO" />
</rich:column>
<rich:column>
<h:outputText value="Tipologia KO" />
</rich:column>
<rich:column>
<h:outputText value="Tipo Utenza" />
</rich:column>
<rich:column>
<h:outputText value="Processo" />
</rich:column>
<rich:column>
<h:outputText value="Canale Vendita" />
</rich:column>
<rich:column>
<h:outputText value="Flag SKY" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column style="text-align: center; width: 30px;">
<h:selectBooleanCheckbox style="width: auto; border: none; background-color: transparent;" value="#{toolkoRichieste.selectedWorklistGruppo[item]}"/>
</rich:column>
<rich:column>
<h:outputText value="#{item.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoBasketMap[item.idBasket]}" />
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}">
<f:param value="#{item.dataArrivoTool}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{item.cowOrigine}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.causaleRifiuto}" title="#{item.causaleRifiuto} - #{lov.toolkoDescrTipoKO[item.KODescrKey]}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.piattaformaProvenienza}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.processo}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.canaleVendita}" />
</rich:column>
<rich:column>
<h:outputText value="#{item.flagSky}" />
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
<h:commandButton rendered="#{(toolkoRichieste.sizeWorklistGruppo gt 0)}" style="cursor: pointer;" type="submit"
value="Prendi in carico" id="buttonPic" action="#{toolkoRichieste.prendiInCarico}"
title="Prendi in carico le richieste selezionate" />
<rich:panel rendered="#{toolkoRichieste.sizeWorklistGruppo eq 0}">
<h:panelGrid align="center" cellspacing="5" columns="4">
<h:outputText style="font-weight:bold" value="Nessun risultato trovato" />
</h:panelGrid>
</rich:panel>
</h:form>
</rich:panel>
</td>
</tr>
<tr width="100%">
<td>
<rich:spacer width="1" height="55"/>
<rich:panel id="myIdWorklistPersonalePanel" header="Worklist Personale">
<h:form id="updateFormPersonale">
<rich:panel header="Filtri">
<h:panelGrid align="center" cellspacing="5" columns="4">
<!-- PRIMA RIGA -->
<h:outputText style="font-weight:bold" value="Numero Telefonico : " />
<t:inputText id="numeroTelefono" value="#{toolkoRichieste.filterWLPers.selectedNumTel}" />
<h:outputText style="font-weight:bold" value="Codice Fiscale : " />
<t:inputText id="codiceFiscale" value="#{toolkoRichieste.filterWLPers.selectedCodFisc}" />
<h:outputText style="font-weight:bold" value="Nota Operativa : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filterWLPers.selectedNotaOp}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaStatiParziali}" var="notaOperativa" itemLabel="#{notaOperativa.descr}" itemValue="#{notaOperativa.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Tipo KO : " />
<t:selectOneMenu style="width:220px;" value="#{toolkoRichieste.filterWLPers.selectedTipoKo}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaTipologieKO}" var="tipKO" itemLabel="#{tipKO.descr}" itemValue="#{tipKO.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Flag SKY : " />
<t:selectOneMenu style="width:120px;" value="#{toolkoRichieste.filterWLPers.flagSky}">
<f:selectItem itemValue="-1" itemLabel="Tutti"/>
<f:selectItem itemValue="Y" itemLabel="Si"/>
<f:selectItem itemValue="N" itemLabel="No"/>
</t:selectOneMenu>
</h:panelGrid>
<rich:spacer width="1" height="5"/>
<h:panelGrid align="center">
<h:commandButton type="submit" style="cursor: pointer;" value="Filtra"
action="#{toolkoRichieste.filtraWorklistPersonale}"
title="Filtra le richiesta della worklist personale"/>
</h:panelGrid>
</rich:panel>
<rich:spacer width="1" height="10"/>
<rich:dataTable value="#{toolkoRichieste.worklistPersonale}" var="itemPers" width="98%" id="listaRicPersonale" rows="25" columnClasses="col" rendered="#{toolkoRichieste.sizeWorklistPersonale gt 0}">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 30px;">
<h:outputText value="" />
</rich:column>
<rich:column>
<h:outputText value="ID Esigenza" />
</rich:column>
<rich:column>
<h:outputText value="Numero Telefonico" />
</rich:column>
<rich:column>
<h:outputText value="Codice Fiscale" />
</rich:column>
<rich:column>
<h:outputText value="Owner" />
</rich:column>
<rich:column>
<h:outputText value="Stato" />
</rich:column>
<rich:column>
<h:outputText value="Delibera" />
</rich:column>
<rich:column>
<h:outputText value="Note operative" />
</rich:column>
<rich:column>
<h:outputText value="Data Ricezione Tool KO" />
</rich:column>
<rich:column>
<h:outputText value="Tipologia KO" />
</rich:column>
<rich:column>
<h:outputText value="Nominativo Cliente" />
</rich:column>
<rich:column>
<h:outputText value="Recapito alternativo" />
</rich:column>
<rich:column>
<h:outputText value="Flag SKY" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column style="text-align: center; width: 30px;" >
<a4j:commandLink action="#{toolkoRichieste.openDetails}" immediate="true" reRender="panelDettaglio" oncomplete="Richfaces.showModalPanel('idPopupDettaglio', {width:'830px',height:'430px'});">
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Modifica la richiesta"/>
<f:param name="idRientroKO" value="#{itemPers.id}"/>
</a4j:commandLink>
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.idEsigenza}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.numeroTelefono}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.codiceFiscalePartivaIva}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.idOwner}" />
</rich:column>
<rich:column>
<h:outputText value="#{toolkoAnagraficheBean.toolkoStatoMap[itemPers.stato]}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.delibera}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.noteOperative}" id="stato"/>
</rich:column>
<rich:column>
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}">
<f:param value="#{itemPers.dataArrivoTool}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.causaleRifiuto}" title="#{itemPers.causaleRifiuto} - #{lov.toolkoDescrTipoKO[itemPers.KODescrKey]}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.nominativoCliente}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.recapitoAlternativo}" />
</rich:column>
<rich:column>
<h:outputText value="#{itemPers.flagSky}" />
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="5" renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
<rich:spacer width="1" height="5"/>
<h:commandButton rendered="#{(toolkoRichieste.sizeWorklistPersonale gt 0)}" style="cursor: pointer;" type="submit"
value="Download" id="DownloadButtonWLPersonale" action="#{toolkoRichieste.download}"
title="Scarica il risultato della worklist personale su file csv" />
<rich:panel rendered="#{toolkoRichieste.sizeWorklistPersonale eq 0}">
<h:panelGrid align="center" cellspacing="5" columns="4">
<h:outputText style="font-weight:bold" value="Nessun risultato trovato" />
</h:panelGrid>
</rich:panel>
</h:form>
</rich:panel>
<rich:modalPanel resizeable="true" id="idPopupDettaglio">
<f:facet name="header">
<h:panelGroup>
<h:outputText style="cursor: pointer" value="X" onclick="Richfaces.hideModalPanel('idPopupDettaglio');"/>
<h:outputText value=" -- Dettaglio richiesta --" />
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:outputText style="cursor: pointer" value="X" onclick="Richfaces.hideModalPanel('idPopupDettaglio');"/>
</f:facet>
<h:form id="formsaveDettaglio">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelDettaglio" columns="4">
<!-- PRIMA RIGA -->
<h:outputText style="font-weight:bold" value="Esigenza: " /><h:outputText value="#{toolkoRichieste.currenItem.idEsigenza}" />
<h:outputText style="font-weight:bold" value="Owner: " /><h:outputText value="#{toolkoRichieste.currenItem.idOwner}" />
<h:outputText style="font-weight:bold" value="Numero telefonico: " /><h:outputText value="#{toolkoRichieste.currenItem.numeroTelefono}" />
<h:outputText style="font-weight:bold" value="Codice Fiscale/ Partita IVA: " /><h:outputText value="#{toolkoRichieste.currenItem.codiceFiscalePartivaIva}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data assegnazione: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{toolkoRichieste.currenItem.dataPic != null}">
<f:param value="#{toolkoRichieste.currenItem.dataPic}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{toolkoRichieste.currenItem.dataPic == null}" />
<h:outputText style="font-weight:bold" value="Codice sessione: " /><h:outputText value="#{toolkoRichieste.currenItem.codSessioneOlo}" />
<h:outputText style="font-weight:bold" value="Canale acquisizione: " /><h:outputText value="#{toolkoRichieste.currenItem.canaleProvenienza}" />
<h:outputText style="font-weight:bold" value="Modulo Customer Care: " /><h:outputText value="#{toolkoRichieste.currenItem.moduloCc}" />
<h:outputText style="font-weight:bold" value="Modulo Partner: " /><h:outputText value="#{toolkoRichieste.currenItem.moduloPartner}" />
<h:outputText style="font-weight:bold" value="Data ricezione Tool KO: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}">
<f:param value="#{toolkoRichieste.currenItem.dataArrivoTool}"/>
</h:outputFormat>
<h:outputText style="font-weight:bold" value="Numero protocollo: " /><h:outputText value="#{toolkoRichieste.currenItem.protocolloDms}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data creazione CRM: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{toolkoRichieste.currenItem.dataCreazioneSr != null}">
<f:param value="#{toolkoRichieste.currenItem.dataCreazioneSr}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{toolkoRichieste.currenItem.dataCreazioneSr == null}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data prima esigenza: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{toolkoRichieste.currenItem.dataPrimaEsigenza != null}">
<f:param value="#{toolkoRichieste.currenItem.dataPrimaEsigenza}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{toolkoRichieste.currenItem.dataPrimaEsigenza == null}" />
<h:outputText style="font-weight:bold" value="Codice migrazione: " /><h:outputText value="#{toolkoRichieste.currenItem.cow}#{toolkoRichieste.currenItem.cor}#{toolkoRichieste.currenItem.cos}" />
<h:outputText style="font-weight:bold" value="Codice migrazione 2: " /><h:outputText value="#{toolkoRichieste.currenItem.cow2}#{toolkoRichieste.currenItem.cor2}#{toolkoRichieste.currenItem.cos2}" />
<h:outputText style="font-weight:bold" value="Anzianita giacenza: " /><h:outputText value="#{toolkoRichieste.anzianitaByCurrenItem}" />
<h:outputText style="font-weight:bold" value="Codice KO: " /><h:outputText value="#{toolkoRichieste.currenItem.causaleRifiuto} - #{lov.toolkoDescrTipoKO[toolkoRichieste.currenItem.KODescrKey]}" />
<h:outputText style="font-weight:bold" value="Codice OLO: " /><h:outputText value="#{toolkoRichieste.currenItem.cow}" />
<h:outputText style="font-weight:bold" value="Codice servizio: " /><h:outputText value="#{toolkoRichieste.currenItem.cos}" />
<h:outputText style="font-weight:bold" value="CRM provenienza: " /><h:outputText value="#{toolkoRichieste.currenItem.piattaformaProvenienza}" />
<h:outputText style="font-weight:bold" value="ID Esigenza padre: " /><h:outputText value="#{toolkoRichieste.currenItem.idPadre}" />
<!-- DATA FORMATTATA SOLO SE VALORIZZATA, ALTRIMENTI NON INSERISCO NULLA -->
<h:outputText style="font-weight:bold" value="Data chiusura CRM: " />
<h:outputFormat value="{0, date, dd-MM-yyyy HH:mm:ss}" rendered="#{toolkoRichieste.currenItem.dataChiusuraCrm != null}">
<f:param value="#{toolkoRichieste.currenItem.dataChiusuraCrm}"/>
</h:outputFormat>
<h:outputText value="" rendered="#{toolkoRichieste.currenItem.dataChiusuraCrm == null}" />
<!-- TERZA RIGA -->
<h:outputText style="font-weight:bold" value="Stato Richiesta: " /><h:outputText value="#{toolkoAnagraficheBean.toolkoStatoMap[toolkoRichieste.currenItem.stato]}" />
<h:outputText style="font-weight:bold" value="Note operative: " />
<t:selectOneMenu style="width:220px;" value="#{toolkoRichieste.currenItem.noteOperative}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{lov.listaStatiParziali}" var="item2" itemLabel="#{item2.descr}" itemValue="#{item2.name}"></t:selectItems>
</t:selectOneMenu>
<h:outputText style="font-weight:bold" value="Nominativo Cliente: " /><h:outputText value="#{toolkoRichieste.currenItem.nominativoCliente}" />
<h:outputText style="font-weight:bold" value="Recapito alternativo: " /><h:outputText value="#{toolkoRichieste.currenItem.recapitoAlternativo}" />
<h:outputText style="font-weight:bold" value="Note : " /><h:inputTextarea style="width:320px;" value="#{toolkoRichieste.currenItem.note}" />
<a4j:commandLink action="#{toolkoRichieste.loadStoricoNote}" immediate="true" reRender="pannelloRisultatiStoricoNote" oncomplete="Richfaces.showModalPanel('idDettaglioStoricoNote', {width:'830px',height:'430px'});">
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Dettaglio Storico Note"/>
<f:param name="selectedIdRichiesta" value="#{toolkoRichieste.currenItem.id}"/>
</a4j:commandLink>
</h:panelGrid>
</a4j:outputPanel>
<rich:spacer width="1" height="30"/>
<rich:separator lineType="solid" width="100%" />
<rich:spacer width="1" height="5"/>
<h:panelGrid align="center" cellspacing="5" columns="3">
<a4j:commandButton type="submit" value="Salva" style="cursor: pointer;" id="cbutton" action="#{toolkoRichieste.salva}" reRender="stato" oncomplete="Richfaces.hideModalPanel('idPopupDettaglio');" />
<h:commandButton type="submit" style="cursor: pointer;" value="Da assegnare a PPS"
action="#{toolkoRichieste.impostaDaAssegnarePPS}"
title="Cambia l'OWNER della richiesta a PPS"/>
<h:commandButton type="submit" style="cursor: pointer;" value="Da assegnare a OLO"
action="#{toolkoRichieste.impostaDaAssegnareOLO}"
title="Cambia l'OWNER della richiesta a OLO"/>
</h:panelGrid>
<rich:spacer width="1" height="50"/>
</h:form>
</rich:modalPanel>
</td>
</tr>
<tr>
<td>
<h:form id="idListStoricoNote">
<rich:modalPanel resizeable="true" id="idDettaglioStoricoNote">
<f:facet name="header">
<h:panelGroup>
<h:outputText style="cursor: pointer" value="X" onclick="Richfaces.hideModalPanel('idDettaglioStoricoNote');"/>
<h:outputText value=" -- Dettaglio storico note --" />
</h:panelGroup>
</f:facet>
<h:panelGrid id="pannelloRisultatiStoricoNote" width="98%">
<h:panelGrid columns="2">
<h:outputText style="font-weight:bold" value="Esigenza: " /><h:outputText value="#{toolkoRichieste.currenItem.idEsigenza}" />
</h:panelGrid>
<rich:dataTable value="#{toolkoRichieste.risultatiStorico}" width="98%" var="itemNote" id="listaStoricoNote" rows="25" columnClasses="col">
<f:facet name="header">
<rich:columnGroup>
<rich:column style="align: center; width: 25%;">
<h:outputText value="Data Inserimento" />
</rich:column>
<rich:column style="align: center; width: 75%;">
<h:outputText value="Note" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:outputFormat value="{0, date, yyyy-MM-dd HH:mm}">
<f:param value="#{itemNote.dataInserimento}"/>
</h:outputFormat>
</rich:column>
<rich:column>
<h:outputText value="#{itemNote.note}" />
</rich:column>
</rich:dataTable>
</h:panelGrid>
</rich:modalPanel>
</h:form>
</td>
</tr>
</table>

View File

@@ -0,0 +1,475 @@
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%"
align="center">
<tr width="100%" align="center">
<td>
<h:form id="populateForm">
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%"
align="center">
<tr width="100%" align="center">
<td>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%"
align="center">
<tr width="100%" align="center">
<td>
<rich:panel>
<f:facet name="header">
<h:outputText value="Ricerca Report" />
</f:facet>
<h:panelGrid columns="3" align="center" width="90%">
<h:column>
<h:outputLabel for="tipoReport"
style="color:black;font-weight:bold;"
value=" Seleziona il report da visualizzare: " />
<t:selectOneMenu id="tipoReport" value="#{report.reportID}" style="width:220px;">
<a4j:support event="onchange"
actionListener="#{report.clearReportContent}"
reRender="panelGridRisultato, labelNumRic , panelGridFilter"
immediate="true" onsubmit="Richfaces.showModalPanel('loadingPanel');"
oncomplete="Richfaces.hideModalPanel('loadingPanel');" />
<t:selectItems value="#{report.reportTypes}" var="item"
itemLabel="#{item.descr}" itemValue="#{item.id}"></t:selectItems>
</t:selectOneMenu>
</h:column>
<h:column>
<h:outputLabel for="filtroProcesso"
value=" Seleziona il processo: "
style="color:black;font-weight:bold;" />
<t:selectOneMenu id="filtroProcesso"
value="#{report.processID}">
<t:selectItems value="#{report.processTypes}"
var="itemProcess" itemLabel="#{itemProcess.descr}"
itemValue="#{itemProcess.id}"></t:selectItems>
</t:selectOneMenu>
</h:column>
<h:column>
<h:panelGrid columns="1" styleClass="">
<h:panelGroup>
<h:outputLabel for="dataInserimento"
value=" Data report: " styleClass=""
style="color:black;font-weight:bold;" />
<rich:calendar id="dataInserimento" popup="true"
direction="bottom-left"
value="#{report.dataInserimento}"
datePattern="dd/MM/yyyy" enableManualInput="false"
required="true" />
</h:panelGroup>
<rich:message for="dataInserimento"
style="color:red;font-weight:bold;" />
</h:panelGrid>
</h:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
<tr style="background-color: #CCCCCC;">
<td>
<rich:panel>
<h:panelGrid columns="3" style="background-color: #CCCCCC;"
rowClasses="buttonReport" align="center">
<h:column>
<a4j:commandButton id="VisualizzaButtonId"
action="#{report.populate}" type="submit"
value="Visualizza/Filtra"
reRender="listaRic, labelNumRic, updateGrid,panelGridFilter,FiltraCommand, internalGrid"
onclick="Richfaces.showModalPanel('loadingPanel');"
oncomplete="Richfaces.hideModalPanel('loadingPanel');" />
</h:column>
<h:column>
<t:commandButton id="DownloadButtonId2"
action="#{report.download}" type="submit" value="Download"/>
</h:column>
</h:panelGrid>
</rich:panel>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<h:panelGrid columns="1" id="labelNumRic">
<h:outputText value="Record trovati : #{report.resultSize}"
rendered="#{(report.resultSize gt 0)}"
style="color:black;font-weight:bold;" />
<h:outputText value="Nessun record trovato"
rendered="#{(report.resultSize le 0) and (report.reportID ne 6)}"
style="color:black;font-weight:bold;" />
<h:outputText value="Report disponibile solo per i processi di Del.35"
rendered="#{(report.resultSize le 0) and (report.reportID eq 6) and (report.processID ne 7) and (report.processID ne 8) and (report.processID ne 9) and (report.processID ne 10)}"
style="color:black;font-weight:bold;" />
<h:outputText value="Nessun record trovato"
rendered="#{(report.resultSize le 0) and (report.reportID eq 6) and ((report.processID eq 7) or (report.processID eq 8) or (report.processID eq 9) or (report.processID eq 10) )}"
style="color:black;font-weight:bold;" />
</h:panelGrid>
</td>
</tr>
<tr>
<td>
<rich:separator lineType="solid" width="100%" />
<rich:modalPanel shadowDepth="1" shadowOpacity="4"
styleClass="rich-mpnl-shadow"
style="border:2 solid;border-color:#AAAAFF;" width="252"
height="232" id="loadingPanel" autosized="true" zindex="100"
left="500" top="150">
<h:graphicImage alt="loading..." width="250" height="230"
style="align:center;"
value="/resources/images/loading_aqua.gif" />
</rich:modalPanel>
</td>
</tr>
<!-- FILTRI -->
<tr width="100%" align="center">
<td>
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%"
align="center">
<tr width="100%" align="center">
<td align="center">
<h:panelGrid columns="4" id="panelGridFilter" cellpadding="0"
border="0" cellspacing="0" width="100%" headerClass="dr-pnl-h rich-panel-header" >
<t:dataList value="#{report.filterList}" var="itemFilter">
<rich:column id="internalColumn"
rendered="#{(itemFilter.label ne null) }">
<h:panelGrid columns="1" id="internalGrid" width="100%"
align="left" cellpadding="0" cellspacing="0"
style="text-align: center;" rowClasses="filterReportRow">
<rich:column>
<h:outputLabel value="#{itemFilter.label}"
style="color:black;font-weight:bold;" />
</rich:column>
<rich:column>
<t:selectOneMenu value="#{itemFilter.selectedValue}"
rendered="#{(itemFilter.type.filterType eq 3)}">
<f:selectItem itemLabel="Tutti" itemValue="-1" />
<t:selectItems value="#{itemFilter.valueBindingLov}"
var="item" itemLabel="#{item.descr}"
itemValue="#{item.name}" />
</t:selectOneMenu>
<rich:calendar popup="true" direction="bottom-left"
value="#{itemFilter.selectedValue}"
datePattern="dd/MM/yyyy" enableManualInput="false"
rendered="#{(itemFilter.type.filterType ne 3)}" />
</rich:column>
</h:panelGrid>
</rich:column>
</t:dataList>
</h:panelGrid>
</td>
</tr>
</table>
</td>
</tr>
</table>
</h:form>
</td>
</tr>
<!-- FINE FILTRI -->
<tr width="100%" align="center">
<td>
<h:form id="updateForm">
<table valign="top" cellspacing="0" cellpadding="0" WIDTH="100%"
align="center">
<tr width="100%" align="center">
<td align="center">
<a4j:outputPanel id="panelListaRichieste" ajaxRendered="true"
style="align:center;">
<!-- risultato -->
<h:panelGrid id="panelGridRisultato" columns="1"
rendered="#{(report.resultSize gt 0)}" width="100%">
<rich:dataTable value="#{report.dynamicList}" var="item"
width="100%" id="listaRic" rows="15" columnClasses="col"
rowKeyVar="rowKey">
<f:facet name="header">
<rich:columnGroup>
<rich:column rendered="#{report.headerSize ge 1}">
<h:outputText value="#{report.dynamicHeader[0]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 2}">
<h:outputText value="#{report.dynamicHeader[1]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 3}">
<h:outputText value="#{report.dynamicHeader[2]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 4}">
<h:outputText value="#{report.dynamicHeader[3]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 5}">
<h:outputText value="#{report.dynamicHeader[4]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 6}">
<h:outputText value="#{report.dynamicHeader[5]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 7}">
<h:outputText value="#{report.dynamicHeader[6]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 8}">
<h:outputText value="#{report.dynamicHeader[7]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 9}">
<h:outputText value="#{report.dynamicHeader[8]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 10}">
<h:outputText value="#{report.dynamicHeader[9]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 11}">
<h:outputText value="#{report.dynamicHeader[10]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 12}">
<h:outputText value="#{report.dynamicHeader[11]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 13}">
<h:outputText value="#{report.dynamicHeader[12]}" />
</rich:column>
<rich:column rendered="#{report.headerSize ge 14}">
<h:outputText value="#{report.dynamicHeader[13]}" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column rendered="#{report.headerSize ge 1}">
<h:outputText value="#{item[0]}"
rendered="#{(report.dynamicHeader[0] ne 'Sollecito 1') and
(report.dynamicHeader[0] ne 'Sollecito2') and (report.dynamicHeader[0] ne 'Sollecito 3')}" />
<h:inputText value="#{item[0]}"
rendered="#{((report.dynamicHeader[0] eq 'Sollecito 1') or
(report.dynamicHeader[0] eq 'Sollecito 2') or (report.dynamicHeader[0] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 2}">
<h:outputText value="#{item[1]}"
rendered="#{(report.dynamicHeader[1] ne 'Sollecito 1') and
(report.dynamicHeader[1] ne 'Sollecito 2') and (report.dynamicHeader[1] ne 'Sollecito 3')}" />
<h:inputText value="#{item[1]}"
rendered="#{((report.dynamicHeader[1] eq 'Sollecito 1') or
(report.dynamicHeader[1] eq 'Sollecito 2') or (report.dynamicHeader[1] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 3}">
<h:outputText value="#{item[2]}"
rendered="#{(report.dynamicHeader[2] ne 'Sollecito 1') and
(report.dynamicHeader[2] ne 'Sollecito 2') and (report.dynamicHeader[2] ne 'Sollecito 3')}" />
<h:inputText value="#{item[2]}"
rendered="#{((report.dynamicHeader[2] eq 'Sollecito 1') or
(report.dynamicHeader[2] eq 'Sollecito 2') or (report.dynamicHeader[2] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 4}">
<h:outputText value="#{item[3]}"
rendered="#{(report.dynamicHeader[3] ne 'Sollecito 1') and
(report.dynamicHeader[3] ne 'Sollecito 2') and (report.dynamicHeader[3] ne 'Sollecito 3')}" />
<h:inputText value="#{item[3]}"
rendered="#{((report.dynamicHeader[3] eq 'Sollecito 1') or
(report.dynamicHeader[3] eq 'Sollecito 2') or (report.dynamicHeader[3] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 5}">
<h:outputText value="#{item[4]}"
rendered="#{(report.dynamicHeader[4] ne 'Sollecito 1') and
(report.dynamicHeader[4] ne 'Sollecito 2') and (report.dynamicHeader[4] ne 'Sollecito 3')}" />
<h:inputText value="#{item[4]}"
rendered="#{((report.dynamicHeader[4] eq 'Sollecito 1') or
(report.dynamicHeader[4] eq 'Sollecito 2') or (report.dynamicHeader[4] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 6}">
<h:outputText value="#{item[5]}"
rendered="#{(report.dynamicHeader[5] ne 'Sollecito 1') and
(report.dynamicHeader[5] ne 'Sollecito 2') and (report.dynamicHeader[5] ne 'Sollecito 3')}" />
<h:inputText value="#{item[5]}"
rendered="#{((report.dynamicHeader[5] eq 'Sollecito 1') or
(report.dynamicHeader[5] eq 'Sollecito 2') or (report.dynamicHeader[5] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 7}">
<h:outputText value="#{item[6]}"
rendered="#{(report.dynamicHeader[6] ne 'Sollecito 1') and
(report.dynamicHeader[6] ne 'Sollecito 2') and (report.dynamicHeader[6] ne 'Sollecito 3')}" />
<h:inputText value="#{item[6]}"
rendered="#{((report.dynamicHeader[6] eq 'Sollecito 1') or
(report.dynamicHeader[6] eq 'Sollecito 2') or (report.dynamicHeader[6] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 8}">
<h:outputText value="#{item[7]}"
rendered="#{(report.dynamicHeader[7] ne 'Sollecito 1') and
(report.dynamicHeader[7] ne 'Sollecito 2') and (report.dynamicHeader[7] ne 'Sollecito 3')}" />
<h:inputText value="#{item[7]}"
rendered="#{((report.dynamicHeader[7] eq 'Sollecito 1') or
(report.dynamicHeader[7] eq 'Sollecito 2') or (report.dynamicHeader[7] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 9}">
<h:outputText value="#{item[8]}"
rendered="#{(report.dynamicHeader[8] ne 'Sollecito 1') and
(report.dynamicHeader[8] ne 'Sollecito 2') and (report.dynamicHeader[8] ne 'Sollecito 3')}" />
<h:inputText value="#{item[8]}"
rendered="#{((report.dynamicHeader[8] eq 'Sollecito 1') or
(report.dynamicHeader[8] eq 'Sollecito 2') or (report.dynamicHeader[8] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 10}">
<h:outputText value="#{item[9]}"
rendered="#{(report.dynamicHeader[9] ne 'Sollecito 1') and
(report.dynamicHeader[9] ne 'Sollecito 2') and (report.dynamicHeader[9] ne 'Sollecito 3')}" />
<h:inputText value="#{item[9]}"
rendered="#{((report.dynamicHeader[9] eq 'Sollecito 1') or
(report.dynamicHeader[9] eq 'Sollecito 2') or (report.dynamicHeader[9] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 11}">
<h:outputText value="#{item[10]}"
rendered="#{(report.dynamicHeader[10] ne 'Sollecito 1') and
(report.dynamicHeader[10] ne 'Sollecito 2') and (report.dynamicHeader[10] ne 'Sollecito 3')}" />
<h:inputText value="#{item[10]}"
rendered="#{((report.dynamicHeader[10] eq 'Sollecito 1') or
(report.dynamicHeader[10] eq 'Sollecito 2') or (report.dynamicHeader[10] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 12}">
<h:outputText value="#{item[11]}"
rendered="#{(report.dynamicHeader[11] ne 'Sollecito 1') and
(report.dynamicHeader[11] ne 'Sollecito 2') and (report.dynamicHeader[11] ne 'Sollecito 3')}" />
<h:inputText value="#{item[11]}"
rendered="#{((report.dynamicHeader[11] eq 'Sollecito 1') or
(report.dynamicHeader[11] eq 'Sollecito 2') or (report.dynamicHeader[11] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 13}">
<h:outputText value="#{item[12]}"
rendered="#{(report.dynamicHeader[12] ne 'Sollecito 1') and
(report.dynamicHeader[12] ne 'Sollecito 2') and (report.dynamicHeader[12] ne 'Sollecito 3')}" />
<h:inputText value="#{item[12]}"
rendered="#{((report.dynamicHeader[12] eq 'Sollecito 1') or
(report.dynamicHeader[12] eq 'Sollecito 2') or (report.dynamicHeader[12] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<rich:column rendered="#{report.headerSize ge 14}">
<h:outputText value="#{item[13]}"
rendered="#{(report.dynamicHeader[13] ne 'Sollecito 1') and
(report.dynamicHeader[13] ne 'Sollecito 2') and (report.dynamicHeader[13] ne 'Sollecito 3')}" />
<h:inputText value="#{item[13]}"
rendered="#{((report.dynamicHeader[13] eq 'Sollecito 1') or
(report.dynamicHeader[13] eq 'Sollecito 2') or (report.dynamicHeader[13] eq 'Sollecito 3')) and (user.codiceProfilo eq 'GG')}">
<a4j:support event="onchange"
actionListener="#{report.addSollecitoToUpdate}">
<a4j:actionparam value="#{rowKey}"
assignTo="#{report.index}" name="#{rowKey}index"></a4j:actionparam>
</a4j:support>
</h:inputText>
</rich:column>
<f:facet name="footer">
<rich:datascroller maxPages="15" fastStep="16"
renderIfSinglePage="false" />
</f:facet>
</rich:dataTable>
</h:panelGrid>
</a4j:outputPanel>
</td>
</tr>
<!-- fine risultato -->
<tr>
<td>
<a4j:outputPanel id="panelUpdateCommand" ajaxRendered="true"
style="align:center;">
<h:panelGrid columns="1" styleClass="button" width="100%"
id="updateGrid" rowClasses="buttonReport"
style="background-color: #CCCCCC;">
<rich:separator lineType="solid" id="updateSeparator" rendered="#{(report.updating) and (user.codiceProfilo eq 'GG')}"/>
<a4j:commandButton id="updateCommand" value="Update"
rendered="#{(report.updating) and (user.codiceProfilo eq 'GG')}"
action="#{report.updateRows}"
onclick="Richfaces.showModalPanel('loadingPanel');"
oncomplete="Richfaces.hideModalPanel('loadingPanel');" />
</h:panelGrid>
</a4j:outputPanel>
</td>
</tr>
</td>
</tr>
</table>
</h:form>
</td>
</tr>
</table>

View File

@@ -0,0 +1,24 @@
<%@ page language="java" pageEncoding="ISO-8859-1" isErrorPage="true" %>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<table width="100%" class="color1" border="0">
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr align="center" valign="middle">
<th class="XL bold inverse" align="center">Errore!</th>
</tr>
<tr align="center" valign="middle">
<th align="center"><rich:messages styleClass="XL_Error" layout="table" /></th>
</tr>
<tr><th class="XXL bold inverse">&nbsp;</th></tr>
<tr><th class="XXL bold inverse"><span class="inverse XL">
<t:graphicImage value="/resources/images/logo_telecom_ef.gif" alt="logo telecom"></t:graphicImage></span></th>
</tr>
<tr align="center" valign="middle">
<td colspan="3">&nbsp;</td>
</tr>
<tr><th class="bold inverse">&nbsp;</th></tr>
</table>

View File

@@ -0,0 +1,53 @@
<%@ page language="java" pageEncoding="ISO-8859-1" %>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<html>
<f:view>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'"/>
<script type="text/javascript" language="javascript">
function setClientInfo() {
try {
var clientUsername = new ActiveXObject("WScript.Network").UserName;
var locator = new ActiveXObject("WbemScripting.SWbemLocator");
var service = locator.ConnectServer(".");
var properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
var e = new Enumerator(properties);
for (; !e.atEnd(); e.moveNext()) {
var p = e.item();
if (p.IPAddress != null) {
document.getElementById("myForm:userIPAddress").value = p.IPAddress(0);
document.getElementById("myForm:userHostName").value = p.DNSHostName;
}
}
document.getElementsByName("myform:userName")[0].value = clientUsername;
} catch (e) {
}
return true;
}
function sendClientInfo() {
setClientInfo();
document.forms['myForm'].action = "/dbcfxgo/getInfo.jsf";
document.forms['myForm'].submit();
}
</script>
</head>
<body>
<h:form id="myForm">
<h:inputHidden id="userIPAddress" value="#{user.userIPAddress}"/>
<h:inputHidden id="userHostName" value="#{user.userHostName}"/>
<h:inputHidden id="userName" value="#{user.userName}"/>
</h:form>
<script type="text/javascript">
<!--
sendClientInfo();
-->
</script>
</body>
</f:view>
</html>

View File

@@ -0,0 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Refresh" content="0;url=/dbcfxgo/init.jsf"/>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'"/> <!-- CSP per Sicurezza ADR Reflected XSS aggiungere su altri 31 jsp ----->
</head>
</html>

View File

@@ -0,0 +1,16 @@
<%@ page import="it.valueteam.gnpgo.core.util.Resources" %><%
String urlPCSLogout = Resources.getPCSUrlLogout();
%>
<script type="text/javascript" language="javascript">
<!--
function doLogout(){
window.location.href = '<%=urlPCSLogout%>';
//window.close();
}
doLogout();
-->
</script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,86 @@
<%@ page import="weblogic.servlet.security.ServletAuthentication,javax.servlet.http.HttpUtils,java.util.Enumeration" %>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
StringBuffer URL = request.getRequestURL();
String path = URL.substring(0,URL.lastIndexOf("/"))+"/";
session.setAttribute("AzError","true");
%>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'"/>
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title>Telecom Italia</title>
<script language="javascript">
<!-----
if (top.location != self.location) {
top.location = self.location
}
//--->
</script>
<style>
<!--
.Titoli_bianchi_18_bold { font-family: Arial; font-size: 18 pt; color: #6b6f72; font-weight: bold }
.Titoli_bianchi_10_bold {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #6b6f72; FONT-FAMILY: Arial
}
-->
</style>
</head>
<body BGCOLOR="#ffffff" TEXT="#6b6f72">
<a name="top"></a>
<!-- **** Log in table **** -->
<p class="Titoli_bianchi_18_bold">&nbsp;</p>
<div align="center">
<center>
<table border="0" cellpadding="15" cellspacing="15" background="<%=path%>sfondo_telecom.gif" width="577" height="400" valign="top">
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td>
<p class="Titoli_bianchi_18_bold"><i>Accesso ai sistemi</i></p>
</td>
<td>
<p><img border="0" src="<%=path%>logo_telecom_ef.gif" align="right"></p>
</td>
</tr>
<TR>
<TD colspan=2>
<P class=Titoli_bianchi_10_bold ><br><I></I></P>
</TD>
</TR>
<TR>
<tr>
<td align="left" colspan="2">
<p class="Titoli_bianchi_10_bold">
Impossibile accedere al sistema. Si e' verificata una delle seguenti condizioni: </p>
<p class="Titoli_bianchi_10_bold"><ul class="Titoli_bianchi_10_bold">
<li> Credenziali di accesso non corrette</li>
<li> Utente non abilitato</li>
</ul>
</p>
<br>
<p class="Titoli_bianchi_18_bold"><center><a href="<%=ServletAuthentication.getTargetURLForFormAuthentication(session)%>"><img src="<%=path%>entra_tlc.gif" border="0"></a></center>&nbsp;&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>

View File

@@ -0,0 +1,156 @@
<%@ page import="weblogic.servlet.security.ServletAuthentication,javax.servlet.http.HttpUtils,java.util.Enumeration" %>
<%@ page import="it.valueteam.gnpgo.core.util.Resources" %>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<html>
<head>
<%
/* Eliminare il commento dalla configurazione che si intende utilizzare
* ed inserirne uno sulla configurazione non in uso.
* La coppia // all'inizio di una riga indica che la riga e' un commento.
*/
/*CONFIGURAZIONE COLLAUDO*/
//String urlCambioPwd = "https://cambiopwd-coll.tim.it/Ch_Pwd/pw.html";
/*CONFIGURAZIONE ESERCIZIO*/
String urlCambioPwd = Resources.getChangePasswordLink();
%>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval'"/>
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title>Telecom Italia</title>
<script language="javascript">
<!-----
if (top.location != self.location) {
top.location = self.location
}
function resetCredFields()
{
document.Login.j_password.value = "";
document.Login.j_username.value = "";
}
function submitForm()
{
if(document.Login.j_username.value == ""){
alert("Il campo username e' vuoto!");
return false;
}else{
if(document.Login.j_password.value == ""){
alert("Il campo password e' vuoto!");
return false;
}else{
return true;
}
}
return false;
}
//--->
</script>
<style>
<!--
.Titoli_bianchi_18_bold { font-family: Arial; font-size: 18 pt; color: #6b6f72; font-weight: bold }
.Titoli_bianchi_10_bold {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #6b6f72; FONT-FAMILY: Arial
}
-->
</style>
</head>
<%
Object countObj = session.getAttribute("count");
int count = 0;
if (countObj!=null)
count = ((Integer)countObj).intValue()+1;
session.setAttribute("count", new Integer(count));
Object azErrorObj = session.getAttribute("AzError");
String azError="";
if (azErrorObj!=null)
azError = (String)azErrorObj;
if (!azError.equals("true") && ServletAuthentication.strong(request,response)==ServletAuthentication.AUTHENTICATED){
count = ((Integer)session.getAttribute("count")).intValue();
if (count == 0)
response.sendRedirect(ServletAuthentication.getTargetURLForFormAuthentication(session));
else{
session.removeAttribute("count");
StringBuffer URL = request.getRequestURL();
response.sendRedirect(URL.substring(0,URL.lastIndexOf("/"))+"/error.jsp");
}
}
session.removeAttribute("AzError");
%>
<body BGCOLOR="#ffffff" TEXT="#6b6f72" onLoad = "resetCredFields();">
<a name="top"></a>
<FORM name=Login action="j_security_check" method="post" onSubmit="return submitForm();">
<INPUT TYPE=HIDDEN NAME="SMENC" VALUE="ISO-8859-1">
<INPUT type=HIDDEN name="SMLOCALE" value="US-EN">
<!-- **** Log in table **** -->
<p class="Titoli_bianchi_18_bold">&nbsp;</p>
<div align="center">
<center>
<table border="0" cellpadding="15" cellspacing="15" background="sfondo_telecom.gif" width="577" height="400" valign="top">
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td>
<p class="Titoli_bianchi_18_bold"><i>Pagina di accesso - DBCFXGO</i></p>
</td>
<td>
<p><img border="0" src="logo_telecom_ef.gif" align="right"></p>
</td>
</tr>
<TR>
<TD colspan=2>
<P class=Titoli_bianchi_10_bold ><br><I></I></P>
</TD>
</TR>
<TR>
<tr>
<td align="center" colspan="2">
<p class="Titoli_bianchi_18_bold">&nbsp;</p>
<p class="Titoli_bianchi_18_bold">Username&nbsp;<input name="j_username" size="30" style="MARGIN-LEFT: 1px; font: Arial; font-size: 10pt; font-weight: bold;" type="text"></p>
<p class="Titoli_bianchi_18_bold">Password&nbsp;<input name="j_password" size="30" style="MARGIN-LEFT: 1px; font: Arial; font-size: 10pt; font-weight: bold;" type="password"></p>
<br>
<p class="Titoli_bianchi_18_bold"><input type="image" src="entra_tlc.gif">&nbsp;&nbsp;
<a href="#top"><IMG src="cancella_tlc.gif" border="0" onClick="javascript:resetCredFields();"></a>&nbsp;&nbsp;
<%
if(urlCambioPwd!=null && !urlCambioPwd.equals("")){
%>
<a href="<%=urlCambioPwd%>"><img src="cambia_pwd_tlc.gif" border="0"></a></p>
<% } %>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</form>
<script language="javascript">
document.forms["Login"].elements["j_username"].focus();
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,654 @@
body {
font-family : arial, verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
}
.standard {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.standard_bold {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
font-weight: bold;
}
.standard_bold_ruby {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #dc1919;
font-weight: bold;
}
.scrollerTable {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: solid;
border-width: 1px;
width: 400px;
text-align: center;
}
.scroller {
padding-left:20px;
}
.paginator {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}
.standardTable {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: solid;
border-width: 1px;
}
.standardTable_Header {
color: #000000;
background-color: #CCCCCC;
padding: 3;
text-align: center;
border: none;
}
.standardTable_SortHeader {
background-color: #CCCCCC;
color: #000000;
padding: 3;
text-align: center;
border: none;
font-weight: bold;
}
.standardTable_Footer {
background-color: #FFFFE0;
}
.standardTable_Row1 {
background-color: #FFFFE0;
}
.standardTable_Row2 {
background-color: #FFFFE0;
}
.standardTable_Column {
}
.standardTable_ColumnCentered {
text-align: center
}
a
{
color: #333366;
text-decoration: underline;
font-size: 12px;
}
a:hover
{
color: #333366;
text-decoration: underline;
}
.error {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FF0000;
}
.sortLink {
color: #333366;
text-decoration: none;
}
.pageLayout {
width:760px;
height:100%;
}
.pageHeader {
background-color: #6392C6;
text-align: center;
vertical-align: middle;
height:1px;
overflow:visible;
color: #FFFFFF;
padding: 0px;
margin: 0px;
}
.pageHeader1 {
}
.pageHeader2 {
width:100%;
}
.pageHeader2col1 {
background-color: #FFFFFF;
}
.pageNavigation {
text-align: left;
vertical-align: top;
width: 200px;
background-color: #E7EFF7;
border: 1px solid #6392C6;
padding: 10px;
}
.pageBody {
text-align: left;
vertical-align: top;
width: 560px;
padding: 20px;
background-color: #FFFFFF;
}
.pageFooter {
text-align: right;
font-size: xx-small;
height:1px;
overflow:visible;
background-color: #6392C6;
color: #FFFFFF;
}
.navigation {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
width: 100%;
}
.navitem {
white-space : nowrap;
text-decoration : none;
}
a.navitem:hover,active {
white-space : nowrap;
text-decoration: none;
color: #6392C6;
}
.navitem_open {
white-space : nowrap;
text-decoration: none;
font-weight : bold;
}
a.navitem_open:hover,active {
white-space : nowrap;
text-decoration: none;
font-weight : bold;
color: #6392C6;
}
.navitem_active {
white-space : nowrap;
text-decoration: none;
font-weight : bold;
background-color: #6392C6;
width: 100%;
color: #FFFFFF;
}
a.navitem_active:hover,active {
white-space : nowrap;
text-decoration: none;
font-weight : bold;
background-color: #6392C6;
width: 100%;
color: #FFFFFF;
}
.navseparator {
line-height: 12px;
border-bottom: 1px solid #A2B7C5;
}
.fileUploadInput {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
width: 250px;
}
.emptyHeader {
background-color: #FFFFFF;
border-top: 0px none;
border-right: 0px none;
border-bottom: 0px none;
border-left: 0px none;
}
div.titlebar {
background: #C7D0D9;
color: black;
border: 1px solid #8CACBB;
padding-left: 1px;
padding-right: 1px;
padding-top: 1px;
padding-bottom: 1px;
margin: 1px 1px;
clear: both;
}
/*
------------------------------------------------------------
Calendar component
------------------------------------------------------------
*/
.yearMonthHeader {
background-color: #DDDDDD;
color: #000000;
text-align: center;
border: none;
font-weight: bold;
}
.weekHeader {
background-color: #E7E7E7;
color: #000000;
text-align: center;
border: none;
}
.currentDayCell {
background-color: #DDDDDD;
color: #000000;
border: none;
}
/*
------------------------------------------------------------
End Calendar component
------------------------------------------------------------
*/
/*
------------------------------------------------------------
Popup component
------------------------------------------------------------
*/
.popup {
background-color:rgb(255,255,255);
color: #000000;
border: 1px solid #CCCCCC;
font-size:smaller;
padding: 5px;
}
.popup table {
font-size:smaller;
}
/*
------------------------------------------------------------
End popup component
------------------------------------------------------------
*/
.countryFormTable {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: solid;
border-width: 1px;
}
.countryFormHeader {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: none;
background-color: #FFDD00;
text-align: center;
font-weight : normal;
}
.countryFormFooter {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: none;
background-color: #FFDD00;
text-align: center;
font-weight : normal;
}
.countryFormLabels {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: none;
text-align: right;
font-weight : bold;
}
.countryFormInputs {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
padding: 2;
border-style: none;
}
/*
------------------------------------------------------------
Tree component
------------------------------------------------------------
*/
.nodeFolder
{
font-size: 10px;
font-family: Verdana, Geneva, sans-serif;
text-decoration: none
}
.document
{
color: blue;
font-size: 10px;
font-family: Verdana, Geneva, sans-serif;
text-decoration: none
}
.documentSelected
{
color: blue;
font-size: 10px;
font-family: Verdana, Geneva, sans-serif;
text-decoration: none;
font-weight: bold
}
.childCount
{
color: blue;
font-size: 10px;
font-family: Verdana, Geneva, sans-serif;
text-decoration: none
}
/*
------------------------------------------------------------
Panelnavigation
------------------------------------------------------------
*/
#subnavigation {
margin-left: 0px;
margin-right: 20px;
padding: 0px 0px 20px 0px;
border: 1px solid #546359;
background-color: #EAF4F4;
}
#subnavigation_outer {
float: left;
width: 220px;
padding: 0px;
margin: 0px 0px 0px 0px;
}
#subnavigation_outer h1 {
font-size: 1.5em;
margin: 0px;
padding: 0px 0px 15px 0px;
}
/*
--------------------------------------------------------------
Horizontal Panelnavigation
--------------------------------------------------------------
*/
#hNav_outer {
margin: 0;
padding: 0;
height: 60px;
width: 800px;
}
#hNav_outer ul {
padding: 0;
margin: 0;
}
#hNav_outer ul li ul {
margin: 0;
padding: 0;
}
#hNav_outer ul a {
text-decoration: none;
}
#hNav_outer ul li { /*float the main list items*/
margin: 0;
float: left;
display: block;
padding: 5px;
}
#hNav_outer ul li ul {
display: none;
}
#hNav_outer ul li.off ul, #hNav_outer ul li.on ul { /*put the subnav below*/
position: absolute;
top: 36px;
*top: 44px;/*reposition for IE*/
background: #224d6f;
left: 13px;
*left: 15px;
width: 740px;
}
#hNav_outer ul li.on ul {
display: block;
background: #f90;
}
#hNav_outer ul li.on:hover ul, #hNav_outer ul li.over ul { /*for ie*/
background: #224d6f;
}
#hNav_outer ul li a {
color: #224d6f;
font-weight: bold;
display: block;
padding: 5;
}
#hNav_outer ul li.on a {
color: #fff;
background: #f90;
}
#hNav_outer ul li.on ul a, #hNav_outer ul li.off ul a {
float: left; /*ie doesn't inherit the float*/
border: 0;
color: #f90;
width: auto;
}
#hNav_outer ul li.on:hover ul a, #hNav_outer ul li.over ul li a { /*for ie - the specificity is necessary*/
background: #224d6f;
}
#hNav_outer ul li.off:hover ul, #hNav_outer ul li.over ul {
display: block;
z-index: 6000;
}
#hNav_outer ul li.off a:hover, #hNav_outer ul li:hover a, #hNav_outer ul li.over a {
background: #29497b;
color: #f90;
}
#hNav_outer ul li.off a:hover, #hNav_outer ul li.on a:hover {
color: #f90;
}
/*subnav formatting*/
#hNav_outer ul li.off ul a {
display: block;
background: #224d6f;
color: #fff;
}
#hNav_outer ul li.on ul a {
display: block;
background: #f90;
color: #fff;
}
/**************************************************
* css layers and classes for list navigation list
**************************************************/
#subnavigation ul li a {
display:block;
background-color: #D1E4E4;
color: #294747;
text-decoration: none;
border-bottom: 1px solid #87A8A8;
padding: 2px 20px;
margin: 0px;
}
#subnavigation ul li a:visited {color:#294747;}
#subnavigation ul li a:hover {color: #FFFFFF; background-color: #87A8A8;}
#subnavigation ul li a:active { color:#294747;}
#subnavigation ul li a.selected {
font-weight: bold;
color:#294747;
background-color: #FFFFFF;
}
#subnavigation ul ul li a {
padding: 2px 20px 2px 25px;
margin: 0px;
background-color: #FFFFFF;}
#subnavigation ul ul li ul li a {
padding: 2px 20px 2px 30px;
margin: 0px;
}
#subnavigation ul {
list-style-type: none;
padding: 0px;
margin: 0px;
}
#subnavigation li{
margin: 0px;
padding: 0px;
display:inline;
}
#subnavigation ul.mypage li a {
padding: 2px 20px 2px 20px;
margin: 0px;
background-color: #EAF4F4;
}
#subnavigation ul.mypage ul li a:hover {color: #FFFFFF; background-color: #87A8A8;}
/*
body, th, td, input, select {
font-family: Verdana, Helvetica, Arial, sans-serif;
}
table, th, td {
font-size: small;
border: none;
}
.treeHeader {
background-color: #bbb;
border: 0.75px solid #fff;
padding: 2px 3px;
text-align: left;
}
.treeFooter {
padding: 5px;
margin: .67em 2px;
margin-top: 0;
background-color: #ddd;
background-image: url(../images/sw_med_rond.gif);
background-repeat: no-repeat;
background-position: bottom left;
}
input, .treeFooter {
font-size: xx-small;
font-size: x-small;
}
.a td {
background: #ddd;
border-bottom: 1px solid #fff;
}
.b td {
background: #efefef;
border-bottom: 1px solid #fff;
}
.col1 {
border-right: 1px solid #fff;
padding: 2px 15px 2px 5px;
}
.col2 {
border-left: 1px solid #fff;
padding: 2px 15px 2px 5px;
}
.tree {
lineheight: 18px;
font-family: arial, sans-serif;
}
.treenode {
padding: 2px 15px 2px 5px;
}
.treenode a {
text-decoration: none;
}
.treenodeSelected {
padding: 2px 15px 2px 5px;
}
.treenodeSelected a {
text-decoration: none;
font-weight: bold;
}
table .selectOneRadio {
font-weight: bold;
}
.standardList {
font-family : verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
*/

View File

@@ -0,0 +1,991 @@
/*
* TIM EIR style sheet
* $Id: dbc-go.css, version 1 2005/08/31 Claudio Garbelli
red #EA2D31 (234,45,49)
blue #004981 (0,73,129)
red0 #F9BCBD (249,189,190)
red0 #FCCACB (252,218,219)
blue0 #06336B
blue1 #6374B2
blue2 #AAB8E6
blue3 #D5DDF4
blue4 #E8ECF9
*/
IMG.displayed {
display: block;
margin-left: auto;
margin-right: auto
}
.yearMonthHeader {
background-color: #DDDDDD;
color: #000000;
text-align: center;
border: none;
font-weight: bold;
}
.weekHeader {
background-color: #E7E7E7;
color: #000000;
text-align: center;
border: none;
}
.currentDayCell {
background-color: #DDDDDD;
color: #000000;
border: none;
}
.panelWithoutSpace {
background-color: #FFFFFF;
cellpadding: 0;
cellspacing: 0;
align: center;
}
TABLE.colorHeaderWhite TH {
background-color: #FFFFFF;
}
{
background-color
:
#FFFFFF
;
}
.standard_bold {
font-family: verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
font-weight: bold;
}
.noprint {
position: absolute;
visibility: hidden;
float: left;
}
.buttonReport {
width: 100%;
text-align: center;
}
.resultReport {
width: 100%;
text-align: center;
}
* {
font-family: Tahoma;
font-size: 10px;
color: #000000;
}
* .S {
font-size: 8px;
}
* .L {
font-size: 12px;
}
* .LReport {
font-size: 12px;
text-align: center;
}
* .XL {
font-size: 24px;
}
* .XL_Error {
font-size: 24px;
color: #CC0000;
font-weight: bold;
}
* .XXL {
font-size: 42px;
}
* .bold {
font-weight: bold;
}
*.filterReportRow{
height: 30px;
}
.readonly {
color: #888888;
border-color: #888888;
}
.error {
color: #EA2D31;
}
.color0 {
color: #EA2D31;
}
.color1 {
color: #FFFFFF;
}
.colorReport {
color: #FFFFFF;
}
.hidden {
display: none;
}
.hidden2 {
overflow: visible;
}
.myLink1{
font-size:10;
cursor: pointer;
color: #7795AF;
font-family: Verdana;
text-decoration: underline;
}
.myLink2{
font-size:10;
font-weight:bold;
cursor: pointer;
color: #7795AF;
font-family: Verdana;
text-decoration: underline;
}
.myLink3{
font-size:10;
cursor: pointer;
color: #7795AF;
font-family: Verdana;
text-decoration: none;
}
.select-free iframe {
display: block;
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 3000px;
height: 3000px;
}
BODY {
margin: 10px;
padding: 0px;
border-style: none;
background-color: #EAEAEA;
cursor: auto;
}
FIELDSET {
margin: 0px;
padding: 0px;
border-style: none;
}
FORM {
margin: 0px;
padding: 0px;
border-style: none;
background-color: transparent;
}
TABLE {
margin: 0px;
padding: 0px;
border-style: none;
border-collapse: collapse;
background-color: #FFFFFF;
}
TABLE.main {
background-color: #E8ECF9;
background-repeat: repeat;
border: 0px solid #CCCCCC;
}
TABLE.color1 {
border: 1px solid #999999;
}
TABLE.colorReport {
border: 1px solid #999999;
}
TABLE.color0 {
border-width: 1px;
border-style: solid;
border-color: #EA2D31;
}
TABLE.color2 {
border-width: 0px;
border-style: solid;
border-color: #004981;
}
TABLE.border {
border-width: 1px;
border-style: solid;
width: 100%;
}
TABLE.button {
}
TABLE.main TH {
font-weight: bold;
color: #FFFFFF;
background-color: #FFFFFF;
}
TABLE.color0 TH,TABLE.color1 TH,TABLE.color2 TH,TABLE.colorReport TH {
color: #FFFFFF;
}
TABLE.color0 TH {
background-color: #EA2D31;
}
TABLE.color1 TH {
background-color: #FFFFFF;
}
TABLE.colorReport TH {
background-color: #999999;
}
TABLE.color1 TH.inverse,TABLE.colorReport TH.inverse {
background-color: #FFFFFF;
color: #CC0000;
padding-left: 30px;
padding-right: 30px;
}
TABLE.color2 TH {
background-color: #06336B;
color: #06336B;
}
TABLE.* TH {
color: black;
}
TABLE.color0 TD {
border-color: #C8D6FB;
}
TABLE.color1 TD,TABLE.colorReport TD {
border-color: #CCCCCC;
}
TABLE.color1 TD.light,TABLE.colorReport TD.light {
background-color: #FFFFFF;
}
TABLE.color2 TD {
border-color: #FFFFFF;
background-color: #FFFFFF;
border-style: none;
}
TABLE TD.line {
border-style: none;
color: #FFFFFF;
height: 3px;
}
TABLE.color0 TD.line {
background-color: #FFFFFF;
}
TABLE.color1 TD.line,TABLE.colorReport TD.line {
background-color: #FFFFFF;
}
TABLE.color1 TD.noborder,TABLE.colorReport TD.noborder {
border: 0px;
}
TABLE.color2 TD.line {
background-color: #06336B;
}
TABLE.line TH {
border-style: none;
background-color: #FFFFFF;
color: #FFFFFF;
height: 3px;
}
TABLE.line TH.reverse {
background-color: #EA2D31;
}
TABLE.line TH.empty {
background-color: #D5DDF4;
}
TABLE.border TD {
border-style: solid;
border-width: 1px;
}
TABLE.withHidden TD {
border-bottom-style: none;
padding: 1px;
width: auto;
}
TABLE.withHidden TD.swap {
border-top-style: none;
}
TR.nav {
background-color: #004981;
}
TH.XL {
height: 50px;
}
TH.L {
height: 30px;
}
TH.LReport {
height: 30px;
text-align: center;
}
TH.labelLeft {
padding-right: 5px;
text-align: right;
}
TD.color0 {
background-color: #EA2D31;
}
TD.color1 {
background-color: #FFFFFF;
}
TD.colorReport {
background-color: #FFFFFF;
}
TD.color2 {
background-color: #06336B;
}
TD.nav {
border: 0px;
background-color: #004981;
}
TD.readonly {
border: 0px;
color: #888888;
}
TD.labelLeft {
padding-right: 5px;
text-align: right;
}
TD.labelRight {
padding-left: 5px;
text-align: left;
}
TD.data {
padding-left: 5px;
text-align: left;
font-weight: bold;
}
TD.button {
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}
TD.statTitle {
color: #004981;
padding-top: 5px;
font-weight: bold;
}
TD.msg {
padding: 10px;
text-center: right;
font-weight: bold;
}
TD.withoutOperator {
padding-left: 38px;
}
BUTTON {
cursor: pointer;
}
BUTTON.M {
width: 100px;
}
BUTTON.color0 {
color: #FFFFFF;
border: 1px solid #EA2D31;
background-color: #EA2D31;
text-align: center;
}
BUTTON.color0:hover {
background-color: #F9BCBD;
}
BUTTON.color1 {
color: #FFFFFF;
border: 1px solid #004981;
background-color: #004981;
}
BUTTON.color1:hover {
background-color: #4262C8;
}
BUTTON.colorReport {
color: #FFFFFF;
border: 1px solid #004981;
background-color: #004981;
}
BUTTON.colorReport:hover {
background-color: #4262C8;
}
BUTTON.nav {
color: #FFFFFF;
background-color: #6374B2;
border: 1px solid #FFFFFF;
font-weight: bold;
width: 150px;
}
BUTTON.navSub {
margin: 1px;
background-color: #004981;
width: 142px;
}
BUTTON.nav:hover {
background-color: #004981;
}
INPUT {
border: 1px solid #000000;
width: 149px;
background-color: #E8ECF9;
}
INPUT.radio {
border: 0px;
width: 20px;
}
INPUT.checkbox {
border: 0px;
width: 15px;
height: 15px;
}
INPUT.file {
width: 213px;
}
INPUT.date {
width: 130px;
}
INPUT.dateFromTo {
width: 60px;
}
INPUT.dateWithNull {
width: 110px;
}
INPUT.withNull {
width: 130px;
}
INPUT.small {
width: 90px;
}
INPUT.xsmall {
width: 49px;
}
INPUT.xxsmall {
width: 43px;
}
INPUT.readonly {
color: #888888;
border-color: #888888;
}
TEXTAREA {
border: 1px solid #000000;
height: 50px;
width: 149px;
overflow: auto;
}
SELECT {
width: 150px;
background-color: #E8ECF9;
border: 1px solid #000000;
}
SELECT.large {
width: 214px;
}
SELECT.XLarge {
width: 411px;
}
SELECT.XSmall {
width: 35px;
}
A:link {
color: #06336B;
}
A:visited {
color: #1C2C5E;
}
A:hover {
color: #4262C8;
}
A:active {
color: #4262C8;
}
A.selected:link {
color: #EA2D31;
font-weight: bold;
}
A.selected:visited {
color: #EA2D31;
font-weight: bold;
}
A.selected:hover {
color: #EA2D31;
font-weight: bold;
}
A.selected:active {
color: #EA2D31;
font-weight: bold;
}
DIV.menu {
position: absolute;
display: none;
width: 150px;
background-color: #FFFFFF;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 1px;
padding-right: 1px;
border-color: #FFFFFF;
border-style: solid;
border-top-width: 0px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
}
DIV.subMenu {
position: absolute;
}
DIV.subTree {
padding: 0px;
padding-left: 8px;
border: 0px;
margin: 0px;
}
TABLE.tree {
border: 0px;
padding: 0px;
background-color: #EA2D31;
}
TABLE.tree TD {
border: 0px;
padding: 0px;
}
TABLE.tree A {
display: block;
text-decoration: none;
font-weight: normal;
padding: 2px;
border: 0px;
}
TABLE.tree A.withSubTree {
background-image: url("../img/treeArrowDown.png");
background-position: 0% 50%;
background-repeat: no-repeat;
padding-left: 10px;
text-decoration: none;
font-weight: normal;
width: 100%;
}
TABLE.tree A.open {
background-image: url("../img/treeArrowUp.png");
background-position: 0% 50%;
background-repeat: no-repeat;
}
TABLE.tree A.leaf {
background-image: url("../img/treeArrowLeft.png");
background-position: 0% 50%;
background-repeat: no-repeat;
padding-left: 8px;
text-decoration: none;
font-weight: normal;
width: 100%;
}
TABLE.tree A.selected {
color: #FFFFFF;
background-color: #004981;
font-weight: bold;
}
TABLE.tree A:link {
color: #FFFFFF;
}
TABLE.tree A:visited {
color: #FFFFFF;
}
TABLE.tree A:hover {
background-color: #C71519;
}
TABLE.tree A.selected:hover {
color: #FFFFFF;
background-color: #004981;
}
TABLE.tree A:focus {
color: #FFFFFF;
}
TABLE.tree A:active {
color: #FFFFFF;
}
TABLE.menu {
border: 0px;
padding: 0px;
background-color: #FFFFFF;
}
TABLE.menu TD {
padding: 2px;
}
TABLE.menu A {
display: block;
width: 150px;
padding: 2px;
border: 1px solid #FFFFFF;
margin: 0px;
text-decoration: none;
text-align: center;
font-weight: bold;
}
TABLE.menu A.withSubMenu {
background-image: url("../img/menuArrowDown.png");
background-position: 95% 50%;
background-repeat: no-repeat;
}
TABLE.menu A.open {
background-image: url("../img/treeArrowUp.png");
background-position: 95% 50%;
background-repeat: no-repeat;
}
TABLE.menu A:link {
color: #FFFFFF;
background-color: #EA2D31;
}
TABLE.menu A:visited {
color: #FFFFFF;
background-color: #FF0000;
}
TABLE.menu A:hover {
background-color: #CC0000 ! important;
}
TABLE.menu A:focus {
background-color: #666666;
}
TABLE.menu A:active {
background-color: #666666;
}
TABLE.subMenu {
border-style: solid;
border-color: #004981;
border-width: 0px 2px 2px 2px;
padding: 0px;
background-color: #004981;
}
TABLE.subMenu TD {
padding: 0px;
text-align: center;
}
TABLE.subMenu A {
display: block;
width: 150px;
padding: 2px;
border-style: solid;
border-color: #FFFFFF;
border-width: 0px 1px 1px 1px;
margin: 0px;
text-decoration: none;
text-align: center;
}
TABLE.subMenu A:link {
color: #FFFFFF;
background-color: #006BBE;
}
TABLE.subMenu A:visited {
color: #FFFFFF;
background-color: #006BBE;
}
TABLE.subMenu A:hover {
background-color: #005BA0 ! important;
}
TABLE.subMenu A:active {
background-color: #006BBE;
}
TABLE.subMenu A:focus {
background-color: #006BBE;
}
TABLE.button {
border: 0px;
padding: 0px;
}
TABLE.button TD {
padding: 2px;
}
TABLE.button A {
display: block;
width: 100px;
padding: 2px;
border: 0px;
margin: 0px;
text-decoration: none;
text-align: center;
font-weight: normal;
}
TABLE.button A.color0:link {
color: #FFFFFF;
background-color: #EA2D31;
}
TABLE.button A.color0:visited {
color: #FFFFFF;
background-color: #EA2D31;
}
TABLE.button A.color0:hover {
background-color: #C71519 ! important;
}
TABLE.button A.color0:focus {
background-color: #EA2D31;
}
TABLE.button A.color0:active {
background-color: #EA2D31;
}
TABLE.button A.color1:link {
color: #FFFFFF;
background-color: #004981;
}
TABLE.button A.color1:visited {
color: #FFFFFF;
background-color: #004981;
}
TABLE.button A.color1:hover {
background-color: #003964 ! important;
}
TABLE.button A.color1:focus {
background-color: #004981;
}
TABLE.button A.color1:active {
background-color: #004981;
}
TABLE.button A.colorReport:link {
color: #FFFFFF;
background-color: #004981;
}
TABLE.button A.colorReport:visited {
color: #FFFFFF;
background-color: #004981;
}
TABLE.button A.colorReport:hover {
background-color: #003964 ! important;
}
TABLE.button A.colorReport:focus {
background-color: #004981;
}
TABLE.button A.colorReport:active {
background-color: #004981;
}
TABLE.button A.Small {
width: 30px;
}
UL.error {
list-style-type: square;
color: #EA2D31;
margin: 0px 0px 0px 15px;
padding: 0px 0px 0px 10px;
}
UL.error LI {
color: #EA2D31;
}
IMG.calendar {
padding: 0px;
margin: 0px;
border: 0px;
width: 16px;
height: 16px;
}
.viewsourcepanel {
border: 0px;
padding: 0px;
margin: 2px 0px 0px 0px;
width: 100%;
background-color: #F3F7FB;
}
.viewsourcebody {
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
padding-top: 0px;
}
.viewsourceheader {
border: 0px;
padding: 0px;
height: 6px;
background-color: #E1E7ED;
background-image: none;
}
.viewsourcediv {
padding-right: 10px;
padding-left: 10px;
padding-bottom: 10px;
padding-top: 5px;
border-top: 2px solid #FFFFFF;
border-bottom: 2px solid #FFFFFF;
}
.viewsourcediv pre {
margin: 0px
}
.viewsourcelooklink {
padding-left: 0px;
font-size: 11px;
cursor: pointer;
font-family: Verdana;
text-decoration: underline
}
.viewsourcehidelink {
display: block;
color: #7795AF;
cursor: pointer;
background-color: #E1E7ED;
text-align: right;
text-decoration: none;
padding: 2px
}

View File

@@ -0,0 +1,234 @@
/* Basic */
*
{
padding-top: 0px;
padding-right: 0.5px;
padding-bottom: 0px;
padding-left: 0.5px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
h1,h2
{
}
body
{
font-family: Arial, sans-serif;
font-size: 10pt;
color: #666;
background-color: #fff;
}
a{
color: #0077dd;
text-decoration: underline;
}
a:hover{
text-decoration: none;
}
/* Outer */
#outer{
padding: 0em;
margin: 0em;
width: 100%;
height: 7em;
}
/* Header */
#header {
position: relative;
height: 7em;
padding-left: 2em;
border-bottom: dotted 0px #FF0000;
}
#header h1{
position: absolute;
top: 1.8em;
font-size: 2.2em;
letter-spacing: -0.05em;
}
#header h1 a{
color: #fff;
text-decoration: none;
}
#header h2{
position: absolute;
font-size: 1.4em;
top: 3em;
color: #90A5AB;
}
/* Menu */
#menu{
/*position: absolute;*/
top: 5em;
right: 3em;
}
#menu ul{
list-style: none;
}
#menu li{
display: inline;
padding-left: 1.1em;
margin-left: 1em;
font-weight:bold;
border-left: dotted 1px #E0E8EF;
}
#menu li.first{
border: 0em;
margin-left: 0em;
padding-left: 0em;
}
#menu li a
{
color: #000000;
padding: 0.1em;
font-weight:bold;
text-decoration: none;
}
#menu li a:hover{
text-decoration: none;
font-weight:bold;
background-color:#DDDDDD;
}
/* Content */
#content{
line-height: 0.3px;
}
#content p{
margin-bottom: 0.3px;
}
#content h2,h3,h4,h5,h6{
color: #545454;
margin-bottom: 0.3px;
border-bottom: dashed 1px #dfdfdf;
padding-bottom: 0.3px;
}
#content h2{
font-size: 1.5em;
}
#content h3{
font-size: 1.1em;
}
#content ul{
margin-bottom: 1.5em;
padding-left: 1em;
list-style: square;
}
#content blockquote{
margin-bottom: 1.5em;
padding: 0px 0px 0px 0px;
border-left: solid 0.2em #005082;
background: #FDFDFD url('images/a7.gif') top left repeat-x;
}
#content blockquote p
{
margin-bottom: 0em;
}
#content table
{
margin-bottom: 1px;
border-collapse: collapse;
text-align: left;
}
#content table th
{
font-weight: bold;
padding: 0px;
}
#content table td
{
padding: 0px 0px 0px 0px;
border-right: solid 1px #fff;
}
#content table tr.rowH
{
color: #fff;
background: #006192 url('images/a8.gif') top left repeat-x;
border-right: solid 1px #fff;
}
#content table tr.rowA
{
background: #F8F8F8 url('images/a6.gif') top left repeat-x;
border-top: solid 1px #fff;
color: inherit;
}
#content table tr.rowB
{
background: #FDFDFD url('images/a7.gif') top left repeat-x;
border-top: solid 0px #fff;
color: inherit;
}
/* Primary Content */
#primaryContentContainer {
background-color: #fff;
margin: 0px 0px 0px 0px;
}
#primaryContent {
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}
/* Secondary Content */
#secondaryContent {
left:0;
float:left;
width:25em;
}
/* Footer */
#footer
{
position: relative;
z-index: 1;
border-top: dashed 1px #dfdfdf;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
text-align: center;
}
li
{
text-align: left;
list-style-type: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Some files were not shown because too many files have changed in this diff Show More