Package | Description |
---|---|
org.apache.tapestry5.modules | |
org.apache.tapestry5.services.javascript |
Support for Javascript (and CSS), including dynamically-added JavaScript and
services that manage dynamically-added links to JavaScript (and CSS) assets.
|
Modifier and Type | Method and Description |
---|---|
static void |
JavaScriptModule.setupCoreJavaScriptStack(OrderedConfiguration<StackExtension> configuration,
Compatibility compatibility,
String provider)
The core JavaScriptStack has a number of entries:
requirejs The RequireJS AMD JavaScript library
scriptaculous.js, effects.js Optional JavaScript libraries in compatibility mode (see
Trait.SCRIPTACULOUS )
t53-compatibility.js Optional JavaScript library (see Trait.INITIALIZERS )
underscore-library, underscore-module
The Underscore JavaScript library, and the shim that allows underscore to be injected
t5/core/init Optional module related to t53-compatibility.js
jquery-library The jQuery library
jquery-noconflict Switches jQuery to no-conflict mode (only present when the infrastructure is "prototype").
jquery A module shim that allows jQuery to be injected (and also switches jQuery to no-conflict mode)
bootstrap.css, tapestry.css, exception-frame.css, tapestry-console.css, tree.css
CSS files
t5/core/[...]
Additional JavaScript modules
jquery
Added if the infrastructure provider is "jquery".
User modules may replace or extend this list. |
static void |
JavaScriptModule.setupInternalJavaScriptStack(OrderedConfiguration<StackExtension> configuration) |
Modifier and Type | Method and Description |
---|---|
static StackExtension |
StackExtension.javascriptAggregation(JavaScriptAggregationStrategy strategy)
Convenience for defining the
JavaScriptStack.getJavaScriptAggregationStrategy() . |
static StackExtension |
StackExtension.library(String path)
Convenience for defining a LIBRARY.
|
static StackExtension |
StackExtension.module(String name)
Convenience for defining a MODULE.
|
static StackExtension |
StackExtension.stack(String name)
Convenience for defining a STACK.
|
static StackExtension |
StackExtension.stylesheet(String path)
Convenience for defining a STYLESHEET.
|
Constructor and Description |
---|
ExtensibleJavaScriptStack(AssetSource assetSource,
List<StackExtension> configuration) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.