First Commit - Source Code from Reply
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
<%@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.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.IntervalloAttivazione" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
Vector processi =(Vector) session.getAttribute(CrontabCostants.OBJECT_PROCESSI_BLOCCANTI);
|
||||
%>
|
||||
|
||||
<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="">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="">
|
||||
<table width="524">
|
||||
<td width = "594" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<p class="Titolo"><b><i><font color="#FFFFFF">Processi Bloccanti</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="400">
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="51" align="center"><b>Sel.</b></td>
|
||||
<td width="177" align="center"><b>Processi</b></td>
|
||||
<td width="146" align="center"><b>Stato </b></td>
|
||||
</tr>
|
||||
<% if (processi == null)
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="4" align="center" width="512"><b>Nessun Processo bloccante</b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{
|
||||
String colore= new String();
|
||||
for(int i=0; i<processi.size();i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
ProcessBean aProcess = (ProcessBean) processi.elementAt(i);
|
||||
%>
|
||||
|
||||
<tr bgcolor="<%=colore%>" >
|
||||
<td width="51" ><p align="center"><input type="checkbox" name="elementiLista" value="<%=i %>"></p></td>
|
||||
<td width="177" >
|
||||
<p align="center"><b><%= aProcess.getNome()%></b></p>
|
||||
</td>
|
||||
<td width="146" align="center"><b><%= aProcess.getStatoProcesso()%></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="51" align="center"><b>Sel.</b></td>
|
||||
<td width="177" align="center"><b>Processi</b></td>
|
||||
<td width="146" align="center"><b>Stato</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="100%">
|
||||
<TBODY>
|
||||
<TR width="200">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= CrontabCostants.FNC_ASSOCIA_PROCESSO_BLOCCANTE %>)"> Associa
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkRadio(document.formCentrale,<%= CrontabCostants.CMD_DISASSOCIA_PROCESSO_BLOCCANTE %>)"> Disassocia
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
Reference in New Issue
Block a user