<%@ page pageEncoding="UTF-8"%> <%@ page contentType="text/html; charset=UTF-8" language="java" %> <%@ page import ="java.util.*"%> <%@ page language="java" import="com.sysmodel.datamodel.xmlmodel.ModelFactory, com.sysmodel.datamodel.xmlmodel.impl.MdpConstantImpl, com.sysmodel.datamodel.xmlmodel.able.SysModel, com.sysmodel.datamodel.xmlmodel.impl.MdpDataSourceImpl, com.sysmodel.datamodel.xmlmodel.able.Template, com.sysmodel.datamodel.xmlmodel.impl.TemplateImpl, com.sysmodel.datamodel.xmlmodel.impl.MdpModuleImpl"%> <% String name = request.getParameter("name") == null ? "" : request.getParameter("name"); String description="", TemplateName="", RootFrom="", DataSource="", isKeyCodeAuto="", type = "", OrderProperty="",OrderMethod=""; MdpConstantImpl MdpConstantImpl = null; SysModel sysmodel = ModelFactory.getSysmodel(); String action = ""; if(name.equals("")){ action = "save"; type = request.getParameter("type") == null ? "" : request.getParameter("type"); }else{ MdpConstantImpl = (MdpConstantImpl)sysmodel.getMdpConstantByName(name); action = "edit"; description=MdpConstantImpl.getDescription(); TemplateName=MdpConstantImpl.getTemplateName(); RootFrom=MdpConstantImpl.getRootFrom(); DataSource=""+MdpConstantImpl.getDataSource(); isKeyCodeAuto= String.valueOf(MdpConstantImpl.isKeyCodeAuto()); OrderProperty=MdpConstantImpl.getOrderProperty(); OrderMethod=MdpConstantImpl.getOrderMethod(); type = MdpConstantImpl.getType(); } %>
常量配置
常量编号 * readonly<%} %>/>
描述 *
引用模板 *
树型常量根
数据源 *
编码生成机制
排序字段
排序方式
所属模块 *
保存按钮