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

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

?? spring.ftl

?? java中如何對Spring技術(shù)使用的示范代碼!代碼詳細。
?? FTL
字號:
<#-- * spring.ftl * * This file consists of a collection of FreeMarker macros aimed at easing * some of the common requirements of web applications - in particular * handling of forms. * * Spring's FreeMarker support will automatically make this file and therefore * all macros within it available to any application using Spring's * FreeMarkerConfigurer. * * To take advantage of these macros, the "exposeSpringMacroHelpers" property * of the FreeMarker 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 --><#-- * message * * Macro to translate a message code into a message. --><#macro message code>${springMacroRequestContext.getMessage(code)}</#macro><#-- * messageText * * Macro to translate a message code into a message, * using the given default text if no message found. --><#macro messageText code, text>${springMacroRequestContext.getMessage(code, text)}</#macro><#-- * url * * Takes a relative URL and makes it absolute from the server root by * adding the context root for the web application. --><#macro url relativeUrl>${springMacroRequestContext.getContextPath()}${relativeUrl}</#macro><#-- * bind * * 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 "htmlEscape" variable in the namespace of this library. * * Producing no output, the following context variable will be available * each time this macro is referenced (assuming you import this library in * your templates with the namespace 'spring'): * *   spring.status : a BindStatus instance holding the command object name, *   expression, value, and error messages and codes 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 bind path>    <#if htmlEscape?exists>        <#assign status = springMacroRequestContext.getBindStatus(path, htmlEscape)>    <#else>        <#assign status = springMacroRequestContext.getBindStatus(path)>    </#if>    <#-- assign a temporary value, forcing a string representation for any    kind of variable.  This temp value is only used in this macro lib -->    <#if status.value?exists && status.value?is_boolean>        <#assign stringStatusValue=status.value?string>    <#else>        <#assign stringStatusValue=status.value?default("")>    </#if></#macro><#-- * bindEscaped * * Similar to spring:bind, but takes an explicit HTML escape flag rather * than relying on the default HTML escape setting. --><#macro bindEscaped path, htmlEscape>    <#assign status = springMacroRequestContext.getBindStatus(path, htmlEscape)>    <#-- assign a temporary value, forcing a string representation for any    kind of variable.  This temp value is only used in this macro lib -->    <#if status.value?exists && status.value?is_boolean>        <#assign stringStatusValue=status.value?string>    <#else>        <#assign stringStatusValue=status.value?default("")>    </#if></#macro><#-- * formInput * * 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 formInput path attributes="" fieldType="text" >    <@bind path/>    <input type="${fieldType}" id="${status.expression}" name="${status.expression}" value="<#if fieldType!="password">${stringStatusValue}</#if>" ${attributes}    <@closeTag/></#macro><#-- * formPasswordInput * * Display a form input field of type 'password' and bind it to an attribute * of a command or bean.  No value will ever be displayed.  This functionality * can also be obtained by calling the formInput macro with a 'type' parameter * of 'password' * * @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 formPasswordInput path attributes="" >    <@formInput path, attributes, "password"/></#macro><#-- * formHiddenInput * * Generate a form input field of type 'hidden' and bind it to an attribute * of a command or bean.  This functionality can also be obtained by calling * the formInput macro with a 'type' parameter of 'hidden' * * @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 formHiddenInput path attributes="" >    <@formInput path, attributes, "hidden"/></#macro><#-- * 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 formTextarea path attributes="" >    <@bind path/>    <textarea id="${status.expression}" name="${status.expression}" ${attributes}>${stringStatusValue}</textarea></#macro><#-- * formSingleSelect * * Show a selectbox (dropdown) input element allowing a single value to be chosen * from a 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 formSingleSelect path options attributes="">    <@bind path/>    <select id="${status.expression}" name="${status.expression}" ${attributes}>        <#list options?keys as value>        <option value="${value}"<@checkSelected value/>>${options[value]}</option>        </#list>    </select></#macro><#-- * formMultiSelect * * 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 formMultiSelect path options attributes="">    <@bind path/>    <select multiple="multiple" id="${status.expression}" name="${status.expression}" ${attributes}>        <#list options?keys as value>        <#assign isSelected = contains(status.value?default([""]), value)>        <option value="${value}" <#if isSelected>selected="selected"</#if>>${options[value]}</option>        </#list>    </select></#macro><#-- * formRadioButtons * * 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 formRadioButtons path options separator attributes="">    <@bind path/>    <#list options?keys as value>    <input type="radio" id="${status.expression}" name="${status.expression}" value="${value}"        <#if stringStatusValue == value>checked="checked"</#if> ${attributes}    <@closeTag/>    ${options[value]}${separator}    </#list></#macro><#-- * formCheckboxes * * 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 formCheckboxes path options separator attributes="">    <@bind path/>    <#list options?keys as value>    <#assign isSelected = contains(status.value?default([""]), value)>    <input type="checkbox" id="${status.expression}" name="${status.expression}" value="${value}"        <#if isSelected>checked="checked"</#if> ${attributes}    <@closeTag/>    ${options[value]}${separator}    </#list></#macro><#-- * showErrors * * 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 showErrors separator classOrStyle="">    <#list status.errorMessages as error>    <#if classOrStyle == "">        <b>${error}</b>    <#else>        <#if classOrStyle?index_of(":") == -1><#assign attr="class"><#else><#assign attr="style"></#if>        <span ${attr}="${classOrStyle}">${error}</span>    </#if>    <#if error_has_next>${separator}</#if>    </#list></#macro><#-- * checkSelected * * Check a value in a list to see if it is the currently selected value. * If so, add the 'selected="selected"' text to the output. * Handles values of numeric and string types. * This function is used internally but can be accessed by user code if required. * * @param value the current value in a list iteration--><#macro checkSelected value>    <#if stringStatusValue?is_number && stringStatusValue == value?number>selected="selected"</#if>    <#if stringStatusValue?is_string && stringStatusValue == value>selected="selected"</#if></#macro><#-- * contains * * Macro to return true if the list contains the scalar, false if not. * Surprisingly not a FreeMarker builtin. * This function is used internally but can be accessed by user code if required. * * @param list the list to search for the item * @param item the item to search for in the list * @return true if item is found in the list, false otherwise--><#function contains list item>    <#list list as nextInList>    <#if nextInList == item><#return true></#if>    </#list>    <#return false></#function><#-- * closeTag * * Simple macro to close an HTML tag that has no body with '>' or '/>', * depending on the value of a 'xhtmlCompliant' variable in the namespace * of this library.--><#macro closeTag>    <#if xhtmlCompliant?exists && xhtmlCompliant>/><#else>></#if></#macro>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
波多野结衣在线一区| 一区二区三区在线视频免费观看| 一个色在线综合| 欧美亚洲国产怡红院影院| 亚洲成在线观看| 欧美卡1卡2卡| 激情五月播播久久久精品| 精品国产一区久久| 丰满白嫩尤物一区二区| 国产精品成人免费精品自在线观看| 成人av网站免费| 亚洲高清中文字幕| 精品嫩草影院久久| 波多野结衣一区二区三区| 亚洲乱码国产乱码精品精的特点| 欧美午夜一区二区三区免费大片| 天堂成人国产精品一区| 久久综合久久综合久久| 91麻豆自制传媒国产之光| 五月天视频一区| 国产亚洲成年网址在线观看| 一本一本久久a久久精品综合麻豆| 亚洲一区二区四区蜜桃| 日韩一级免费观看| 春色校园综合激情亚洲| 天堂一区二区在线| 国产亚洲成av人在线观看导航| 色综合激情五月| 久久精工是国产品牌吗| 亚洲人成影院在线观看| 欧美一区二区观看视频| 99国产精品久久久久久久久久久| 日韩黄色小视频| 国产精品久久一卡二卡| 欧美一二三四区在线| 99久免费精品视频在线观看| 美女视频第一区二区三区免费观看网站| 国产欧美一区二区精品性色超碰| 欧美三级电影一区| 成人一级片网址| 日本不卡在线视频| 亚洲欧美日韩国产一区二区三区| 日韩一区二区三区在线视频| 91在线观看高清| 国产一区三区三区| 亚洲香蕉伊在人在线观| 欧美激情一区二区三区在线| 555夜色666亚洲国产免| 91亚洲大成网污www| 国内精品久久久久影院色| 亚洲电影在线播放| 亚洲欧洲成人av每日更新| 日韩三级伦理片妻子的秘密按摩| 91麻豆高清视频| 国产成人免费视频网站| 蜜臀av一级做a爰片久久| 一区二区三区不卡在线观看| 欧美激情一区二区三区在线| 欧美变态口味重另类| 欧美午夜精品电影| 92精品国产成人观看免费 | 精品伦理精品一区| 在线一区二区三区| av在线一区二区| 国产精品自产自拍| 狠狠v欧美v日韩v亚洲ⅴ| 手机精品视频在线观看| 亚洲一区二区美女| 亚洲精品国产无套在线观| 国产精品久久毛片| 中文字幕第一页久久| 国产网站一区二区| 久久久久久综合| 26uuu欧美| 久久久久久久久久久99999| 欧美一区二区大片| 日韩一区二区免费在线观看| 欧美美女一区二区| 欧美精选一区二区| 欧美放荡的少妇| 欧美喷潮久久久xxxxx| 欧美视频一二三区| 欧美日韩国产电影| 欧美丰满少妇xxxbbb| 欧美精品乱码久久久久久按摩| 欧美三级电影在线看| 欧美麻豆精品久久久久久| 91麻豆精品国产91久久久久| 5858s免费视频成人| 精品第一国产综合精品aⅴ| 精品国产伦一区二区三区免费| 日韩欧美成人一区二区| 精品福利在线导航| 中文字幕免费在线观看视频一区| 日本一区二区成人| 一区二区三区成人| 青草av.久久免费一区| 免费成人在线影院| 国产成人免费视频| 91美女片黄在线观看| 欧美美女直播网站| 精品少妇一区二区三区| 中文一区在线播放| 亚洲精品国产第一综合99久久 | 97精品超碰一区二区三区| 在线中文字幕一区二区| 制服丝袜国产精品| 26uuu另类欧美亚洲曰本| 一区在线观看免费| 天堂蜜桃一区二区三区| 国产传媒久久文化传媒| 色88888久久久久久影院野外| 欧美丰满少妇xxxxx高潮对白| 精品国产乱码久久久久久久久| 中文字幕不卡一区| 亚洲成av人片在线| 国产乱理伦片在线观看夜一区| 91亚洲国产成人精品一区二三| 91精品国产欧美一区二区| 久久精品综合网| 亚洲va韩国va欧美va| 国产美女视频91| 欧美三级视频在线播放| 久久青草国产手机看片福利盒子 | 国产酒店精品激情| 色噜噜久久综合| 欧美大片在线观看一区二区| 中文字幕佐山爱一区二区免费| 免费av网站大全久久| 99久久免费视频.com| 日韩欧美高清在线| 亚洲综合精品自拍| 国产成人精品免费一区二区| 欧美剧情电影在线观看完整版免费励志电影 | 亚洲综合激情小说| 国产高清久久久| 欧美一级日韩一级| 亚洲一区二区三区中文字幕 | 91女神在线视频| 日韩欧美电影一区| 亚洲一区二区三区四区在线观看| 国产成人av网站| 日韩欧美一区二区不卡| 亚洲精品成人在线| 成人免费黄色大片| 久久一区二区三区国产精品| 首页亚洲欧美制服丝腿| 欧洲精品在线观看| 国产精品夫妻自拍| 国产精品性做久久久久久| 欧美一区二区三区四区在线观看| 亚洲精品高清在线| 91美女片黄在线| 中文字幕中文在线不卡住| 国产乱码精品一区二区三区五月婷 | 成年人午夜久久久| 久久久国产精华| 国产精品一二三| 2023国产精华国产精品| 麻豆久久久久久久| 欧美一区二区三区四区五区| 偷拍日韩校园综合在线| 日本韩国视频一区二区| 亚洲天天做日日做天天谢日日欢| 成人午夜看片网址| 国产精品视频观看| 国产69精品久久久久777| 国产亚洲精久久久久久| 国产电影一区在线| 国产精品久久久久久久蜜臀| 国产成人亚洲精品青草天美| 国产视频一区二区在线观看| 国产精品综合视频| 国产日本欧洲亚洲| www.欧美日韩| 亚洲欧美偷拍三级| 欧美性猛交xxxx乱大交退制版| 亚洲午夜久久久久久久久久久| 欧美在线视频日韩| 日韩中文字幕区一区有砖一区| 欧美精品乱人伦久久久久久| 日本不卡一区二区| 欧美va天堂va视频va在线| 久草精品在线观看| 国产日产亚洲精品系列| 91丝袜国产在线播放| 亚洲一区二区中文在线| 日韩视频免费观看高清完整版在线观看| 日产欧产美韩系列久久99| 精品久久久久久久久久久久久久久 | 久久亚洲综合av| 国产成人免费高清| 一区二区三区在线免费播放 | 91蝌蚪porny九色| 亚洲成人免费在线| 欧美成人a在线| 91视频观看免费| 久久精品国产久精国产爱| 国产日韩欧美亚洲| 欧美日韩一区二区三区四区五区 |