rolelist.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:2k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" pageEncoding="GBK"%>
- <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
- <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
- <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
- <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
- <div align="center"><FONT color="red">${msg}</FONT></div>
- <html:form action="/role">
- <input type="hidden" name="method" value="query">
- <table width=100% border=1>
- <tr align="center">
- <td>角色名称:<html:text property="rname"/>
- <input type="submit" value="查询">
- </td>
- </tr>
- </table>
- </html:form>
- <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#66CCFF">
- <tr class="tableHead" height="50" style="font-size: 20px">
- <td colspan="3" align="center">角色信息编辑</td>
- </tr>
- <tr align="center">
- <td>角色名称</td>
- <td>角色备注</td>
- <td>操作<html:link action="/role.do?method=add">[添加]</html:link></td>
- </tr>
- <logic:empty name="rolepage" property="list" scope="request">
- <TR>
- <TD colspan="3"><FONT color="red">提示:没有数据。。。。</FONT></TD>
- </TR>
- </logic:empty>
- <logic:present name="rolepage" scope="request">
- <logic:present name="rolepage" property="list" scope="request">
- <logic:notEmpty name="rolepage" property="list" scope="request">
- <logic:iterate id="role" name="rolepage" property="list" scope="request">
- <tr align="center">
- <td>${role.rname}</td>
- <td>${role.rmemo}</td>
- <td>
- <logic:equal name="role" value="1" property="rid">
- <FONT color="red">管理员角色不能更改</FONT>
- </logic:equal>
- <logic:notEqual name="role" value="1" property="rid">
- <html:link action="/role.do?method=update&rid=${role.rid}">修改</html:link>
- <html:link action="/role.do?method=del&rid=${role.rid}">删除</html:link>
- </logic:notEqual>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </logic:present>
- </logic:present>
- </table>
- ${rolepage.pageBar}