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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tabletag.java

?? dispalytag的源碼
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:
    private String getConfiguredDecoratorName()    {        String tableDecoratorName = (this.decoratorName == null) ? this.properties            .getMediaTypeDecoratorName(this.currentMediaType) : this.decoratorName;        tableDecoratorName = (tableDecoratorName == null) ? this.properties            .getExportDecoratorName(this.currentMediaType) : tableDecoratorName;        return tableDecoratorName;    }    /**     * clean up instance variables, but not the ones representing tag attributes.     */    private void cleanUp()    {        // reset instance variables (non attributes)        this.currentMediaType = null;        this.baseHref = null;        this.caption = null;        this.captionTag = null;        this.currentRow = null;        this.doAfterBodyExecuted = false;        this.footer = null;        this.listHelper = null;        this.pageNumber = 0;        this.paramEncoder = null;        this.properties = null;        this.rowNumber = 1;        this.tableIterator = null;        this.tableModel = null;        this.list = null;        this.paginatedList = null;    }    /**     * If no columns are provided, automatically add them from bean properties. Get the first object in the list and get     * all the properties (except the "class" property which is automatically skipped). Of course this isn't possible     * for empty lists.     */    private void describeEmptyTable()    {        this.tableIterator = IteratorUtils.getIterator(this.list);        if (this.tableIterator.hasNext())        {            Object iteratedObject = this.tableIterator.next();            Map objectProperties = new HashMap();            // if it's a String don't add the "Bytes" column            if (iteratedObject instanceof String)            {                return;            }            // if it's a map already use key names for column headers            if (iteratedObject instanceof Map)            {                objectProperties = (Map) iteratedObject;            }            else            {                try                {                    objectProperties = BeanUtils.describe(iteratedObject);                }                catch (Exception e)                {                    log.warn("Unable to automatically add columns: " + e.getMessage(), e);                }            }            // iterator on properties names            Iterator propertiesIterator = objectProperties.keySet().iterator();            while (propertiesIterator.hasNext())            {                // get the property name                String propertyName = (String) propertiesIterator.next();                // dont't want to add the standard "class" property                if (!"class".equals(propertyName)) //$NON-NLS-1$                {                    // creates a new header and add to the table model                    HeaderCell headerCell = new HeaderCell();                    headerCell.setBeanPropertyName(propertyName);                    // handle title i18n                    headerCell.setTitle(this.properties.geResourceProvider().getResource(                        null,                        propertyName,                        this,                        this.pageContext));                    this.tableModel.addColumnHeader(headerCell);                }            }        }    }    /**     * Called when data are not displayed in a html page but should be exported.     * @return int SKIP_PAGE     * @throws JspException generic exception     */    protected int doExport() throws JspException    {        boolean exportFullList = this.properties.getExportFullList();        if (log.isDebugEnabled())        {            log.debug("[" + getUid() + "] currentMediaType=" + this.currentMediaType);        }        boolean exportHeader = this.properties.getExportHeader(this.currentMediaType);        boolean exportDecorated = this.properties.getExportDecorated();        ExportView exportView = ExportViewFactory.getInstance().getView(            this.currentMediaType,            this.tableModel,            exportFullList,            exportHeader,            exportDecorated);        try        {            writeExport(exportView);        }        catch (IOException e)        {            throw new WrappedRuntimeException(getClass(), e);        }        return SKIP_PAGE;    }    /**     * Will write the export. The default behavior is to write directly to the response. If the ResponseOverrideFilter     * is configured for this request, will instead write the exported content to a map in the Request object.     * @param exportView export view     * @throws JspException for problem in clearing the response or for invalid export views     * @throws IOException exception thrown when writing content to the response     */    protected void writeExport(ExportView exportView) throws IOException, JspException    {        String filename = properties.getExportFileName(this.currentMediaType);        HttpServletResponse response = (HttpServletResponse) this.pageContext.getResponse();        HttpServletRequest request = (HttpServletRequest) this.pageContext.getRequest();        Map bean = (Map) request.getAttribute(FILTER_CONTENT_OVERRIDE_BODY);        boolean usingFilter = bean != null;        String mimeType = exportView.getMimeType();        // original encoding, be sure to add it back after reset()        String characterEncoding = response.getCharacterEncoding();        if (usingFilter)        {            if (!bean.containsKey(TableTagParameters.BEAN_BUFFER))            {                // We are running under the export filter, call it                log.debug("Exportfilter enabled in unbuffered mode, setting headers");                response.addHeader(TableTagParameters.PARAMETER_EXPORTING, TagConstants.EMPTY_STRING);            }            else            {                // We are running under the export filter in buffered mode                bean.put(TableTagParameters.BEAN_CONTENTTYPE, mimeType);                bean.put(TableTagParameters.BEAN_FILENAME, filename);                if (exportView instanceof TextExportView)                {                    StringWriter writer = new StringWriter();                    ((TextExportView) exportView).doExport(writer);                    bean.put(TableTagParameters.BEAN_BODY, writer.toString());                }                else if (exportView instanceof BinaryExportView)                {                    ByteArrayOutputStream stream = new ByteArrayOutputStream();                    ((BinaryExportView) exportView).doExport(stream);                    bean.put(TableTagParameters.BEAN_BODY, stream.toByteArray());                }                else                {                    throw new JspTagException("Export view "                        + exportView.getClass().getName()                        + " must implement TextExportView or BinaryExportView");                }                return;            }        }        else        {            log.debug("Exportfilter NOT enabled");            // response can't be already committed at this time            if (response.isCommitted())            {                throw new ExportException(getClass());            }            try            {                response.reset();                pageContext.getOut().clearBuffer();            }            catch (Exception e)            {                throw new ExportException(getClass());            }        }        if (!usingFilter && characterEncoding != null && mimeType.indexOf("charset") == -1) //$NON-NLS-1$        {            mimeType += "; charset=" + characterEncoding; //$NON-NLS-1$        }        response.setContentType(mimeType);        if (StringUtils.isNotEmpty(filename))        {            response.setHeader("Content-Disposition", //$NON-NLS-1$                "attachment; filename=\"" + filename + "\""); //$NON-NLS-1$ //$NON-NLS-2$        }        if (exportView instanceof TextExportView)        {            Writer writer;            if (usingFilter)            {                writer = response.getWriter();            }            else            {                writer = pageContext.getOut();            }            ((TextExportView) exportView).doExport(writer);        }        else if (exportView instanceof BinaryExportView)        {            // dealing with binary content            // note that this is not assured to work on any application server if the filter is not enabled. According            // to the jsp specs response.getOutputStream() should no be called in jsps.            ((BinaryExportView) exportView).doExport(response.getOutputStream());        }        else        {            throw new JspTagException("Export view "                + exportView.getClass().getName()                + " must implement TextExportView or BinaryExportView");        }        log.debug("Export completed");    }    /**     * This sets the list of all of the data that will be displayed on the page via the table tag. This might include     * just a subset of the total data in the list due to to paging being active, or the user asking us to just show a     * subset, etc...     */    protected void setupViewableData()    {        // If the user has changed the way our default behavior works, then we need to look for it now, and resort        // things if needed before we ask for the viewable part. (this is a bad place for this, this should be        // refactored and moved somewhere else).        if (this.paginatedList == null || this.tableModel.isLocalSort())        {            if (this.tableModel.isSortFullTable())            {                // Sort the total list...                this.tableModel.sortFullList();            }        }        Object originalData = this.tableModel.getRowListFull();        // If they have asked for a subset of the list via the length        // attribute, then only fetch those items out of the master list.        List fullList = CollectionUtil.getListFromObject(originalData, this.offset, this.length);        int pageOffset = this.offset;        // If they have asked for just a page of the data, then use the        // SmartListHelper to figure out what page they are after, etc...        if (this.paginatedList == null && this.pagesize > 0)        {            this.listHelper = new SmartListHelper(fullList, (this.partialList) ? ((Integer) size).intValue() : fullList                .size(), this.pagesize, this.properties, this.partialList);            this.listHelper.setCurrentPage(this.pageNumber);            pageOffset = this.listHelper.getFirstIndexForCurrentPage();            fullList = this.listHelper.getListForCurrentPage();        }        else if (this.paginatedList != null)        {            this.listHelper = new PaginatedListSmartListHelper(this.paginatedList, this.properties);        }        this.tableModel.setRowListPage(fullList);        this.tableModel.setPageOffset(pageOffset);    }    /**     * Uses HtmlTableWriter to write table called when data have to be displayed in a html page.     * @throws JspException generic exception     */    protected void writeHTMLData() throws JspException    {        JspWriter out = this.pageContext.getOut();        String css = this.properties.getCssTable();        if (StringUtils.isNotBlank(css))        {            this.addClass(css);        }        // use HtmlTableWriter to write table        new HtmlTableWriter(            this.tableModel,            this.properties,            this.baseHref,            this.export,            out,            getCaptionTag(),            this.paginatedList,            this.listHelper,            this.pagesize,            getAttributeMap(),            this.uid).writeTable(this.tableModel, this.getUid());        if (this.varTotals != null)        {            pageContext.setAttribute(this.varTotals, getTotals());        }    }    /**     * Get the column totals Map. If there is no varTotals defined, there are no totals.     * @return a Map of totals where the key is the column number and the value is the total for that column     */    public Map getTotals()    {        Map totalsMap = new HashMap();        if (this.varTotals != null)        {            List headers = this.tableModel.getHeaderCellList();            for (Iterator iterator = headers.iterator(); iterator.hasNext();)            {                HeaderCell headerCell = (HeaderCell) iterator.next();                if (headerCell.isTotaled())                {                    totalsMap.put("column" + (headerCell.getColumnNumber() + 1), new Double(headerCell.getTotal()));                }            }        }        return totalsMap;    }    /**     * Get the table model for this tag. Sometimes required by local tags that cooperate with DT. USE THIS METHOD WITH     * EXTREME CAUTION; IT PROVIDES ACCESS TO THE INTERNALS OF DISPLAYTAG, WHICH ARE NOT TO BE CONSIDERED STABLE PUBLIC     * INTERFACES.     * @return the TableModel     */    public TableModel getTableModel()    {        return this.tableModel;    }    /**     * Called by the setProperty tag to override some default behavior or text String.     * @param propertyName String property name     * @param propertyValue String property value     */    public void setProperty(String propertyName, String propertyValue)    {        this.properties.setProperty(propertyName, propertyValue);    }    /**     * @see javax.servlet.jsp.tagext.Tag#release()     */    public void release()    {        if (log.isDebugEnabled())        {            log.debug("[" + getUid() + "] release() called");        }        super.release();        // tag attributes        this.decoratorName = null;        this.defaultSortedColumn = -1;        this.defaultSortOrder = null;        this.export = false;        this.length = 0;        this.listAttribute = null;        this.localSort = true;        this.name = null;        this.offset = 0;        this.pagesize = 0;        this.partialList = false;        this.requestUri = null;        this.dontAppendContext = false;        this.sortFullTable = null;        this.excludedParams = null;        this.filteredRows = null;        this.uid = null;        this.keepStatus = false;        this.clearStatus = false;        this.form = null;    }    /**     * Returns the name.     * @return String     */    protected String getName()    {        return this.name;    }    /**     * encode a parameter name to be unique in the page using ParamEncoder.     * @param parameterName parameter name to encode     * @return String encoded parameter name     */    private String encodeParameter(String parameterName)    {        // paramEncoder has been already instantiated?        if (this.paramEncoder == null)        {            // use the id attribute to get the unique identifier            this.paramEncoder = new ParamEncoder(getUid());        }        return this.paramEncoder.encodeParameterName(parameterName);    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品欧美一区二区三区精品久久| 国产不卡在线播放| 欧美男人的天堂一二区| 亚洲一区二区三区视频在线播放| 欧美性极品少妇| 三级精品在线观看| 日韩三级中文字幕| 国产精品996| 亚洲日韩欧美一区二区在线| 在线欧美小视频| 日本少妇一区二区| 久久久国产精品午夜一区ai换脸| 国产凹凸在线观看一区二区| 国产精品国产自产拍高清av王其| 色婷婷综合激情| 日本不卡一二三| 国产欧美精品在线观看| 91天堂素人约啪| 亚洲成a人v欧美综合天堂下载| 日韩一区二区在线免费观看| 国产精品小仙女| 一区二区三区中文字幕精品精品| 91精品国模一区二区三区| 狠狠色丁香久久婷婷综合丁香| 国产精品久久久久久久久快鸭 | 男女性色大片免费观看一区二区| 日韩精品中文字幕一区二区三区| 国产高清久久久| 亚洲一区二区三区四区五区黄 | 久久99久久精品| 国产精品三级av| 欧美日韩国产系列| 成人午夜视频福利| 日韩国产精品久久久久久亚洲| 久久九九久精品国产免费直播| 日本韩国欧美国产| 国产精品一区一区| 亚洲国产视频a| 国产精品久久久久精k8| 欧美精品久久天天躁| 成人精品国产福利| 男女性色大片免费观看一区二区 | 欧美电影免费观看高清完整版在| 国产91富婆露脸刺激对白| 亚洲香蕉伊在人在线观| 国产日韩高清在线| 日韩一区二区三区视频在线| aaa国产一区| 国产伦精一区二区三区| 视频一区在线播放| 亚洲视频小说图片| 久久久久久亚洲综合| 色婷婷av一区二区三区之一色屋| 国产精品自拍一区| 欧美a级一区二区| 一区二区三区蜜桃| 国产精品久久毛片| 国产丝袜欧美中文另类| 91精品国产品国语在线不卡| 色吊一区二区三区| 不卡的av网站| 国产成人久久精品77777最新版本| 奇米色一区二区| 偷拍一区二区三区四区| 一区二区三国产精华液| 中文字幕二三区不卡| 久久综合九色综合久久久精品综合| 欧美喷水一区二区| 色8久久人人97超碰香蕉987| 懂色av中文字幕一区二区三区 | 欧美视频一区二区在线观看| 91在线丨porny丨国产| 国产一区二区三区在线观看免费视频| 亚洲大片精品永久免费| 亚洲综合视频在线| 一区二区三区在线观看国产| 亚洲乱码日产精品bd| 亚洲日韩欧美一区二区在线| 中文字幕亚洲不卡| 亚洲同性同志一二三专区| 亚洲欧美综合网| 亚洲欧美激情小说另类| 亚洲男人的天堂在线aⅴ视频| 国产精品国产三级国产aⅴ入口 | 91视频精品在这里| 色综合久久中文综合久久97| 色一情一伦一子一伦一区| 99精品在线免费| 色婷婷综合久久久久中文一区二区| 91在线观看一区二区| 一本大道久久精品懂色aⅴ| 91色乱码一区二区三区| 欧美天堂亚洲电影院在线播放| 欧美亚洲国产一区二区三区va| 欧美日韩国产a| 69av一区二区三区| www成人在线观看| 中文字幕免费不卡| 一区二区三区视频在线看| 亚洲成av人片| 久久99精品久久久久久国产越南 | 97精品国产露脸对白| 97se狠狠狠综合亚洲狠狠| 色噜噜狠狠色综合欧洲selulu| 欧美性色黄大片| 欧美一区二区三区在线看| 欧美精品一区二区三区高清aⅴ| 国产亚洲成av人在线观看导航| 欧美国产精品久久| 亚洲制服丝袜在线| 免费高清视频精品| 国产一区二区美女| 91丨九色丨尤物| 国产精品久久久久影视| 欧美精品日韩一区| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 亚洲国产精品一区二区尤物区| 日韩和欧美一区二区| 蜜臀91精品一区二区三区| 国产一区在线视频| 91福利在线观看| 日韩欧美国产综合在线一区二区三区| 久久精品亚洲国产奇米99| 国产精品久久久久久亚洲毛片| 香蕉成人伊视频在线观看| 黄色成人免费在线| 色成年激情久久综合| 精品久久久久久最新网址| 中文字幕综合网| 黄页视频在线91| 欧美中文字幕一区| 日本一区二区成人| 日韩精品视频网| 不卡的av中国片| 欧美精品一区二区久久久| ㊣最新国产の精品bt伙计久久| 全部av―极品视觉盛宴亚洲| av高清久久久| 2023国产精品自拍| 亚洲成av人片www| 99re这里只有精品首页| 精品久久国产97色综合| 亚洲一区二区三区在线看| 国产成人鲁色资源国产91色综| 欧美一区二区在线看| 国产精品的网站| 欧美日韩免费观看一区二区三区| 日韩极品在线观看| 久久精品亚洲精品国产欧美kt∨| 国产综合色精品一区二区三区| 国产69精品久久99不卡| 欧美另类一区二区三区| 亚洲欧洲精品成人久久奇米网| 寂寞少妇一区二区三区| 在线亚洲一区二区| 国产精品嫩草久久久久| 国产精一区二区三区| 欧美一级黄色片| 亚洲不卡av一区二区三区| 色哟哟一区二区三区| 亚洲色图欧洲色图婷婷| 不卡欧美aaaaa| 久久毛片高清国产| 国产伦精品一区二区三区免费迷| 91精品久久久久久久91蜜桃 | 国产目拍亚洲精品99久久精品| 日本欧美一区二区在线观看| 欧美日韩国产小视频| 午夜不卡av免费| 69p69国产精品| 免费在线看一区| 久久综合一区二区| 狠狠色狠狠色综合日日91app| 精品久久久三级丝袜| 蜜臀91精品一区二区三区| 日韩精品一区二区三区四区视频| 奇米一区二区三区av| 日韩欧美电影在线| 国产一区二区不卡在线 | 国产一区二区三区精品视频| 欧美变态口味重另类| 国产麻豆9l精品三级站| 欧美激情一区二区在线| av福利精品导航| 一区二区三区四区不卡在线 | 日本中文字幕不卡| 欧美一卡二卡在线观看| 美女网站色91| 欧美韩国日本一区| 99精品视频一区| 亚洲成人免费影院| 日韩天堂在线观看| 国产在线精品视频| 中文字幕制服丝袜一区二区三区| 99久久精品国产一区| 美女任你摸久久| 国产精品视频一二三区| 91视频精品在这里| 日韩影院精彩在线| 久久精品夜夜夜夜久久|