System_category_new.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page import="com.vnex.intranet.pub.BusinessSession"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
- <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script language="JavaScript" src="/vnex/util/popSelect.js"></script>
- <script language="JavaScript1.2" src="/vnex/util/strutil.js"></script>
- <script language="Javascript">
- function dosubmit()
- {
- if(isEmpty(form1.categoryName.value) || isEmptyStr(form1.categoryName.value) )
- {
- alert("目录名称不能为空!");
- form1.categoryName.focus();
- return false;
- }
- if (form1.categoryName.value.length > 10)
- {
- alert("目录名称不能大于10!");
- form1.categoryName.focus();
- return false;
- }
- form1.action="/mainctrl/system/categoryCreate";
- form1.submit();
- }
- </script>
- <STYLE>
- #ssm2 A {
- FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
- }
- #ssm2 A:hover {
- COLOR: red
- }
- </STYLE>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_system.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <DIV align=center>
- <form name="form1" method="post" >
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center" class="iframestyle" valign="top"> <!--菜单开始 -->
- <br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top" bgcolor="#fafafa">
- <td height="178" >
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td bgcolor="#fafafa">
- <table class=title cellpadding="2" cellspacing="1" border="0" width="600">
- <tr>
- <td colspan="2" bgcolor="#666666">
- <!--
- <font class="strongw">
- <org:OrganizationNaviBar level="1"/> <a href="/mainctrl/system/categoryList"><font color="#ffffff">系统类别设置维护</font></a>>>
- 新增系统类别设置</font>
- -->
- <font class="strongw">
- <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>>
- <a href="/mainctrl/system/main"><font color="#ffffff">系统管理</font></a>>>
- <a href="/mainctrl/system/categoryList"><font color="#ffffff">数据字典管理</font></a>>>新增系统类别设置</font>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="30%" align="left"> <font class="strong"> 编号:</font>
- </td>
- <td width="70%" align="left"> 自动产生 </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="30%" align="left" bgcolor="#e0e0e0"><font class="strong"> 名称:</font></td>
- <td width="70%" align="left" bgcolor="#e0e0e0">
- <input type="text" name="categoryName" size="40" value="" class="text">
- * (注:带*为必填内容) </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="30%" align="left" bgcolor="#fafafa"><font class="strong"> 父分类:</font></td>
- <td width="70%" align="left" bgcolor="#fafafa"> <%= request.getParameter("categoryName") %>
- -- <%= request.getParameter("categoryId") %>
- <input type="hidden" name="parentId" value="<%= request.getParameter("categoryId") %>" >
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="30%" align="left" bgcolor="#e0e0e0"><font class="strong"> 是否叶子节点:</font></td>
- <td width="70%" align="left" bgcolor="#e0e0e0">
- <select name="isLeaf">
- <option value="0" >否</option>
- <option value="1" >是</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="30%" align="left" bgcolor="#fafafa"><font class="strong"> 创建人:</font></td>
- <%
- BusinessSession bs =(BusinessSession) session.getAttribute("BusinessName");
- String creatorName = null;
- if (bs != null)
- creatorName = bs.getEmpName();
- %>
- <td width="70%" align="left" bgcolor="#fafafa"> <%=creatorName%>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="30%" align="left" bgcolor="#e0e0e0"><font class="strong"> 创建时间:</font></td>
- <td width="70%" align="left" bgcolor="#e0e0e0"> 自动记录
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td colspan="2" height="30" align="center">
- <input type="button" value="保存" name="B1" class="text" onclick="dosubmit()">
-
- <input type="button" value="返回" name="B2" onClick="location='/mainctrl/system/categoryList'" class="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br>
- <br>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>