first commit
This commit is contained in:
339
hrmsWeb/hrms/jsp/HrmAdvSettleHeads.jsp
Normal file
339
hrmsWeb/hrms/jsp/HrmAdvSettleHeads.jsp
Normal file
@@ -0,0 +1,339 @@
|
||||
<%@ 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 scroll="auto" onkeydown="hotKeys(event);";>
|
||||
|
||||
|
||||
<html:form name="HrmAdvSettleHeadsForm" action="HrmAdvSettlementHeadsBaseAction" type="wenrgise.hrms.webtier.form.HrmAdvSettleHeadsForm">
|
||||
<bean:define id="ParentForm" name="HrmAdvSettleHeadsForm" 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 ><img property="butQuery" src="../includes/images/query_dis.jpg" /><img property="butInsert" src="../includes/images/insert_dis.jpg" /></TD>
|
||||
<TD width="2%"></TD>
|
||||
<TD ><img property="butExecute" 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" onclick="doBaseExit()" onmouseover='this.src="../includes/images/exit_act.jpg"' onmouseout='this.src="../includes/images/exit.jpg"' alt="Exit (Alt+X)" src="../includes/images/exit.jpg" /><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" /></TD>
|
||||
<TD width="50%"></TD>
|
||||
<TD ><enrgise:img name="ParentForm" property="butPrevHeader" src='../includes/images/butn_prev.jpg' onmouseover='this.src="../includes/images/butn_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_prev.jpg"' alt="Butn_prev (Ctrl+<)" onclick="doBasePrevHeader()" /></td>
|
||||
<td class=dtlNavText><bean:write name="left" /> of
|
||||
<bean:write name="right" /></td>
|
||||
<td align=right><enrgise:img name="ParentForm" property="butNextHeader" src="../includes/images/butn_next.jpg" onmouseover='this.src="../includes/images/butn_next_act.jpg"' onmouseout='this.src="../includes/images/butn_next.jpg"' alt="Butn_next (Ctrl+>)" onclick="doBaseNextHeader()" /></td>
|
||||
<td align=right><enrgise:text property="newPositionRequested" size="1" onkeydown="isInteger(event)" title="wenrgise.common.jumpDetail" alt="N" disabledClass="locked" styleClass="optional" /></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.HrmAdvSettlementHeads.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 border=0>
|
||||
<!-- Detail Information Row starts -->
|
||||
<TR>
|
||||
<TD colspan=6>
|
||||
<!-- Table Starts -->
|
||||
<TABLE cellSpacing=0 cellPadding=0 >
|
||||
<tr>
|
||||
<td bgcolor="#4682B4" width="10"><img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
|
||||
<td bgcolor="#4682B4" nowrap class=actTabText ><bean:message key="hrm.HrmAdvSettlementHeads.subHeader2" /><img src="../includes/images/pixel.gif" width="10" height="1" 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>
|
||||
<TR >
|
||||
<!-- Detail table Container starts -->
|
||||
<TD colspan=11>
|
||||
<TABLE cellSpacing=0 cellPadding=0 border=0>
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD >
|
||||
<DIV id=divDtlTable style="height:250px" >
|
||||
<!-- Detail table starts -->
|
||||
<TABLE cellSpacing=0 cellPadding=0>
|
||||
<TBODY>
|
||||
|
||||
<tr>
|
||||
<TD class=tableHeader width="1%"><input type="checkbox" name="selectAll" onclick="toggleCheckBox('checked')" ></TD>
|
||||
<TD class=tableHeader width="30%"><bean:message key="hrm.HrmAdvSettlementHeads.headName" /></td>
|
||||
<TD class=tableHeader width="30%"><bean:message key="hrm.HrmAdvSettlementHeads.maxLimit" /></td>
|
||||
<TD class=tableHeader width="30%"><bean:message key="hrm.HrmAdvSettlementHeads.amount" /></td>
|
||||
</tr>
|
||||
<logic:iterate id="HrmSettleHds" name="HrmAdvSettleHeadsForm" property="arylstSettleHeads" type="wenrgise.hrms.bean.HrmAdvSettleHeadsDtlBean" indexId="idx" >
|
||||
<tr class='<bean:write name="HrmAdvSettleHeadsForm" property="listRowClass"/>' >
|
||||
<td align="center" width="1%"><html:hidden property="status" name="HrmSettleHds" /><html:hidden property="detailId" name="HrmSettleHds" /><html:hidden property="itemChecked" name="HrmSettleHds" /><html:hidden property="txtSettleStatus" name="HrmSettleHds" /><html:hidden property="txtSettleHeadId" name="HrmSettleHds" /><html:hidden property="txtAdvancesId" name="HrmSettleHds" /><html:checkbox property="checked" value="check" name="HrmAdvSettleHeadsForm" alt="<%=idx.toString()%>" onclick="boxClicked(this.alt);" /></td>
|
||||
<TD class=tableText ><html:text property="txtHeadName" maxlength="20" name="HrmSettleHds" style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' styleClass="required" readonly="true" /></td>
|
||||
<TD class=tableText ><html:text property="txtMaxLimit" maxlength="15" onkeypress="isInteger(event)" name="HrmSettleHds" style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' styleClass="required" readonly="true" /></td>
|
||||
<TD class=tableText ><enrgise:text formName="HrmAdvSettleHeadsForm" property="txtAmount" maxlength="15" onkeypress="isInteger(event)" name="HrmSettleHds" style="width:100%" onchange='<%="doChangeDetail("+idx.toString()+")"%>' styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
</logic:iterate>
|
||||
</logic:notEmpty>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<!-- Get details starts -->
|
||||
<bean:define id="pageNo" name="ParentForm" property="pageRequested" toScope="request" />
|
||||
<bean:define id="maxPage" name="ParentForm" property="totalPageCount" toScope="request" />
|
||||
<TABLE border=0>
|
||||
<tbody>
|
||||
<TR>
|
||||
<TD ><button altKey="wenrgise.common.getDetail" onclick="doBaseGetDetail()" property="butGetDetail" name="HrmAdvSettleForm" styleClass="bottomBarText"> Get De<u>t</u>ail </enrgise:button> <button altKey="wenrgise.common.addRow" property="butAddRow" styleClass="bottomBarText" disabled="true" > Add <u>R</u>ow </button><button altKey="wenrgise.common.delRow"
|
||||
property="butDelRow" styleClass="bottomBarText" disabled="true" ><u>D</u>elete Row</button></TD>
|
||||
<td width=50%></td>
|
||||
<TD ><enrgise:img name="ParentForm" property="butPrevDetail" src="../includes/images/butn_dtl_prev.jpg" onmouseover='this.src="../includes/images/butn_dtl_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_dtl_prev.jpg"' alt="Butn_prev (Alt+<)" onclick="doBasePrevDetail()"/></td>
|
||||
<td class=dtlNavText><bean:write name="pageNo" /> of <bean:write name="maxPage" /></td>
|
||||
<td align=right><enrgise:img name="ParentForm" property="butNextDetail" src="../includes/images/butn_dtl_next.jpg" onmouseover='this.src="../includes/images/butn_dtl_next_act.jpg"' onmouseout='this.src="../includes/images/butn_dtl_next.jpg"' alt="Butn_next (Alt+>)" onclick="doBaseNextDetail()"/></td>
|
||||
<td align=right><enrgise:text property="newPageRequested" size="1" onkeydown="isInteger(event)" styleClass="optional" disabledClass="locked" alt="N" titleKey="wenrgise.common.jumpDetail" /></td>
|
||||
<td ><enrgise:img name="ParentForm" property="butJumpDetail" altKey="wenrgise.common.go" src="../includes/images/go_dtl.jpg" onmouseover='this.src="../includes/images/go_act.jpg"' onmouseout='this.src="../includes/images/go.jpg"' onclick="doBaseJumpDetail()" /></td>
|
||||
</TR>
|
||||
|
||||
</tbody>
|
||||
</TABLE>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</TABLE>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Tab Table Ends -->
|
||||
|
||||
<!-- Bottom Blue Bar -->
|
||||
<TR>
|
||||
<td>
|
||||
<TABLE cellspacing="0" cellpadding="0" border=0>
|
||||
<tr>
|
||||
<td width=45% align=center bgColor=#4682b4></td>
|
||||
<td bgColor=#4682b4></td>
|
||||
<td bgColor=#4682b4><button alt="Close" onclick="ShowNext()" styleClass="bottomBarText">Close</button></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-->
|
||||
</TD>
|
||||
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
<!-- Container Table Ends -->
|
||||
|
||||
<html:hidden property="screenName" name="HrmAdvSettleHeadsForm" value="HrmAdvSettlementHeads"/>
|
||||
<html:hidden name="HrmAdvSettleHeadsForm" property="forwardedPage" />
|
||||
<html:hidden property="positionRequested" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="screenMode" name="HrmAdvSettleHeadsForm" />
|
||||
|
||||
<html:hidden property="userPageRequested" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="userPositionRequested" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="pageRequested" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="headerDataChanged" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="detailDataChanged" name="HrmAdvSettleHeadsForm" />
|
||||
|
||||
<html:hidden property="lovKey" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="txtSearchFields" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="txtDisplayFields" name="HrmAdvSettleHeadsForm" />
|
||||
|
||||
<!--Screen Specific Hiddens -->
|
||||
<%! String sSettleId; %>
|
||||
<%sSettleId=request.getParameter("settleId");%>
|
||||
<html:hidden property="settleId" value="<%=sSettleId%>" />
|
||||
|
||||
<html:hidden property="headerPrimaryKey" value="<%=sSettleId%>" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="firstLoad" name="HrmAdvSettleHeadsForm" />
|
||||
<html:hidden property="txtIndex" name="HrmAdvSettleHeadsForm" />
|
||||
|
||||
|
||||
</html:form>
|
||||
</body>
|
||||
</html:html>
|
||||
|
||||
|
||||
<script language="javascript">
|
||||
|
||||
|
||||
function doQueryMode()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsQueryModeAction.do";
|
||||
}
|
||||
|
||||
function boxClicked(val)
|
||||
{
|
||||
if(document.getElementsByName("checked")[val].checked)
|
||||
{
|
||||
document.getElementsByName("itemChecked")[val].value = "Y";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementsByName("itemChecked")[val].value = "N";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function doInsertMode()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsNewModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doExecute()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsGetHeaderAction.do";
|
||||
}
|
||||
|
||||
function doSave()
|
||||
{
|
||||
return "HrmAdvSettleHeadsSaveAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doDelete()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsDeleteAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doRefresh()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsRefreshAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doPrevHeader()
|
||||
{
|
||||
return "HrmAdvSettleHeadsGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doNextHeader()
|
||||
{
|
||||
return "HrmAdvSettleHeadsGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doJumpHeader()
|
||||
{
|
||||
return "HrmAdvSettleHeadsFirstGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doGetDetail()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsGetDetailAction.do";
|
||||
}
|
||||
|
||||
function doAddRow()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsAddRowAction.do";
|
||||
}
|
||||
|
||||
function doDelRow()
|
||||
{
|
||||
return "HrmAdvSettleHeadsDeleteRowAction.do";
|
||||
}
|
||||
|
||||
function doGetDetailTableName()
|
||||
{
|
||||
return "HrmAdvSettleHeads";
|
||||
}
|
||||
|
||||
function doPrevDetail()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doNextDetail()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsGetDetailPageAction.do";
|
||||
}
|
||||
function doExit()
|
||||
{
|
||||
|
||||
return "HrmAdvSettleHeadsExitAction.do";
|
||||
}
|
||||
function doJumpDetail()
|
||||
{
|
||||
return "HrmAdvSettleHeadsGetDetailPageAction.do";
|
||||
}
|
||||
function doOnLoad()
|
||||
{
|
||||
if(document.forms[0].firstLoad.value!="false")
|
||||
{
|
||||
return "HrmAdvSettleHeadsOnLoadAction.do";
|
||||
}
|
||||
}
|
||||
|
||||
function ShowAdvanceCode()
|
||||
{
|
||||
document.forms[0].lovKey.value = "AdvanceDescription" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtSearchFields.value = "hrm.HrmAdvMst.description";
|
||||
document.forms[0].txtDisplayFields.value = "advCodeId,advanceDescription";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmAdvSettleHeadsForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function ShowNext()
|
||||
{
|
||||
window.open('<html:rewrite page="/hrms/jsp/HrmAdvSettle.jsp" />',"_self");
|
||||
return true;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user