You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/05/17 19:58:49 UTC
svn commit: r657410 -
/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/TomahawkFacesContextWrapper.java
Author: lu4242
Date: Sat May 17 10:58:49 2008
New Revision: 657410
URL: http://svn.apache.org/viewvc?rev=657410&view=rev
Log:
added comment when use buffered addresource on portlet environment
Modified:
myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/TomahawkFacesContextWrapper.java
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/TomahawkFacesContextWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/TomahawkFacesContextWrapper.java?rev=657410&r1=657409&r2=657410&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/TomahawkFacesContextWrapper.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/webapp/filter/TomahawkFacesContextWrapper.java Sat May 17 10:58:49 2008
@@ -60,7 +60,9 @@
if (addResource.requiresBuffer())
{
- throw new IllegalStateException("buffering not supported in the portal environment.");
+ throw new IllegalStateException("buffering not supported in the portal environment. "+
+ " Use for org.apache.myfaces.ADD_RESOURCE_CLASS the value"+
+ " org.apache.myfaces.renderkit.html.util.NonBufferingAddResource.");
}
}
else {