first commit
This commit is contained in:
327
hrmsWeb/hrms/jsp/HrmAdhocReport.jsp
Normal file
327
hrmsWeb/hrms/jsp/HrmAdhocReport.jsp
Normal file
@@ -0,0 +1,327 @@
|
||||
<%@ 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" />
|
||||
<meta http-equiv="pragma" content="no-cache" >
|
||||
</head>
|
||||
|
||||
|
||||
<BODY onload="doBaseOnLoad()" scroll=auto>
|
||||
|
||||
<html:form name="HrmAdhocReportForm" action="HrmAdhocReportBaseAction" type="wenrgise.hrms.webtier.form.HrmAdhocReportForm">
|
||||
<bean:define id="ParentForm" name="HrmAdhocReportForm" toScope="request" />
|
||||
<jsp:include page="GenIconMenu.jsp" flush="true" />
|
||||
|
||||
<!--Top Most Blue Bar-->
|
||||
<TABLE cellSpacing=0 bgColor=#bdd0ef>
|
||||
<tr>
|
||||
<TD colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmAdhocReport.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 >
|
||||
<!-- Header Starts -->
|
||||
<TR>
|
||||
<TD class=subHeader colspan=6><bean:message key="hrm.HrmAdhocReport.heading" /></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.HrmAdhocReport.id" /></td>
|
||||
<td><html:text property="id" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.id" alt="A" maxlength="15" size="23" styleClass="required" readonly="true" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.code" /></td>
|
||||
<td colspan="3"><enrgise:text property="code" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.code" alt="A" maxlength="30" size="70" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" readonly="true" />
|
||||
<enrgise:img height="16" align="center" src="../includes/images/lov.jpg" property="butQueryCode" name="HrmAdhocReportForm" onclick="return ShowQueryCode()" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.tag" /></td>
|
||||
<td><enrgise:text property="category_tag" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.tag" alt="A" maxlength="20" size="23" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.desc" /></td>
|
||||
<td colspan="3">
|
||||
<html:textarea property="query_desc" titleKey="hrm.HrmAdhocReport.desc" cols="100" rows="3" alt="A" styleClass="optional" readonly="false" onchange="doChangeHeader();" /></td>
|
||||
</tr>
|
||||
<TR>
|
||||
<TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
|
||||
</TR>
|
||||
<tr>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<table cellspacing=0 cellpadding=0 border=0>
|
||||
<!-- Detail Information Row starts -->
|
||||
|
||||
<!-- Bottom Blue Bar -->
|
||||
<TR>
|
||||
<td>
|
||||
<TABLE cellspacing="0" cellpadding="0" border=0>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.query" /></td>
|
||||
<td colspan="5"><html:textarea property="query" titleKey="hrm.HrmAdhocReport.query" cols="160" rows="25" alt="A" styleClass="optional" readonly="false" onchange="doChangeHeader();" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<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.HrmAdhocReport.param1" /></td>
|
||||
<td><enrgise:text property="param1" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param1" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval1" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval1" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval1" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param2" /></td>
|
||||
<td><enrgise:text property="param2" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param2" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval2" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval2" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval2" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param3" /></td>
|
||||
<td><enrgise:text property="param3" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param3" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval3" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval3" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval3" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param4" /></td>
|
||||
<td><enrgise:text property="param4" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param4" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval4" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval4" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval4" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param5" /></td>
|
||||
<td><enrgise:text property="param5" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param5" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval5" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval5" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval5" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param6" /></td>
|
||||
<td><enrgise:text property="param6" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param6" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval6" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval6" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval6" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param7" /></td>
|
||||
<td><enrgise:text property="param7" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param7" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval7" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval7" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval7" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param8" /></td>
|
||||
<td><enrgise:text property="param8" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param8" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval8" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval8" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval8" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param9" /></td>
|
||||
<td><enrgise:text property="param9" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param9" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval9" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval9" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval9" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.param10" /></td>
|
||||
<td><enrgise:text property="param10" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.param10" alt="A" maxlength="20" size="40" styleClass="required" disabledClass="locked" onchange="doChangeHeader();" />
|
||||
<td class="labelText"><bean:message key="hrm.HrmAdhocReport.paramval10" /></td>
|
||||
<td colspan="3"><enrgise:text property="paramval10" name="HrmAdhocReportForm" titleKey="hrm.HrmAdhocReport.paramval10" alt="A" maxlength="40" size="60" styleClass="optional" disabledClass="locked" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<TABLE cellspacing="0" cellpadding="0" border=0>
|
||||
<tr>
|
||||
<td bgColor=#4682b4> </td>
|
||||
<td bgColor=#4682b4 align="center" >
|
||||
<enrgise:button styleClass="bottomBarText" name="HrmAdhocReportForm" property="butDownload" onclick="downloadResult()" > Download Result </enrgise:button></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 -->
|
||||
|
||||
<!--//Common hidden fields -->
|
||||
<html:hidden name="HrmAdhocReportForm" property="screenMode" />
|
||||
<html:hidden name="HrmAdhocReportForm" property="screenName" value="HrmAdhocReport" />
|
||||
<html:hidden name="HrmAdhocReportForm" property="forwardedPage" />
|
||||
<html:hidden property="positionRequested" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="userPageRequested" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="userPositionRequested" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="pageRequested" name="HrmAdhocReportForm"/>
|
||||
<html:hidden property="actionName" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="headerPrimaryKey" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="headerDataChanged" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="detailDataChanged" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="firstLoad" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="txtIndex" name="HrmAdhocReportForm" />
|
||||
<html:hidden property="buttonName" name="HrmAdhocReportForm" />
|
||||
<!--//For LOV-->
|
||||
<html:hidden property="lovKey" name="HrmAdhocReportForm"/>
|
||||
<html:hidden property="txtSearchFields" name="HrmAdhocReportForm"/>
|
||||
<html:hidden property="txtDisplayFields" name="HrmAdhocReportForm"/>
|
||||
<input type="hidden" name="multipleFlag" >
|
||||
<input type="hidden" name="queryParam" >
|
||||
|
||||
|
||||
</html:form>
|
||||
</body>
|
||||
</html:html>
|
||||
|
||||
<script>
|
||||
function ShowQueryCode()
|
||||
{
|
||||
document.forms[0].txtIndex.value ="";
|
||||
document.forms[0].lovKey.value = "QueryCode" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtDisplayFields.value = "id,code,category_tag";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmAdhocReportForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function downloadResult()
|
||||
{
|
||||
document.forms[0].action= contextRoot + "HrmAdhocReportAction.do";
|
||||
document.forms[0].submit();
|
||||
}
|
||||
function doChangeHeader()
|
||||
{
|
||||
document.forms[0].headerDataChanged.value="true";
|
||||
}
|
||||
|
||||
function doQueryMode()
|
||||
{
|
||||
return "HrmAdhocReportQueryModeAction.do";
|
||||
}
|
||||
|
||||
function doInsertMode()
|
||||
{
|
||||
return "HrmAdhocReportNewModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doExecute()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportGetHeaderAction.do";
|
||||
}
|
||||
|
||||
function doSave()
|
||||
{
|
||||
return "HrmAdhocReportSaveAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doDelete()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportDeleteAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doRefresh()
|
||||
{
|
||||
return "HrmAdhocReportRefreshAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doPrevHeader()
|
||||
{
|
||||
return "HrmAdhocReportGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doNextHeader()
|
||||
{
|
||||
return "HrmAdhocReportGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doJumpHeader()
|
||||
{
|
||||
return "HrmAdhocReportGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doGetDetail()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportGetDetailAction.do";
|
||||
}
|
||||
|
||||
function doAddRow()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportAddRowAction.do";
|
||||
}
|
||||
|
||||
function doDelRow()
|
||||
{
|
||||
return "HrmAdhocReportDeleteRowAction.do";
|
||||
}
|
||||
|
||||
function doGetDetailTableName()
|
||||
{
|
||||
return "tableName";
|
||||
}
|
||||
|
||||
function doPrevDetail()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doNextDetail()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportGetDetailPageAction.do";
|
||||
}
|
||||
function doExit()
|
||||
{
|
||||
|
||||
return "HrmAdhocReportExitAction.do";
|
||||
}
|
||||
|
||||
function doJumpDetail()
|
||||
{
|
||||
return "HrmAdhocReportGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doValidate()
|
||||
{
|
||||
return "HrmAdhocReportValidateAction.do";
|
||||
}
|
||||
function doOnLoad()
|
||||
{
|
||||
if(document.forms[0].firstLoad.value!="false")
|
||||
{
|
||||
return "HrmAdhocReportOnLoadAction.do";
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
Reference in New Issue
Block a user