You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2012/08/14 03:33:15 UTC
[5/11] git commit: Have Zone import the "core/zone" module
Have Zone import the "core/zone" module
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/1219fba4
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/1219fba4
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/1219fba4
Branch: refs/heads/5.4-js-rewrite
Commit: 1219fba439cc10eb35a8ac47bfca2d85edef2971
Parents: 85978b3
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Aug 13 15:34:58 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Aug 13 15:34:58 2012 -0700
----------------------------------------------------------------------
.../apache/tapestry5/corelib/components/Zone.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/1219fba4/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
index d91ec01..33c54c8 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
@@ -15,10 +15,7 @@
package org.apache.tapestry5.corelib.components;
import org.apache.tapestry5.*;
-import org.apache.tapestry5.annotations.BeginRender;
-import org.apache.tapestry5.annotations.Environmental;
-import org.apache.tapestry5.annotations.Parameter;
-import org.apache.tapestry5.annotations.SupportsInformalParameters;
+import org.apache.tapestry5.annotations.*;
import org.apache.tapestry5.corelib.internal.ComponentActionSink;
import org.apache.tapestry5.corelib.internal.FormSupportAdapter;
import org.apache.tapestry5.corelib.internal.HiddenFieldPositioner;
@@ -68,13 +65,14 @@ import org.slf4j.Logger;
* A Zone starts and stops a {@link Heartbeat} when it renders (both normally, and when re-rendering).
* <p/>
* After the client-side content is updated, a client-side event is fired on the zone's element. The constant
- * Tapestry.ZONE_UPDATED_EVENT can be used to listen to the event.
+ * <code>core/events:zone.didUpdate</code> can be used to listen to the event.
*
* @tapestrydoc
* @see AjaxFormLoop
* @see FormFragment
*/
@SupportsInformalParameters
+@Import(modules = "core/zone")
public class Zone implements ClientBodyElement
{
/**