Updated Branches:
  refs/heads/master 525cf43ed -> 8515eb9ef

Ensure that a ProgressiveDisplay component renders a proper Zone, to work 
correctly with client-side logic


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/5cd24a51
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/5cd24a51
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/5cd24a51

Branch: refs/heads/master
Commit: 5cd24a510ee23db682ce949f40aacd418f61bcc3
Parents: 525cf43
Author: Howard M. Lewis Ship <[email protected]>
Authored: Mon Jun 10 10:19:52 2013 -0700
Committer: Howard M. Lewis Ship <[email protected]>
Committed: Mon Jun 10 10:19:52 2013 -0700

----------------------------------------------------------------------
 .../apache/tapestry5/corelib/components/ProgressiveDisplay.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/5cd24a51/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
----------------------------------------------------------------------
diff --git 
a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
 
b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
index 155e49d..a6a9935 100644
--- 
a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
+++ 
b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/ProgressiveDisplay.java
@@ -1,4 +1,4 @@
-// Copyright 2009, 2010, 2011, 2012 The Apache Software Foundation
+// Copyright 2009-2013 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -95,7 +95,7 @@ public class ProgressiveDisplay
         String clientId = jsSupport.allocateClientId(resources);
         String elementName = resources.getElementName("div");
 
-        writer.element(elementName, "id", clientId);
+        writer.element(elementName, "id", clientId, "data-container-type", 
"zone");
         resources.renderInformalParameters(writer);
 
         Link link = resources.createEventLink(EventConstants.ACTION, context);

Reply via email to