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

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

?? spring.vm

?? spring api 源代碼
?? VM
字號:
#**
 * 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





?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品你懂的| 欧美一区二区三区性视频| 国产欧美视频一区二区三区| 国产精品久久久久影院| 美女在线一区二区| 欧美一级生活片| 激情偷乱视频一区二区三区| 久久蜜臀中文字幕| 日韩免费高清av| 韩国v欧美v亚洲v日本v| 久久综合色天天久久综合图片| 国产精品一区在线观看你懂的| 国产清纯美女被跳蛋高潮一区二区久久w| 成人在线综合网| 亚洲精品国久久99热| 91精品国产色综合久久ai换脸| 久久国产剧场电影| 欧美极品美女视频| 欧美日韩一区久久| 国产精品1024久久| 一区二区三区日本| 久久蜜桃av一区二区天堂| 色综合久久九月婷婷色综合| 日韩av电影免费观看高清完整版在线观看| 精品国产乱码久久久久久图片 | 欧美日韩国产一二三| 久久99精品久久久| 一区二区三区蜜桃| 2021中文字幕一区亚洲| 91碰在线视频| 国产麻豆视频一区二区| 亚洲资源中文字幕| 久久久久久久综合狠狠综合| 欧美日韩视频在线一区二区| 国产一区二区久久| 香蕉久久一区二区不卡无毒影院 | 国产片一区二区| 欧美日本视频在线| 99精品视频中文字幕| 久久电影国产免费久久电影 | 成人欧美一区二区三区白人| 91精品国产色综合久久不卡电影| 成年人网站91| 紧缚奴在线一区二区三区| 亚洲一二三专区| 综合婷婷亚洲小说| 久久精品人人爽人人爽| 日韩一级二级三级精品视频| 91小视频在线免费看| 欧美日韩色综合| 国产精品1区2区| 免费在线成人网| 亚洲国产日韩av| 亚洲色图欧美偷拍| 中文一区在线播放| 久久久久国产精品麻豆ai换脸| 欧美一卡二卡在线观看| 在线一区二区三区| 99视频超级精品| 国产黄色成人av| 国产一区二区精品在线观看| 久久精品国产成人一区二区三区| 亚洲一区二区美女| 一区二区三区四区不卡视频| 国产精品无圣光一区二区| 久久这里只有精品视频网| 精品精品欲导航| 7777精品伊人久久久大香线蕉完整版 | 视频一区二区不卡| 午夜成人免费电影| 亚洲国产日日夜夜| 一区二区三区在线看| 中文字幕一区二区三| ㊣最新国产の精品bt伙计久久| 欧美韩国日本综合| 欧美国产一区视频在线观看| 欧美www视频| 久久久九九九九| 国产三级一区二区| 国产精品高清亚洲| 亚洲码国产岛国毛片在线| 亚洲免费av高清| 亚洲电影一级片| 日韩精品色哟哟| 免费观看在线色综合| 九九精品一区二区| 国产成人精品影视| 99精品桃花视频在线观看| 91丨porny丨户外露出| 色婷婷综合久久久久中文一区二区| 91女神在线视频| 欧美美女网站色| 久久中文字幕电影| ...xxx性欧美| 午夜视黄欧洲亚洲| 久久成人18免费观看| 国产成人午夜精品5599| 色综合一区二区三区| 国产精品 欧美精品| 欧美日本在线播放| 91精品国产一区二区| 日韩一区二区三区在线观看| 欧美精品一区二区久久婷婷| 中文字幕不卡一区| 亚洲精品欧美激情| 麻豆精品国产传媒mv男同| 国模一区二区三区白浆| 99久久久无码国产精品| 欧美另类久久久品| 久久久三级国产网站| 伊人夜夜躁av伊人久久| 日本亚洲最大的色成网站www| 经典三级视频一区| 一本色道**综合亚洲精品蜜桃冫| 欧美一区二区三区在线电影| 中文字幕不卡的av| 婷婷六月综合亚洲| 成人看片黄a免费看在线| 欧美亚洲综合另类| 国产女主播视频一区二区| 亚洲五码中文字幕| 国产久卡久卡久卡久卡视频精品| 成人综合在线网站| 91麻豆精品国产自产在线| 中文字幕欧美三区| 日韩精品高清不卡| 91视频一区二区三区| 欧美一级淫片007| 亚洲人123区| 国模套图日韩精品一区二区| 91视频.com| 久久综合色8888| 午夜精品福利一区二区三区蜜桃| 懂色av噜噜一区二区三区av| 6080国产精品一区二区| 亚洲欧美aⅴ...| 国产成人一级电影| 日韩欧美一区二区不卡| 亚洲国产精品久久人人爱蜜臀 | 免费黄网站欧美| 一本大道久久a久久精品综合| 久久影音资源网| 日韩成人一级片| 在线观看国产精品网站| 国产精品久久久久影院色老大| 狠狠色丁香久久婷婷综合丁香| 欧美天天综合网| 亚洲老司机在线| 91在线观看美女| 国产精品久久久久桃色tv| 国产盗摄一区二区三区| 欧美大白屁股肥臀xxxxxx| 五月综合激情日本mⅴ| 欧美最猛黑人xxxxx猛交| 亚洲免费资源在线播放| hitomi一区二区三区精品| 久久久99精品免费观看| 捆绑变态av一区二区三区| 777午夜精品视频在线播放| 午夜精品福利视频网站| 欧美人伦禁忌dvd放荡欲情| 亚洲色图制服诱惑 | 成人三级在线视频| 国产亚洲一区二区在线观看| 国产一区二区三区免费播放 | 欧美狂野另类xxxxoooo| 亚洲最大的成人av| 91成人在线观看喷潮| 亚洲激情自拍偷拍| 欧美视频在线一区二区三区| 一区二区三区.www| 欧美无砖砖区免费| 午夜成人免费视频| 欧美成人精品福利| 亚洲人成网站在线| 美女爽到高潮91| 日韩限制级电影在线观看| 免费看日韩精品| 欧美刺激脚交jootjob| 免费看欧美美女黄的网站| 精品乱人伦小说| 成人免费高清视频| 亚洲图片你懂的| 欧美三级中文字幕| 日韩av高清在线观看| 久久综合国产精品| 99re在线视频这里只有精品| 亚洲精品第一国产综合野| 欧美猛男男办公室激情| 美女视频免费一区| 中文字幕乱码亚洲精品一区| 99精品视频一区二区| 午夜影院在线观看欧美| 久久综合色一综合色88| 99在线精品视频| 日韩av电影天堂| 国产精品久久久一本精品| 欧美另类一区二区三区| 国产高清一区日本| 亚洲一区二区3|