⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dict_add.jsp

📁 关于ssh的整合,希望对大家有帮助
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>

<html:html locale="true">
  <head>
    <html:base />
<title>jb-aptech毕业设计项目</title>

<link href="../css/style.css" rel="stylesheet" type="text/css">
<script src="../script/common.js"></script>
</head>
<body>
<script >
 function add()
    {
       with(document.dictForm)
       {
         document.dictForm.submit();
       }
    }
</script> 

<html:form action="/dict" method="post" focus="dict.dictId">
<html:hidden property="flag" value="add"/>
<div class="page_title">数据字典管理 > 新建数据字典条目</div>
<div class="button_bar">
	<button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="history.go(-1);">返回</button>
	<button class="common_button" onclick="add()">保存</button>  
</div>
<table class="query_form_table">
	<tr>
		<th>编号</th>
		<td><html:text property="dict.dictId" readonly="true"/></td>
		<th>类别</th>
		<td><html:text property="dict.dictType" /><span class="red_star">*</span><br />(需要使用Ajax实现自动补全功能)</td>
	</tr>
	<tr>
		<th>条目</th>
		<td><html:text property="dict.dictItem" /><span class="red_star">*</span></td>
		<th>值</th>
		<td><html:text property="dict.dictValue" /><span class="red_star">*</span></td>
	</tr>	
	<tr>
		<th>是否可编辑</th>
		<td><input type="checkbox" value="1" name="dict.dictIsEditable" checked /></td>
		<th>&nbsp;</th>
		<td>&nbsp;</td>
	</tr>
</table>
</html:form>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -