first commit
This commit is contained in:
295
hrmsWeb/hrms/jsp/HrmTrngCalClose.jsp
Normal file
295
hrmsWeb/hrms/jsp/HrmTrngCalClose.jsp
Normal file
@@ -0,0 +1,295 @@
|
||||
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
|
||||
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
|
||||
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
|
||||
<%@ taglib uri="/WEB-INF/enrgise-html.tld" prefix="enrgise" %>
|
||||
|
||||
|
||||
<html:html>
|
||||
<html:base />
|
||||
<head>
|
||||
<TITLE><bean:message key="hrm.title" /></TITLE>
|
||||
<jsp:include page="GenIncludes.jsp" flush="true" />
|
||||
</head>
|
||||
|
||||
<BODY onload="doBaseOnLoad()" onkeydown="hotKeys(event);" scroll=auto>
|
||||
|
||||
<html:form name="HrmTrngCalCloseForm" action="HrmTrngCalCloseBaseAction" type="wenrgise.hrms.webtier.form.HrmTrngCalCloseForm">
|
||||
<bean:define id="ParentForm" name="HrmTrngCalCloseForm" toScope="request" />
|
||||
|
||||
<jsp:include page="GenMenu.jsp" flush="true" />
|
||||
<bean:define id="left" name="ParentForm" property="positionRequested"/>
|
||||
<bean:define id="right" name="ParentForm" property="totalCount"/>
|
||||
<table cellSpacing=0 bgColor=#bdd0ef>
|
||||
<tr height=27>
|
||||
<td colSpan=11></td>
|
||||
</tr>
|
||||
<TR >
|
||||
<TD ><enrgise:img name="ParentForm" property="butQuery" onmouseover='this.src="../includes/images/query_act.jpg"' onmouseout='this.src="../includes/images/query.jpg"' alt="Query (Ctrl+Q)" src="../includes/images/query.jpg" onclick="doBaseQueryMode()" /><img property="butInsert" src="../includes/images/insert_dis.jpg" onclick="doBaseInsertMode()"/></TD>
|
||||
<TD width="2%"></TD>
|
||||
<TD ><img src="../includes/images/execute_dis.jpg" /><enrgise:img name="ParentForm" property="butSave" onmouseover='this.src="../includes/images/save_act.jpg"' onmouseout='this.src="../includes/images/save.jpg"' alt="Save (Ctrl+S)" src="../includes/images/save.jpg" onclick="doBaseSave()" />
|
||||
<img property="butDelete" src="../includes/images/delete_dis.jpg" onclick="doBaseDelete()" /><enrgise:img name="ParentForm" property="butRefresh" onmouseover='this.src="../includes/images/refresh_act.jpg"' onmouseout='this.src="../includes/images/refresh.jpg"' alt="Refresh (Ctrl+R)" src="../includes/images/refresh.jpg" onclick="doBaseRefresh()" />
|
||||
<enrgise:img name="ParentForm" property="butPrint" onmouseover='this.src="../includes/images/print_act.jpg"' onmouseout='this.src="../includes/images/print.jpg"' alt="Print (Ctrl+P)" src="../includes/images/print.jpg" /></TD>
|
||||
<TD width="2%" bgColor=#bdd0ef></TD>
|
||||
<TD><enrgise:img name="ParentForm" property="butExit" onmouseover='this.src="../includes/images/exit_act.jpg"' onmouseout='this.src="../includes/images/exit.jpg"' alt="Exit (Alt+X)" src="../includes/images/exit.jpg" onclick="doBaseExit()" />
|
||||
<enrgise:img name="ParentForm" property="butHelp" onmouseover='this.src="../includes/images/help_act.jpg"' onmouseout='this.src="../includes/images/help.jpg"' alt="Help (Ctrl+?)" src="../includes/images/help.jpg" onclick="doBaseHelp()" /></TD>
|
||||
<TD width="50%"></TD>
|
||||
<TD ><img property="butPrevHeader" src='../includes/images/butn_prev_dis.jpg' /></td>
|
||||
<td class=dtlNavText><bean:write name="left" /> of
|
||||
<bean:write name="right" /></td>
|
||||
<td align=right><img property="butNextHeader" src="../includes/images/butn_next_dis.jpg" /></td>
|
||||
<td align=right><html:text property="newPositionRequested" size="1" onkeydown="isInteger(event)" title=" " alt="N" /></td>
|
||||
<td ><enrgise:img name="ParentForm" property="butJumpHeader" alt="Go (Ctrl+G)" src="../includes/images/go.jpg" onmouseover='this.src="../includes/images/go_act.jpg"' onmouseout='this.src="../includes/images/go.jpg"' onclick="doBaseJumpHeader()" /></td>
|
||||
<td > </td>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="11" class="userText"></td>
|
||||
</tr>
|
||||
<enrgise:checkSession/>
|
||||
</TABLE>
|
||||
|
||||
<!--Top Most Blue Bar-->
|
||||
<TABLE cellSpacing=0 bgColor=#bdd0ef>
|
||||
<tr>
|
||||
<TD colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmTrngCalClose.mainHeader" /></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<!--// Display Errors -->
|
||||
<enrgise:errors/>
|
||||
<logic:messagesPresent message="true">
|
||||
<Table>
|
||||
<html:messages id="message" message="true">
|
||||
<TR><TD>
|
||||
<bean:write name="message" />
|
||||
</TD></TR>
|
||||
</html:messages>
|
||||
</Table>
|
||||
</logic:messagesPresent>
|
||||
<!--// Display Errors -->
|
||||
|
||||
<TABLE cellSpacing=0 cellPadding=0 border=0 >
|
||||
<TR>
|
||||
<TD>
|
||||
|
||||
<TABLE cellSpacing=0 cellPadding=0 >
|
||||
<!--Inspection Header Starts -->
|
||||
<TR>
|
||||
<TD class=subHeader colspan=6><bean:message key="hrm.HrmTrngCalClose.subHeader" /></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<td class=labelText><bean:message key="hrm.HrmTrngCalClose.courseName" /></td>
|
||||
<td colspan="2"><html:text property="courseName" altKey="hrm.HrmTrngCalClose.courseName" readonly="true" styleClass="locked" maxlength="15" size="23" /><img height=16 align="center" src="../includes/images/lov.jpg" property="butCourseName" class="icon" onclick="return ShowTrngCalCloseCrs();" ></td>
|
||||
<td class=labelText><bean:message key="hrm.HrmTrngCalClose.institutionName" /></td>
|
||||
<td colspan="2"><html:text property="institutionName" altKey="hrm.HrmTrngCalClose.institutionName" maxlength="15" styleClass="locked" size="26" readonly="true" /></td>
|
||||
</TR>
|
||||
<tr>
|
||||
<td class=labelText><bean:message key="hrm.HrmTrngCalClose.startDate" /></td>
|
||||
<td colspan="2"><html:text property="startDate" altKey="hrm.HrmTrngCalClose.startDate" maxlength="15" size="26" readonly="true" styleClass="locked" /></td>
|
||||
<td class=labelText><bean:message key="hrm.HrmTrngCalClose.endDate" /></td>
|
||||
<td colspan="2"><html:text property="endDate" altKey="hrm.HrmTrngCalClose.endDate" maxlength="15" size="26" readonly="true" styleClass="locked" /></td>
|
||||
</tr>
|
||||
|
||||
<tr height="10">
|
||||
<td colspan="6"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table cellspacing=0 cellpadding=0 border=0>
|
||||
<!-- Detail Information Row starts -->
|
||||
<TR>
|
||||
<TD colspan=6>
|
||||
<!-- Tab Table Starts -->
|
||||
<!-- Tab Table Ends -->
|
||||
|
||||
<!-- Bottom Blue Bar -->
|
||||
<TR>
|
||||
<td>
|
||||
<TABLE cellspacing="0" cellpadding="0" border=0>
|
||||
<tr>
|
||||
<td width=40% align="left" bgColor=#4682b4></td>
|
||||
<td bgColor="#4682b4" align="center"><html:button property="butCloseCal" onclick="doCalClose()"><bean:message key="hrm.HrmTrngCalClose.butCalClose"/></html:button></td>
|
||||
<td width="40%" align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
|
||||
</TR>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Container Table Ending Columns Starts-->
|
||||
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
<!-- Container Table Ends -->
|
||||
|
||||
<!-- Common Hidden -->
|
||||
<html:hidden name="HrmTrngCalCloseForm" property="screenMode" />
|
||||
<html:hidden name="HrmTrngCalCloseForm" property="screenName" value="HrmTrngCalClose" />
|
||||
<html:hidden name="HrmTrngCalCloseForm" property="forwardedPage" />
|
||||
<html:hidden property="positionRequested" name="HrmTrngCalCloseForm" />
|
||||
<html:hidden property="txtIndex" name="HrmTrngCalCloseForm" />
|
||||
|
||||
<input type="hidden" name="multipleFlag" >
|
||||
<input type="hidden" name="queryParam" >
|
||||
|
||||
<html:hidden property="userPageRequested" />
|
||||
<html:hidden property="userPositionRequested" />
|
||||
<html:hidden property="pageRequested" />
|
||||
<html:hidden property="firstLoad" />
|
||||
<html:hidden property="lovKey" name="HrmTrngCalCloseForm" />
|
||||
<html:hidden property="txtSearchFields" name="HrmTrngCalCloseForm" />
|
||||
<html:hidden property="txtDisplayFields" name="HrmTrngCalCloseForm" />
|
||||
|
||||
<html:hidden property="headerPrimaryKey" name="HrmTrngCalCloseForm" />
|
||||
|
||||
<html:hidden property="headerDataChanged" name="HrmTrngCalCloseForm" />
|
||||
<!-- Common hidden -->
|
||||
|
||||
<!-- Screen Specific hidded -->
|
||||
<html:hidden property="calDtlId" name="HrmTrngCalCloseForm" />
|
||||
<html:hidden property="calHdrId" name="HrmTrngCalCloseForm" />
|
||||
<html:hidden property="calendarName" name="HrmTrngCalCloseForm" />
|
||||
<html:hidden property="buttonName" name="HrmTrngCalCloseForm" />
|
||||
<!-- Screen Specific hidded -->
|
||||
|
||||
|
||||
</html:form>
|
||||
</body>
|
||||
</html:html>
|
||||
|
||||
<script>
|
||||
|
||||
function doQueryMode()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseQueryModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doInsertMode()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseNewModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doExecute()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseGetHeaderAction.do";
|
||||
}
|
||||
|
||||
function doSave()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseSaveAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doDelete()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseDeleteAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doRefresh()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseQueryModeAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doPrevHeader()
|
||||
{
|
||||
return "HrmTrngCalCloseGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doNextHeader()
|
||||
{
|
||||
return "HrmTrngCalCloseGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doJumpHeader()
|
||||
{
|
||||
return "HrmTrngCalCloseGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doGetDetail()
|
||||
{
|
||||
return "HrmTrngCalCloseGetDetailAction.do";
|
||||
}
|
||||
function doExit()
|
||||
{
|
||||
return "HrmTrngCalCloseExitAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doAddRow()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseAddRowAction.do";
|
||||
}
|
||||
|
||||
function doDelRow()
|
||||
{
|
||||
return "HrmTrngCalCloseDeleteRowAction.do";
|
||||
}
|
||||
|
||||
function doGetDetailTableName()
|
||||
{
|
||||
return "tableName";
|
||||
}
|
||||
|
||||
function doPrevDetail()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doNextDetail()
|
||||
{
|
||||
|
||||
return "HrmTrngCalCloseGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doJumpDetail()
|
||||
{
|
||||
return "HrmTrngCalCloseGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doGetInsertData()
|
||||
{
|
||||
|
||||
}
|
||||
function ShowTrngCalCloseCrs()
|
||||
{
|
||||
document.forms[0].lovKey.value = "TrngCalClose" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtSearchFields.value = "hrm.HrmTrngCalClose.calendarName";
|
||||
document.forms[0].txtDisplayFields.value = "calHdrId,calDtlId,calendarName,courseName,institutionName,startDate,endDate";
|
||||
document.forms[0].multipleFlag.value="false";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngCalCloseForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function doCalClose()
|
||||
{
|
||||
document.forms[0].buttonName.value = "CalClose";
|
||||
document.forms[0].action=contextRoot+"HrmTrngCalCloseCalCloseAction.do";
|
||||
document.forms[0].submit();
|
||||
}
|
||||
|
||||
function doOnLoad()
|
||||
{
|
||||
if(document.forms[0].firstLoad.value!="false")
|
||||
{
|
||||
return "HrmTrngCalCloseOnLoadAction.do";
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user