delete_from_employee_group.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp"%>
- <%@ page import="java.util.Vector"%>
- <%@ page import="com.vnex.intranet.employee.value.EmployeeXValueBean" %>
- <jsp:useBean id="employeeGroupProxy" scope="application" class="com.vnex.intranet.employee.proxy.EmployeeGroupProxyBean" />
- <%
- int groupId = Integer.parseInt(request.getParameter("groupId"));
- String[] ids = request.getParameterValues("empIds");
- if(ids != null)
- {
- for(int i=0;i<ids.length;i++)
- {
- EmployeeXValueBean xbean = new EmployeeXValueBean();
- xbean.setEmpId(Integer.parseInt(ids[i]));
- xbean.setGroupId(groupId);
- employeeGroupProxy.removeMember(xbean);
- }
- }
- %>
- <html>
- <head>
- <script language=javascript>
- function forward()
- {
- document.location = "/mainctrl/employeegroup/detail?groupId=<%=groupId%>&backStart=<%=request.getParameter("backStart")%>";
- }
- </script>
- </head>
- <body onload="javascript:forward()">
- </body>
- <html>