Author: pete.muir(a)jboss.org
Date: 2008-03-29 19:10:28 -0400 (Sat, 29 Mar 2008)
New Revision: 7742
Modified:
branches/Seam_2_0/src/main/org/jboss/seam/pageflow/Pageflow.java
trunk/src/main/org/jboss/seam/pageflow/Pageflow.java
Log:
JBSEAM-2456
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-29 08:52:22
UTC (rev 7741)
+++ branches/Seam_2_0/src/main/org/jboss/seam/pageflow/Pageflow.java 2008-03-29 23:10:28
UTC (rev 7742)
@@ -61,6 +61,11 @@
{
return processInstance!=null;
}
+
+ public boolean isStarted()
+ {
+ return getSubProcessInstance().getRootToken().getNode() != null;
+ }
public ProcessInstance getProcessInstance()
{
Modified: trunk/src/main/org/jboss/seam/pageflow/Pageflow.java
===================================================================
--- trunk/src/main/org/jboss/seam/pageflow/Pageflow.java 2008-03-29 08:52:22 UTC (rev
7741)
+++ trunk/src/main/org/jboss/seam/pageflow/Pageflow.java 2008-03-29 23:10:28 UTC (rev
7742)
@@ -61,6 +61,11 @@
{
return processInstance!=null;
}
+
+ public boolean isStarted()
+ {
+ return getSubProcessInstance().getRootToken().getNode() != null;
+ }
public ProcessInstance getProcessInstance()
{
Show replies by date