?? listterminalgroup.jsp
字號:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@page import="java.util.*"%>
<%@page import="com.we2less.jwap.permission.*"%>
<%@page import="com.we2less.jwap.terminal.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>終端用戶組列表</title>
<style type="text/css">
<!--
.style1 { font-size: medium;
font-weight: bold;
}
-->
</style>
</head>
<body>
<form name="form1" id="form1" method="post" action="/listTerminalAction.do">
<table width="780" border="1" align="center" cellpadding="0" cellspacing="0">
<caption>
<span class="style1"> 終端用戶組列表 </span>
</caption>
<tr>
<th scope="col">編號</th>
<th scope="col">名稱</th>
<th scope="col">備注</th>
<th scope="col">操作</th>
</tr>
<%
java.util.List groups = null;
if(request.getAttribute("groups") != null)
groups = (java.util.List)request.getAttribute("groups");
for(int i = 0;groups != null && i < groups.size(); i++){
TerminalGroup group = (TerminalGroup)groups.get(i);
%>
<tr>
<td><%=group.getGroupId()%></td>
<td><%=group.getGroupName()%></td>
<td><%=group.getNote()%></td>
<td><div align="center"><a href="/setGroupTerminalAction.do?action=set&groupId=<%=group.getGroupId()%>">修改</a> <a href="/deleteGroupAction.do?groupId=<%=group.getGroupId()%>">刪除</a></div></td>
</tr>
<%
}
%>
<!--tr>
<td colspan="9"><div align="right">
<h3>首頁 上一頁 下一頁 尾頁 到
<input name="textfield" type="text" size="3" />
頁
<input type="submit" name="Submit" value="Go" />
</h3>
</div></td>
</tr-->
</table>
</form>
<h2 id="pageName"> </h2>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -