org.apache.tapestry5.internal.services
Class ClientInfrastructureImpl

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

public class ClientInfrastructureImpl
extends Object
implements ClientInfrastructure

The default Javascript Stack consists of Prototype, Scriptaculous & the Tapestry-specific library.

Since:
5.1.0.2

Constructor Summary
ClientInfrastructureImpl(SymbolSource symbolSource, AssetSource assetSource, ThreadLocale threadLocale)
           
 
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

ClientInfrastructureImpl

public ClientInfrastructureImpl(SymbolSource symbolSource,
                                AssetSource assetSource,
                                ThreadLocale threadLocale)
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.