org.apache.tapestry5.corelib.components
Class ProgressiveDisplay

java.lang.Object
  extended by org.apache.tapestry5.corelib.components.ProgressiveDisplay

@SupportsInformalParameters
@IncludeJavaScriptLibrary(value="ProgressiveDisplay.js")
@Events(value="progressiveDisplay")
public class ProgressiveDisplay
extends Object

A component used to implement the progressive enhancement web design strategy; the component renders itself with a simplified initial content (i.e., "loading ...") and an Ajax request then supplies the component's true body. This results in much faster page loads. You can even nest these!

The component simply does not render its body on initial render. On the subsequent action event request, it fires a 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.

Since:
5.1.0.1

Constructor Summary
ProgressiveDisplay()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressiveDisplay

public ProgressiveDisplay()


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.