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

电子政务应用

开发平台:

Java

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