[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>— called whenever a long-running conversation begins</para></listitem>
<listitem><para><literal>org.jboss.seam.endConversation </literal>— called whenever a long-running conversation ends</para></listitem>
<listitem><para><literal>org.jboss.seam.conversationTimeout</literal>— called when a conversation timeout occurs. The conversation id is passed as a parameter.</para></listitem>
+ <listitem><para><literal>org.jboss.seam.beginPageflow </literal>— called when a pageflow begins</para></listitem>
<listitem><para><literal>org.jboss.seam.beginPageflow.<name> </literal>— called when the pageflow <name> begins</para></listitem>
+ <listitem><para><literal>org.jboss.seam.endPageflow </literal>— called when a pageflow ends</para></listitem>
<listitem><para><literal>org.jboss.seam.endPageflow.<name> </literal>— called when the pageflow <name> ends</para></listitem>
<listitem><para><literal>org.jboss.seam.createProcess.<name> </literal>— called when the process <name> is created</para></listitem>
<listitem><para><literal>org.jboss.seam.endProcess.<name> </literal>— called when the process <name> 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>— called whenever a long-running conversation begins</para></listitem>
<listitem><para><literal>org.jboss.seam.endConversation </literal>— called whenever a long-running conversation ends</para></listitem>
<listitem><para><literal>org.jboss.seam.conversationTimeout</literal>— called when a conversation timeout occurs. The conversation id is passed as a parameter.</para></listitem>
+ <listitem><para><literal>org.jboss.seam.beginPageflow</literal>— called when a pageflow begins</para></listitem>
<listitem><para><literal>org.jboss.seam.beginPageflow.<name> </literal>— called when the pageflow <name> begins</para></listitem>
+ <listitem><para><literal>org.jboss.seam.endPageflow</literal>— called when a pageflow ends</para></listitem>
<listitem><para><literal>org.jboss.seam.endPageflow.<name> </literal>— called when the pageflow <name> ends</para></listitem>
<listitem><para><literal>org.jboss.seam.createProcess.<name> </literal>— called when the process <name> is created</para></listitem>
<listitem><para><literal>org.jboss.seam.endProcess.<name> </literal>— called when the process <name> 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