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

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

?? eloptionscollectiontag.java

?? struts的源代碼
?? JAVA
字號:
/*
 * $Id: ELOptionsCollectionTag.java 54933 2004-10-16 17:04:52Z germuska $ 
 *
 * Copyright 1999-2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.strutsel.taglib.html;

import org.apache.struts.taglib.html.OptionsCollectionTag;
import javax.servlet.jsp.JspException;
import org.apache.strutsel.taglib.utils.EvalHelper;

/**
 * Tag for creating multiple <select> options from a collection. The
 * collection may be part of the enclosing form, or may be independent of
 * the form. Each element of the collection must expose a 'label' and a
 * 'value', the property names of which are configurable by attributes of
 * this tag.
 * <p>
 * The collection may be an array of objects, a Collection, an Enumeration,
 * an Iterator, or a Map.
 * <p>
 * <b>NOTE</b> - This tag requires a Java2 (JDK 1.2 or later) platform.
 *<p>
 * This class is a subclass of the class
 * <code>org.apache.struts.taglib.html.OptionsCollectionTag</code> which
 * provides most of the described functionality.  This subclass allows all
 * attribute values to be specified as expressions utilizing the JavaServer
 * Pages Standard Library expression language.
 *
 * @version $Rev: 54933 $
 */
public class ELOptionsCollectionTag extends OptionsCollectionTag {

    /**
     * Instance variable mapped to "filter" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String filterExpr;
    /**
     * Instance variable mapped to "label" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String labelExpr;
    /**
     * Instance variable mapped to "name" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String nameExpr;
    /**
     * Instance variable mapped to "property" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String propertyExpr;
    /**
     * Instance variable mapped to "style" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String styleExpr;
    /**
     * Instance variable mapped to "styleClass" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String styleClassExpr;
    /**
     * Instance variable mapped to "value" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    private String valueExpr;

    /**
     * Getter method for "filter" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getFilterExpr() { return (filterExpr); }
    /**
     * Getter method for "label" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getLabelExpr() { return (labelExpr); }
    /**
     * Getter method for "name" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getNameExpr() { return (nameExpr); }
    /**
     * Getter method for "property" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getPropertyExpr() { return (propertyExpr); }
    /**
     * Getter method for "style" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getStyleExpr() { return (styleExpr); }
    /**
     * Getter method for "styleClass" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getStyleClassExpr() { return (styleClassExpr); }
    /**
     * Getter method for "value" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public String getValueExpr() { return (valueExpr); }

    /**
     * Setter method for "filter" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setFilterExpr(String filterExpr) { this.filterExpr = filterExpr; }
    /**
     * Setter method for "label" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setLabelExpr(String labelExpr) { this.labelExpr = labelExpr; }
    /**
     * Setter method for "name" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setNameExpr(String nameExpr) { this.nameExpr = nameExpr; }
    /**
     * Setter method for "property" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setPropertyExpr(String propertyExpr) { this.propertyExpr = propertyExpr; }
    /**
     * Setter method for "style" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setStyleExpr(String styleExpr) { this.styleExpr = styleExpr; }
    /**
     * Setter method for "styleClass" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setStyleClassExpr(String styleClassExpr) { this.styleClassExpr = styleClassExpr; }
    /**
     * Setter method for "value" tag attribute.
     * (Mapping set in associated BeanInfo class.)
     */
    public void setValueExpr(String valueExpr) { this.valueExpr = valueExpr; }

    /**
     * Resets attribute values for tag reuse.
     */
    public void release()
    {
        super.release();
        setFilterExpr(null);
        setLabelExpr(null);
        setNameExpr(null);
        setPropertyExpr(null);
        setStyleExpr(null);
        setStyleClassExpr(null);
        setValueExpr(null);
    }

    /**
     * Process the start tag.
     *
     * @exception JspException if a JSP exception has occurred
     */
    public int doStartTag() throws JspException {
        evaluateExpressions();
        return (super.doStartTag());
    }
    
