📄 searchlist_jsp_0.java
字号:
// end
// begin [file="/master/city/searchlist.jsp";from=(41,0);to=(41,62)]
/* ------ logic:present ------ */
org.apache.struts.taglib.logic.PresentTag _jspx_th_logic_present_0 = new org.apache.struts.taglib.logic.PresentTag();
_jspx_th_logic_present_0.setPageContext(pageContext);
_jspx_th_logic_present_0.setParent(_jspx_th_html_form_0);
_jspx_th_logic_present_0.setName("citySearchForm");
_jspx_th_logic_present_0.setProperty("searchResults");
_jspxTagObjects.push(_jspx_th_logic_present_0);
int _jspx_eval_logic_present_0 = _jspx_th_logic_present_0.doStartTag();
if (_jspx_eval_logic_present_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(41,62);to=(42,0)]
out.write("\r\n");
// end
// begin [file="/master/city/searchlist.jsp";from=(42,0);to=(42,83)]
/* ------ bean:size ------ */
org.apache.struts.taglib.bean.SizeTag _jspx_th_bean_size_0 = new org.apache.struts.taglib.bean.SizeTag();
_jspx_th_bean_size_0.setPageContext(pageContext);
_jspx_th_bean_size_0.setParent(_jspx_th_logic_present_0);
_jspx_th_bean_size_0.setId("searchResultsCount");
_jspx_th_bean_size_0.setName("citySearchForm");
_jspx_th_bean_size_0.setProperty("searchResults");
java.lang.Integer searchResultsCount = null;
{ // begin scope of tag variables
_jspxTagObjects.push(_jspx_th_bean_size_0);
int _jspx_eval_bean_size_0 = _jspx_th_bean_size_0.doStartTag();
searchResultsCount = (java.lang.Integer) pageContext.findAttribute("searchResultsCount");
searchResultsCount = (java.lang.Integer) pageContext.findAttribute("searchResultsCount");
// end
// begin [file="/master/city/searchlist.jsp";from=(42,0);to=(42,83)]
searchResultsCount = (java.lang.Integer) pageContext.findAttribute("searchResultsCount");
if (_jspx_th_bean_size_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
} // end scope of tag variables
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(42,83);to=(44,0)]
out.write("\r\n\r\n");
// end
// begin [file="/master/city/searchlist.jsp";from=(44,0);to=(44,55)]
/* ------ logic:greaterThan ------ */
org.apache.struts.taglib.logic.GreaterThanTag _jspx_th_logic_greaterThan_0 = new org.apache.struts.taglib.logic.GreaterThanTag();
_jspx_th_logic_greaterThan_0.setPageContext(pageContext);
_jspx_th_logic_greaterThan_0.setParent(_jspx_th_logic_present_0);
_jspx_th_logic_greaterThan_0.setName("searchResultsCount");
_jspx_th_logic_greaterThan_0.setValue("0");
_jspxTagObjects.push(_jspx_th_logic_greaterThan_0);
int _jspx_eval_logic_greaterThan_0 = _jspx_th_logic_greaterThan_0.doStartTag();
if (_jspx_eval_logic_greaterThan_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(44,55);to=(48,9)]
out.write("\r\n\r\n<table cellSpacing=\"1\" cellPadding=\"1\" border=\"0\" width=\"100%\">\r\n\t<tr>\r\n\t\t<td><b>");
// end
// begin [file="/master/city/searchlist.jsp";from=(48,9);to=(48,49)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_4 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_4.setPageContext(pageContext);
_jspx_th_bean_message_4.setParent(_jspx_th_logic_greaterThan_0);
_jspx_th_bean_message_4.setKey("label.searchResult");
_jspxTagObjects.push(_jspx_th_bean_message_4);
int _jspx_eval_bean_message_4 = _jspx_th_bean_message_4.doStartTag();
// end
// begin [file="/master/city/searchlist.jsp";from=(48,9);to=(48,49)]
if (_jspx_th_bean_message_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(48,49);to=(49,20)]
out.write("</b></td>\r\n\t\t<td align=\"right\">");
// end
// begin [file="/master/city/searchlist.jsp";from=(49,20);to=(49,62)]
/* ------ chtml:cachedPager ------ */
com.leeman.common.web.ui.tags.CachedPagerTag _jspx_th_chtml_cachedPager_0 = new com.leeman.common.web.ui.tags.CachedPagerTag();
_jspx_th_chtml_cachedPager_0.setPageContext(pageContext);
_jspx_th_chtml_cachedPager_0.setParent(_jspx_th_logic_greaterThan_0);
_jspx_th_chtml_cachedPager_0.setPagerId("searchPager");
_jspxTagObjects.push(_jspx_th_chtml_cachedPager_0);
int _jspx_eval_chtml_cachedPager_0 = _jspx_th_chtml_cachedPager_0.doStartTag();
// end
// begin [file="/master/city/searchlist.jsp";from=(49,20);to=(49,62)]
if (_jspx_th_chtml_cachedPager_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(49,62);to=(55,34)]
out.write("</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td colspan=\"2\">\t\t\t\r\n\t\t\t<table cellspacing=\"0\" cellpadding=\"3\" border=\"1\" width=\"100%\" class=\"tableStyle_1\">\r\n\t\t\t\t<tr class=\"tableHeaderRow_1\">\r\n\t\t\t\t\t<td align=\"left\" width=\"20%\">");
// end
// begin [file="/master/city/searchlist.jsp";from=(55,34);to=(55,70)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_5 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_5.setPageContext(pageContext);
_jspx_th_bean_message_5.setParent(_jspx_th_logic_greaterThan_0);
_jspx_th_bean_message_5.setKey("SM_City.cityId");
_jspxTagObjects.push(_jspx_th_bean_message_5);
int _jspx_eval_bean_message_5 = _jspx_th_bean_message_5.doStartTag();
// end
// begin [file="/master/city/searchlist.jsp";from=(55,34);to=(55,70)]
if (_jspx_th_bean_message_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(55,70);to=(56,34)]
out.write("</td>\r\n\t\t\t\t\t<td align=\"left\" width=\"30%\">");
// end
// begin [file="/master/city/searchlist.jsp";from=(56,34);to=(56,75)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_6 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_6.setPageContext(pageContext);
_jspx_th_bean_message_6.setParent(_jspx_th_logic_greaterThan_0);
_jspx_th_bean_message_6.setKey("SM_City.description");
_jspxTagObjects.push(_jspx_th_bean_message_6);
int _jspx_eval_bean_message_6 = _jspx_th_bean_message_6.doStartTag();
// end
// begin [file="/master/city/searchlist.jsp";from=(56,34);to=(56,75)]
if (_jspx_th_bean_message_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(56,75);to=(57,34)]
out.write("</td>\r\n\t\t\t\t\t<td align=\"left\" width=\"30%\">");
// end
// begin [file="/master/city/searchlist.jsp";from=(57,34);to=(57,73)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_7 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_7.setPageContext(pageContext);
_jspx_th_bean_message_7.setParent(_jspx_th_logic_greaterThan_0);
_jspx_th_bean_message_7.setKey("SM_City.countryId");
_jspxTagObjects.push(_jspx_th_bean_message_7);
int _jspx_eval_bean_message_7 = _jspx_th_bean_message_7.doStartTag();
// end
// begin [file="/master/city/searchlist.jsp";from=(57,34);to=(57,73)]
if (_jspx_th_bean_message_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(57,73);to=(59,4)]
out.write("</td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t");
// end
// begin [file="/master/city/searchlist.jsp";from=(59,4);to=(59,98)]
/* ------ logic:iterate ------ */
org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = new org.apache.struts.taglib.logic.IterateTag();
_jspx_th_logic_iterate_0.setPageContext(pageContext);
_jspx_th_logic_iterate_0.setParent(_jspx_th_logic_greaterThan_0);
_jspx_th_logic_iterate_0.setId("resultItem");
_jspx_th_logic_iterate_0.setName("citySearchForm");
_jspx_th_logic_iterate_0.setProperty("searchResults");
_jspx_th_logic_iterate_0.setIndexId("index");
{ // begin scope of tag variables
_jspxTagObjects.push(_jspx_th_logic_iterate_0);
int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
try {
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_logic_iterate_0.doInitBody();
}
do {
java.lang.Object resultItem = null;
resultItem = (java.lang.Object) pageContext.findAttribute("resultItem");
java.lang.Integer index = null;
index = (java.lang.Integer) pageContext.findAttribute("index");
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(59,98);to=(60,14)]
out.write("\r\n\t\t\t\t<tr class=");
// end
// begin [file="/master/city/searchlist.jsp";from=(60,17);to=(60,78)]
out.print(Integer.parseInt(index.toString())%2==0?"":"tableDtlRowAlt_1");
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(60,80);to=(61,24)]
out.write(">\r\n\t\t\t\t\t<td align=\"left\"><a");
// end
// begin [file="/master/city/searchlist.jsp";from=(61,27);to=(61,69)]
out.print(" id=\"rstlink_" + index.toString() + "\"");
// end
// HTML // begin [file="/master/city/searchlist.jsp";from=(61,71);to=(61,113)]
out.write(" href=\"javascript:selectRecord(new Array('");
// end
// begin [file="/master/city/searchlist.jsp";from=(61,113);to=(61,163)]
/* ------ bean:write ------ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -