?? search.jsp
字號:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查詢</title>
<link href="/css/wfbase.css" type="text/css" rel="stylesheet" charset="gb2312"/>
<style type="text/css">
.selectItemName{
width:95%;
background-color:#FFFFCC;
}
.selectRelation{
background-color:#FFCC99;
}
.searchTextarea{
width:98%;
background-color:#66FFCC;
height:100%;
}
.downbutton{
display:inline;
}
</style>
<script language="javascript" type="text/javascript" src="js/search.js" charset="gb2312">;</script>
</head>
<body onload="init()" scroll="no" style="margin:5px">
<div style="width:40%; float:left">
選擇條件的項目字段:<br />
<select name="select1" id="select1" class="selectItemName">
<logic:iterate id="listColumnName" name="listColumnName">
<option value="<bean:write name="listColumnName" filter="false"/>">
<bean:write name="listColumnName" filter="false"/></option>
</logic:iterate>
</select>
</div>
<div style="width:20%; float:left">
關系符:<br />
<select name="select2" id="select2" class="selectRelation">
<option>=</option>
<option><></option>
<option>></option>
<option>>=</option>
<option><</option>
<option><=</option>
<option selected="selected">包含</option>
<option>不包含</option>
<option>=空</option>
<option><>空</option>
<option>包含_%</option>
<option>不包含_%</option>
</select>
</div>
<div style="width:35%; float:left">
表達式:<br />
<input name="text1" type="text" id="text1" size="20"/>
</div>
<br />
<div align="center" style="width:100%; padding-top:10px">
<input type="button" id="buttonAnd" class="downbutton" name="buttonAnd" onclick="Search('and','與')" style="width:200px" value="同時滿足(與)" />
<input type="button" style="visibility:hidden" />
<input type="button" id="buttonOr" class="downbutton" name="buttonOr" onclick="Search('or','或')" style="width:200px" value="或者滿足(或)" />
</div>
<p></p>
<form id="deleteActionForm" name="deleteActionForm" action="showDataAction.do" method="post" target="contentframe">
<div style="width:100%">
當前查詢條件:<br />
<textarea id="searchText" name="searchText" rows="10" style="height:120px; width:100%" readonly="readonly" class="searchTextarea"></textarea>
</div>
<div style="width:100%; margin-top:10px">
<input type="button" name="clear" class="downbutton" style="width:220px; margin-right:50px" value="清除當前查詢條件" onclick="expression_clear()"/>
<input type="button" name="mysubmit" class="downbutton" style="width:80px; margin-right:20px" value="確 定" onclick="form_submit()" />
<input type="button" name="close" class="downbutton" style="width:80px" value="取 消" onclick="window.close()" />
</div>
<input type="hidden" id="baseTableName" name="baseTableName" value="<bean:write name="baseTableName" filter="false"/>"/>
<input type="hidden" id="superTableName" name="superTableName" value="<bean:write name="superTableName" filter="false"/>"/>
<input type="hidden" id="keyNames" name="keyNames" value=""/>
<input type="hidden" id="menuID" name="menuID" value=""/>
<input type="hidden" id="searchSQL" name="searchSQL" value="" />
<input type="hidden" id="orderColumn" name="orderColumn" value="" />
<input type="hidden" id="orderKind" name="orderKind" value="" />
<input type="hidden" id="multiSort" name="multiSort" value=""/>
<input type="hidden" id="modified" name="modified" value="<bean:write name="modified" filter="false"/>"/>
<input type="hidden" id="pageShowType" name="pageShowType" value=""/>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -