?? userinfo_list.jsp
字號:
<%@ page language="java" pageEncoding="GBK"%>
<%@include file="../inc.jsp" %>
<%@taglib prefix="display" uri="/WEB-INF/displaytag.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function ConfirmDel()
{
if(confirm("如果刪除,將導致該用戶錄入的咨詢信息丟失!確定要刪除此角色嗎?"))
return true;
else
return false;
}
//-->
</SCRIPT>
<title>My JSF 'userinfo_list.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<div align="center">
<display:table name="${requestScope.userinfolist}" export="true" id="currentRowObject" pagesize = "7" cellpadding="1" cellspacing="1"
requestURI="userinfo.do?method=read" class="simple">
<display:column property="userid" title="ID"/>
<display:column property="username"/>
<display:column property="userpwd" />
<display:column title="權限">${pageScope.currentRowObject.role.rolename}</display:column>
<display:column title="操作">
<c:choose>
<c:when test="${sessionScope.userid == pageScope.currentRowObject.userid}">
當前用戶[禁止刪除]
</c:when>
<c:otherwise>
<html:link action="userinfo?method=delete&id=${pageScope.currentRowObject.userid}" onclick="return ConfirmDel();">del</html:link>
</c:otherwise>
</c:choose>
</display:column>
<display:setProperty name="export.rtf.filename" value="example.rtf" />
<display:setProperty name="export.pdf" value="true" />
</display:table>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -