📄 control_method_param_editor.jsp
字号:
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@page contentType="text/html; charset=GBK"%>
<html:html>
<head>
<link href="<%=request.getContextPath()%>/_normal/css/style.css" rel="stylesheet" type="text/css">
<title>控制器方法参数编辑</title>
<script language="javascript" src="<%=request.getContextPath()%>/_normal/script/common.js" type="text/javascript"></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/engine.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/util.js'></script>
<script type='text/javascript' src='<%=request.getContextPath()%>/dwr/interface/AjaxTopsJ2eeControl.js'></script>
<script language="javascript" type="text/javascript">
function doSave() {
if(document.all.paramName.value==''){
document.all.paramName.focus();
alert('请输入方法的参数名称!');
return false;
}
if(document.all.parmaCode.value==''){
document.all.parmaCode.focus();
alert('请输入方法的参数代码!');
return false;
}
if(document.all.isNormalJavaClass.value=='是'){
if(document.all.paramNormalJavaClass.value==''){
alert('请选择普通java对象类名!');
return false;
}
}else{
if(document.all.paramObjTypeId.value==''){
alert('请选择参数对象类型!');
return false;
}
}
if (confirm("确定保存该信息吗?")) {
actfrmTopsJ2eeControlMethodParam.submit();
//ceter_loadingDIV();
//AjaxTopsJ2eeControl.isControlMethodParamExist(document.all.id.value,document.all.parmaCode.value,submitForm);
return true;
}
else {
return false;
}
}
function submitForm(msg){
if(msg=='true'){
cancel_loadingDIV();
alert('该方法参数已经存在,请修改后再保存!');
document.all.methodCode.select();
return false;
}else{
actfrmTopsJ2eeControlMethodParam.submit();
}
}
</script>
</head>
<body>
<p>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="70%" nowrap class="location">您的位置:控制器方法参数编辑</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="7%" id="save" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onClick="doSave()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_save.gif" alt="保存">
保存
</td>
<td width="1%" align="center" valign="middle" nowrap class="toolbar">|</td>
<td width="7%" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onClick="actfrmTopsCClient.reset()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_refresh.gif" alt="重置">
重置
</td>
<td width="1%" align="center" valign="middle" nowrap class="toolbar">|</td>
<td width="7%" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onClick="javascript:history.go(-1)">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/arrow_undo.gif" alt="返回">
返回
</td>
<td width="74%" align="center" valign="middle" nowrap class="toolbar"> </td>
</tr>
</table>
<span style="cursor:hand;" onclick="cancel_loadingDIV()">
<div id="loading_div" style="z-Index:1000;overflow:auto;height:105;background:#eeeeee;border:solid 1px #666666;;position:absolute;width:380;filter:progid:dximagetransform.microsoft.dropshadow(color=#cccccc);padding:10px;display:none">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td height="80" align="center" width="99%">
<center>
数据处理中,请稍等...
<marquee direction="right" scrollamount="9" scrolldelay="80">
<span style="filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#FFFFFF', EndColorStr='#7491DC')"></span>
<span style="filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#7491DC',EndColorStr='#FFFFFF')"></span>
</marquee>
</center>
</td>
</tr>
</table>
</div>
</span>
<html:form action="/actTopsJ2eeControlMethodParam" method="POST">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%" align="center">
<table border="0" cellpadding="0" cellspacing="1" width="70%">
<html:hidden property="id"/>
<tr align="center">
<td width="20%" height="20">参数名称</td>
<td width="30%">
<html:text property="paramName" readonly="false" style="width:100%" styleClass="inputBackGround"/>
</td>
<td width="20%">参数对象名</td>
<td width="30%">
<html:text property="parmaCode" readonly="false" style="width:100%" styleClass="inputBackGround"/>
</td>
</tr>
<tr align="center">
<td height="20">是否为视图对象</td>
<td>
<html:select property="isViewObj" style="width:100%" styleClass="inputBackGround">
<html:option value="否">否</html:option>
<html:option value="是">是</html:option>
</html:select>
</td>
<td>参数对象类型</td>
<td>
<html:select property="paramObjTypeId" style="width:100%" styleClass="inputBackGround">
<html:option value="">--请选择参数对象类型--</html:option>
<html:options collection="objList" property="id" labelProperty="objCode"/>
</html:select>
</td>
</tr>
<tr align="center">
<td height="20">是否为普通java对象</td>
<td>
<html:select property="isNormalJavaClass" style="width:100%" styleClass="inputBackGround">
<html:option value="否">否</html:option>
<html:option value="是">是</html:option>
</html:select>
</td>
<td>普通java对象类名</td>
<td>
<html:select property="paramNormalJavaClass" style="width:100%" styleClass="inputBackGround">
<html:option value="">--请选择普通java对象类名--</html:option>
<html:option value="String">String</html:option>
<html:option value="int">int</html:option>
<html:option value="float">float</html:option>
<html:option value="java.util.Date">java.util.Date</html:option>
<html:option value="String[]">String[]</html:option>
<html:option value="java.util.List">java.util.List</html:option>
</html:select>
</td>
</tr>
<tr align="center">
<td height="20">参数创建人</td>
<td>
<html:text property="zzCreateUser" readonly="true" style="width:100%" styleClass="inputBackGround"/>
</td>
<td>参数创建时间</td>
<td>
<html:text property="fd_ZzCreateDate" readonly="true" style="width:100%" styleClass="inputBackGround"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<html:hidden property="method"/>
<html:hidden property="methodId"/>
<html:hidden property="zzCurState"/>
<html:hidden property="fd_ZzCurStateSetDate"/>
<html:hidden property="zzRemoveUser"/>
<html:hidden property="fd_ZzRemoveDate"/>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -