?? sysaddmenu.jsp
字號(hào):
<%@ page contentType="text/html;charset=GBK" %><%@ include file="../fuction/include.jsp"%>
<%@ page import="com.ahbay.commenMgr.*" %>
<html>
<head>
<meta name = "Generator" content = "Easy Struts Xslt generator for Eclipse (http://easystruts.sf.net).">
<title>Struts Form for paradateForm</title>
<link href="../../../style/css.css" rel="stylesheet" type="text/css">
</head>
<%
CommParaMgr commPara = new CommParaMgr();
commMethodMgr comm= new commMethodMgr();
String menuclass = request.getParameter("class");
String upMenuId = "";
if (!menuclass.equalsIgnoreCase("1"))
{
upMenuId = request.getParameter("menuId");
}
%>
<body>
<html:form action="/addmenu">
<table width="100%" border="0" cellpadding="10" cellspacing="1" align="center" bordercolor="#D1D1D1" >
<tr>
<td class="grayD" align="left" colspan="6">
新增菜單
</td>
</tr>
<tr>
<td class="grayBL" align="left" width="18%">子系統(tǒng)編碼:</td>
<td class="grayBL" align="left" width="22%">
<html:text property="subsys_code" maxlength="8" size="8"/>
<html:errors property="subsys_code"/>
</td>
<td class="grayBL" align="left" width="10%">菜單名稱:</td>
<td class="grayBL" align="left" >
<input type="text" name="menu_name" value="" size="30"/>
</td>
</tr>
<tr>
<td class="grayBL" align="left" width="10%">上級(jí)菜單:</td>
<td class="grayBL" align="left" >
<%
String upMenuName = "";
if (menuclass.equalsIgnoreCase("1"))
{
upMenuName = "無(wú)上級(jí)菜單";
upMenuId = "NULL";
}
else
{
upMenuName=comm.ConvertCodeToName("menuname",upMenuId);;
}
%>
<%=upMenuName%>
<input type=hidden name=up_menu_id value=<%=upMenuId%>>
</td>
<td class="grayBL" align="left" width="10%">菜單級(jí)別:</td>
<td class="grayBL" align="left" >
<%=menuclass%>級(jí)
<input type=hidden name=menu_class value=<%=menuclass%>>
</td>
</tr>
<tr>
<td class="grayBL" align="left" width="10%">菜單類型:</td>
<td class="grayBL" align="left" >
<html:select property="menu_type" size="1">
<html:option value="0" >0:----普通菜單---</html:option>
</html:select>
<html:errors property="menu_type"/>
</td>
<td class="grayBL" align="left" width="20%">對(duì)應(yīng)接口模塊:</td>
<td class="grayBL" align="left" >
<html:select property="module_id" size="1">
<%=commPara.GenModuleOption()%>
</html:select>
</td>
</tr>
<tr>
<td class="grayBL" align="left" width="10%">接口參數(shù)1:</td>
<td class="grayBL" align="left" >
<html:text property="in_param_code1" maxlength="30" size="30"/>
<html:errors property="in_param_code1"/>
</td>
<td class="grayBL" align="left" width="20%">接口參數(shù)值1:</td>
<td class="grayBL" align="left" >
<html:text property="in_param_value1" maxlength="30" size="30"/>
<html:errors property="in_param_value1"/>
</td>
</tr>
<tr>
<td class="grayBL" align="left" width="10%">接口參數(shù)2:</td>
<td class="grayBL" align="left" >
<html:text property="in_param_code2" maxlength="30" size="30"/>
<html:errors property="in_param_code2"/>
</td>
<td class="grayBL" align="left" width="20%">接口參數(shù)值2:</td>
<td class="grayBL" align="left" >
<html:text property="in_param_value2" maxlength="30" size="30"/>
<html:errors property="in_param_value2"/>
</td>
</tr>
<tr>
<td class="grayBL" align="left" width="10%">接口參數(shù)3:</td>
<td class="grayBL" align="left" >
<html:text property="in_param_code1" maxlength="30" size="30"/>
<html:errors property="in_param_code1"/>
</td>
<td class="grayBL" align="left" width="20%">接口參數(shù)值3:</td>
<td class="grayBL" align="left" >
<html:text property="in_param_value3" maxlength="30" size="30"/>
<html:errors property="in_param_value3"/>
</td>
</tr>
<tr>
<td class="grayD" align="right" colspan=4>
<input type="submit" name="Submit1" value="確定增加">
</td>
</tr>
</table>
</html:form>
<body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -