first commit
This commit is contained in:
389
hrmsWeb/hrms/jsp/HrmTrngFacFeedback.jsp
Normal file
389
hrmsWeb/hrms/jsp/HrmTrngFacFeedback.jsp
Normal file
@@ -0,0 +1,389 @@
|
||||
<%@ 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 onkeydown="hotKeys(event);"; scroll=auto>
|
||||
<html:form name="HrmTrngFacFdbkForm" action="HrmFacFBBaseAction" type="wenrgise.hrms.webtier.form.HrmTrngFacFeedbackForm">
|
||||
<bean:define id="ParentForm" name="HrmTrngFacFdbkForm" 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 property="butExecute" src="../includes/images/execute_dis.jpg" /><img property="butSave" src="../includes/images/save_dis.jpg" />
|
||||
<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.HrmFacFBMainHeader" /></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.HrmFacFBSubHeader" /></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.HrmFacFB.courseName" /></td>
|
||||
<td><html:text property="courseName" name="HrmTrngFacFdbkForm" titleKey="hrm.HrmFacFB.courseName" alt="ALPHA" maxlength="15" size="23" styleClass="locked" readonly="true" /><enrgise:img height="16" align="center" src="../includes/images/lov.jpg" styleClass="icon" property="butCourseName" name="HrmTrngFacFdbkForm" onclick=" return ShowCourseName();doOnChangeLov(lovKey)" /></td>
|
||||
<td class=labelText><bean:message key="hrm.HrmFacFB.institutionName" /></td>
|
||||
<td><html:text property="institutionName" name="HrmTrngFacFdbkForm" alt="P" titleKey="hrm.HrmFacFB.institutionName" maxlength="15" size="26" styleClass="locked" readonly="true" /></td>
|
||||
<td class=labelText><bean:message key="hrm.HrmFacFB.ratingScheme" /></td>
|
||||
<td><html:text property="ratingScheme" name="HrmTrngFacFdbkForm" alt="P" titleKey="hrm.HrmFacFB.ratingScheme" maxlength="15" size="26" styleClass="locked" readonly="true" /></td>
|
||||
|
||||
</TR>
|
||||
|
||||
<tr>
|
||||
<td class=labelText><bean:message key="hrm.HrmFacFB.minRating" /></td>
|
||||
<td><html:text property="minRating" name="HrmTrngFacFdbkForm" titleKey="hrm.HrmFacFB.minRating" maxlength="15" size="26" styleClass="locked" readonly="true" /></td>
|
||||
<td class=labelText><bean:message key="hrm.HrmFacFB.maxRating" /></td>
|
||||
<td><html:text property="maxRating" name="HrmTrngFacFdbkForm" alt="P" titleKey="hrm.HrmFacFB.maxRating" maxlength="15" size="26" styleClass="locked" readonly="true" /></td>
|
||||
<td colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td class=labelText><bean:message key="hrm.HrmFacFB.startDate" /></td>
|
||||
<td><html:text property="startDate" name="HrmTrngFacFdbkForm" titleKey="hrm.HrmFacFB.startDate" maxlength="15" size="26" styleClass="locked" readonly="true" /></td>
|
||||
<td class=labelText><bean:message key="hrm.HrmFacFB.endDate" /></td>
|
||||
<td><html:text property="endDate" name="HrmTrngFacFdbkForm" titleKey="hrm.HrmFacFB.endDate" maxlength="15" size="26" styleClass="locked" readonly="true" /></td>
|
||||
<td colspan="2"></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>
|
||||
<!-- Details 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 >Faculty Information<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:280px" >
|
||||
<!-- Detail table starts -->
|
||||
<TABLE cellSpacing=0 cellPadding=0>
|
||||
<TBODY>
|
||||
<tr>
|
||||
<TD class=tableHeader width="1%"><input type=checkbox disabled=true styleClass=locked ></TD>
|
||||
<TD class=tableHeader width="6%"><bean:message key="hrm.HrmFacFB.facultyName" /></td>
|
||||
<TD class=tableHeader width="10%"><bean:message key="hrm.HrmFacFB.facultyEmpId" /></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<!-- Get details starts -->
|
||||
<tr>
|
||||
<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 ><enrgise:button altKey="wenrgise.common.getDetail" onclick="doBaseGetDetail()" property="butGetDetail" name="ParentForm" styleClass="bottomBarText"> Get De<u>t</u>ail </enrgise:button> <button onclick="doBaseAddRow()" name="butAddRow" disabled="true" styleClass="bottomBarText"> Add <u>R</u>ow </button><button onclick="doBaseDelRow()"
|
||||
name="butDelRow" disabled="true" styleClass="bottomBarText" ><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>
|
||||
<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" /></td>
|
||||
<td ><enrgise:img name="ParentForm" property="butJumpDetail" altKey="wenrgise.common.go" src="../includes/images/go_dtl.jpg" onclick="doBaseJumpDetail()" /></td>
|
||||
</TR>
|
||||
|
||||
</tbody>
|
||||
</TABLE>
|
||||
</tr>
|
||||
</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></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="HrmTrngFacFdbkForm" value="HrmTrngFacFeedBack" />
|
||||
<html:hidden name="HrmTrngFacFdbkForm" property="forwardedPage" />
|
||||
<html:hidden property="positionRequested" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="screenMode" name="HrmTrngFacFdbkForm" />
|
||||
|
||||
<html:hidden property="userPageRequested" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="userPositionRequested" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="pageRequested" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="headerPrimaryKey" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="headerDataChanged" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="detailDataChanged" name="HrmTrngFacFdbkForm" />
|
||||
|
||||
<!------ addded for LOV ----->
|
||||
|
||||
<html:hidden property="lovKey" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="txtSearchFields" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="txtDisplayFields" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="txtIndex" name="HrmTrngFacFdbkForm" />
|
||||
|
||||
<html:hidden property="facultyNameId" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="facId" name="HrmTrngFacFdbkForm" />
|
||||
<html:hidden property="courseId" name="HrmTrngFacFdbkForm" />
|
||||
<input type="hidden" name="multipleFlag" >
|
||||
<input type="hidden" name="queryParam" >
|
||||
|
||||
</html:form>
|
||||
</body>
|
||||
</html:html>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
function doQueryMode()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackQueryModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doInsertMode()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackNewModeAction.do";
|
||||
}
|
||||
|
||||
|
||||
function doExecute()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackGetHeaderAction.do";
|
||||
}
|
||||
|
||||
function doSave()
|
||||
{
|
||||
return "HrmFacFeedBackSaveAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doDelete()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackDeleteAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doRefresh()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackRefreshAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doPrevHeader()
|
||||
{
|
||||
return "HrmFacFeedBackGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doNextHeader()
|
||||
{
|
||||
return "HrmFacFeedBackGetNextHeaderAction.do";
|
||||
}
|
||||
|
||||
function doJumpHeader()
|
||||
{
|
||||
return "HrmFacFeedBackFirstGetNextHeaderAction.do";
|
||||
}
|
||||
function doExit()
|
||||
{
|
||||
return "HrmFacFeedBackExitAction.do";
|
||||
}
|
||||
function doGetDetail()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackGetDetailAction.do";
|
||||
}
|
||||
|
||||
function doAddRow()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackAddRowAction.do";
|
||||
}
|
||||
|
||||
function doDelRow()
|
||||
{
|
||||
return "HrmFacFeedBackDeleteRowAction.do";
|
||||
}
|
||||
|
||||
function doGetDetailTableName()
|
||||
{
|
||||
return "HrmFacFeedBack";
|
||||
}
|
||||
|
||||
function doPrevDetail()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doNextDetail()
|
||||
{
|
||||
|
||||
return "HrmFacFeedBackGetDetailPageAction.do";
|
||||
}
|
||||
|
||||
function doJumpDetail()
|
||||
{
|
||||
return "HrmFacFeedBackGetDetailPageAction.do";
|
||||
}
|
||||
<!---- Added For LOV ---->
|
||||
function getFacultyName()
|
||||
{
|
||||
document.forms[0].lovKey.value = "FacultyName" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtSearchFields.value = "";
|
||||
document.forms[0].txtDisplayFields.value = "facultyNameId,facultyName";
|
||||
document.forms[0].multipleFlag.value = false;
|
||||
document.forms[0].queryParam.value = "courseId="+ document.forms[0].courseId.value;
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />', 'HrmTrngFacFdbkForm');
|
||||
return true;
|
||||
}
|
||||
|
||||
function ShowCourseName()
|
||||
{
|
||||
document.forms[0].lovKey.value = "TrngFacFBCrsName" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
||||
document.forms[0].txtSearchFields.value = "hrm.HrmFacFB.courseName";
|
||||
document.forms[0].txtDisplayFields.value = "courseId,courseName,institutionName,minRating,maxRating,ratingScheme,startDate,endDate";
|
||||
document.forms[0].multipleFlag.value = "false";
|
||||
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngFacFdbkForm');
|
||||
return true;
|
||||
|
||||
}
|
||||
function doGetInsertData()
|
||||
{}
|
||||
|
||||
|
||||
|
||||
function doOnChangeLov(lovKey)
|
||||
{
|
||||
if(document.forms[0].lovKey.value = "TrngFacFBCrsName" + document.forms[0].screenName.value + document.forms[0].screenMode.value)
|
||||
{
|
||||
document.forms[0].headerDataChanged.value = 'false' ;
|
||||
}
|
||||
}
|
||||
|
||||
function doValidate()
|
||||
{
|
||||
return "HrmFacFeedBackValidateAction.do";
|
||||
|
||||
}
|
||||
|
||||
function doOnChangeLov(lovName)
|
||||
{
|
||||
if(lovName == 'TrngFacFBCrsNameHrmTrngFacFeedBackQ')
|
||||
{
|
||||
doBaseValidate();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</script>
|
Reference in New Issue
Block a user