4fbbd85c2beb069fc80e5d2979f786f01b19060c.svn-base 847 B

12345678910111213141516171819
  1. <%@ page language="java" pageEncoding="UTF-8"%>
  2. <%@ page language="java"
  3. import="com.sysmodel.XFormFactory,
  4. com.sysmodel.collectmodel.xmlmodel.impl.FormCollectionImpl,
  5. com.sysmodel.collectmodel.xmlmanager.xmlobjdll.CollectModeldllImpl"%>
  6. <%
  7. String pagid = request.getParameter("pagid") == null ? "" : request.getParameter("pagid");
  8. String Action = request.getParameter("Action") == null ? "" : request.getParameter("Action");
  9. FormCollectionImpl FormCollectionImpl =(FormCollectionImpl)XFormFactory.getXFormModel().getFormCollection(pagid);
  10. CollectModeldllImpl CollectModeldllImpl = new CollectModeldllImpl();
  11. if (Action.equals("del")) {
  12. String moduleType = FormCollectionImpl.getType();
  13. CollectModeldllImpl.deleteMdpCollect(FormCollectionImpl);
  14. response.sendRedirect("list_exc.jsp?type="+moduleType+"&refreshNode=true");
  15. }
  16. %>