...
Within a component class, parameters are declared by using the @Parameter annotation on a private field.
Anchor | ||||
---|---|---|---|---|
|
Parameter Bindings
In Tapestry, a parameter is not a slot into which data is pushed: it is a connection between a field of the component (marked with the @Parameter annotation) and a property or resource of the component's container. In most simple examples, the component's container is the page, but since components can be nested, often the container of a component is another component.
...
The name of the parameter is the same as field name (except with leading "_" and "$" characters, if any, removed). Here, the parameter names are "start", "end" and "result". Anchor
...
The component above can be referenced in another component or page template, and its parameters bound:
...