40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%><%@
|
|
include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
|
//获得参数
|
|
String catalogId = CurPage.getParameter("catalogId");
|
|
String libraryId = CurPage.getParameter("libraryId");
|
|
if (catalogId == null) catalogId = "";
|
|
if (libraryId == null) libraryId = "";
|
|
|
|
String sUserID = CurPage.getParameter("UserID");
|
|
if (sUserID == null) sUserID = "";
|
|
|
|
java.util.Date dateNow = new java.util.Date();
|
|
SimpleDateFormat sdfTemp = new SimpleDateFormat("yyyy/MM/dd");
|
|
String date = sdfTemp.format(dateNow);
|
|
|
|
ASObjectModel doTemp = new ASObjectModel("APP_MIDDLE_INFO");
|
|
if (!"".equals(catalogId)) doTemp.setDefaultValue("APP_NODE_CATALOG_ID", catalogId);
|
|
if (!"".equals(libraryId)) doTemp.setDefaultValue("APP_NODE_LIBRARY_ID", libraryId);
|
|
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
dwTemp.Style = "2"; //设置DW风格 1:Grid 2:Freeform
|
|
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
|
|
dwTemp.genHTMLObjectWindow(catalogId+","+libraryId);
|
|
|
|
String sButtons[][] = {
|
|
{"true", "All", "Button", "保存","保存所有修改", "saveRecord()", "", "", "", "btn_icon_save"}
|
|
};
|
|
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
|
|
function goBack(){
|
|
parent.AsDialog.ClosePage();
|
|
}
|
|
|
|
function saveRecord() {
|
|
as_save("myiframe0", "goBack()");
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|