亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tabletag.java

?? dispalytag的源碼
?? JAVA
?? 第 1 頁 / 共 4 頁
字號(hào):
/** * Licensed under the Artistic License; you may not use this file * except in compliance with the License. * You may obtain a copy of the License at * *      http://displaytag.sourceforge.net/license.html * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */package org.displaytag.tags;import java.io.ByteArrayOutputStream;import java.io.IOException;import java.io.StringWriter;import java.io.Writer;import java.util.Collection;import java.util.HashMap;import java.util.Iterator;import java.util.List;import java.util.Map;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.http.HttpSession;import javax.servlet.jsp.JspException;import javax.servlet.jsp.JspTagException;import javax.servlet.jsp.JspWriter;import org.apache.commons.beanutils.BeanUtils;import org.apache.commons.collections.IteratorUtils;import org.apache.commons.lang.ObjectUtils;import org.apache.commons.lang.StringUtils;import org.apache.commons.lang.math.LongRange;import org.apache.commons.lang.math.NumberUtils;import org.apache.commons.lang.math.Range;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.displaytag.Messages;import org.displaytag.decorator.TableDecorator;import org.displaytag.exception.ExportException;import org.displaytag.exception.FactoryInstantiationException;import org.displaytag.exception.InvalidTagAttributeValueException;import org.displaytag.exception.WrappedRuntimeException;import org.displaytag.export.BinaryExportView;import org.displaytag.export.ExportView;import org.displaytag.export.ExportViewFactory;import org.displaytag.export.TextExportView;import org.displaytag.model.Cell;import org.displaytag.model.Column;import org.displaytag.model.HeaderCell;import org.displaytag.model.Row;import org.displaytag.model.TableModel;import org.displaytag.pagination.PaginatedList;import org.displaytag.pagination.PaginatedListSmartListHelper;import org.displaytag.pagination.PaginationHelper;import org.displaytag.pagination.SmartListHelper;import org.displaytag.properties.MediaTypeEnum;import org.displaytag.properties.SortOrderEnum;import org.displaytag.properties.TableProperties;import org.displaytag.render.HtmlTableWriter;import org.displaytag.util.CollectionUtil;import org.displaytag.util.DependencyChecker;import org.displaytag.util.Href;import org.displaytag.util.ParamEncoder;import org.displaytag.util.RequestHelper;import org.displaytag.util.RequestHelperFactory;import org.displaytag.util.TagConstants;/** * This tag takes a list of objects and creates a table to display those objects. With the help of column tags, you * simply provide the name of properties (get Methods) that are called against the objects in your list that gets * displayed. This tag works very much like the struts iterator tag, most of the attributes have the same name and * functionality as the struts tag. * @author mraible * @author Fabrizio Giustina * @version $Revision: 1144 $ ($Author: fgiust $) */public class TableTag extends HtmlTableTag{    /**     * name of the attribute added to page scope when exporting, containing an MediaTypeEnum this can be used in column     * content to detect the output type and to return different data when exporting.     */    public static final String PAGE_ATTRIBUTE_MEDIA = "mediaType"; //$NON-NLS-1$    /**     * If this variable is found in the request, assume the export filter is enabled.     */    public static final String FILTER_CONTENT_OVERRIDE_BODY = //    "org.displaytag.filter.ResponseOverrideFilter.CONTENT_OVERRIDE_BODY"; //$NON-NLS-1$    /**     * D1597A17A6.     */    private static final long serialVersionUID = 899149338534L;    /**     * logger.     */    private static Log log = LogFactory.getLog(TableTag.class);    /**     * RequestHelperFactory instance used for link generation.     */    private static RequestHelperFactory rhf;    /**     * Object (collection, list) on which the table is based. This is not set directly using a tag attribute and can be     * cleaned.     */    protected Object list;    // -- start tag attributes --    /**     * Object (collection, list) on which the table is based. Set directly using the "list" attribute or evaluated from     * expression.     */    protected Object listAttribute;    /**     * actual row number, updated during iteration.     */    private int rowNumber = 1;    /**     * name of the object to use for iteration. Can contain expressions.     */    private String name;    /**     * length of list to display.     */    private int length;    /**     * table decorator class name.     */    private String decoratorName;    /**     * page size.     */    private int pagesize;    /**     * list contains only viewable data.     */    private boolean partialList;    /**     * add export links.     */    private boolean export;    /**     * list offset.     */    private int offset;    /**     * Integer containing total size of the data displaytag is paginating     */    private Object size;    /**     * Name of the Integer in some scope containing the size of the data displaytag is paginating     */    private String sizeObjectName;    /**     * sort the full list?     */    private Boolean sortFullTable;    /**     * are we doing any local sorting? (defaults to True)     */    private boolean localSort = true;    /**     * Request uri.     */    private String requestUri;    /**     * Prepend application context to generated links.     */    private boolean dontAppendContext;    /**     * the index of the column sorted by default.     */    private int defaultSortedColumn = -1;    /**     * the sorting order for the sorted column.     */    private SortOrderEnum defaultSortOrder;    /**     * Name of parameter which should not be forwarded during sorting or pagination.     */    private String excludedParams;    /**     * Unique table id.     */    private String uid;    /**     * The variable name to store totals in.     */    private String varTotals;    /**     * Preserve the current page and sort.     */    private boolean keepStatus;    /**     * Clear the current page and sort status.     */    private boolean clearStatus;    /**     * Use form post in paging/sorting links (javascript required).     */    private String form;    // -- end tag attributes --    /**     * table model - initialized in doStartTag().     */    private TableModel tableModel;    /**     * current row.     */    private Row currentRow;    /**     * next row.     */    /**     * Used by various functions when the person wants to do paging - cleaned in doEndTag().     */    private SmartListHelper listHelper;    /**     * base href used for links - set in initParameters().     */    private Href baseHref;    /**     * table properties - set in doStartTag().     */    private TableProperties properties;    /**     * page number - set in initParameters().     */    private int pageNumber = 1;    /**     * Iterator on collection.     */    private Iterator tableIterator;    /**     * export type - set in initParameters().     */    private MediaTypeEnum currentMediaType;    /**     * daAfterBody() has been executed at least once?     */    private boolean doAfterBodyExecuted;    /**     * The param encoder used to generate unique parameter names. Initialized at the first use of encodeParameter().     */    private ParamEncoder paramEncoder;    /**     * Static footer added using the footer tag.     */    private String footer;    /**     * Is this the last iteration we will be performing? We only output the footer on the last iteration.     */    private boolean lastIteration;    /**     * Static caption added using the footer tag.     */    private String caption;    /**     * Child caption tag.     */    private CaptionTag captionTag;    /**     * Included row range. If no rows can be skipped the range is from 0 to Long.MAX_VALUE. Range check should be always     * done using containsLong(). This is an instance of org.apache.commons.lang.math.Range, but it's declared as Object     * to avoid runtime errors while Jasper tries to compile the page and commons lang 2.0 is not available. Commons     * lang version will be checked in the doStartTag() method in order to provide a more user friendly message.     */    private Object filteredRows;    /**     * The paginated list containing the external pagination and sort parameters The presence of this paginated list is     * what determines if external pagination and sorting is used or not.     */    private PaginatedList paginatedList;    /**     * Is this the last iteration?     * @return boolean <code>true</code> if this is the last iteration     */    protected boolean isLastIteration()    {        return this.lastIteration;    }    /**     * Sets the list of parameter which should not be forwarded during sorting or pagination.     * @param value whitespace separated list of parameters which should not be included (* matches all parameters)     */    public void setExcludedParams(String value)    {        this.excludedParams = value;    }    /**     * Sets the content of the footer. Called by a nested footer tag.     * @param string footer content     */    public void setFooter(String string)    {        this.footer = string;        this.tableModel.setFooter(this.footer);    }    /**     * Sets the content of the caption. Called by a nested caption tag.     * @param string caption content     */    public void setCaption(String string)    {        this.caption = string;        this.tableModel.setCaption(this.caption);    }    /**     * Set the child caption tag.     * @param captionTag Child caption tag     */    public void setCaptionTag(CaptionTag captionTag)    {        this.captionTag = captionTag;    }    /**     * Obtain the child caption tag.     * @return The child caption tag     */    public CaptionTag getCaptionTag()    {        return this.captionTag;    }    /**     * Is the current row empty?     * @return true if the current row is empty     */    protected boolean isEmpty()    {        return this.currentRow == null;    }    /**     * Preserve the current page and sort across session?     * @param keepStatus <code>true</code> to preserve paging and sorting     */    public void setKeepStatus(boolean keepStatus)    {        this.keepStatus = keepStatus;    }    /**     * Setter for <code>clearStatus</code>.     * @param clearStatus The clearStatus to set.     */    public void setClearStatus(boolean clearStatus)    {        this.clearStatus = clearStatus;    }    /**     * Setter for <code>form</code>.     * @param post The form to set.     */    public void setForm(String form)    {        this.form = form;    }    /**     * set the Integer containing the total size of the data displaytag is paginating     * @param size Integer containing the total size of the data     */    public void setSize(Object size)    {        if (size instanceof String)        {            this.sizeObjectName = (String) size;        }        else        {            this.size = size;        }    }    /**     * set the name of the Integer in some scope containing the total size of the data to be paginated     * @param sizeObjectName name of the Integer containing the total size of the data to be paginated     */    public void setSizeObjectName(String sizeObjectName)    {        this.sizeObjectName = sizeObjectName;    }    /**     * setter for the "sort" attribute.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲少妇中出一区| 欧美日韩久久一区二区| 日韩免费电影网站| 免费高清成人在线| 欧美tickle裸体挠脚心vk| 美女视频一区在线观看| 日韩欧美国产午夜精品| 精品一区二区三区免费视频| 精品999在线播放| 国产美女精品人人做人人爽| 久久日一线二线三线suv| 国产精品一区二区三区乱码| 日本一区二区视频在线观看| 99久久精品国产一区二区三区| 亚洲婷婷综合久久一本伊一区| 在线精品视频免费播放| 首页国产欧美日韩丝袜| 精品国产乱码久久久久久闺蜜| 国产精品456露脸| 1024亚洲合集| 69成人精品免费视频| 国产一区 二区| 国产精品久久久久久久久搜平片| 色一情一伦一子一伦一区| 亚洲成人激情社区| 2017欧美狠狠色| 色综合天天天天做夜夜夜夜做| 亚洲午夜激情网站| 久久久蜜臀国产一区二区| 成人av综合在线| 日韩成人免费看| 国产精品久久久久久久久免费樱桃| 欧美日韩一区久久| 国产高清不卡一区| 亚洲成a人片在线观看中文| 精品久久久久久久久久久久久久久久久 | 亚洲六月丁香色婷婷综合久久| 欧美日韩国产经典色站一区二区三区| 久久99久久99| 亚洲欧洲日韩女同| 欧美一区二区三区四区五区| 国产69精品久久777的优势| 国产精品女主播在线观看| 一本色道**综合亚洲精品蜜桃冫| 亚洲国产成人精品视频| 欧美激情一区二区三区| 在线观看视频一区二区欧美日韩| 午夜精品福利一区二区蜜股av| 欧美第一区第二区| 99国产精品久久久久| 首页国产欧美日韩丝袜| 国产精品午夜春色av| 丁香另类激情小说| 污片在线观看一区二区| 国产三级欧美三级日产三级99 | 亚洲激情综合网| 日韩免费电影网站| 色琪琪一区二区三区亚洲区| 老司机免费视频一区二区三区| 国产精品久久国产精麻豆99网站| 欧美男男青年gay1069videost| 国产精品18久久久久久久网站| 一二三区精品视频| 欧美一区二视频| 成人h动漫精品一区二区| 国产在线精品视频| 亚洲激情在线激情| 国产精品色噜噜| 日韩欧美国产系列| 精品视频在线免费观看| 成人午夜视频福利| 国产在线一区观看| 日韩精品一二三| 亚洲人成人一区二区在线观看| 欧美mv日韩mv国产| 欧美精品丝袜中出| 色婷婷av一区二区三区大白胸| 国产一区二区看久久| 一区二区三区美女视频| 精品国产乱码久久久久久夜甘婷婷 | 亚洲欧美在线视频观看| 精品第一国产综合精品aⅴ| 欧美亚男人的天堂| 欧美日韩在线直播| 97久久人人超碰| 97久久久精品综合88久久| 成人福利视频网站| 精品午夜久久福利影院 | 国产色产综合产在线视频| 精品少妇一区二区三区在线视频| 欧美视频一二三区| 欧美日韩性生活| 欧美午夜精品久久久久久超碰| 91欧美激情一区二区三区成人| 国产成人在线电影| 国产精品一二一区| 国产精品996| 国产精品456| 高清成人免费视频| 成人免费看黄yyy456| 国产在线视频不卡二| 热久久免费视频| 蜜臀av一区二区在线免费观看| 日本一道高清亚洲日美韩| 日韩不卡一区二区三区| 日韩精品91亚洲二区在线观看| 天天免费综合色| 日韩国产欧美一区二区三区| 首页欧美精品中文字幕| 男女性色大片免费观看一区二区| 免费在线观看不卡| 老司机精品视频线观看86| 国内精品写真在线观看| 国产91在线|亚洲| 欧美a级一区二区| 精品在线亚洲视频| 国产不卡在线视频| 91麻豆免费看| 欧美日韩黄色一区二区| 日韩欧美的一区二区| 久久久久久久久久美女| 亚洲三级视频在线观看| 亚洲第一激情av| 激情文学综合丁香| 国产一区二区毛片| www.亚洲色图| 欧美日韩一区中文字幕| 7777精品伊人久久久大香线蕉的| 久久免费看少妇高潮| 一区二区三区毛片| 亚洲成a天堂v人片| 国产一区二区电影| 一本大道久久精品懂色aⅴ| 在线成人小视频| 久久久久久久久一| 日日骚欧美日韩| 国产欧美日韩亚州综合| 色噜噜久久综合| 成人国产精品免费观看视频| 色一情一伦一子一伦一区| 日韩一区二区三区免费看| 欧美国产国产综合| 亚洲18影院在线观看| 国产一区欧美日韩| 在线欧美日韩国产| 国产精品美女www爽爽爽| 午夜激情久久久| 懂色av一区二区三区免费看| 欧美色视频在线| 久久精品一二三| 亚洲妇熟xx妇色黄| 成人国产精品免费| 欧美成人bangbros| 日本伊人色综合网| 色系网站成人免费| 亚洲欧洲另类国产综合| 精品无码三级在线观看视频| 精品一区二区三区av| 日韩欧美卡一卡二| 亚洲欧美成人一区二区三区| 成人午夜看片网址| 日韩一区二区在线观看视频| 亚洲一区二区三区三| av欧美精品.com| 亚洲欧洲一区二区在线播放| 六月丁香婷婷色狠狠久久| 欧美电影影音先锋| 亚洲你懂的在线视频| 97久久久精品综合88久久| 欧美va在线播放| 日本中文字幕一区| 丝袜国产日韩另类美女| 欧美日韩精品免费| 亚洲欧美激情在线| 色94色欧美sute亚洲线路二| 国产日韩欧美精品在线| 日本二三区不卡| 国产精品美女久久久久aⅴ国产馆| 懂色av一区二区三区免费观看| 欧美精品一区二区高清在线观看| 国内一区二区视频| 久久亚洲欧美国产精品乐播| 国产在线不卡一区| 久久久久久免费网| 成人一级视频在线观看| 精品久久免费看| 国产精品白丝jk黑袜喷水| 2023国产一二三区日本精品2022| 日韩电影在线免费观看| 欧美日韩成人高清| 男人操女人的视频在线观看欧美| 日韩精品一区二区三区中文精品 | 天堂久久一区二区三区| 91精品国产色综合久久不卡电影| 日日摸夜夜添夜夜添精品视频| 精品国产伦一区二区三区观看方式| 天天av天天翘天天综合网| 日韩三级高清在线| 欧美激情在线观看视频免费| 99精品偷自拍|