|
Spring Framework example source code file (test.ftl)
The Spring Framework test.ftl source code<#-- test template for FreeMarker macro test class --> <#import "spring.ftl" as spring /> NAME ${command.name} AGE ${command.age} MESSAGE <@spring.message "hello"/> <@spring.message "world"/> DEFAULTMESSAGE <@spring.messageText "no.such.code", "hi"/> <@spring.messageText "no.such.code", "planet"/> MESSAGEARGS <@spring.messageArgs "hello", msgArgs/> MESSAGEARGSWITHDEFAULTMESSAGE <@spring.messageArgsText "no.such.code", msgArgs, "Hi"/> THEME <@spring.theme "hello"/> <@spring.theme "world"/> DEFAULTTHEME <@spring.themeText "no.such.code", "hi!"/> <@spring.themeText "no.such.code", "planet!"/> THEMEARGS <@spring.themeArgs "hello", msgArgs/> THEMEARGSWITHDEFAULTMESSAGE <@spring.themeArgsText "no.such.code", msgArgs, "Hi!"/> URL <@spring.url "/aftercontext.html"/> FORM1 <@spring.formInput "command.name", ""/> FORM2 <@spring.formInput "command.name", 'class="myCssClass"'/> FORM3 <@spring.formTextarea "command.name", ""/> FORM4 <@spring.formTextarea "command.name", "rows=10 cols=30"/> FORM5 <@spring.formSingleSelect "command.name", nameOptionMap, ""/> FORM6 <@spring.formMultiSelect "command.spouses", nameOptionMap, ""/> FORM7 <@spring.formRadioButtons "command.name", nameOptionMap, " ", ""/> FORM8 <@spring.formCheckboxes "command.spouses", nameOptionMap, " ", ""/> FORM9 <@spring.formPasswordInput "command.name", ""/> FORM10 <@spring.formHiddenInput "command.name", ""/> FORM11 <@spring.formInput "command.name", "", "text"/> FORM12 <@spring.formInput "command.name", "", "hidden"/> FORM13 <@spring.formInput "command.name", "", "password"/> FORM14 <@spring.formSingleSelect "command.name", options, ""/> Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework test.ftl source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.