first commit
This commit is contained in:
338
hrmsWeb/hrms/jsp/HrmOrgIncrementMst.jsp
Normal file
338
hrmsWeb/hrms/jsp/HrmOrgIncrementMst.jsp
Normal file
@@ -0,0 +1,338 @@
|
||||
<%@ 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>
|
||||
<HEAD>
|
||||
<html:base />
|
||||
<TITLE><bean:message key="hrm.title" /></TITLE>
|
||||
<jsp:include page="GenIncludes.jsp" flush="true" />
|
||||
</HEAD>
|
||||
|
||||
<BODY onkeydown="hotKeys(event);"; scroll=auto>
|
||||
|
||||
<html:form name="HrmOrgIncrementForm" action="HrmOrgIncrementBaseAction" type="wenrgise.hrms.webtier.form.HrmOrgIncrementForm">
|
||||
<bean:define id="ParentForm" name="HrmOrgIncrementForm" toScope="request" />
|
||||
<jsp:include page="GenIconMenu.jsp" flush="true" />
|
||||
|
||||
|
||||
<!--Top Most Blue Bar-->
|
||||
<TABLE cellSpacing=0 bgColor=#bdd0ef>
|
||||
<tr>
|
||||
<TD colSpan=12 class=mainHeader ><bean:message key="hrm.HrmOrgIncrement.heading" /></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 >
|
||||
<!--Master Information Starts -->
|
||||
<TR>
|
||||
<TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
|
||||
</TR>
|
||||
<TR height="6">
|
||||
<TD colspan=6 ></TD>
|
||||
</TR>
|
||||
|
||||
<tr>
|
||||
<td class=labelText><bean:message key="hrm.HrmOrgIncrement.startDate" /></td>
|
||||
<td colspan=2 ><html:text property="startDate" maxlength="15" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img width="15" height="19" align="top" styleClass="icon" name="HrmOrgIncrementForm" src="../includes/images/cal.gif" property="butStartDate" onclick="showCalendar('startDate',this)" /></td>
|
||||
|
||||
<td class=labelText><bean:message key="hrm.HrmOrgIncrement.endDate" /></td>
|
||||
<td colspan=2 ><html:text property="endDate" maxlength="15" size="23" styleClass="optional" onchange="doChangeHeader();" readonly="true" /><enrgise:img width="15" height="19" align="top" styleClass="icon" name="HrmOrgIncrementForm" src="../includes/images/cal.gif" property="butEndDate" onclick="showCalendar('endDate',this)" /></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class=labelText><bean:message key="hrm.HrmOrgIncrement.classHeaderCode" /></td>
|
||||
<td colspan=2 ><html:text property="clsHdr" maxlength="15" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img src="../includes/images/lov.jpg" height="16" align="center" property="butClsHdr" name="HrmOrgIncrementForm" onclick="ShowClsHdr();" /><html:text property="clsHdrDesc" altKey="hrm.HrmOrgIncrement.classHeaderDesc" maxlength="255" size="40" styleClass="locked" onchange="doChangeHeader();" readonly="true" /></td>
|
||||
|
||||
|
||||
<td class=labelText><bean:message key="hrm.HrmOrgIncrement.classDetailCode" /></td>
|
||||
<td colspan=2 ><html:text property="clsDtl" maxlength="15" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img src="../includes/images/lov.jpg" height="16" align="center" property="butClsDtl" name="HrmOrgIncrementForm" onclick="ShowClsDtl();" /><html:text property="clsDtlDesc" altKey="hrm.HrmOrgIncrement.classDetailDesc" maxlength="255" size="40" styleClass="locked" onchange="doChangeHeader();" readonly="true" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class=labelText><bean:message key="hrm.HrmOrgIncrement.ratingCode" /></td>
|
||||
<td colspan=2 ><html:text property="ratingCode" maxlength="15" size="23" styleClass="required" onchange="doChangeHeader();" readonly="true" /><enrgise:img src="../includes/images/lov.jpg" height="16" align="center" property="butRatingCode" name="HrmOrgIncrementForm" onclick="ShowRatingHdr();" /></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>
|
||||
<TABLE cellSpacing=0 cellPadding=0 >
|
||||
<TR>
|
||||
<TD width=10 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
|
||||
<TD class=actTabText noWrap bgColor=#4682b4><bean:message key="hrm.HrmOrgIncrement.detail" /><IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
|
||||
<TD><IMG height=19 src="../includes/images/formtab_r.gif" width=10 border=0></TD>
|
||||
<TD width="100%" background="../includes/images/line_t.gif"> </TD>
|
||||
<TD background="../includes/images/line_t.gif"><IMG height=1 src="../includes/images/pixel.gif" width=10 border=0></TD>
|
||||
</TR>
|
||||
<!-- Detail table Container starts -->
|
||||
<TD colSpan=6>
|
||||
<TABLE cellSpacing=0 cellPadding=0 border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD >
|
||||
<DIV id=divDtlTable style="height:300px">
|
||||
<TABLE border="0" cellSpacing=0 cellPadding=0>
|
||||
<TBODY>
|
||||
<tr>
|
||||
<TD class=tableHeader width="20%"><bean:message key="hrm.HrmOrgIncrement.ratingFrom" /></td>
|
||||
<TD class=tableHeader width="20%"><bean:message key="hrm.HrmOrgIncrement.ratingTo" /></td>
|
||||
<TD class=tableHeader width="20%"><bean:message key="hrm.HrmOrgIncrement.ratingGrade" /></td>
|
||||
<TD class=tableHeader width="20%"><bean:message key="hrm.HrmOrgIncrement.ratingDescription" /></td>
|
||||
<TD class=tableHeader width="20%"><bean:message key="hrm.HrmOrgIncrement.increment" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<logic:iterate id="ratingIncrInfo" name="HrmOrgIncrementForm" property="arylstRatingIncrement" type="wenrgise.hrms.bean.HrmOrgIncrementDtlBean" indexId="idx">
|
||||
|
||||
<logic:notEqual name="ratingIncrInfo" property="status" value="D" >
|
||||
<tr>
|
||||
<td><html:text property="txtRatingFrom" name="ratingIncrInfo" alt="<%=idx.toString()%>" styleClass="locked" style="width:100%" size="26" onchange='<%="doChangeDetail("+idx.toString()+");"%>' readonly="true" /></td>
|
||||
<td ><html:text property="txtRatingTo" name="ratingIncrInfo" alt="<%=idx.toString()%>" styleClass="locked" style="width:100%" size="26" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /> </td>
|
||||
<td><html:text property="txtRatingGrade" name="ratingIncrInfo" alt="<%=idx.toString()%>" styleClass="locked" style="width:100%" size="26" onchange='<%="doChangeDetail("+idx.toString()+");"%>' readonly="true" /></td>
|
||||
<td ><html:text property="txtRatingDescription" name="ratingIncrInfo" alt="<%=idx.toString()%>" styleClass="locked" style="width:100%" size="26" onchange='<%="doChangeDetail("+idx.toString()+")"%>' readonly="true" /> </td>
|
||||
<td ><enrgise:text property="txtIncrement" name="ratingIncrInfo" alt="<%=idx.toString()%>" styleClass="required" disabledClass="locked" style="width:100%" size="26" onkeydown="isFloat(event)" maxlength="6" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /> </td>
|
||||
|
||||
<html:hidden name="ratingIncrInfo" property="detailId" />
|
||||
<html:hidden name="ratingIncrInfo" property="itemChecked" />
|
||||
<html:hidden name="ratingIncrInfo" property="status" />
|
||||
<html:hidden name="ratingIncrInfo" property="ratingDtlId" />
|
||||
|
||||
|
||||
</tr>
|
||||
</logic:notEqual>
|
||||
|
||||
</logic:iterate>
|
||||
|
||||
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
</TD>
|
||||
</TR>
|
||||
<tr>
|
||||
<td>
|
||||
<jsp:include page="GenDetailMenu.jsp" flush="true" />
|
||||
</TD>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</TABLE>
|
||||
</td>
|
||||
</tr>
|
||||
<TR>
|
||||
<TD background="../includes/images/line_r.gif"><IMG src="../includes/images/pixel.gif" border=0></TD>
|
||||
</TR>
|
||||
|
||||
</TABLE>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Tab Table Ends -->
|
||||
|
||||
<!-- Bottom Blue Bar -->
|
||||
<TR>
|
||||
<td>
|
||||
<TABLE cellspacing="0" cellpadding="0" border=0>
|
||||
<tr>
|
||||
<td width=40% align=center bgColor=#4682b4></td>
|
||||
<td bgColor=#4682b4></td>
|
||||
<td bgColor=#4682b4></td>
|
||||
<td bgColor=#4682b4></td>
|
||||
<td 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 -->
|
||||
<html:hidden name="HrmOrgIncrementForm" property="screenName" value="HrmOrgIncrement" />
|
||||
<html:hidden name="HrmOrgIncrementForm" property="forwardedPage" />
|
||||
<html:hidden name="HrmOrgIncrementForm" property="positionRequested" />
|
||||
<html:hidden name="HrmOrgIncrementForm" property="screenMode" />
|
||||
<html:hidden name="HrmOrgIncrementForm" property="headerPrimaryKey"/>
|
||||
|
||||
<html:hidden property="ratingHdrId" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="clsHdrId" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="clsDtlId" name="HrmOrgIncrementForm" />
|
||||
|
||||
<html:hidden property="lovKey" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="txtSearchFields" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="txtDisplayFields" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="txtIndex" name="HrmOrgIncrementForm" />
|
||||
|
||||
<html:hidden property="detailDataChanged" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="headerDataChanged" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="firstLoad" name="HrmOrgIncrementForm" />
|
||||
|
||||
<html:hidden property="userPageRequested" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="userPositionRequested" name="HrmOrgIncrementForm" />
|
||||
<html:hidden property="pageRequested" name="HrmOrgIncrementForm" />
|
||||
|
||||
|
||||
<input type="hidden" name="multipleFlag" >
|
||||
<input type="hidden" name="queryParam" >
|
||||
|
||||
</html:form>
|
||||
</body>
|
||||
</html:html>
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
function doQueryMode()
|
||||
{
|
||||
return "HrmOrgIncrementQueryModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doInsertMode()
|
||||
{
|
||||
return "HrmOrgIncrementNewModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doExecute()
|
||||
{
|
||||
return "HrmOrgIncrementGetHeaderAction.do";
|
||||
}
|
||||
|
||||
function doSave()
|
||||
{
|
||||
return "HrmOrgIncrementSaveAction.do";
|
||||
|
||||
}
|
||||
|
||||
|
||||
function doRefresh()
|
||||
{
|
||||
return "HrmOrgIncrementRefreshAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doPrevHeader()
|
||||
{
|
||||
return "HrmOrgIncrementGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doNextHeader()
|
||||
{
|
||||
return "HrmOrgIncrementGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doJumpHeader()
|
||||
{
|
||||
return "HrmOrgIncrementGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doGetDetail()
|
||||
{
|
||||
|
||||
return "HrmOrgIncrementGetDetailAction.do";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function doPrevDetail()
|
||||
{
|
||||
|
||||
return "HrmOrgIncrementGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doNextDetail()
|
||||
{
|
||||
|
||||
return "HrmOrgIncrementGetDetailPageAction.do";
|
||||
}
|
||||
function doExit()
|
||||
{
|
||||
|
||||
return "HrmOrgIncrementExitAction.do";
|
||||
}
|
||||
function doJumpDetail()
|
||||
{
|
||||
return "HrmOrgIncrementGetDetailPageAction.do";
|
||||
}
|
||||
function doOnLoad()
|
||||
{
|
||||
if(document.forms[0].firstLoad.value!="false")
|
||||
{
|
||||
return "HrmOrgIncrementOnLoadAction.do";
|
||||
}
|
||||
}
|
||||
|
||||
function doValidate()
|
||||
{
|
||||
return "HrmOrgIncrementValidateAction.do";
|
||||
}
|
||||
|
||||
|
||||
function ShowClsHdr()
|
||||
{
|
||||
document.forms[0].lovKey.value = "IncrRatgClsHdr" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtSearchFields.value = "hrm.HrmOrgIncrement.classHeaderCode";
|
||||
document.forms[0].txtDisplayFields.value = "clsHdrId,clsHdr,clsHdrDesc";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmOrgIncrementForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function ShowClsDtl()
|
||||
{
|
||||
document.forms[0].queryParam.value ="SelOpt="+ document.forms[0].clsHdrId.value +" " ;
|
||||
document.forms[0].lovKey.value = "IncrRatgClsDtl" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtDisplayFields.value = "clsDtlId,clsDtl,clsDtlDesc";
|
||||
document.forms[0].txtSearchFields.value = "";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmOrgIncrementForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function ShowRatingHdr()
|
||||
{
|
||||
document.forms[0].lovKey.value = "IncrRatgRating" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtSearchFields.value = "hrm.HrmOrgIncrement.ratingCode";
|
||||
document.forms[0].txtDisplayFields.value = "ratingHdrId,ratingCode";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmOrgIncrementForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function doOnChangeLov(lovName)
|
||||
{
|
||||
if((lovName=="IncrRatgClsHdrHrmOrgIncrementN") )
|
||||
{
|
||||
doBaseValidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</script>
|
Reference in New Issue
Block a user