You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/05/04 15:09:34 UTC
svn commit: r653205 -
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Author: bommel
Date: Sun May 4 06:09:34 2008
New Revision: 653205
URL: http://svn.apache.org/viewvc?rev=653205&view=rev
Log:
(TOBAGO-660) Reload facet doesn't work since TOBAGO-312
Modified:
myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java?rev=653205&r1=653204&r2=653205&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java Sun May 4 06:09:34 2008
@@ -221,8 +221,8 @@
// TODO surround by javascript parsable tokens
String partStr = part.toString();
// FIXME:
- if (partStr.startsWith(CODE_NOT_MODIFIED)
- && partStr.equals(responseCode)) {
+ if (partStr.startsWith(responseCode)
+ || partStr.equals(CODE_NOT_MODIFIED)) {
// remove resopnseCode from buffer
buffer.setLength(0);
}