org.apache.tapestry5.corelib.mixins

## Class ZoneRefresh

- java.lang.Object
- - org.apache.tapestry5.corelib.mixins.ZoneRefresh

-     @Events(value="refresh")
      public class ZoneRefresh
      extends Object

  This mixin periodically refreshs a `zone` by triggering an event on the server using ajax requests. Server-side, the mixin triggers the "refresh" event with the mixin's context. A container may but does not need to handle the event. If the event is handled and a value is returned, that value is used to render the response. Otherwise, the Zone's body is re-rendered. Note: This mixin is only meant for a `zone`.

  Component Parameters
  Name | Type | Flags | Default | Default Prefix
  --- | --- | --- | --- | ---
  context | Object |  |  | prop
  Context passed to the event
  period | int | Required |  | literal
  Period between two consecutive refreshes (in seconds). If a new refresh occurs before the previous refresh has completed, it will be skipped.

  Component Events
  Name | Description
  --- | ---
  refresh |

- - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.