System_category_detail.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:

电子政务应用

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  3. <%@ taglib uri="/vnex_system.tld" prefix="sys" %>
  4. <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
  5. <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  6. <script language="Javascript">
  7. function dosubmit()
  8. {
  9. if (form1.categoryName.value == "")
  10. {
  11. alert("目录名称不能为空!");
  12. form1.categoryName.focus();
  13. return false;
  14. }
  15. if (form1.categoryName.value.length > 10)
  16. {
  17. alert("目录名称不能大于10!");
  18. form1.categoryName.focus();
  19. return false;
  20. }
  21. form1.action="/mainctrl/system/categoryModify";
  22. form1.submit();
  23. }
  24. </script>
  25. <STYLE>
  26. #ssm2 A {
  27. FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
  28. }
  29. #ssm2 A:hover {
  30. COLOR: red
  31. }
  32. </STYLE>
  33. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  34. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_system.js"></script>
  35. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  36. <DIV align=center>
  37. <form name="form1" method="post" >
  38.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  39.     <TBODY>
  40.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  41.     <TR>
  42.         <TD colSpan=3 align="center" class="iframestyle" valign="top"> <!--菜单开始 -->
  43.           <br>
  44.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  45.             <tr valign="top" bgcolor="#fafafa">
  46.               <td height="178" >
  47.                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
  48.                     <tr>
  49.                     <td bgcolor="#fafafa"> 
  50.                       <table class=title cellpadding="2" cellspacing="1" border="0" width="600">
  51.                         <tr> 
  52.                           <td colspan="2" bgcolor="#666666">
  53.   <!--
  54.                             <font class="strongw"> <org:OrganizationNaviBar level="1"/> <a href="/mainctrl/system/categoryList"><font color="#ffffff">系统类别设置维护</font></a>&gt;&gt; 
  55.                             修改系统类别设置</font>
  56. -->
  57. <font class="strongw">
  58. <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;
  59. <a href="/mainctrl/system/main"><font color="#ffffff">系统管理</font></a>&gt;&gt;
  60. <a href="/mainctrl/system/categoryList"><font color="#ffffff">数据字典管理</font></a>&gt;&gt;修改系统类别设置</font>
  61. </td>
  62.                         </tr>
  63.                         <sys:CategoryList categoryId='<%= request.getParameter("categoryId") %>' withChildren="no"> 
  64.                         <vnex:items> 
  65.                         <tr bgcolor="#e0e0e0"> 
  66.                           <td width="30%" align="left"> <font class="strong">&nbsp;编号:</font></td>
  67.                           <td width="70%" align="left"> <sys:CategoryAttribute attribute="id"/> 
  68.                             <input type="hidden" name="categoryId" value='<sys:CategoryAttribute attribute="id"/>'> </td>
  69.                         </tr>
  70.                         <tr bgcolor="#fafafa"> 
  71.                           <td width="30%" align="left"><font class="strong">&nbsp;父分类:</font></td>
  72.                           <td width="70%" align="left"> 
  73.                             <select name= "parentId">
  74.                               <sys:CategoryList categoryId='<%= request.getParameter("categoryId") %>' withChildren="remove"  noLeaf="yes"> 
  75.                               <vnex:items select='<%= request.getParameter("parentId") %>'> 
  76.                               <option value="<sys:CategoryAttribute attribute="id"/>" 
  77.                               <sys:CategoryAttribute attribute="isSelected"/> 
  78.                               > <sys:CategoryAttribute attribute="levelStr"/>+<sys:CategoryAttribute attribute="name"/> 
  79.                               </option>
  80.                               </vnex:items> </sys:CategoryList> 
  81.                             </select>
  82.                           </td>
  83.                         </tr>
  84.                         <tr bgcolor="#e0e0e0"> 
  85.                           <td width="30%" align="left"><font class="strong">&nbsp;名称:</font></td>
  86.                           <td width="70%" align="left"> 
  87. <input type="text" name="categoryName" size="20" value='<sys:CategoryAttribute attribute="name"/>' class="text">&nbsp;
  88.                             *&nbsp; (注:带*为必填内容) 
  89.  </td>
  90.                         </tr>
  91.                         <tr bgcolor="#fafafa"> 
  92.                           <td width="30%" align="left"><font class="strong">&nbsp;是否叶子:</font></td>
  93.                           <td width="70%" align="left"> 
  94.                             <select name="isLeaf"><option value="0" 
  95.                               <sys:CategoryAttribute attribute="isLeafSelected" isLeafFlag="0" /> >否</option> <option value="1" 
  96.                               <sys:CategoryAttribute attribute="isLeafSelected" isLeafFlag="1" /> >是</option> 
  97.                             </select>
  98.                           </td>
  99.                         </tr>
  100.                         <tr bgcolor="#e0e0e0"> 
  101.                           <td width="30%" align="left"><font class="strong">&nbsp;创建者名称:</font></td>
  102.                           <td width="70%" align="left"> <sys:CategoryAttribute attribute="creatorName"/> 
  103.                           </td>
  104.                         </tr>
  105.                         <tr bgcolor="#fafafa"> 
  106.                           <td width="30%" align="left"><font class="strong">&nbsp;创建时间:</font></td>
  107.                           <td width="70%" align="left"> <sys:CategoryAttribute attribute="createDate"/> 
  108.                           </td>
  109.                         </tr>
  110.                         <tr bgcolor="#fafafa"> 
  111.                           <td colspan="2" height="30" align="center"> 
  112.                             <input type="button" value="保存" name="B1" class="text" onclick="dosubmit()">
  113.                             &nbsp;&nbsp; 
  114.                             <input type="button" value="返回" name="B2" onClick="location='/mainctrl/system/categoryList'" class="text">
  115.                           </td>
  116.                         </tr>
  117.                         </vnex:items> </sys:CategoryList> 
  118.                       </table>
  119.                     </td>
  120.                   </tr>
  121.                 </table>
  122.               </td>
  123.             </tr>
  124.           </table>
  125.           <br>
  126.           <br>
  127.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  128.        </TD>
  129.      </TR>
  130.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  131.     </TBODY> 
  132.   </TABLE>
  133.     <BR>
  134.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  135. </form>
  136. </DIV>
  137. </BODY>
  138. </HTML>