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

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

?? spring.vm

?? spring framework 2.5.4源代碼
?? VM
字號(hào):
#**
 * spring.vm
 *
 * This file consists of a collection of Velocity macros aimed at easing
 * some of the common requirements of web applications - in particular
 * handling of forms.
 *
 * Spring's Velocity support will automatically make this file and therefore
 * all macros within it available to any application using Spring's
 * VelocityConfigurer.
 *
 * To take advantage of these macros, the "exposeSpringMacroHelpers" property
 * of the VelocityView class needs to be set to "true". This will expose a
 * RequestContext under the name "springMacroRequestContext", as needed by
 * the macros in this library.
 *
 * @author Darren Davison
 * @author Juergen Hoeller
 * @since 1.1
 *#

#**
 * springMessage
 *
 * Macro to translate a message code into a message.
 *#
#macro( springMessage $code )$springMacroRequestContext.getMessage($code)#end

#**
 * springMessageText
 *
 * Macro to translate a message code into a message,
 * using the given default text if no message found.
 *#
#macro( springMessageText $code $text )$springMacroRequestContext.getMessage($code, $text)#end

#**
 * springTheme
 *
 * Macro to translate a theme message code into a string.
 *#
#macro( springTheme $code )$springMacroRequestContext.getThemeMessage($code)#end

#**
 * springThemeText
 *
 * Macro to translate a theme message code into a string,
 * using the given default text if no message found.
 *#
#macro( springThemeText $code $text )$springMacroRequestContext.getThemeMessage($code, $text)#end

#**
 * springUrl
 *
 * Takes a relative URL and makes it absolute from the server root by
 * adding the context root for the web application.
 *#
#macro( springUrl $relativeUrl )$springMacroRequestContext.getContextPath()${relativeUrl}#end

#**
 * springBind
 *
 * Exposes a BindStatus object for the given bind path, which can be
 * a bean (e.g. "person") to get global errors, or a bean property
 * (e.g. "person.name") to get field errors. Can be called multiple times
 * within a form to bind to multiple command objects and/or field names.
 *
 * This macro will participate in the default HTML escape setting for the given
 * RequestContext. This can be customized by calling "setDefaultHtmlEscape"
 * on the "springMacroRequestContext" context variable, or via the
 * "defaultHtmlEscape" context-param in web.xml (same as for the JSP bind tag).
 * Also regards a "springHtmlEscape" variable in the template context.
 *
 * Producing no output, the following context variable will be available
 * each time this macro is referenced:
 *
 *   $status : a BindStatus instance holding the command object name,
 *   expression, value, and error codes and messages for the path supplied
 *
 * @param $path : the path (string value) of the value required to bind to.
 *   Spring defaults to a command name of "command" but this can be overridden
 *   by user config.
 *#
#macro( springBind $path )
    #if("$!springHtmlEscape" != "")
        #set( $status = $springMacroRequestContext.getBindStatus($path, $springHtmlEscape) )
    #else
        #set( $status = $springMacroRequestContext.getBindStatus($path) )
    #end
#end

#**
 * springBindEscaped
 *
 * Similar to springBind, but takes an explicit HTML escape flag rather
 * than relying on the default HTML escape setting.
 *#
#macro( springBindEscaped $path $htmlEscape )
    #set( $status = $springMacroRequestContext.getBindStatus($path, $htmlEscape) )
#end

#**
 * springFormInput
 *
 * Display a form input field of type 'text' and bind it to an attribute
 * of a command or bean.
 *
 * @param path the name of the field to bind to
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
 *
 *#
#macro( springFormInput $path $attributes )
    #springBind($path)
    <input type="text" id="${status.expression}" name="${status.expression}" value="$!status.value" ${attributes}#springCloseTag()
#end

#**
 * springFormPasswordInput
 *
 * Display a form input field of type 'password' and bind it to an attribute
 * of a command or bean.  No value will ever be specified for this field regardless
 * of whether one exists or not.  For hopefully obvious reasons!
 *
 * @param path the name of the field to bind to
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
 *
 *#
