Fixed small mistake in FileUpload sample.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -248,7 +248,7 @@ ant dist
|
||||
to the "uploadFile" state:
|
||||
<programlisting>
|
||||
<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>
|
||||
@@ -1326,7 +1326,7 @@ if (data != null && data.length() > 0) {
|
||||
</end-state>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user