Author: manaRH
Date: 2010-09-02 03:34:21 -0400 (Thu, 02 Sep 2010)
New Revision: 13697
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/mock/AbstractSeamTest.java
Log:
JBSEAM-4699
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/mock/AbstractSeamTest.java
===================================================================
---
branches/community/Seam_2_2/src/main/org/jboss/seam/mock/AbstractSeamTest.java 2010-09-02
07:01:52 UTC (rev 13696)
+++
branches/community/Seam_2_2/src/main/org/jboss/seam/mock/AbstractSeamTest.java 2010-09-02
07:34:21 UTC (rev 13697)
@@ -300,6 +300,14 @@
}
/**
+ * Override to implement any logic that requires active scopes
+ * but must happen before the rest of the JSF lifecycle.
+ */
+ protected void afterRestoreViewPhase() throws Exception
+ {
+ }
+
+ /**
* Override to implement the interactions between the JSF page and your
* components that occurs during the apply request values phase.
*/
@@ -583,6 +591,8 @@
restoreViewPhase();
if (!isGetRequest() && !skipToRender())
{
+ afterRestoreViewPhase();
+
applyRequestValuesPhase();
if (!skipToRender())
{
Show replies by date