#macro( springFormPasswordInput $path $attributes )
    #springBind($path)
    <input type="password" id="${status.expression}" name="${status.expression}" value="" ${attributes}#springCloseTag()
#end

#**
 * springFormHiddenInput
 *
 * Generate a form input field of type 'hidden' and bind it to an attribute
 * of a command or bean.
 *
 * @param path the name of the field to bind to
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
 *
 *#
#macro( springFormHiddenInput $path $attributes )
    #springBind($path)
    <input type="hidden" id="${status.expression}" name="${status.expression}" value="$!status.value" ${attributes}#springCloseTag()
#end

#**
 * formTextArea
 *
 * display a text area and bind it to an attribute
 * of a command or bean
 *
 * @param path the name of the field to bind to
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
 *
 *#
#macro( springFormTextarea $path $attributes )
    #springBind($path)
    <textarea id="${status.expression}" name="${status.expression}" ${attributes}>$!status.value</textarea>
#end

#**
 * springFormSingleSelect
 *
 * Show a selectbox (dropdown) input element allowing a single value to be chosen
 * from a list of options.
 *
 * The null check for $status.value leverages Velocity's 'quiet' notation rather
 * than the more common #if($status.value) since this method evaluates to the
 * boolean 'false' if the content of $status.value is the String "false" - not
 * what we want.
 *
 * @param path the name of the field to bind to
 * @param options a map (value=label) of all the available options
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
*#
#macro( springFormSingleSelect $path $options $attributes )
    #springBind($path)
    <select id="${status.expression}" name="${status.expression}" ${attributes}>
        #foreach($option in $options.keySet())
            <option value="${option}"
            #if("$!status.value" == "$option")
                selected="selected"
            #end>
            ${options.get($option)}</option>
        #end
    </select>
#end

#**
 * springFormMultiSelect
 *
 * Show a listbox of options allowing the user to make 0 or more choices from
 * the list of options.
 *
 * @param path the name of the field to bind to
 * @param options a map (value=label) of all the available options
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
*#
#macro( springFormMultiSelect $path $options $attributes )
    #springBind($path)
    <select multiple="multiple" id="${status.expression}" name="${status.expression}" ${attributes}>
        #foreach($option in $options.keySet())
            <option value="${option}"
            #foreach($item in $status.value)
                #if($item == $option)
                    selected="selected"
                #end
            #end
            >${options.get($option)}</option>
        #end
    </select>
#end

#**
 * springFormRadioButtons
 *
 * Show radio buttons.
 *
 * @param path the name of the field to bind to
 * @param options a map (value=label) of all the available options
 * @param separator the html tag or other character list that should be used to
 *    separate each option.  Typically '&nbsp;' or '<br>'
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
*#
#macro( springFormRadioButtons $path $options $separator $attributes )
    #springBind($path)
    #foreach($option in $options.keySet())
        <input type="radio" name="${status.expression}" value="${option}"
        #if("$!status.value" == "$option")
            checked="checked"
        #end
        ${attributes}
        #springCloseTag()
        ${options.get($option)} ${separator}
    #end
#end

