Fixed small mistake in FileUpload sample.

This commit is contained in:
Erwin Vervaet
2007-04-02 14:48:04 +00:00
parent 9b43f93200
commit 5edb0d35c8
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
</view-state>
<action-state id="uploadFile">
<action bean="uploadAction" method="uploadFile"/>
<action bean="uploadAction"/>
<transition on="success" to="selectFile">
<set attribute="fileUploaded" scope="flash" value="true"/>
</transition>

View File

@@ -248,7 +248,7 @@ ant dist
to the "uploadFile" state:
<programlisting>
&lt;action-state id="uploadFile"&gt;
&lt;action bean="uploadAction" method="uploadFile"/&gt;
&lt;action bean="uploadAction"/&gt;
&lt;transition on="success" to="selectFile"&gt;
&lt;set attribute="fileUploaded" scope="flash" value="true"/&gt;
&lt;/transition&gt;
@@ -1326,7 +1326,7 @@ if (data != null &amp;&amp; data.length() > 0) {
&lt;/end-state&gt;
</programlisting>
With the above declarations we see how a subflow can pass output
parameters back to its parent flow - in this case the 'data' request parameter
parameters back to its parent flow - in this case the 'data' request parameter
is passed back as an output parameter.
</para>
<para>