40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
|
|
<%
|
|
//获得页面参数
|
|
String sRoleID = CurPage.getParameter("id");
|
|
if (sRoleID == null)
|
|
sRoleID = "";
|
|
|
|
//通过显示模版产生模型对象doTemp
|
|
ASObjectModel doTemp = new ASObjectModel("APP_VERSION_INFO_EDIT");
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,
|
|
request);
|
|
dwTemp.Style = "2"; //设置DW风格 1:Grid 2:Freeform
|
|
dwTemp.ReadOnly = "0"; //设置是否只读 1:只读 0:可写
|
|
dwTemp.genHTMLObjectWindow(sRoleID);
|
|
String sButtons[][] = {
|
|
{"true", "", "Button", "保存", "保存所有修改",
|
|
"saveRecord()", "", "", "", ""},
|
|
{"true", "", "Button", "取消", "取消",
|
|
"goBack()", "", "", "",
|
|
"btn_icon_close"},};
|
|
%>
|
|
<%@include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
function saveRecord(){
|
|
as_save("myiframe0","goBack()");
|
|
}
|
|
|
|
|
|
function doReturn(sIsRefresh){
|
|
sObjectNo = getItemValue(0,getRow(),"RoleID");
|
|
parent.sObjectInfo = sObjectNo+"@"+sIsRefresh;
|
|
parent.closeAndReturn();
|
|
}
|
|
|
|
function goBack(){
|
|
AsDialog.ClosePage();
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |