[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Peter Muir
peter at bleepbleep.org.uk
Tue Oct 16 11:02:45 EDT 2007
User: pmuir
Date: 07/10/16 11:02:45
Modified: doc/reference/en/modules events.xml
Log:
JBSEAM-1940
Revision Changes Path
1.37 +3 -18 jboss-seam/doc/reference/en/modules/events.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: events.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/events.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- events.xml 1 Oct 2007 14:58:41 -0000 1.36
+++ events.xml 16 Oct 2007 15:02:44 -0000 1.37
@@ -442,24 +442,9 @@
</page>]]></programlisting>
<para>
- But ending the conversation loses any state associated with the conversation,
- including the document we are currently interested in! One solution would be
- to use an immediate render instead of a redirect:
- </para>
-
- <programlisting><![CDATA[<page view-id="/editDocument.xhtml">
-
- <navigation from-action="#{documentEditor.update}">
- <rule if="#{documentEditor.errors.empty}">
- <end-conversation/>
- <render view-id="/viewDocument.xhtml"/>
- </rule>
- </navigation>
-
-</page>]]></programlisting>
-
- <para>
- But the correct solution is to pass the document id as a request parameter:
+ As we've ended conversation any subsequent requests won't know
+ which document we are interested in. We can pass the document
+ id as a request parameter which also makes the view bookmarkable:
</para>
<programlisting><![CDATA[<page view-id="/editDocument.xhtml">
More information about the jboss-cvs-commits
mailing list