📄 careerinformation.jsp
字号:
<%String positionId = request.getParameter("posId");
int positId = Integer.parseInt(positionId);%>
<jsp:useBean id="dbConn" scope="request" class="com.everstar.database.Database"/>
<jsp:useBean id="position" scope="page" class="com.everstar.career.PositionInformation"/>
<jsp:useBean id="selcPosi" scope="page" class="com.everstar.career.SelectPosition">
<jsp:setProperty name="selcPosi" property="*"/>
<jsp:setProperty name="selcPosi" property="dbConn" value="<%=dbConn%>"/>
<jsp:setProperty name="selcPosi" property="positionId" value="<%=positId%>"/>
<jsp:setProperty name="selcPosi" property="position" value="<%=position%>"/>
<%selcPosi.init();%>
</jsp:useBean>
<jsp:include page="../header.jsp" flush="true"/>
<script language=javascript>
var bMod = false;
function ValChanged() { bMod = true; }
function checkInput(){
if (!bMod) { window.alert('No Change!'); return(false); }
if(document.form1.positionName.value == ""){
alert("Please input the PositionName!");
document.form1.positionName.focus();
return false;
}
}
function resetCheck(){
bMod = false
}
function browse(){
form1.action = "browsecustomer.jsp";
form1.submit();
}
</script>
<b> >> Position Information <a href="browsecareer.jsp">>>Position Management</a></b>
<br>
<br>
<TABLE border="0" width="100%">
<form action="updateposition.jsp" name="form1" method="POST" onSubmit="return checkInput()">
<tr>
<td width="100%">
<table border="0" width="100%" height="113">
<tr>
<td><input type=hidden name=poId VALUE="<%=positId%>" size = 16 MaxLength=16></TD>
</tr>
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">PositionName:</font></td>
<td width="85%" height="18"><input type="text" name="positionName" value="<%=position.getPositionName()%>" Size=40 MAXLENGTH=30 OnChange="ValChanged()" Language="JavaScript"><font color="#FF0000">*</font></td>
</tr>
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">PositionDetail:</font></td>
<td width="85%" height="18"><textarea rows="8" name="positionDetail" cols="40" OnChange="ValChanged()" Language="JavaScript"><%=position.getPositionDetail()%></textarea><font color="#FF0000"></font></td>
</tr>
<tr>
<td width="15%" height="18" align=right><font style="FONT-FAMILY: ; FONT-SIZE: 10pt" color="#000080">PositionRequest:</font></td>
<td width="85%" height="18"><textarea rows="8" name="positionRequest" cols="40" OnChange="ValChanged()" Language="JavaScript"><%=position.getPositionRequest()%></textarea><font color="#FF0000"></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<input type="submit" value="Update" name="sendData" >
<input type="reset" value="reset" onclick ="resetCheck()" >
<input type="button" value="Browse Resume" name="brow" onclick="browse()">
</td>
</tr>
</form>
</TABLE>
<jsp:include page="../footer.jsp" flush="true"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -