global_country_list.jsp.svn-base
来自「Struts+Hibernate实现MVC」· SVN-BASE 代码 · 共 92 行
SVN-BASE
92 行
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/include/include.jsp"%>
<html>
<head>
<title>国家/机构信息</title>
</head>
<link href="css/pub.css" rel="stylesheet" type="text/css"/>
<script src="js/pgquery.js"></script>
<body text="#000000" bgcolor="#f6f6f3" leftmargin="5px" topmargin="0" marginheight="0" marginwidth="0">
<html:form action="globalCountry.do?med=doList">
<table cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
<tr height="30">
<td class="fm1">国家/机构信息<span style="padding-left:50px" /><a href="javascript:document.location='<%=path%>/globalCountry.do?med=viewForCreate'" >新增</a> </td>
</tr>
</table>
<table cellspacing="1" cellpadding="5" width="100%" align="center" border="0">
<tr class="bevel2">
<td>区域:<html:select property="areaId">
<option value="">不限区域</option>
<gooooal:options type="area" />
</html:select>
名称:<html:text property="cnFullName" size="20" maxlength="30" />
<input type="button" value="查询" onclick="query();"></td>
<td></td>
</tr>
</table>
<div align="left">
<table width="100%" cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
<tr class="bevel2">
<td>
<table id="tbdata" cellspacing="0" cellpadding="4" class="tbdata">
<tr>
<td align="center" colspan="2">
<logic:equal name="message" value="failed">
<b><html:messages id="failed" message="true">
<bean:write name="failed"/>
</html:messages></b>
</logic:equal>
</td>
</tr>
<tr class="trtitle" height="30">
<td align="center"><b>国家/机构ID</b></td>
<td align="center"><b>简体全称/繁体简称</b></td>
<td align="center"><b>英文全称/英文简称</b></td>
<td align="center"><b>所属洲/地域</b></td>
<td align="center"><b>机构类型</b></td>
<td align="center"><b>操作</b></td>
</tr>
<% int i = 0; %>
<logic:iterate id="globalCountry" name="globalCountrys">
<tr class="<%=(i++%2==0?"trrow1":"trrow2")%>" height="30">
<td align="center"><bean:write name="globalCountry" property="id" /></td>
<td align="center"><bean:write name="globalCountry" property="cnFullName" /><br><bean:write name="globalCountry" property="trFullName" /></td>
<td align="center"><bean:write name="globalCountry" property="enFullName" /><br><bean:write name="globalCountry" property="enShortName" /></td>
<td align="center"><gooooal:value type="area" name="globalCountry" property="areaId"></gooooal:value></td>
<td align="center">
<script>
var types = '<bean:write name="globalCountry" property="type" />';
if(types=='1'){
document.write('国家');
}else{
document.write('机构');
}
</script>
</td>
<td align="center" width="20%">
<a href="javascript:document.location='<%=path%>/globalCountry.do?med=viewForUpdate&id=<bean:write name="globalCountry" property="id" />'" >修改</a>
<a href="javascript:if(confirm('确认删除这条记录吗'))document.location='<%=path%>/globalCountry.do?med=doDelete&id=<bean:write name="globalCountry" property="id" />'" >删除</a>
</td>
</tr>
</logic:iterate>
</table>
<gooooal:pagination name="pagination" />
</td>
</tr>
</table>
</div>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?