URLEditor propertyeditor propertyeditor,
136
UrlFilenameViewController, 167, 199
UrlPropertyEditor, 135
use cases, 41–50. See alsohome page use
case; search for flights use case
useCacheControlHeader property, 120
useExpiresHeader property, 120
user interface layer, 24–25, 26, 32
■V
ValangValidatorFactoryBean, 267, 275
valid objects, 281
ValidatableThrowawayController, 195–196,
199
ValidatableThrowawayControllerHandler-
Adapter, 196
validate( ) method, 179, 265, 360
validateOnBinding property,
SimpleFormController class, 150
validatePage( ) method, 179
validation, 69
and business logic, 279
declarative validators, 267–277
Errors interface, 279–281
message sources, 278
overview, 265
programmatic validators, 265–267
testing, 281
validation language, 267
Validator class, 228, 313
Validator interface, 200
Validators, 160, 179
validator(s) property, SimpleFormController
class, 150
Velocity and FreeMarker
advanced configuration options, 239–241
basic configuring for template engines,
236–237
exposing model, 238
forms and SpringBind macros, 241–247
number and date tools, 247–249
overview, 235
template language, 238–239
templating pros and cons, 235–236
Velocity Template Language (VTL), 238
VelocityConfigurer class, 236
VelocityContext class, 238
VelocityLayoutView view, 249
VelocityToolboxView view, 249
VelocityView, 203, 238
VelocityViewResolver, 241
verify( ) method, 295–296
View, 56–58, 201
View class, 26, 53, 57, 202–203, 250
View Interface, 203
View key, 237
View layer, 55
bind support, 221
and Controllers, 207–208
implementing, 203, 205–207
internationalization in
Locale Resolution, 218–219
MessageSource beans, 219–220
overview, 218
theme resolution, 221
view resolution, 220
overview, 201–203
RedirectView class, 215–216
themes
overview, 216–217
ThemeResolvers, 218
ThemeSources, 217
treating views in isolation, 202
ViewResolvers
making known to Dispatcher, 213–214
overview, 208–209
putting view resolution in context, 209
types of, 210–213
view mapping, 79
view rendering, 52
View resolution subsystem, 313
View resolvers, 214
View state, 318, 359
view types, supported
creating new views, 263
Excel
coding the view, 259
configuring application, 260
configuring the application, 260
creating template, 258
overview, 258
JasperReports
Multiformat view, 261–262
overview, 260–261
populating report, 262–263
JSP and JSTL
displaying model, 225–227
exposing model as request attributes,
224–225
forms, 228–232
JSP tag libraries, 227
overview, 223–224
overview, 223
PDF
configuring application to use PDF
View, 257
overview, 256
template PDFs with FOP, 257
tiles, 233–235
Velocity and FreeMarker, 249–250
advanced configuration options,
239–241
■INDEX 403
Find it faster at
584X_Ch15_Index_FINAL 1/30/06 12:53 PM Page 403