    /**
     * Processes all attribute values which use the JSTL expression evaluation
     * engine to determine their values.
     *
     * @exception JspException if a JSP exception has occurred
     */
    private void evaluateExpressions() throws JspException {
        String  string  = null;
        Boolean bool    = null;

        if ((bool = EvalHelper.evalBoolean("filter", getFilterExpr(),
                                           this, pageContext)) != null)
            setFilter(bool.booleanValue());

        if ((string = EvalHelper.evalString("label", getLabelExpr(),
                                            this, pageContext)) != null)
            setLabel(string);

        if ((string = EvalHelper.evalString("name", getNameExpr(),
                                            this, pageContext)) != null)
            setName(string);

        if ((string = EvalHelper.evalString("property", getPropertyExpr(),
                                            this, pageContext)) != null)
            setProperty(string);

        if ((string = EvalHelper.evalString("style", getStyleExpr(),
                                            this, pageContext)) != null)
            setStyle(string);

        if ((string = EvalHelper.evalString("styleClass", getStyleClassExpr(),
                                            this, pageContext)) != null)
            setStyleClass(string);

        // Note that in contrast to other elements which have "style" and
        // "styleClass" attributes, this tag does not have a "styleId"
        // attribute.  This is because this produces the "id" attribute, which
        // has to be unique document-wide, but this tag can generate more than
        // one "option" element.  Thus, the base tag, "OptionsCollectionTag"
        // does not support this attribute.

        if ((string = EvalHelper.evalString("value", getValueExpr(),
                                            this, pageContext)) != null)
            setValue(string);
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩另类一区| 国产片一区二区| 亚洲国产精品久久艾草纯爱| 99免费精品在线| 中日韩免费视频中文字幕| 国产麻豆一精品一av一免费| 欧美大肚乱孕交hd孕妇| 青草国产精品久久久久久| 欧美高清性hdvideosex| 视频一区视频二区中文| 欧美日韩久久不卡| 亚洲高清一区二区三区| 欧美日韩亚洲高清一区二区| 亚洲一线二线三线视频| 在线观看不卡一区| 亚洲综合免费观看高清完整版在线| 91色综合久久久久婷婷| 一区二区三区在线观看视频| 91农村精品一区二区在线| 亚洲视频一二三| 色呦呦国产精品| 亚洲一区二区五区| 欧美日韩一区精品| 日韩专区中文字幕一区二区| 日韩丝袜情趣美女图片| 九色|91porny| 欧美变态tickle挠乳网站| 久久99久久久欧美国产| 精品va天堂亚洲国产| 国产精品自在欧美一区| 国产精品免费免费| 91玉足脚交白嫩脚丫在线播放| 亚洲人成网站色在线观看| 色av成人天堂桃色av| 亚洲国产精品一区二区www| 欧美一区二区日韩| 国内精品国产三级国产a久久| 久久免费国产精品| 99久久精品免费观看| 亚洲午夜私人影院| 日韩美女视频在线| 国产精品乡下勾搭老头1| 中文字幕一区视频| 欧美天天综合网| 日本美女视频一区二区| 国产亚洲精品aa午夜观看| 99久久99久久免费精品蜜臀| 亚洲一区二区三区中文字幕在线| 91麻豆精品国产自产在线| 九九视频精品免费| 一区在线观看免费| 欧美日韩一区三区四区| 九九九精品视频| 国产精品久久综合| 欧美日韩综合不卡| 狠狠狠色丁香婷婷综合激情| 国产精品久久久久影视| 欧美在线观看视频在线| 另类小说图片综合网| 中文字幕va一区二区三区| 色94色欧美sute亚洲线路二 | 亚洲少妇30p| 欧美日精品一区视频| 国产在线播放一区| 亚洲男女毛片无遮挡| 日韩欧美国产午夜精品| 不卡av免费在线观看| 午夜精品福利在线| 国产日韩亚洲欧美综合| 欧美日韩成人一区二区| 国产乱码精品一区二区三区av | 26uuu国产在线精品一区二区| 成人动漫视频在线| 五月激情综合色| 中文字幕av免费专区久久| 欧美日韩一级黄| 成人综合婷婷国产精品久久蜜臀| 亚洲va欧美va天堂v国产综合| 国产日产亚洲精品系列| 欧美视频在线一区二区三区| 国产精品影视网| 亚洲成人一区二区在线观看| 久久久久久一二三区| 欧美日韩国产综合久久| 国产成人精品午夜视频免费| 亚洲1区2区3区4区| 国产精品免费久久久久| 日韩视频一区二区| 欧美吻胸吃奶大尺度电影 | 成人aa视频在线观看| 日本欧美韩国一区三区| 亚洲色图欧美偷拍| 久久蜜臀精品av| 欧美一区二区三区免费观看视频| 色综合中文字幕国产 | 一区二区三区四区激情| 亚洲精品在线电影| 欧美精品18+| 欧美影院精品一区| 大胆欧美人体老妇| 极品少妇一区二区| 天堂成人国产精品一区| 亚洲欧美激情一区二区| 国产精品少妇自拍| wwwwww.欧美系列| 欧美精品日韩综合在线| 色女孩综合影院| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 日本不卡中文字幕| 亚洲在线观看免费视频| 亚洲欧美一区二区久久| 中文字幕av一区 二区| 久久女同精品一区二区| 日韩欧美精品在线视频| 欧美美女bb生活片| 欧美亚日韩国产aⅴ精品中极品| 99国产精品国产精品久久| 国产成人综合精品三级| 韩国三级电影一区二区| 美女视频一区在线观看| 青青草国产成人av片免费| 日韩激情视频在线观看| 亚洲国产视频一区二区| 亚洲欧美国产毛片在线| 亚洲天堂免费在线观看视频| 中文字幕一区二区三区乱码在线| 久久精品欧美日韩| 久久综合久久久久88| 日韩一二三区视频| 日韩精品自拍偷拍| 欧美成人精品1314www| 日韩欧美一卡二卡| 日韩欧美不卡一区| 日韩精品一区二区三区三区免费| 日韩欧美123| 精品捆绑美女sm三区| 日韩欧美电影一二三| 精品国产精品网麻豆系列| 欧美电视剧免费全集观看| 日韩免费视频线观看| 欧美不卡在线视频| 久久久精品人体av艺术| 久久久精品国产免大香伊| 欧美激情一区在线| 亚洲欧洲成人精品av97| 亚洲日本青草视频在线怡红院| 亚洲日韩欧美一区二区在线| 亚洲精品国产精品乱码不99| 樱桃国产成人精品视频| 一区二区三区久久| 亚洲va天堂va国产va久| 日韩电影在线免费观看| 韩国精品在线观看| 国产高清在线观看免费不卡| 成人国产精品免费| 一本一本大道香蕉久在线精品 | 亚洲色图欧洲色图婷婷| 亚洲一区二区三区四区在线 | 日韩美女精品在线| 樱花影视一区二区| 日韩中文字幕1| 国产在线视频精品一区| 国产精品综合二区| 不卡在线观看av| 在线观看亚洲a| 在线不卡一区二区| 欧美精品一区二区三区蜜臀| 国产精品乱人伦| 亚洲电影一区二区三区| 免费在线看成人av| 国产91精品精华液一区二区三区 | 精品国产不卡一区二区三区| 久久久久久久电影| 成人欧美一区二区三区黑人麻豆| 亚洲资源在线观看| 麻豆精品视频在线观看视频| 国产精品一卡二卡| 在线免费观看日韩欧美| 日韩欧美在线一区二区三区| 国产女主播视频一区二区| 亚洲欧美激情在线| 六月丁香综合在线视频| www.色精品| 在线不卡a资源高清| 国产日韩欧美不卡| 亚洲超丰满肉感bbw| 国内精品伊人久久久久av影院| 99久久er热在这里只有精品15| 在线91免费看| 中文字幕不卡在线播放| 亚洲成人先锋电影| 国产成人亚洲精品青草天美 | 99精品偷自拍| 日韩视频一区二区在线观看| 国产精品色一区二区三区| 天天综合色天天综合色h| 国产成人免费xxxxxxxx| 欧美精品高清视频| 中文字幕一区在线观看| 毛片一区二区三区|