174 lines
8.2 KiB
Plaintext
174 lines
8.2 KiB
Plaintext
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
|
|
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
|
|
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
|
|
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
|
|
|
|
<%@ page import="it.valueteam.dbcgo.common.Keys" %>
|
|
<%@ page import="it.valueteam.dbcgo.common.User" %>
|
|
|
|
<%
|
|
User user = (User)request.getSession().getAttribute("user");
|
|
if (user == null) {
|
|
%>
|
|
<jsp:forward page="<%=Keys.URL_LOGOUTACTION%>"/>
|
|
<% } %>
|
|
|
|
<html:javascript formName="ppSearchActionForm" staticJavascript="false" />
|
|
<script type="text/javascript" language="javascript">
|
|
<!--
|
|
function localValidate(f){
|
|
if (!validatePpSearchActionForm(f))
|
|
return false;
|
|
|
|
//superati tutti i controlli
|
|
return true;
|
|
}
|
|
-->
|
|
</script>
|
|
|
|
<html:form action="ppSearchAction">
|
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
|
<tr>
|
|
<td valign="top">
|
|
<table border="0" cellspacing="0" cellpadding="0" class="color0" width="100%">
|
|
<tr align="center" height="30">
|
|
<th class="L"><bean:message key="ppSearch.title"/></th>
|
|
</tr>
|
|
<tr align="center">
|
|
<td>
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td class="labelLeft"><bean:message key="ppSearch.MSISDN"/></td>
|
|
<td><html:text property="MSISDN" maxlength="15"></html:text></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr align="center">
|
|
<td class="button">
|
|
<button class="color0 M" name="search" value="search" onclick="javascript:mySubmit('Ricerca','ppSearchAction.do','0',false,true,false, true)">
|
|
<bean:message key="button.search"/>
|
|
</button>
|
|
<button class="color1 M" name="cancel" value="cancel" onclick="document.location.href='ppSearchLoad.do'">
|
|
<bean:message key="button.cancel"/>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
|
|
<logic:greaterEqual name="ppSearchActionForm" property="requestNum" value="0">
|
|
<tr>
|
|
<td valign="top">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="color0">
|
|
<tr align="center" height="30">
|
|
<th class="L"><bean:message key="ppSearch.resultTitle"/></th>
|
|
</tr>
|
|
<logic:messagesPresent message="true">
|
|
<tr align="left">
|
|
<td><html:messages id="msg" message="true"><bean:write name="msg"/></html:messages></td>
|
|
</tr>
|
|
</logic:messagesPresent>
|
|
|
|
<logic:notEmpty name="ppSearchActionForm" property="ppRequestList">
|
|
<tr><td> </td></tr>
|
|
<!-- TABELLA SINTESI -->
|
|
<tr align="center">
|
|
<td>
|
|
<table border="0" cellpadding="1" cellspacing="0" width="50%" class="color1 border">
|
|
<tr>
|
|
<th class="labelLeft" width="50%"><bean:message key="ppSearch.MSISDN"/></th>
|
|
<td width="50%" align="left"><bean:write name="ppSearchActionForm" property="MSISDN" /></td>
|
|
</tr>
|
|
<tr>
|
|
<th class="labelLeft"><bean:message key="ppSearch.TOT_PP"/></th>
|
|
<td align="left"><bean:write name="ppSearchActionForm" property="numTot" /></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr><td> </td></tr>
|
|
|
|
<tr align="center">
|
|
<td>
|
|
<!-- TABELLA SINTESI PROCESSI-->
|
|
<table class="color1 border" width="50%" cellpadding="1" cellspacing="0">
|
|
<tr><th width="100%" align="center" colspan="2"><bean:message key="ppSearch.table1Title"/></th></tr>
|
|
<tr>
|
|
<th width="50%" align="left"><bean:message key="ppSearch.procColumnTitle"/></th>
|
|
<th width="50%" align="left"><bean:message key="ppSearch.numPPTitle"/></th>
|
|
</tr>
|
|
<tr>
|
|
<td><bean:message key="ppSearch.procDONOR"/></td>
|
|
<td><bean:write name="ppSearchActionForm" property="numDonor" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><bean:message key="ppSearch.procRECIPIENT"/></td>
|
|
<td><bean:write name="ppSearchActionForm" property="numRecipient" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><bean:message key="ppSearch.procTP"/></td>
|
|
<td><bean:write name="ppSearchActionForm" property="numPorting" /></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr><td> </td></tr>
|
|
<tr align="center">
|
|
<td>
|
|
<!-- TABELLA DETTAGLIO PROCESSI-->
|
|
<table class="color1 border" width="50%" cellpadding="1" cellspacing="0">
|
|
<tr>
|
|
<th width="100%" align="center" colspan="4"><bean:message key="ppSearch.table2Title"/></th>
|
|
</tr>
|
|
<tr>
|
|
<th width="25%" align="left"><bean:message key="ppSearch.procColumnTitle"/></th>
|
|
<th width="25%" align="left"><bean:message key="ppSearch.DONATING"/></th>
|
|
<th width="25%" align="left"><bean:message key="ppSearch.RECIPIENT"/></th>
|
|
<th width="25%" align="left"><bean:message key="ppSearch.DATA"/></th>
|
|
</tr>
|
|
|
|
<logic:iterate id="ppRequestList" name="ppSearchActionForm" property="ppRequestList">
|
|
<tr>
|
|
<td><bean:write name="ppRequestList" property="DESCR_PROCESSO"/></td>
|
|
<td><bean:write name="ppRequestList" property="CODICE_OPERATORE_DONATING"/></td>
|
|
<td><bean:write name="ppRequestList" property="CODICE_OPERATORE_RECIPIENT"/></td>
|
|
<td><bean:write name="ppRequestList" property="DATA_OPERAZIONE"/></td>
|
|
</tr>
|
|
</logic:iterate>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr><td> </td></tr>
|
|
<tr align="center">
|
|
<td width="100%">
|
|
<!-- TABELLA PROC ATTIVI-->
|
|
<table class="color1 border" width="50%" cellpadding="1" cellspacing="0">
|
|
<tr><th width="100%" align="center" colspan="3"><bean:message key="ppSearch.table3Title"/></th></tr>
|
|
<tr>
|
|
<th width="34%" align="left"><bean:message key="ppSearch.procColumnTitle"/></th>
|
|
<th width="33%" align="left"><bean:message key="ppSearch.STATO"/></th>
|
|
<th width="33%" align="left"><bean:message key="ppSearch.DATA"/></th>
|
|
</tr>
|
|
|
|
<logic:iterate id="activeRequestList" name="ppSearchActionForm" property="activeRequestList">
|
|
<tr>
|
|
<td><bean:write name="activeRequestList" property="DESCR_PROCESSO"/></td>
|
|
<td><bean:write name="activeRequestList" property="DESCR_STATO"/></td>
|
|
<td><bean:write name="activeRequestList" property="DATA_OPERAZIONE"/></td>
|
|
</tr>
|
|
</logic:iterate>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr><td> </td></tr>
|
|
</logic:notEmpty>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</logic:greaterEqual>
|
|
</table>
|
|
</html:form>
|