incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r424375 - in /incubator/adffaces/trunk/adf-faces/adf-faces-api/src: main/java/org/apache/myfaces/adf/context/ main/java/org/apache/myfaces/adf/util/ test/java/org/apache/myfaces/adf/context/
Date Fri, 21 Jul 2006 16:28:51 GMT
Author: matzew
Date: Fri Jul 21 09:28:50 2006
New Revision: 424375

URL: http://svn.apache.org/viewvc?rev=424375&view=rev
Log:
ADFFACES-70

Removed:
    incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java/org/apache/myfaces/adf/util/PartitialPageRenderingUtils.java
Modified:
    incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java/org/apache/myfaces/adf/context/AdfFacesContext.java
    incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/context/MockAdfFacesContext.java

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java/org/apache/myfaces/adf/context/AdfFacesContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java/org/apache/myfaces/adf/context/AdfFacesContext.java?rev=424375&r1=424374&r2=424375&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java/org/apache/myfaces/adf/context/AdfFacesContext.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-api/src/main/java/org/apache/myfaces/adf/context/AdfFacesContext.java
Fri Jul 21 09:28:50 2006
@@ -20,6 +20,7 @@
 
 import javax.faces.component.UIComponent;
 import javax.faces.component.UIViewRoot;
+import javax.faces.context.FacesContext;
 
 import org.apache.myfaces.adf.change.ChangeManager;
 import org.apache.myfaces.adf.config.RegionManager;
@@ -180,7 +181,16 @@
    * </p>
    */
   public abstract boolean isPostback();
-
+  
+  /**
+   * Method to indicate if this current HTTP request is a
+   * partial page rendering request.
+   * 
+   * @param context the <code>FacesContext</code> object for
+   * the request we are processing
+   * @return is this request a PPR request?
+   */
+  public abstract boolean isPartialRequest(FacesContext context);
   /**
    * Returns true if output should contain debugging information.
    */
@@ -395,4 +405,5 @@
   }
 
   static private final ThreadLocal _CURRENT_CONTEXT = new ThreadLocal();
-}
+  
+}
\ No newline at end of file

Modified: incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/context/MockAdfFacesContext.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/context/MockAdfFacesContext.java?rev=424375&r1=424374&r2=424375&view=diff
==============================================================================
--- incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/context/MockAdfFacesContext.java
(original)
+++ incubator/adffaces/trunk/adf-faces/adf-faces-api/src/test/java/org/apache/myfaces/adf/context/MockAdfFacesContext.java
Fri Jul 21 09:28:50 2006
@@ -19,6 +19,8 @@
 import java.util.TimeZone;
 import javax.faces.component.UIComponent;
 import javax.faces.component.UIViewRoot;
+import javax.faces.context.FacesContext;
+
 import org.apache.myfaces.adf.change.ChangeManager;
 import org.apache.myfaces.adf.config.RegionManager;
 import org.apache.myfaces.adf.webapp.UploadedFileProcessor;
@@ -79,6 +81,12 @@
   {
     return false;
   }
+  
+  @Override
+  public boolean isPartialRequest(FacesContext context)
+  {
+    return false;
+  }
 
   public boolean isDebugOutput()
   {
@@ -243,5 +251,5 @@
   private String _accMode;
   private Agent _agent;
   private boolean _rtl = false;
-}
-
+  
+}
\ No newline at end of file



Mime
View raw message