⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 global_place_list.jsp.svn-base

📁 Struts+Hibernate实现MVC
💻 SVN-BASE
字号:

<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/include/include.jsp"%>


<html>
  <head>
    <title>GlobalPlace List</title>
    <script type="text/javascript">
     function view(id) {
        window.open("globalPlace.do?med=doDetail&id="+id,"","left=250,top=200,width=480,height=400,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no");
      }
    </script>
  </head>
  <link href="css/pub.css" rel="stylesheet" type="text/css"/>
  <script src="js/pgquery.js"></script>
  <script src="js/pinyin.js"></script>
  <body text="#000000" bgcolor="#f6f6f3" leftmargin="5px" topmargin="0" marginheight="0" marginwidth="0">
    <html:form action="globalPlace.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%>/globalPlace.do?med=viewForCreate'" >新增</a>&nbsp;&nbsp;&nbsp;&nbsp;</span></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>
          &nbsp;&nbsp;名称:<html:text property="cnFullPy" size="20" maxlength="30" />
          &nbsp;&nbsp;<input type="button" value="查询" onclick="query();">
           <logic:equal name="message" value="failed"> 
		      <html:messages id="failed" message="true">
		      	&nbsp;&nbsp;<font color="black"><b><bean:write name="failed"/></b></font>
		      </html:messages>
        </logic:equal>
          </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 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>
          <td align="center"><b>投入使用时间</b></td>             
          <td align="center"><b>操作</b></td>
        </tr>
        <% int i = 0; %>
        <logic:iterate id="globalPlace" name="globalPlaces">
          <tr class="<%=(i++%2==0?"trrow1":"trrow2")%>" height="30">
            <td align="center"><bean:write name="globalPlace" property="id" /></td>
            <td align="center"><bean:write name="globalPlace" property="cnFullName" /><br><bean:write name="globalPlace" property="trFullName" /></td>
            <td align="center"><bean:write name="globalPlace" property="enFullName" /><br><bean:write name="globalPlace" property="enShortName" /></td> 
          	<td align="center"><gooooal:value type="area" name="globalPlace" property="areaId"></gooooal:value></td>
          	<td align="center"><gooooal:value type="country" name="globalPlace" property="countryId"></gooooal:value></td>
          	<td align="center"><gooooal:value type="city" name="globalPlace" property="cityId"></gooooal:value></td>
          	<td align="center"><bean:write name="globalPlace" property="serviceDate" /></td>                    
            <td align="center" width="20%"> 
              <a href="javascript:document.location='<%=path%>/globalPlace.do?med=viewForUpdate&id=<bean:write name="globalPlace" property="id" />'" >修改</a>&nbsp;
              <a href="javascript:if(confirm('确认删除这条记录吗'))document.location='<%=path%>/globalPlace.do?med=doDelete&id=<bean:write name="globalPlace" property="id" />'" >删除</a>&nbsp;
            </td>
          </tr>
        </logic:iterate>
      </table>
      
       <gooooal:pagination name="pagination" />
      
      	  </td>
      	</tr>
      </table>
    </div>
    </html:form>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -