@Events(value="refresh") public class ZoneRefresh extends Object
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.| 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. | ||||
| Name | Description |
|---|---|
| refresh |
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.