This commit is contained in:
Keith Donald
2008-04-08 08:13:21 +00:00
parent 83b7932d61
commit b1168e4fbf
2 changed files with 12 additions and 5 deletions

View File

@@ -359,7 +359,11 @@ public interface FlowOutcome {
<end-state id="bookingCancelled" />
</flow>
</programlisting>
</programlisting>
<para>
The flow now accepts a <code>hotelId</code> input attribute and returns a <code>bookingId</code> output attribute
when a new booking is confirmed.
</para>
</sect2>
</sect1>
<sect1 id="flow-variables">
@@ -473,7 +477,10 @@ public interface FlowOutcome {
&lt;end-state id="bookingCancelled" /&gt;
&lt;/flow&gt;
</programlisting>
</programlisting>
<para>
The flow now calls a <code>createGuest</code> subflow to add a new guest to the guest list.
</para>
</sect2>
</sect1>
</chapter>

View File

@@ -51,7 +51,7 @@
<listitem><para>Resolving constructs such as state transition criteria, subflow ids, and view names.</para></listitem>
</orderedlist>
<para>
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.
</para>
<sect2 id="el-types">
<title>Expression Types</title>
@@ -81,7 +81,7 @@
<para>
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 <code>${}</code> delimiters.
Each eval block is explictly delimited with the <code>${}</code> delimiters.
For example:
</para>
<programlisting type="xml">
@@ -89,7 +89,7 @@
</programlisting>
<para>
The expression above is a template expression.
The result of evaluation will be a string that combines the literal text <code>error-</code> with the result of evaluating <code>externalContext.locale</code>.
The result of evaluation will be a string that concatenates the literal text <code>error-</code> with the result of evaluating <code>externalContext.locale</code>.
As you can see, explicit delimiters are necessary here to demarcate eval blocks within the template.
</para>
</sect3>