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

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

?? spring.ftl

?? 使用struts+spring+hibernate的一個(gè)教學(xué)用的示例源代碼
?? 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}" 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 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 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" 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" 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" 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>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃视频一区二区三区| 亚洲精品网站在线观看| 蜜臀国产一区二区三区在线播放| 欧美综合一区二区| 天堂成人国产精品一区| 91精品福利在线一区二区三区| 久久国内精品视频| 亚洲国产精品精华液2区45| 91污在线观看| 天堂影院一区二区| xnxx国产精品| 91麻豆swag| 视频一区国产视频| 久久久久久久久久久久久久久99 | 首页国产丝袜综合| 欧美电视剧免费观看| 风间由美中文字幕在线看视频国产欧美| 欧美激情综合五月色丁香| 色综合天天综合| 色综合久久久久| 午夜视频一区在线观看| 精品伦理精品一区| 91在线观看污| 免费人成网站在线观看欧美高清| 国产亚洲短视频| 欧美撒尿777hd撒尿| 九九视频精品免费| 亚洲人成亚洲人成在线观看图片| 中文字幕一区在线| 欧美在线影院一区二区| 激情文学综合丁香| 一区二区三区小说| 精品粉嫩超白一线天av| 在线精品视频一区二区三四| 久久精品国产成人一区二区三区| 中文字幕亚洲欧美在线不卡| 91精品国产综合久久久久久漫画| 成人黄色777网| 美女一区二区在线观看| 亚洲人成精品久久久久久| 日韩精品一区二区三区视频在线观看| av午夜一区麻豆| 国产一区二区三区在线观看精品| 亚洲蜜桃精久久久久久久| 欧美精品一区二区三区在线| 91成人网在线| 成人性生交大片免费看中文 | 欧美国产欧美综合| 欧美日韩国产区一| 色综合一个色综合亚洲| 国产一区二区免费在线| 午夜久久久久久电影| 亚洲视频在线观看三级| 久久天堂av综合合色蜜桃网| 制服丝袜中文字幕一区| 欧美性色黄大片| 99re成人精品视频| 国产精品1024| 韩国一区二区三区| 日韩va亚洲va欧美va久久| 一区二区三区中文在线| 国产精品久久久久久久岛一牛影视 | 成人影视亚洲图片在线| 蜜桃av一区二区在线观看| 亚洲一区二区欧美| 亚洲精品一二三| 亚洲美女在线国产| 亚洲天堂av一区| 综合久久国产九一剧情麻豆| 国产欧美一区二区精品仙草咪| 精品少妇一区二区三区日产乱码 | 亚洲午夜电影网| 亚洲免费视频成人| 中文字幕视频一区| 日韩美女精品在线| 亚洲私人影院在线观看| 最新欧美精品一区二区三区| 国产精品三级视频| 国产精品国产自产拍高清av| 欧美激情一区二区三区蜜桃视频| 久久精品一区二区三区av| 欧美不卡一区二区三区| 日韩免费观看高清完整版| 欧美成va人片在线观看| wwwwww.欧美系列| 久久精品视频免费观看| 久久精品视频在线看| 欧美激情一区二区三区蜜桃视频| 国产日韩欧美精品在线| 国产精品免费视频观看| 最新欧美精品一区二区三区| 亚洲美腿欧美偷拍| 亚洲成人三级小说| 美女国产一区二区| 国产精品一区二区在线观看不卡 | 亚洲国产一区二区三区青草影视| 亚洲成人先锋电影| 奇米四色…亚洲| 国产大陆亚洲精品国产| 成人深夜视频在线观看| 色哟哟一区二区在线观看| 欧美日韩一区二区三区四区五区| 91精品国产麻豆| 久久久高清一区二区三区| 国产精品久久久久影院亚瑟| 亚洲视频香蕉人妖| 午夜精品福利一区二区三区蜜桃| 麻豆精品新av中文字幕| 成人美女在线视频| 欧美日韩在线播放三区| 久久久久九九视频| 一区二区三区四区五区视频在线观看| 日本伊人精品一区二区三区观看方式| 国产一区二区精品久久91| 97精品久久久午夜一区二区三区| 欧美日韩亚洲不卡| 国产欧美一区视频| 亚洲一本大道在线| 国产精品88888| 欧美日韩在线一区二区| 国产午夜精品久久久久久免费视 | 有坂深雪av一区二区精品| 日本大胆欧美人术艺术动态| 成人永久免费视频| 91精品国产综合久久精品性色| 国产精品视频看| 免费观看成人av| 日本丶国产丶欧美色综合| 精品久久国产97色综合| 亚洲精品大片www| 国产一区二区三区四区五区美女| 欧美最新大片在线看| 国产欧美1区2区3区| 免费成人在线影院| 日本韩国欧美一区| 中文av字幕一区| 久久精品国产秦先生| 在线免费观看日韩欧美| 国产精品久久看| 国产尤物一区二区| 91精品国产一区二区| 一区二区三区在线影院| 成人av电影在线网| 久久精品亚洲精品国产欧美 | 麻豆精品国产91久久久久久| 欧日韩精品视频| 日韩一区在线看| 国产精品夜夜爽| 精品国免费一区二区三区| 三级久久三级久久久| 欧美三区在线视频| 亚洲手机成人高清视频| 成人听书哪个软件好| 久久久噜噜噜久久人人看| 琪琪久久久久日韩精品| 在线播放欧美女士性生活| 亚洲国产毛片aaaaa无费看| 91丨九色丨蝌蚪富婆spa| 国产精品夫妻自拍| 成人免费毛片嘿嘿连载视频| 久久久精品国产99久久精品芒果| 热久久久久久久| 欧美一级艳片视频免费观看| 五月激情丁香一区二区三区| 欧美日韩一区不卡| 亚洲国产成人高清精品| 欧美又粗又大又爽| 亚洲高清视频中文字幕| 欧美视频在线一区| 婷婷综合另类小说色区| 欧美欧美午夜aⅴ在线观看| 图片区小说区国产精品视频| 欧美日韩1234| 日韩高清不卡一区二区三区| 亚洲视频香蕉人妖| 一本久久a久久精品亚洲| 一区二区三区欧美日| 欧美日韩在线观看一区二区| 日韩中文字幕不卡| 欧美va亚洲va| 国产99久久久久| 亚洲视频 欧洲视频| 欧美三级一区二区| 久久爱另类一区二区小说| 久久久久久久久久久久久久久99 | 欧美日韩高清在线播放| 日韩国产精品久久久久久亚洲| 91精品在线免费| 黄色日韩网站视频| 国产精品久久精品日日| 色屁屁一区二区| 肉丝袜脚交视频一区二区| 精品va天堂亚洲国产| 不卡一区在线观看| 亚洲一区二区三区小说| 欧美videofree性高清杂交| 成人午夜碰碰视频| 亚洲成年人网站在线观看| 亚洲精品一区二区三区精华液| 成人动漫一区二区三区|