<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display"%>
  
<h1><bean:message key="prompt.jobScheduleListForm.title"/></h1>

<div id="COMMANDTAG">
	<table border="0" cellpadding="0" cellspacing="0" valign="top" width="100%">
		<tr>
			<td colspan="6" height="1"><hr/></td>
		</tr>
		<tr>
			<td height="20" width="50%">
				<html:link href="jobEdit.do"><bean:message key="prompt.jobScheduleListForm.jobCreate"/></html:link>
			</td>
			<td height="20">&nbsp;</td>
			<td height="20" width="12%">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="6" height="1"><hr/></td>
		</tr>
	</table>
</div>

<div id="DISPLAYTAG">
<div style="OVERFLOW-Y: auto; " id=DIV1>

	<logic:present name="jobScheduleList" scope="request">

		<display:table id="oneJob" name="jobScheduleList" scope="request">
			<display:column property="jobDetail.group"  width="15%"  titleKey="prompt.jobScheduleListForm.groupName"/>
			<display:column width="15%"  titleKey="prompt.jobScheduleListForm.jobName">
				<html:link  href="jobScheduleView.do" name="oneJob" property="paramMap">
					<bean:write name="oneJob" property="jobDetail.name"/>
				</html:link>
			</display:column>
			<display:column property="jobDetail.description" width="35%"  titleKey="prompt.jobScheduleListForm.jobDescription"/>
			<display:column property="jobDetail.jobClass.name" width="20%"  titleKey="prompt.jobScheduleListForm.className"/>
			<display:column align="center" width="15%" titleKey="prompt.jobScheduleListForm.jobDelete">
				<html:link  href="jobDelete.do" name="oneJob" property="paramMap" onclick="javascript:return confirm('Delete Scheduled Job');">
					<bean:message key="prompt.jobScheduleListForm.jobDelete"/>
				</html:link>
			</display:column>
		</display:table>

	</logic:present>
	
</div>
</div>  