Expert Spring MVC and Web Flow

(Dana P.) #1
view types, supported (continued)
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
XML
overview, 250
returning in raw, 254
transforming XML source, 252–253
XSLT
defining XSLT View, 250–252
number and date formatting, 255
overview, 250
XSL parameters, 255
ViewAccountController, 172
viewClass property, 234
viewName property, 347
ViewResolver interface, 26, 57, 63, 75, 79, 82,
165, 208–210, 218, 224, 236, 331
making known to Dispatcher, 213–214
overview, 208–209
putting view resolution in context, 209
types of, 210–213
ResourceBundleViewResolver, 211–212
XmlViewResolver, 212–213
views, 52–53, 75
ViewSelection class, 347, 363
ViewSelector interface, 363
views.properties file, 211, 253, 257, 260
void method, 55
VTL (Velocity Template Language), 238

■W
<w shift operator, 272
>w shift operator, 272
web components
Controllers, 52
JAR dependencies
installation, 51
overview, 50–51
third-party, 51
ModelAndView, 53
overview, 50
views, 52–53
web layer, 24, 28
dependencies, 28
overview, 26–27
web layer implementations, 27
WebApplicationContext, 195–196
WebApplicationContext class, 55, 60–61
/WEB-INF directory, 56
/WEB-INF/jsp/ directory, 58
/WEB-INF/lib directory, 51
WEB-INF/velocity directory, 237
wildcards, multiple mappings for, 89

■X
XML, overview, 250
XML configuration file, 267
XmlBeanFactory class, 33
XmlViewResolver class, 165, 210, 212–213,
215
XP (Extreme Programming), 290

■Y
<y shift operator, 255, 272
>y shift operator, 273
yes event, 318
YourViewSelector Selection, 364

404 ■INDEX

584X_Ch15_Index_FINAL 1/30/06 12:53 PM Page 404

Free download pdf