<%@ page pageEncoding="UTF-8"%> <%@ page contentType="text/html; charset=UTF-8" language="java"%> <%@ page language="java" import="model.setup.constant.Collection" %> <%@ page language="java" import="com.sysmodel.datamodel.xmlmodel.ModelFactory, com.sysmodel.datamodel.xmlmodel.DataContent, com.sysmodel.datamodel.xmlmodel.able.MdpConstant, com.sysmodel.datamodel.xmlmodel.able.Property, com.sysmodel.datamodel.xmlmodel.able.Template, com.sysmodel.datamodel.xmlmodel.impl.PropertyImpl, java.util.*"%> <% String nodeID = request.getParameter("nodeID")==null?"":(String)request.getParameter("nodeID") ; String codeName = request.getParameter("codeName")==null ? "TB_BM$_CONFIGURATION" : request.getParameter("codeName"); Collection cs = new Collection(nodeID,codeName,request.getContextPath()); String listHtml = cs.getChildNodeHTML(); MdpConstant constant = null; constant = ModelFactory.getSysmodel().getMdpConstantByName(codeName); %>
<%=cs.createDetailHTML()%>
<%if(!nodeID.equals("")){%> 修改 <%if(cs.isTree()){%> <%}%> <%} if((listHtml.length())==0&&(!nodeID.equals(""))){%> <%}%>

<% //增加此处用于功能常量表的维护 if(codeName.equals("BM$_Menu")){ %>
 功能设置
功能编号: 功能名称: 功能类别:   
没有功能属性!

<% } %> <%--
<%if(listHtml.equals("")){%> <%}else{ out.print(listHtml); }%>
没有下级节点!
--%>
<% List array_elements = null; //if(constant.isTree()){ array_elements = constant.getChildDataContentByNodeID(nodeID); Iterator it = array_elements.iterator(); Template template = constant.getTemplate(); ArrayList listProperty = (ArrayList)template.getListproperty(); Iterator itField = listProperty.iterator(); %>
<% while (itField.hasNext()) { PropertyImpl property = itField.next(); %> <%} %>
<%=property.getDescription() %>删除