@SupportsInformalParameters @Import(library="ProgressiveDisplay.js") @Events(value="progressiveDisplay") public class ProgressiveDisplay extends Object
EventConstants.PROGRESSIVE_DISPLAY
event to inform the container about the (optional)
event context. The event handler method may return a renderable object; if not then the component's body is rendered
as the partial markup response.Component Parameters | ||||||
---|---|---|---|---|---|---|
Name | Description | Type | Flags | Default | Default Prefix | Since |
context | If provided, this is the event context, which will be provided via the event. | Object | prop | |||
initial | The initial content to display until the real content arrives. Defaults to "Loading ..." and an Ajax activity icon. | org. | block: | literal | ||
update | Name of a function on the client-side Tapestry.ElementEffect object that is invoked after the elements's body content has been updated. If not specified, then the basic "highlight" method is used, which performs a classic "yellow fade" to indicate to the user that and update has taken place. | String | literal |
Events: |
---|
Constructor and Description |
---|
ProgressiveDisplay() |
Modifier and Type | Method and Description |
---|---|
Block |
getBody()
Returns the body of the ProgressiveDisplay, which is sometimes (in the
context of a multi-zone update)
the content to be included.
|
public ProgressiveDisplay()
public Block getBody()
Copyright © 2003-2012 The Apache Software Foundation.