modify_training.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <jsp:useBean id="trainingProxy" class="com.vnex.intranet.hr.process.HRTrainingProcessBean" scope="page" />
- <jsp:useBean id="transferHRTrainingValueBean" class="com.vnex.intranet.hr.value.HRTrainingValueBean" scope="page" />
- <jsp:setProperty name="transferHRTrainingValueBean" property="*"/>
- <%
- String startDate = request.getParameter("startDate");
- String endDate = request.getParameter("endDate");
- startDate += " 00:00:00";
- endDate += " 00:00:00";
- System.out.println("startDate="+startDate+", endDate="+endDate);
- transferHRTrainingValueBean.setTrain_startdate(TimeStamp.toTimestamp(startDate));
- transferHRTrainingValueBean.setTrain_enddate(TimeStamp.toTimestamp(endDate));
- trainingProxy.modifyTraining(transferHRTrainingValueBean);
- %>
- <html>
- <head>
- <script language=javascript>
- function forward()
- {
- document.location = "/mainctrl/training/detail?trainId=<%=request.getParameter("trainId")%>";
- }
- </script>
- </head>
- <body onload="javascript:forward()">
- </body>
- <html>