org.apache.tapestry5.internal.services
Class EmptyClientInfrastructure

java.lang.Object
  extended by org.apache.tapestry5.internal.services.EmptyClientInfrastructure
All Implemented Interfaces:
ClientInfrastructure

public class EmptyClientInfrastructure
extends Object
implements ClientInfrastructure

Used for Ajax responses to provide an empty stack (since, by definition, the client must already have the base stack).

Since:
5.1.0.2

Constructor Summary
EmptyClientInfrastructure()
           
 
Method Summary
 List<Asset> getJavascriptStack()
          Returns the (localized) assets for the scripts to be included as core JavaScript stack.
 List<Asset> getStylesheetStack()
          Returns the (localized) assets for CSS stylesheet files to be included on any page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyClientInfrastructure

public EmptyClientInfrastructure()
Method Detail

getJavascriptStack

public List<Asset> getJavascriptStack()
Description copied from interface: ClientInfrastructure
Returns the (localized) assets for the scripts to be included as core JavaScript stack. The assets for the stack will be added before any other JavaScript libraries included in the render of the page. Adding a library or any initialization JavaScript triggers the inclusion of the JavaScript stack.

Specified by:
getJavascriptStack in interface ClientInfrastructure
Returns:
list of assets

getStylesheetStack

public List<Asset> getStylesheetStack()
Description copied from interface: ClientInfrastructure
Returns the (localized) assets for CSS stylesheet files to be included on any page. These are ordered before any stylesheets specifically included (to allow default rules to be easily overridden). The default core stack includes the Tapestry default stylesheet, and an additional stylesheet for the Blackbird JavaScript console.

Specified by:
getStylesheetStack in interface ClientInfrastructure
Returns:
list of assets


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