157 lines
7.6 KiB
Plaintext
157 lines
7.6 KiB
Plaintext
<%@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>
|
|
<a4j:commandButton
|
|
value="DAC"
|
|
action="#{nng_ot.ordinaPerDAC}"
|
|
reRender="listaTestate" />
|
|
</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>
|
|
|