org.apache.tapestry5.internal.services.javascript
Interface JavaScriptStackPathConstructor

All Known Implementing Classes:
JavaScriptStackPathConstructorImpl

public interface JavaScriptStackPathConstructor

Used to generate a list of asset URL paths for the JavaScript libraries of a JavaScript stack. This encapsulates much of the logic of script aggregation.

Since:
5.2.0
See Also:
JavaScriptStack, JavaScriptStackSource, JavaScriptSupport

Method Summary
 List<String> constructPathsForJavaScriptStack(String stackName)
          Given a stack, by name, return a list of URL paths for the individual libraqries in the stack.
 

Method Detail

constructPathsForJavaScriptStack

List<String> constructPathsForJavaScriptStack(String stackName)
Given a stack, by name, return a list of URL paths for the individual libraqries in the stack. If scripts are combined, this will be a single (combined) URL.

Parameters:
stackName - name of JavaScriptStack


Copyright © 2003-2012 The Apache Software Foundation.