Table of Contents
Tapestry Script Specifications are frequently used with the Script
component, to create dynamic JavaScript functions, typically for use
as event handlers for client-side logic.
The root element is <script>
.
A script specifcation is a kind of specialized template that takes some number of input symbols and combines and manipulates them to form output symbols, as well as body and initialization. Symbols may be simple strings, but are also frequently objects or components.
Script specifications use an Ant-like syntax to insert dynamic values
into text blocks. ${
.
The expression is evaluated relative to a OGNL expression
}Map
of symbols.