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

📄 validartclasslist.jsp

📁 一个实用的CMS管理
💻 JSP
字号:
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://www.extremecomponents.org" prefix="ec" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="true">
  <head>
  <title><s:text name="suncms.article.view.article.class_gen" /></title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="robots" content="noindex, nofollow">
 <link rel="stylesheet" type="text/css" href="css/extremecomponents.css"> 
<s:head />  
<script language="javascript">
function getSize() {
     var xScroll, yScroll;
     if (window.innerHeight && window.scrollMaxY) {
             xScroll = document.body.scrollWidth;
             yScroll = window.innerHeight + window.scrollMaxY;
     } else if (document.body.scrollHeight > document.body.offsetHeight){      // all but Explorer Mac
             xScroll = document.body.scrollWidth;
             yScroll = document.body.scrollHeight;
     } else {      // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
             xScroll = document.body.offsetWidth;
             yScroll = document.body.offsetHeight;
     }

     var windowWidth, windowHeight;
     if (self.innerHeight) {      // all except Explorer
             windowWidth = self.innerWidth;
             windowHeight = self.innerHeight;
     } else if (document.documentElement && document.documentElement.clientHeight) {      // Explorer 6 Strict Mode
             windowWidth = document.documentElement.clientWidth;
             windowHeight = document.documentElement.clientHeight;
     } else if (document.body) {      // other Explorers
             windowWidth = document.body.clientWidth;
             windowHeight = document.body.clientHeight;
     }

     // for small pages with total height less then height of the viewport
     if(yScroll < windowHeight){
             pageHeight = windowHeight;
             y = pageHeight;
     } else {
             pageHeight = yScroll;
             y = pageHeight;
     }

     if(xScroll < windowWidth){
             pageWidth = windowWidth;
     } else {
             pageWidth = xScroll;
     }

     arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight)
     return arrayPageSize;
}

function autoHeight(pid) {
     var x = new getSize();
     parent.document.getElementById(pid).height=x[1];
}

</script>
  </head>
    <body>
 <div class="eXtremeTable" >
<table border="0"  cellpadding="0"  cellspacing="0"  width="60%" >
	<tr>
		<td><span class="title" ><s:text name="suncms.article.view.article.class_gen" /></span></td>
		</tr>
</table>
 <s:form action="/artListAction.action">
  <table  border="0"  cellspacing="0"  cellpadding="0"  class="tableRegion"  width="95%" >
	<tbody class="tableBody" >
	<tr>
		<td class="tableHeader"><s:text name="suncms.article.view.article.class_name" /> </td>
		<td class="tableHeader"><s:text name="suncms.article.view.article.class_if_gen" /> </td>
	</tr>
	<s:iterator value="ParIdList" status="st">
	<tr <s:if test="#st.odd">class="even"</s:if><s:else>class="odd"</s:else> >
		<td><s:property value="class_name" /></td>
		<td><s:checkbox name="if_gen" value="true" fieldValue="%{row_id}" />
		<s:hidden name="if_name" value="%{class_name}" ></s:hidden>
		 </td>
	</tr>
	</s:iterator>
	
	<tr class="even" >
		<td colspan="2"><s:submit key="suncms.article.view.article.submit"/></td>
	</tr>
	
	</tbody>
</table>
 </s:form>
  </div>
    <script language="javascript">
   		var x = new getSize();
    
     top.document.all.item("main").height = x[1]+20;
     
    </script>
   </body>
</html>

⌨️ 快捷键说明

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