Expert Spring MVC and Web Flow
POJO Actions Chapter 11 defined the Actionas the central construct for executing your application code from within a flow defini ...
Exposing POJO Method Return Values If you wish to have the return value of an invoked method exposed in either flow scope or req ...
Figure 12-3.Conversion of a ViewSelection to a View There are two implementations of ViewSelector provided out of the box, shown ...
The view can submit the eventIdin one of two ways. The first way is to submit a request para- meter whose name is FlowExecutionM ...
Listing 12-27.Correctly Defined Decision State <decision-state> <if test="${flowScope.object.booleanProperty}" then="st ...
Exception Handling Exceptions within Spring Web Flow are managed the same way that exceptions are handled within the rest of the ...
Table 12-13.Spring Web Flow State Exceptions Class Description Thrown By org.springframework. Common base class for This is a co ...
State Scoped ExceptionHandlers You may decide that you want exception handling to be implemented at a finer-grained level than t ...
...
Documenting Your MVC Application As your applications grow larger and more complex, the XML files used to define your beans can ...
Figure A-1.BeanDoc output of the JPetStore sample If your context consists of multiple XML files, as it usually will, BeanDoc wi ...
Running BeanDoc on Your Configuration Files When you build BeanDoc, it places the spring-beandoc.jarfile and all of its runtime ...
The Ant syntax should be familiar enough, so we’ll concentrate on the key points. The classpath that is set up initially is ther ...
Listing A-3.Graphviz Executable Location # for Unix/Linux i.e. compiler.dotExe=/usr/bin/dot # OR for Windows.. compiler.dotExe=C ...
584X_Ch13_AppA_FINAL 1/30/06 1:13 PM Page 376 ...
Ajax and DWR For a while, web application development has been a little stagnant. Developing for the browser has offered the opt ...
Hopefully you’re starting to see where this is leading now, and you’ve probably guessed correctly that DWR can expose the object ...
The dwr.xmlfile is where we configure which objects are going to be exposed to the client-side scripts. In our example, we’re ex ...
We left the debugparameter, which enables a nifty test page to be called for each service object that you export. See Figure B-1 ...
Listing B-3.The Refactored Entity Class package org.springframework.samples.petclinic; public class Entity { private Integer id; ...
«
13
14
15
16
17
18
19
20
21
22
»
Free download pdf