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,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>