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

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

?? formcomponent.java

?? struts的源代碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
        ValueBinding vb = getValueBinding("styleClass");
        if (vb != null) {
            return (String) vb.getValue(getFacesContext());
        } else {
            return styleClass;
        }

    }


    /**
     * <p>Set the CSS style class(es) to be rendered for this component.</p>
     *
     * @param styleClass The new CSS style class(es)
     */
    public void setStyleClass(String styleClass) {

        this.styleClass = styleClass;

    }


    /**
     * <p>Return the target frame for the response to this form submit.</p>
     */
    public String getTarget() {

        ValueBinding vb = getValueBinding("target");
        if (vb != null) {
            return (String) vb.getValue(getFacesContext());
        } else {
            return target;
        }

    }


    /**
     * <p>Set the target frame for the response to this form submit.</p>
     *
     * @param target The new CSS target(s)
     */
    public void setTarget(String target) {

        this.target = target;

    }


    // ---------------------------------------------------------- UIForm Methods


    /**
     * <p>Create an instance of the form bean (if necessary) before
     * delegating to the standard decoding process.</p>
     *
     * @param context FacesContext for the request we are processing
     */
    public void processDecodes(FacesContext context) {

        if (context == null) {
            throw new NullPointerException();
        }

        if (log.isDebugEnabled()) {
            log.debug("processDecodes(" + getClientId(context) + ")");
        }

        // Create the form bean (if necessary)
        Map params = context.getExternalContext().getRequestParameterMap();
        if (params.containsKey(getClientId(context))) {
            createActionForm(context);
        }

        // Perform the standard decode processing
        super.processDecodes(context);

    }


    /**
     * <p>Restore our state from the specified object.</p>
     *
     * @param context <code>FacesContext</code> for the current request
     * @param state Object containing our saved state
     */
    public void restoreState(FacesContext context, Object state) {

        Object values[] = (Object[]) state;
        super.restoreState(context, values[0]);
        action = (String) values[1];
	enctype = (String) values[2];
	focus = (String) values[3];
	focusIndex = (String) values[4];
	onreset = (String) values[5];
	onsubmit = (String) values[6];
	style = (String) values[7];
	styleClass = (String) values[8];
	target = (String) values[9];

    }


    /**
     * <p>Create and return an object representing our state to be saved.</p>
     *
     * @param context <code>FacesContext</code> for the current request
     */
    public Object saveState(FacesContext context) {

        Object values[] = new Object[10];
        values[0] = super.saveState(context);
        values[1] = action;
	values[2] = enctype;
	values[3] = focus;
	values[4] = focusIndex;
	values[5] = onreset;
	values[6] = onsubmit;
	values[7] = style;
	values[8] = styleClass;
	values[9] = target;
        return (values);

    }



    // ---------------------------------------------------------- Public Methods


    /**
     * <p>Create an appropriate form bean in the appropriate scope, if one
     * does not already exist.</p>
     *
     * @param context FacesContext for the current request
     *
     * @exception IllegalArgumentException if no ActionConfig for the
     *  specified action attribute can be located
     * @exception IllegalArgumentException if no FormBeanConfig for the
     *  specified form bean can be located
     * @exception IllegalArgumentException if no ModuleConfig can be
     *  located for this application module
     */
    public void createActionForm(FacesContext context) {

        // Look up the application module configuration information we need
        ModuleConfig moduleConfig = lookupModuleConfig(context);

        // Look up the ActionConfig we are processing
        String action = getAction();
        ActionConfig actionConfig = moduleConfig.findActionConfig(action);
        if (actionConfig == null) {
            throw new IllegalArgumentException("Cannot find action '" +
                                               action + "' configuration");
        }

        // Does this ActionConfig specify a form bean?
        String name = actionConfig.getName();
        if (name == null) {
            return;
        }

        // Look up the FormBeanConfig we are processing
        FormBeanConfig fbConfig = moduleConfig.findFormBeanConfig(name);
        if (fbConfig == null) {
            throw new IllegalArgumentException("Cannot find form bean '" +
                                               name + "' configuration");
        }

        // Does a usable form bean attribute already exist?
        String attribute = actionConfig.getAttribute();
        String scope = actionConfig.getScope();
        ActionForm instance = null;
        if ("request".equals(scope)) {
            instance = (ActionForm)
                context.getExternalContext().getRequestMap().get(attribute);
        } else if ("session".equals(scope)) {
            HttpSession session = (HttpSession)
                context.getExternalContext().getSession(true);
            instance = (ActionForm)
                context.getExternalContext().getSessionMap().get(attribute);
        }
        if (instance != null) {
            if (fbConfig.getDynamic()) {
                String className =
                    ((DynaBean) instance).getDynaClass().getName();
                if (className.equals(fbConfig.getName())) {
                    if (log.isDebugEnabled()) {
                        log.debug
                            (" Recycling existing DynaActionForm instance " +
                             "of type '" + className + "'");
                    }
                    return;
                }
            } else {
                try {
                    Class configClass =
                        RequestUtils.applicationClass(fbConfig.getType());
                    if (configClass.isAssignableFrom(instance.getClass())) {
                        if (log.isDebugEnabled()) {
                            log.debug
                                (" Recycling existing ActionForm instance " +
                                 "of class '" + instance.getClass().getName()
                                 + "'");
                        }
                        return;
                    }
                } catch (Throwable t) {
                    throw new IllegalArgumentException
                        ("Cannot load form bean class '" +
                         fbConfig.getType() + "'");
                }
            }
        }

        // Create a new form bean instance
        if (fbConfig.getDynamic()) {
            try {
                DynaActionFormClass dynaClass =
                    DynaActionFormClass.createDynaActionFormClass(fbConfig);
                instance = (ActionForm) dynaClass.newInstance();
                if (log.isDebugEnabled()) {
                    log.debug
                        (" Creating new DynaActionForm instance " +
                         "of type '" + fbConfig.getType() + "'");
                    log.trace(" --> " + instance);
                }
            } catch (Throwable t) {
                throw new IllegalArgumentException
                    ("Cannot create form bean of type '" +
                     fbConfig.getType() + "'");
            }
        } else {
            try {
                instance = (ActionForm)
                    RequestUtils.applicationInstance(fbConfig.getType());
                if (log.isDebugEnabled()) {
                    log.debug
                        (" Creating new ActionForm instance " +
                         "of type '" + fbConfig.getType() + "'");
                    log.trace(" --> " + instance);
                }
            } catch (Throwable t) {
                throw new IllegalArgumentException
                    ("Cannot create form bean of class '" +
                     fbConfig.getType() + "'");
            }
        }

        // Configure and cache the form bean instance in the correct scope
        ActionServlet servlet = (ActionServlet)
            context.getExternalContext().getApplicationMap().get
            (Globals.ACTION_SERVLET_KEY);
        instance.setServlet(servlet);
        if ("request".equals(scope)) {
            context.getExternalContext().getRequestMap().put
                (attribute, instance);
        } else if ("session".equals(scope)) {
            context.getExternalContext().getSessionMap().put
                (attribute, instance);
        }

    }


    /**
     * <p>Return the <code>ModuleConfig</code> for the application module
     * this form is being processed for.</p>
     *
     * @param context The <code>FacesContext</code> for the current request
     *
     * @exception IllegalArgumentException if no <code>ModuleConfig</code>
     *  can be found
     */
    public ModuleConfig lookupModuleConfig(FacesContext context) {

        // Look up the application module configuration information we need
        ModuleConfig modConfig = (ModuleConfig)
            context.getExternalContext().getRequestMap().get
            (Globals.MODULE_KEY);
        if (modConfig == null) {
            modConfig = (ModuleConfig)
                context.getExternalContext().getApplicationMap().get
                (Globals.MODULE_KEY);
        }
        if (modConfig == null) {
            throw new IllegalArgumentException
                ("Cannot find module configuration");
        }
        return (modConfig);

    }


}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
caoporen国产精品视频| 国产性色一区二区| 午夜久久久久久电影| 欧美日韩国产首页在线观看| 日韩制服丝袜av| 精品免费视频.| 国产aⅴ综合色| 日韩毛片视频在线看| 91网上在线视频| 亚洲a一区二区| 精品国产青草久久久久福利| 国产激情一区二区三区| 最近中文字幕一区二区三区| 欧美性感一类影片在线播放| 蜜臂av日日欢夜夜爽一区| 2021中文字幕一区亚洲| 99精品视频在线免费观看| 亚洲国产日日夜夜| 精品剧情v国产在线观看在线| 成人午夜在线播放| 99国产精品国产精品毛片| 亚洲影视在线播放| 日韩美女在线视频| fc2成人免费人成在线观看播放 | 中文字幕欧美国产| 91亚洲精品久久久蜜桃网站| 日韩专区在线视频| 国产精品美日韩| 欧美猛男gaygay网站| 国产不卡在线播放| 日韩va亚洲va欧美va久久| 国产片一区二区三区| 在线视频一区二区三| 国产一区二区福利| 香港成人在线视频| 日韩国产欧美在线播放| 91精品国产综合久久精品app| 亚洲成av人片一区二区| 欧美日韩另类一区| 日韩国产欧美视频| 欧美一级日韩一级| 美腿丝袜在线亚洲一区| 欧美精品一区二区三区高清aⅴ | 成人污视频在线观看| 亚洲午夜成aⅴ人片| 欧美国产精品劲爆| 日韩欧美国产一区在线观看| 色偷偷成人一区二区三区91| 国产一区二区91| 首页国产欧美日韩丝袜| 一区二区三区在线视频免费观看| 91精品国产欧美日韩| 色欧美片视频在线观看| 东方aⅴ免费观看久久av| 青青草精品视频| 亚洲国产成人91porn| 国产精品高潮呻吟| 国产三级欧美三级| 欧美电影免费提供在线观看| 欧美久久婷婷综合色| jvid福利写真一区二区三区| 国产精品99久久久久久久女警| 日韩经典一区二区| 亚洲在线观看免费| 亚洲一区影音先锋| 亚洲男同1069视频| 日韩毛片视频在线看| 亚洲欧美在线视频| 欧美高清在线一区| 欧美激情综合五月色丁香| 精品精品欲导航| 欧美一区二区福利视频| 欧美日韩免费观看一区三区| 欧美主播一区二区三区美女| 91香蕉视频黄| 91色婷婷久久久久合中文| 国产91对白在线观看九色| 国产一区二区三区观看| 国产精品影视在线观看| 激情另类小说区图片区视频区| 青青草精品视频| 久久精品国产免费看久久精品| 秋霞影院一区二区| 久久福利视频一区二区| 久久疯狂做爰流白浆xx| 国产一区91精品张津瑜| 国产成人午夜视频| 粉嫩av一区二区三区粉嫩| 国产高清精品久久久久| 成人少妇影院yyyy| 91亚洲国产成人精品一区二区三| 91同城在线观看| 欧美艳星brazzers| 国产一区二区日韩精品| 成人免费小视频| 日本一区二区三区dvd视频在线| 欧美日韩一区二区三区四区五区| 国产69精品久久99不卡| 麻豆一区二区99久久久久| 一区二区三区蜜桃网| 欧美激情一区二区三区全黄| 精品蜜桃在线看| 7777精品伊人久久久大香线蕉经典版下载 | 一区二区三区在线观看动漫| 视频一区二区三区在线| 国内精品国产三级国产a久久 | eeuss鲁一区二区三区| 色哟哟一区二区三区| 欧美美女bb生活片| 精品国偷自产国产一区| 国产精品色在线观看| 亚洲一区二区三区影院| 久久精工是国产品牌吗| www.亚洲精品| 欧美精品18+| 国产精品麻豆久久久| 亚洲午夜久久久| 九九**精品视频免费播放| gogogo免费视频观看亚洲一| 91麻豆精品国产91久久久久久| 国产欧美日韩综合| 五月综合激情日本mⅴ| 国产一区不卡精品| 欧美日韩免费电影| 欧美国产日本韩| 蜜臀久久99精品久久久久久9| 成人黄色a**站在线观看| 777奇米成人网| 国产精品灌醉下药二区| 麻豆国产欧美一区二区三区| 一本色道久久加勒比精品| 日韩精品中文字幕在线不卡尤物| 国产精品久久影院| 久久不见久久见免费视频1| 91亚洲男人天堂| 久久婷婷色综合| 午夜激情一区二区三区| 91网站在线观看视频| 久久影院午夜论| 免费高清不卡av| 欧美午夜精品久久久久久超碰 | 国产suv精品一区二区6| 欧美一级高清片| 亚洲在线视频网站| 91丨九色丨蝌蚪丨老版| 26uuu久久综合| 日韩电影免费在线| 欧美三级在线视频| 亚洲欧美日本在线| 成人动漫在线一区| 久久香蕉国产线看观看99| 五月天一区二区三区| 在线看国产日韩| 中文字幕一区不卡| 成人综合在线网站| 久久久久国产精品免费免费搜索| 日韩av成人高清| 精品视频在线免费观看| 亚洲综合在线电影| 91在线丨porny丨国产| 国产精品免费视频网站| 国产精品亚洲专一区二区三区| 日韩欧美一区在线观看| 日韩国产欧美一区二区三区| 国产精品白丝av| 欧美色精品在线视频| 精品福利视频一区二区三区| 亚洲日本中文字幕区| 蜜臀a∨国产成人精品| 一本到三区不卡视频| 精品处破学生在线二十三| 亚洲综合一区在线| 国产91在线观看| 3d动漫精品啪啪1区2区免费| 亚洲天堂2014| 国产成人免费视频网站高清观看视频 | 亚洲制服欧美中文字幕中文字幕| 国产99久久久国产精品潘金网站| 久久久亚洲精品一区二区三区| 国产麻豆成人传媒免费观看| 久久久99精品免费观看| 国产白丝网站精品污在线入口| 中文字幕不卡三区| 91麻豆6部合集magnet| 亚洲自拍偷拍欧美| 欧美日韩一区精品| 日韩精品久久理论片| 日韩一级精品视频在线观看| 久久成人麻豆午夜电影| 亚洲国产成人一区二区三区| 91丝袜呻吟高潮美腿白嫩在线观看| 一区二区三区国产精华| 91精品国产乱码| 国产一区二区三区免费播放 | 亚洲精品成a人| 欧美精品高清视频| 国产精品123区| 自拍偷拍亚洲欧美日韩| 欧美揉bbbbb揉bbbbb| 韩国视频一区二区|