<%@ page pageEncoding="UTF-8"%> <%@ page contentType="text/html; charset=UTF-8" language="java" %> <%@ page import ="java.util.*"%> <%@ page language="java" import="com.sysmodel.XFormFactory, com.sysmodel.listmodel.xmlmodel.impl.FormListImpl, com.sysmodel.datamodel.xmlmodel.ModelFactory, com.sysmodel.datamodel.xmlmodel.able.SysModel"%> <% request.setCharacterEncoding("GBK"); List list = XFormFactory.getXFormModel().getFormLists(); String moduleType = request.getParameter("type") == null? "" :request.getParameter("type"); if(request.getParameter("type") == null){ list = XFormFactory.getXFormModel().getFormLists(); }else{ list = XFormFactory.getXFormModel().getFormListByType(moduleType); } %>
列表页面配置
<% SysModel sysmodel = ModelFactory.getSysmodel(); FormListImpl FormList = new FormListImpl(); for (int i = 0; i < list.size(); i++) { FormList = (FormListImpl) list.get(i); %> <%}%>
  编号 列表标题 刷新间隔 列表所占宽度 所属模块 删除
<%=i + 1 %> <%=FormList.getListid() %> <%=FormList.getDescription()%> <%=FormList.getRefreshTime()%> <%=FormList.getListWidth()%> <%=sysmodel.getMdpModuleByCode(FormList.getType()).getName()%> 删除