You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Tapestry Annotations

Tapestry relies heavily on Java annotations

For a convenient list of Tapestry annotations, see the Component Cheat Sheet.

Using Annotations

The majority of Tapestry annotations (defined in the tapestry-core and tapestry-ioc modules) are very specific to Tapestry components or Tapestry IoC services.

A small number of annotations are intended for data holding classes that are not Tapestry components; these annotations allow high-level components such as Grid and BeanEditForm to create powerful user interfaces with out any additional coding. Because these annotations are separated from the rest of Tapestry, they can be used inside your data tier classes without having to bring all of Tapestry into your classpath. This is very useful in multi-tier applications where data objects may originate in an application tier (such as a JEE application server) and travel to the presentation tier (a Tapestry application).

Upgrade Notes – Release 5.0.12

The artifact id for the annotations module has changed from tapestry-annotations to tapestry5-annotations. This is necessary to support Tapestry 4 and Tapestry 5 applications co-existing within a single WAR.

  • No labels