📄 savefunction.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/jsp/common.jsp"%>
<html:html locale="true">
<head>
<link title=Style href="../../common/css/style.css" type=text/css rel=stylesheet>
<title>创建权限</title>
</head>
<br>
<br>
<script language="javascript">
function checkform() {
if(document.all.function.name.value=="")
{
alert("请输入权限名!");
document.all.function.name.focus();
return false;
}
if(document.all.function.protectFunction.value=="")
{
alert("请输入受保护的权限名称!");
document.all.function.protectFunction.focus();
return false;
}
return true ;
}
</script>
<html:form action="member/right/saveFunction.do" onsubmit="return checkform()">
<table width="489" height="129" border="0" align="center" bordercolor="#0099FF" class="tableBorder">
<tr>
<th colspan="2">创建权限</th>
</tr>
<tr>
<td class="forumRow"><div align="center">name</div></td>
<td class="forumRow"><input name="function.name" type="text" value=""></td>
</tr>
<tr>
<td class="forumRow"><div align="center">parentName</div></td>
<td class="forumRow"><input name="function.parentName" type="text" value=""></td>
</tr>
<tr>
<td class="forumRow"><div align="center">url</div></td>
<td class="forumRow"><input name="function.url" type="text" value=""></td>
</tr>
<tr>
<td class="forumRow"><div align="center">protectFunction</div></td>
<td class="forumRow"><input name="function.protectFunction" type="text" value=""></td>
</tr>
<tr>
<td class="forumRow"><div align="center">note</div></td>
<td class="forumRow"><input name="function.note" type="text" value=""></td>
</tr>
<tr>
<td colspan="2" class="forumRow"><div align="center">
<html:submit value="添加"/>
<html:reset value="重置"/>
</div></td>
</tr>
</table>
</html:form>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -