[seam-commits] Seam SVN: r13583 - branches/community/Seam_2_2/src/main/org/jboss/seam/mock.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Aug 9 14:59:08 EDT 2010


Author: manaRH
Date: 2010-08-09 14:59:08 -0400 (Mon, 09 Aug 2010)
New Revision: 13583

Modified:
   branches/community/Seam_2_2/src/main/org/jboss/seam/mock/MockResponseStateManager.java
Log:
JBSEAM-4254 added isPostback method

Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/mock/MockResponseStateManager.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/mock/MockResponseStateManager.java	2010-08-09 11:28:07 UTC (rev 13582)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/mock/MockResponseStateManager.java	2010-08-09 18:59:08 UTC (rev 13583)
@@ -27,5 +27,11 @@
    {
       
    }
+   
+   @Override
+   public boolean isPostback(FacesContext context)
+   {
+      return context.getExternalContext().getRequestParameterMap().containsKey(ResponseStateManager.VIEW_STATE_PARAM);
+   }
 
 }



More information about the seam-commits mailing list