1、html:
<div id="tableList">
<table class="table table-bordered table-striped table-hover" id="rgtable1" style="color:#444444">
<thead>
<tr>
<th>角色</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<#list urlBeanList as urlBean>
<tr class="odd">
<td><#if urlBean.urlType?exists>${urlBean.urlType}<#else>无</#if></td>
<td>
<button class="buttonnew button--winona2 button--round-l button--border-thin"
οnclick="urlLookUp('${urlBean.urlType}')"><span><span>查看</span></span>
</button>
<button class="buttonnew button--winona2 button--round-l button--border-thin"
οnclick="urlUpdate('${urlBean.urlType}')"><span><span>修改</span></span>
</button>
<button class="buttonnew button--winona2 button--round-l button--border-thin" οnclick="urlDelete('${urlBean.urlType}')">
<span><span>删除</span></span></button>
</td>
</tr>
</#list>
</tbody>
</table>
<#if pages??>
<div class="pageNu" align="right">
总共 ${pages?c}页|第${currentpage?c}页
<#if (currentpage>1)>
<a style='cursor:pointer;' onclick = lastPage('${currentpage?c}')>上一页</a>
<#else>
</#if>
<#if (currentpage<pages)>
<a style='cursor:pointer;' onclick = nextPage('${currentpage?c}')>下一页</a>
<#else>
</#if>
转至<input type="text" name="pageNum" id="pageNum" value="${curr