#**
 * springFormCheckboxes
 *
 * Show checkboxes.
 *
 * @param path the name of the field to bind to
 * @param options a map (value=label) of all the available options
 * @param separator the html tag or other character list that should be used to
 *    separate each option.  Typically '&nbsp;' or '<br>'
 * @param attributes any additional attributes for the element (such as class
 *    or CSS styles or size
*#
#macro( springFormCheckboxes $path $options $separator $attributes )
    #springBind($path)
    #foreach($option in $options.keySet())
        <input type="checkbox" name="${status.expression}" value="${option}" 
        #foreach($item in $status.value) 
            #if($item == $option) checked="checked" #end 
        #end
        ${attributes} #springCloseTag()
        ${options.get($option)} ${separator}
    #end
    <input type="hidden" name="_${status.expression}" value="on"/>
#end

#**
 * springShowErrors
 *
 * Show validation errors for the currently bound field, with
 * optional style attributes.
 *
 * @param separator the html tag or other character list that should be used to
 *    separate each option. Typically '<br>'.
 * @param classOrStyle either the name of a CSS class element (which is defined in
 *    the template or an external CSS file) or an inline style.  If the value passed in here
 *    contains a colon (:) then a 'style=' attribute will be used, else a 'class=' attribute
 *    will be used.
*#
#macro( springShowErrors $separator $classOrStyle )
    #foreach($error in $status.errorMessages)
        #if($classOrStyle == "")
            <b>${error}</b>
        #else
            #if($classOrStyle.indexOf(":") == -1)
                #set($attr="class")
            #else
                #set($attr="style")
            #end
            <span ${attr}="${classOrStyle}">${error}</span>
        #end
        ${separator}
    #end
#end

#**
 * springCloseTag
 *
 * Simple macro to close an HTML tag that has no body with '>' or '/>',
 * depending on the value of a 'springXhtmlCompliant' variable in the
 * template context.
 *#
#macro( springCloseTag )#if($springXhtmlCompliant)/>#else>#end #end





?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产永久精品大片wwwapp| 国产福利91精品一区| 99久久国产免费看| 中文字幕一区二区三区在线观看| 国产一区中文字幕| www激情久久| 久久成人麻豆午夜电影| 精品久久久三级丝袜| 久久国产精品99精品国产| 91精品国产综合久久久久久久久久| 欧美性videosxxxxx| 97se亚洲国产综合自在线不卡| 国产精品乱人伦| 国产精品一区二区三区乱码| 久久九九久久九九| 国产久卡久卡久卡久卡视频精品| 精品日韩一区二区三区| 国产专区综合网| 久久这里只有精品6| 国产中文一区二区三区| 国产欧美日韩三区| 北条麻妃一区二区三区| 一区二区三区四区在线| 欧美疯狂性受xxxxx喷水图片| 美女精品自拍一二三四| 91精品一区二区三区久久久久久 | 成人免费视频国产在线观看| 久久久五月婷婷| 国内精品国产成人国产三级粉色 | 日韩不卡手机在线v区| 91精品国产色综合久久不卡电影| 国模冰冰炮一区二区| 久久综合久久鬼色| 精品一区二区三区久久| 中文一区在线播放| 欧美日韩亚洲另类| 国产一区二区三区四区五区入口| 亚洲国产精品国自产拍av| 91日韩在线专区| 美洲天堂一区二卡三卡四卡视频| 国产精品动漫网站| 在线观看91精品国产麻豆| 六月丁香综合在线视频| 国产嫩草影院久久久久| 欧美日韩在线观看一区二区 | 日日噜噜夜夜狠狠视频欧美人| 精品欧美一区二区久久| 亚洲成av人片观看| 久久久久久久久久久黄色| 色婷婷激情一区二区三区| 亚洲伦理在线免费看| 精品国产免费一区二区三区四区 | 日韩视频免费观看高清完整版| 国产a久久麻豆| 蜜桃视频免费观看一区| 亚洲欧美自拍偷拍| 久久久久久久久久久久久女国产乱| 国产精品一区二区果冻传媒| 三级不卡在线观看| 国产精品福利一区二区| 日韩一级片在线播放| 91片在线免费观看| 99久久久无码国产精品| 成人av网址在线观看| 国产麻豆成人精品| 精品系列免费在线观看| 美女视频一区二区三区| 奇米精品一区二区三区四区| 一区二区三区波多野结衣在线观看| 国产精品素人视频| 久久久久久久网| 欧美一卡2卡3卡4卡| 日韩午夜av电影| 91精品国产品国语在线不卡| 在线观看国产日韩| 欧美视频你懂的| 欧美午夜精品久久久久久孕妇| 欧洲激情一区二区| 欧美熟乱第一页| 欧美精品第1页| 欧美区在线观看| 欧美性大战久久久久久久| 色先锋资源久久综合| 在线亚洲一区观看| 欧美日韩亚洲丝袜制服| 91精品国产高清一区二区三区蜜臀 | 亚洲视频中文字幕| caoporn国产精品| 在线视频综合导航| 一本大道av一区二区在线播放| 成人精品鲁一区一区二区| 成人伦理片在线| 色婷婷狠狠综合| 欧美日韩激情一区二区| 日韩一级成人av| www一区二区| 国产精品美女一区二区在线观看| 国产在线精品免费av| 久久成人综合网| 成人av在线观| 91社区在线播放| 91福利在线播放| 91麻豆精品国产91久久久| 日韩精品中文字幕一区二区三区| 久久久一区二区| 久久精品人人爽人人爽| 亚洲色图19p| 美国十次了思思久久精品导航| 国产精品一区二区你懂的| 91色.com| 久久日一线二线三线suv| 精品电影一区二区三区| 国产精品天天看| 亚洲成人精品影院| 国产精品一卡二卡| 欧美视频日韩视频在线观看| 久久亚洲免费视频| 亚洲精品国产无天堂网2021| 麻豆精品一区二区综合av| 99精品欧美一区二区蜜桃免费 | 国产精品一级片在线观看| 97精品国产露脸对白| 日韩欧美色电影| 亚洲三级免费观看| 激情深爱一区二区| 91福利在线导航| 亚洲国产精品激情在线观看| 亚洲一区二区三区美女| 国内精品伊人久久久久av影院| 91豆麻精品91久久久久久| 国产亚洲综合av| 婷婷中文字幕一区三区| 91香蕉国产在线观看软件| 久久久久久久久99精品| 日韩精品五月天| 日韩精品一区二区三区四区 | 日本不卡一区二区三区| 不卡影院免费观看| 精品日产卡一卡二卡麻豆| 亚洲高清不卡在线观看| 不卡在线视频中文字幕| 久久久综合精品| 男人的天堂久久精品| 欧美三级视频在线观看| 成人免费在线播放视频| 国产99久久久国产精品潘金| 欧美曰成人黄网| 中文字幕不卡的av| 老色鬼精品视频在线观看播放| 欧美三电影在线| 有坂深雪av一区二区精品| 成人福利电影精品一区二区在线观看| 日韩一区二区三| 日本视频一区二区| 欧美日韩国产美女| 亚洲一区二区中文在线| 色系网站成人免费| 亚洲日本电影在线| 国产高清亚洲一区| 欧美一激情一区二区三区| 亚洲一区二区三区爽爽爽爽爽| 一本久道中文字幕精品亚洲嫩| 中文字幕不卡三区| 成人ar影院免费观看视频| 国产精品乱码人人做人人爱| 国产露脸91国语对白| 精品国产91九色蝌蚪| 国产美女在线精品| 久久久久久久综合日本| 国产精品77777竹菊影视小说| 久久久.com| 成人高清视频免费观看| 亚洲欧洲成人精品av97| 91小视频在线免费看| 一区二区视频免费在线观看| 97久久精品人人爽人人爽蜜臀 | 亚洲第一av色| 欧美日韩一区二区在线视频| 亚洲高清中文字幕| 欧美裸体一区二区三区| 日韩和欧美一区二区三区| 日韩你懂的电影在线观看| 国产在线观看一区二区| 国产日韩欧美a| 色综合中文字幕国产| 中国色在线观看另类| 91麻豆swag| 日韩成人dvd| 久久一区二区视频| 成人午夜av电影| 久久99精品久久久久| 国产精品911| 夜夜亚洲天天久久| 日韩精品中文字幕在线一区| 成人午夜电影网站| 视频一区欧美日韩| 国产欧美一区二区三区在线看蜜臀 | 欧美理论在线播放| 国产真实精品久久二三区| 中文字幕五月欧美|