📄 action_method_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>Action方法编辑</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/AjaxTopsJ2eeAction.js'></script>
<script language="javascript" type="text/javascript">
function doSave() {
if(document.all.methodName.value==''){
document.all.methodName.focus();
alert('请输入方法名称!');
return false;
}
if(document.all.methodCode.value==''){
document.all.methodCode.focus();
alert('请输入方法代码!');
return false;
}
if(document.all.mainObjUuid.value==''){
alert('请选择主对象!');
return false;
}
if(document.all.methodType.value==''){
alert('请选择方法类别!');
return false;
}
if (confirm("确定保存该信息吗?")) {
ceter_loadingDIV();
AjaxTopsJ2eeAction.isActionMethodExist(document.all.id.value,document.all.methodCode.value,document.all.actionId.value,submitForm);
return true;
}
else {
return false;
}
}
function submitForm(msg){
if(msg=='true'){
cancel_loadingDIV();
alert('该方法名已经存在,请修改后再保存!');
document.all.methodCode.select();
return false;
}else{
actfrmTopsJ2eeActionMethod.submit();
}
}
</script>
</head>
<body>
<p>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="70%" nowrap class="location">您的位置:Action方法编辑</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="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="/actTopsJ2eeActionMethod" 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="methodName" readonly="false" style="width:100%" styleClass="inputBackGround"/>
</td>
<td width="20%">方法代码</td>
<td width="30%">
<html:text property="methodCode" readonly="false" style="width:100%" styleClass="inputBackGround"/>
</td>
</tr>
<tr align="center">
<td>主对象</td>
<td>
<html:select property="mainObjUuid" styleClass="inputBackGround" style="width:100%">
<html:option value="">--请选择主对象--</html:option>
<html:options collection="objList" property="id" labelProperty="objCode"/>
</html:select>
</td>
<td height="20">主控制器</td>
<td>
<html:select property="mainControlUuid" styleClass="inputBackGround" style="width:100%">
<html:option value="">--请选择主控制器--</html:option>
<html:options collection="controlList" property="id" labelProperty="controlClassname"/>
</html:select>
</td>
</tr>
<tr align="center">
<td height="20">success forword</td>
<td>
<html:text property="toViewCode" readonly="false" style="width:100%" styleClass="inputBackGround"/>
</td>
<td>方法类别</td>
<td>
<html:select property="methodType" styleClass="inputBackGround" style="width:100%">
<html:option value="添加对象初始化">添加对象初始化</html:option>
<html:option value="列出所有主对象">列出所有主对象</html:option>
<html:option value="保存新对象">保存新对象</html:option>
<html:option value="修改对象初始化">修改对象初始化</html:option>
<html:option value="保存修改后的对象">保存修改后的对象</html:option>
<html:option value="删除对象组">删除对象组</html:option>
<html:option value="其他">其他</html:option>
</html:select>
</td>
</tr>
<tr align="center">
<td height="20">编写人</td>
<td>
<html:select property="codeWriter" styleClass="inputBackGround" style="width:100%">
<html:option value="翁文勇">翁文勇</html:option>
<html:option value="杨晓杰">杨晓杰</html:option>
</html:select>
</td>
<td height="20">编码完成时间</td>
<td>
<html:text property="fd_FinishDate" readonly="true" style="width:100%" styleClass="inputBackGround"/>
</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>
<tr align="center">
<td>代码生成时间</td>
<td>
<html:text property="fd_CodeGenDate" readonly="true" style="width:100%" styleClass="inputBackGround"/>
</td>
<td>方法弃用时间</td>
<td>
<html:text property="fd_DeleteDate" readonly="true" style="width:100%" styleClass="inputBackGround"/>
</td>
</tr>
<tr align="center">
<td height="20">备注</td>
<td colspan="3">
<html:textarea property="methodRemark" rows="3" style="width:100%" styleClass="inputBackGround"> </html:textarea>
</td>
</tr>
</table>
</td>
</tr>
</table>
<html:hidden property="method"/>
<html:hidden property="actionId"/>
<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 + -