47 lines
2.1 KiB
Plaintext
47 lines
2.1 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||
<%
|
||
/*
|
||
Author: undefined 2016-07-08
|
||
Content: 通过数组定义生成strip框架页面示例
|
||
History Log:
|
||
*/
|
||
|
||
String termID = (String)CurPage.getParameter("TermID");
|
||
if(termID == null) termID = "";
|
||
String objectType = (String)CurPage.getParameter("ObjectType");
|
||
if(objectType == null) objectType = "Term";
|
||
String objectNo = (String)CurPage.getParameter("ObjectNo");
|
||
if(objectNo == null) objectNo = termID;
|
||
String termType = (String)CurPage.getParameter("TermType");
|
||
if(termType == null) termType = "";
|
||
|
||
String sTempletNo = "TermLibraryInfo2";
|
||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||
dwTemp.Style="2"; //设置DW风格 1:Grid 2:Freeform
|
||
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
|
||
//生成HTMLObjectWindow
|
||
dwTemp.genHTMLObjectWindow(termID);
|
||
|
||
|
||
//定义strip数组:
|
||
//参数:0.是否显示, 1.标题,2.高度,3.组件ID,4.URL,5,参数串,6.事件
|
||
String sStrips[][] = {
|
||
{"true","组件基本信息" ,"200","ExampleList","/Accounting/Config/TermLibraryInfo2.jsp","ObjectType="+objectType+"&ObjectNo="+objectNo+"&TermID="+termID,""},
|
||
{"true","组件参数列表" ,"200","ExampleInfo","/Accounting/Config/TermItemList.jsp","ObjectType="+objectType+"&ObjectNo="+objectNo+"&TermID="+termID,""},
|
||
{"true","组件参数维护" ,"200","ExampleInfo","/Accounting/Config/TermParaView.jsp","ObjectType="+objectType+"&ObjectNo="+objectNo+"&TermID="+termID,""},
|
||
{"true","组件参数关系关联" ,"200","ExampleInfo","/Accounting/Config/TermRelativeView.jsp","ObjectType="+objectType+"&ObjectNo="+objectNo+"&TermID="+termID,""},
|
||
{"true","子组件列表" ,"200","ExampleInfo","/Accounting/Config/TermSetSegmentList.jsp","ObjectType="+objectType+"&ObjectNo="+objectNo+"&TermID="+termID,""},
|
||
};
|
||
String sButtons[][] = {
|
||
{"true","","Button","保存","保存","aaa()","","","",""}
|
||
};
|
||
%><%@include file="/Resources/CodeParts/Strip05.jsp"%>
|
||
<script type="text/javascript">
|
||
function aaa(){
|
||
alert(1);
|
||
}
|
||
|
||
</script>
|
||
<%@ include file="/IncludeEnd.jsp"%> |