Spring Framework
3.2.0.BUILD-SNAPSHOT
Spring Framework
Reference Documentation xvii
18.7. JasperReports ............................................................................................... 538
Dependencies ................................................................................................ 538
Configuration .................................................................................................. 538
Configuring the ViewResolver .............................................................. 538
Configuring the Views ............................................................................ 538
About Report Files .................................................................................. 539
Using JasperReportsMultiFormatView ............................................. 539
Populating the ModelAndView ....................................................................... 540
Working with Sub-Reports ............................................................................... 541
Configuring Sub-Report Files .................................................................. 541
Configuring Sub-Report Data Sources ..................................................... 542
Configuring Exporter Parameters ..................................................................... 542
18.8. Feed Views ................................................................................................... 542
18.9. XML Marshalling View .................................................................................... 543
18.10. JSON Mapping View .................................................................................... 544
19. Integrating with other web frameworks ....................................................................... 545
19.1. Introduction .................................................................................................... 545
19.2. Common configuration ................................................................................... 546
19.3. JavaServer Faces 1.1 and 1.2 ........................................................................ 547
DelegatingVariableResolver (JSF 1.1/1.2) ........................................................ 547
SpringBeanVariableResolver (JSF 1.1/1.2) ....................................................... 548
SpringBeanFacesELResolver (JSF 1.2+) ......................................................... 548
FacesContextUtils ........................................................................................... 548
19.4. Apache Struts 1.x and 2.x .............................................................................. 549
ContextLoaderPlugin ....................................................................................... 549
DelegatingRequestProcessor ................................................................... 550
DelegatingActionProxy ............................................................................ 550
ActionSupport Classes .................................................................................... 551
19.5. WebWork 2.x ................................................................................................. 551
19.6. Tapestry 3.x and 4.x ...................................................................................... 552
Injecting Spring-managed beans ..................................................................... 553
Dependency Injecting Spring Beans into Tapestry pages ........................... 555
Component definition files ....................................................................... 556
Adding abstract accessors ...................................................................... 557
Dependency Injecting Spring Beans into Tapestry pages - Tapestry 4.x
style ....................................................................................................... 559
19.7. Further Resources ......................................................................................... 560
20. Portlet MVC Framework ............................................................................................ 561
20.1. Introduction .................................................................................................... 561
Controllers - The C in MVC ............................................................................ 562
Views - The V in MVC .................................................................................... 562
Web-scoped beans ......................................................................................... 562
20.2. The DispatcherPortlet ............................................................................ 562
20.3. The ViewRendererServlet ........................................................................ 564
20.4. Controllers ..................................................................................................... 565
AbstractController and PortletContentGenerator ............................. 566
Other simple controllers .................................................................................. 567
Command Controllers ..................................................................................... 567
PortletWrappingController .................................................................... 568
20.5. Handler mappings .......................................................................................... 568