[seam-commits] Seam SVN: r7731 - branches/Seam_2_0/src/main/org/jboss/seam/pageflow and 2 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Mar 28 08:07:25 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-03-28 08:07:24 -0400 (Fri, 28 Mar 2008)
New Revision: 7731

Modified:
   branches/Seam_2_0/doc/Seam_Reference_Guide/en/Events.xml
   branches/Seam_2_0/src/main/org/jboss/seam/pageflow/Pageflow.java
   trunk/doc/reference/en/modules/events.xml
   trunk/src/main/org/jboss/seam/pageflow/Pageflow.java
Log:
JBSEAM-2787

Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en/Events.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en/Events.xml	2008-03-28 11:56:30 UTC (rev 7730)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en/Events.xml	2008-03-28 12:07:24 UTC (rev 7731)
@@ -667,7 +667,9 @@
             <listitem><para><literal>org.jboss.seam.beginConversation </literal>&#8212; called whenever a long-running conversation begins</para></listitem>
             <listitem><para><literal>org.jboss.seam.endConversation </literal>&#8212; called whenever a long-running conversation ends</para></listitem>
             <listitem><para><literal>org.jboss.seam.conversationTimeout</literal>&#8212; called when a conversation timeout occurs. The conversation id is passed as a parameter.</para></listitem>
+            <listitem><para><literal>org.jboss.seam.beginPageflow </literal>&#8212; called when a pageflow begins</para></listitem>
             <listitem><para><literal>org.jboss.seam.beginPageflow.&lt;name&gt; </literal>&#8212; called when the pageflow &lt;name&gt; begins</para></listitem>
+            <listitem><para><literal>org.jboss.seam.endPageflow </literal>&#8212; called when a pageflow ends</para></listitem>
             <listitem><para><literal>org.jboss.seam.endPageflow.&lt;name&gt; </literal>&#8212; called when the pageflow &lt;name&gt; ends</para></listitem>
             <listitem><para><literal>org.jboss.seam.createProcess.&lt;name&gt; </literal>&#8212; called when the process &lt;name&gt; is created</para></listitem>
             <listitem><para><literal>org.jboss.seam.endProcess.&lt;name&gt; </literal>&#8212; called when the process &lt;name&gt; ends</para></listitem>

Modified: branches/Seam_2_0/src/main/org/jboss/seam/pageflow/Pageflow.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/pageflow/Pageflow.java	2008-03-28 11:56:30 UTC (rev 7730)
+++ branches/Seam_2_0/src/main/org/jboss/seam/pageflow/Pageflow.java	2008-03-28 12:07:24 UTC (rev 7731)
@@ -348,6 +348,8 @@
                   "org.jboss.seam.endPageflow." + 
                   processInstance.getProcessDefinition().getName()
                );
+         Events.instance().raiseEvent(
+                 "org.jboss.seam.endPageflow");
       }
    }
 
@@ -411,6 +413,7 @@
    protected void raiseBeginEvent(String pageflowDefinitionName)
    {
       Events.instance().raiseEvent("org.jboss.seam.beginPageflow." + pageflowDefinitionName);
+      Events.instance().raiseEvent("org.jboss.seam.beginPageflow");
    }
 
    private void storePageflowToViewRootIfNecessary()

Modified: trunk/doc/reference/en/modules/events.xml
===================================================================
--- trunk/doc/reference/en/modules/events.xml	2008-03-28 11:56:30 UTC (rev 7730)
+++ trunk/doc/reference/en/modules/events.xml	2008-03-28 12:07:24 UTC (rev 7731)
@@ -655,7 +655,9 @@
             <listitem><para><literal>org.jboss.seam.beginConversation </literal>&#8212; called whenever a long-running conversation begins</para></listitem>
             <listitem><para><literal>org.jboss.seam.endConversation </literal>&#8212; called whenever a long-running conversation ends</para></listitem>
             <listitem><para><literal>org.jboss.seam.conversationTimeout</literal>&#8212; called when a conversation timeout occurs. The conversation id is passed as a parameter.</para></listitem>
+            <listitem><para><literal>org.jboss.seam.beginPageflow</literal>&#8212; called when a pageflow begins</para></listitem>
             <listitem><para><literal>org.jboss.seam.beginPageflow.&lt;name&gt; </literal>&#8212; called when the pageflow &lt;name&gt; begins</para></listitem>
+            <listitem><para><literal>org.jboss.seam.endPageflow</literal>&#8212; called when a pageflow ends</para></listitem>
             <listitem><para><literal>org.jboss.seam.endPageflow.&lt;name&gt; </literal>&#8212; called when the pageflow &lt;name&gt; ends</para></listitem>
             <listitem><para><literal>org.jboss.seam.createProcess.&lt;name&gt; </literal>&#8212; called when the process &lt;name&gt; is created</para></listitem>
             <listitem><para><literal>org.jboss.seam.endProcess.&lt;name&gt; </literal>&#8212; called when the process &lt;name&gt; ends</para></listitem>

Modified: trunk/src/main/org/jboss/seam/pageflow/Pageflow.java
===================================================================
--- trunk/src/main/org/jboss/seam/pageflow/Pageflow.java	2008-03-28 11:56:30 UTC (rev 7730)
+++ trunk/src/main/org/jboss/seam/pageflow/Pageflow.java	2008-03-28 12:07:24 UTC (rev 7731)
@@ -348,6 +348,8 @@
                   "org.jboss.seam.endPageflow." + 
                   processInstance.getProcessDefinition().getName()
                );
+         Events.instance().raiseEvent(
+                 "org.jboss.seam.endPageflow");
       }
    }
 
@@ -411,6 +413,7 @@
    protected void raiseBeginEvent(String pageflowDefinitionName)
    {
       Events.instance().raiseEvent("org.jboss.seam.beginPageflow." + pageflowDefinitionName);
+      Events.instance().raiseEvent("org.jboss.seam.beginPageflow");
    }
 
    private void storePageflowToViewRootIfNecessary()




More information about the seam-commits mailing list