From b1168e4fbf7135c341f2b62fedfb0e022585d2b5 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Tue, 8 Apr 2008 08:13:21 +0000 Subject: [PATCH] polish --- spring-webflow-reference/src/defining-flows.xml | 11 +++++++++-- spring-webflow-reference/src/el.xml | 6 +++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/spring-webflow-reference/src/defining-flows.xml b/spring-webflow-reference/src/defining-flows.xml index b4c9e4f4..a7fb0aac 100644 --- a/spring-webflow-reference/src/defining-flows.xml +++ b/spring-webflow-reference/src/defining-flows.xml @@ -359,7 +359,11 @@ public interface FlowOutcome { <end-state id="bookingCancelled" /> </flow> - + + + The flow now accepts a hotelId input attribute and returns a bookingId output attribute + when a new booking is confirmed. + @@ -473,7 +477,10 @@ public interface FlowOutcome { <end-state id="bookingCancelled" /> </flow> - + + + The flow now calls a createGuest subflow to add a new guest to the guest list. + \ No newline at end of file diff --git a/spring-webflow-reference/src/el.xml b/spring-webflow-reference/src/el.xml index 6ddd1240..d0d591ca 100644 --- a/spring-webflow-reference/src/el.xml +++ b/spring-webflow-reference/src/el.xml @@ -51,7 +51,7 @@ Resolving constructs such as state transition criteria, subflow ids, and view names. - Views rendered by flows often access flow data structures using EL as well. + Views rendered by flows typically access flow data structures using EL as well. Expression Types @@ -81,7 +81,7 @@ The second type of expression is a "template" expression. Such expressions allow a mixing of literal text with one or more eval blocks. - Each evaluateable block is explictly delimited with the ${} delimiters. + Each eval block is explictly delimited with the ${} delimiters. For example: @@ -89,7 +89,7 @@ The expression above is a template expression. - The result of evaluation will be a string that combines the literal text error- with the result of evaluating externalContext.locale. + The result of evaluation will be a string that concatenates the literal text error- with the result of evaluating externalContext.locale. As you can see, explicit delimiters are necessary here to demarcate eval blocks within the template.