Add_position_process.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.organization.value.*"%>
- <%@ page import="com.vnex.intranet.organization.proxy.*"%>
- <jsp:useBean id="positionProxyBean" scope="Application" class="com.vnex.intranet.organization.proxy.PositionProxyBean" />
- <jsp:useBean id="duvalue" scope="request" class="com.vnex.intranet.organization.value.DutyValueBean" />
- <jsp:useBean id="idList" scope="Application" class="com.vnex.intranet.pub.IdList" />
- <jsp:setProperty name="duvalue" property="*" />
- <!--
- <jsp:setProperty name="duvalue" property="dutyTitle" />
- <jsp:setProperty name="duvalue" property="description" />
- <jsp:setProperty name="duvalue" property="demandSkill" />
- <jsp:setProperty name="duvalue" property="checkStandard" />
- <jsp:setProperty name="duvalue" property="divisionId" />
- <jsp:setProperty name="idList" property="ids" /> -->
- <%
- int did = positionProxyBean.createDuty(duvalue);
- String dname = request.getParameter("divisionName");
- int[] ids =idList.getIds();
- if (ids !=null)
- {
- for(int i=0;i<ids.length;i++)
- {
- System.out.println(ids[i]+"----");
- }
- positionProxyBean.addPrivilege(ids,1,did);
- }
- String link="/mainctrl/organization/getAllPosition?id="+duvalue.getDivisionId()+"&name=" + dname;
- %>
- <jsp:forward page="<%=link%>" />