2018-06-03 22:26:41 +08:00

65 lines
2.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBegin.jsp"%>
<%
String sToShowClientID = CurPage.getParameter("ToShowClientID");
Component comp = CurCompSession.lookUp(sToShowClientID);
if(comp==null) throw new Exception("该组件已被销毁或客户端号错误无法在CurCompSession中找到。组件客户端号"+sToShowClientID);
%>
<script type="text/javascript">
setWindowTitle("组件【<%=comp.getCompURL()%>】");
setDialogTitle("组件【<%=comp.getCompURL()%>】信息,总数【<%=CurCompSession.getSize()%>】");
</script>
<style>
table{border:0;margin:0;border-collapse:collapse;} table th, table td{padding:0;}
td{border:1px solide #000000}
</style>
<body style="width:100%;height:100%;overflow:hidden;margin-left:0px;margin-right:0px;">
<div style="position:absolute;width:100%;height:100%;overflow:auto;">
<table width="100%" cellspacing="0" border="1px solide #000000" cellpadding="2">
<tr bgcolor="#B0C4DE">
<td colspan="2" ><strong><font>当前组件参数[<%=comp.getCompURL()%>][<%=comp.getClientID()%>][<%=comp.getTargetWindow()%>][<%=comp.getParamSize()%>][<%=comp.getDWSize()%>]</font></strong></td>
</tr>
<%
for(int i=0;i<comp.getParameterList().size();i++) {
%>
<tr bgcolor="#FFFFF0">
<td>
<li><%=comp.getParameterList().get(i).getName()%></li>
</td>
<td><textarea style="width:100%;height:100%"><%=comp.getParameterList().get(i).getValue()%></textarea></td>
</tr>
<%
}
%>
<%
int iCount = 1;
Component pcomp = comp.getParentComponent();
while (pcomp != null) {
%>
<tr bgcolor="#B0C4DE">
<td colspan="2" ><strong><font>第[<%=iCount%>]代组件[<%=pcomp.getCompURL()%>][<%=pcomp.getClientID()%>][<%=pcomp.getTargetWindow()%>][<%=pcomp.getParamSize()%>][<%=pcomp.getDWSize()%>]</font></strong></td>
</tr>
<%
comp = pcomp;
iCount ++;
pcomp = comp.getParentComponent();
for(int i=0;i<comp.getParameterList().size();i++) {
%>
<tr bgcolor="#FFFFF0">
<td>
<li><%=comp.getParameterList().get(i).getName()%></li>
</td>
<td><textarea style="width:100%;height:100%"><%=comp.getParameterList().get(i).getValue()%></textarea>
</td>
</tr>
<%
}
%>
<%
}
%>
</table>
</div>
</body>
</html>
<%@ include file="/IncludeEnd.jsp"%>