tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1152046 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java
Date Thu, 28 Jul 2011 23:55:12 GMT
Author: hlship
Date: Thu Jul 28 23:55:11 2011
New Revision: 1152046

URL: http://svn.apache.org/viewvc?rev=1152046&view=rev
Log:
TAP5-1421: Fiddle with the order of processing of PartialMarkupRendererFilters so that added
alerts show up in the correct order

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java?rev=1152046&r1=1152045&r2=1152046&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ajax/AjaxResponseRendererImpl.java
Thu Jul 28 23:55:11 2011
@@ -57,10 +57,9 @@ public class AjaxResponseRendererImpl im
         {
             public void renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer
renderer)
             {
-                // We set things up so that the support object is invoked pretty late.
-                renderer.renderMarkup(writer, reply);
-
                 callback.run(javaScriptSupport);
+
+                renderer.renderMarkup(writer, reply);
             }
         });
     }



Mime
View raw message