<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ page language="java" import="java.util.*, com.sysmodel.listmodel.xmlmodel.impl.FormListImpl, com.sysmodel.datamodel.xmlmodel.ModelFactory, com.sysmodel.datamodel.xmlmodel.impl.MdpClassImpl, com.sysmodel.datamodel.xmlmodel.able.SysModel, com.sysmodel.datamodel.xmlmodel.impl.MdpAttributeImpl, com.sysmodel.listmodel.xmlmodel.impl.QueryFieldImpl, com.sysmodel.xformmodel.able.Validate, com.sysmodel.xformmodel.impl.DojoInputTypeImpl, com.sysmodel.XFormModelImpl, com.sysmodel.xformmodel.impl.RegExpImpl"%> <%String listid = request.getParameter("listid") == null ? "" : request.getParameter("listid"); String dataName = request.getParameter("dataName") == null ? "" : request.getParameter("dataName"); String label =request.getParameter("label") == null ? "" : request.getParameter("label"); String classid = request.getParameter("classid") == null ? "0" : request.getParameter("classid"); String dojoInuptType = ""; String operator = ""; String action = "add"; String regxValue = ""; FormListImpl FormList = null; ArrayList QueryFields=null; ArrayList tableList = null; if(session.getAttribute("FormList"+listid) == null){ return; } else { FormList = (FormListImpl)session.getAttribute("FormList"+listid); tableList = FormList.getQueryTables(); QueryFields = FormList.getQueryFields(); for (int i = 0 ; i < QueryFields.size() ; i++){ QueryFieldImpl QueryFieldImpl = (QueryFieldImpl)QueryFields.get(i); if(QueryFieldImpl.getDataName().equals(dataName) && QueryFieldImpl.getLabel().equals(label)){ operator = QueryFieldImpl.getOperator(); Validate Validate = QueryFieldImpl.getValidate(); dojoInuptType =Validate.getDojoType(); regxValue = Validate.getRegxValue(); } } } if(!dataName.equals("") && !classid.equals("0")){ action = "edit"; } %> 定义选择查询构件
定义选择查询构件
表名: *
字段: *
标题: *
操作类型:
dojo]控件类型
正则表达式
保存按钮   重置按钮   关闭按钮