First Commit - Source Code from Reply
This commit is contained in:
163
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SchedaProcesso.jsp
Normal file
163
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SchedaProcesso.jsp
Normal file
@@ -0,0 +1,163 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.ProcessBean" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="ProcessCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= aCrontabSession.getProcessId() %>">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td><b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">
|
||||
<%= (String)Resources.getDay()%></font></P></i></b>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">GESTIONE PROCESSI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= aCrontabSession.getLabelOperazione()%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<table width="656" border="0" height="349" >
|
||||
<tr>
|
||||
<td colspan="2" height="24" width="606" align="right">
|
||||
<p align="left"></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="24"><b><i>Nome<font color="#D61414"> </font></i></b></td>
|
||||
<td width="457" height="24"><%= resultBean.getNome()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="24"><b><i>Descrizione</i></b></td>
|
||||
<td width="457" height="24">
|
||||
|
||||
<p><%= resultBean.getDescrizione()%></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><b><i>Comando</i></b></td>
|
||||
<td width="457" height="24">
|
||||
<%= resultBean.getComando()%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><b><i>Modalità</i></b></td>
|
||||
<td height="24" width="457"><%= resultBean.getModalita()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFCC" height="28" width="143"><b><i>Parametri</i></b></td>
|
||||
<td height="28" width="457"><%= resultBean.getParametri()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24"></td>
|
||||
<td width="457" height="24"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="2" colspan="2" bgcolor="#000080"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><i><b>Task di Riferimento </b></i></td>
|
||||
<td width="457" height="24">
|
||||
<% if (resultBean.getVectorTask() != null )
|
||||
{
|
||||
for (int i=0;i<resultBean.getVectorTask().size();i++)
|
||||
{
|
||||
TaskBean aTask = (TaskBean) resultBean.getVectorTask().elementAt(i);
|
||||
%>
|
||||
<A href="javascript:getScheda(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_TASK %>,'<%= aTask.getIdTask()%>','TaskCommand.do')"><%= aTask.getNome() %></a>
|
||||
<br>
|
||||
<% }
|
||||
}%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="2" colspan="2" bgcolor="#000080"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><i><b>Processi Bloccanti </b></i></td>
|
||||
<td width="457" height="24">
|
||||
<% if (resultBean.getVectorProcessi() != null )
|
||||
{
|
||||
for (int i=0;i<resultBean.getVectorProcessi().size();i++)
|
||||
{
|
||||
ProcessBean aProcess = (ProcessBean) resultBean.getVectorProcessi().elementAt(i);
|
||||
%>
|
||||
<A href="javascript:getScheda(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_PROCESSO %>,'<%= aProcess.getProcessId()%>','ProcessCommand.do')"><%= aProcess.getNome() %></a>
|
||||
<br>
|
||||
<% }
|
||||
}%>
|
||||
</td>
|
||||
</tr>
|
||||
<td height="117" colspan="2">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="25%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:history.back()"> Torna Indietro</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</table>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</div>
|
||||
</table>
|
||||
</BODY>
|
||||
</form>
|
||||
Reference in New Issue
Block a user