Class ExtensibleJavaScriptStack

java.lang.Object
org.apache.tapestry5.services.javascript.ExtensibleJavaScriptStack
All Implemented Interfaces:
JavaScriptStack

An extensible implementation of JavaScriptStack that can be used as the implementation of a service. The contributions to the service are used to supply the libraries, stylesheets, and initialization for a JavaScriptStack, allowing the stack to be more dynamically configured. In practice, one will use ServiceBinder.bind(Class, Class) and ServiceBindingOptions.withMarker(Class...) to construct the service, then use the marker annotation to inject the service when contributing the service into to the JavaScriptStackSource. A limitation of this implementation is that the contributed assets are not localized at all.
Since:
5.3
See Also: