myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r668721 - /myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java
Date Tue, 17 Jun 2008 16:02:45 GMT
Author: bommel
Date: Tue Jun 17 09:02:45 2008
New Revision: 668721

URL: http://svn.apache.org/viewvc?rev=668721&view=rev
Log:
TOBAGO-487: Action on server-side needs the coordinate of the event on the client side. Fixed
ajax reload

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java

Modified: myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java?rev=668721&r1=668720&r2=668721&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java
(original)
+++ myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/util/HtmlRendererUtil.java
Tue Jun 17 09:02:45 2008
@@ -874,7 +874,7 @@
       writer.write("if (element) {\n");
       writer.write("   Tobago.addEventListener(element, \"");
       writer.write(facetEntry.getKey());
-      writer.write("\", function(){Tobago.reloadComponent('");
+      writer.write("\", function(){Tobago.reloadComponent(this, '");
       writer.write(HtmlRendererUtil.getComponentIds(facesContext, facetEntry.getValue(),
               ((UICommand) facetEntry.getValue()).getRenderedPartially()));
       writer.write("','");



Mime
View raw message