%@ 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);
%>
<%
//增加此处用于功能常量表的维护
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() %> |
<%} %>
删除 |