Add_position_process.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:1k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.organization.value.*"%>
  3. <%@ page import="com.vnex.intranet.organization.proxy.*"%>
  4. <jsp:useBean id="positionProxyBean" scope="Application" class="com.vnex.intranet.organization.proxy.PositionProxyBean" />
  5. <jsp:useBean id="duvalue" scope="request" class="com.vnex.intranet.organization.value.DutyValueBean" />
  6. <jsp:useBean id="idList" scope="Application" class="com.vnex.intranet.pub.IdList" />
  7. <jsp:setProperty name="duvalue" property="*" />
  8. <!--
  9. <jsp:setProperty name="duvalue" property="dutyTitle" />
  10. <jsp:setProperty name="duvalue" property="description" />
  11. <jsp:setProperty name="duvalue" property="demandSkill" />
  12. <jsp:setProperty name="duvalue" property="checkStandard" />
  13. <jsp:setProperty name="duvalue" property="divisionId" />
  14. <jsp:setProperty name="idList" property="ids" /> -->
  15. <%
  16. int did = positionProxyBean.createDuty(duvalue);
  17. String dname = request.getParameter("divisionName");
  18. int[] ids =idList.getIds();
  19. if (ids !=null)
  20. {
  21. for(int i=0;i<ids.length;i++)
  22. {
  23. System.out.println(ids[i]+"----");
  24. }
  25. positionProxyBean.addPrivilege(ids,1,did);
  26. }
  27. String link="/mainctrl/organization/getAllPosition?id="+duvalue.getDivisionId()+"&name=" + dname; 
  28. %>
  29. <jsp:forward page="<%=link%>" />