Tapestry Annotations
Wiki Markup |
---|
{float:right|background=#eee}
{contentbylabel:title=Related Articles|showLabels=false|showSpace=false|space=@self|labels=annotations}
{float} |
Tapestry relies heavily on Java annotations
For a convenient list of Tapestry annotations, see the Component Cheat Sheet.
Using Annotations
rather than XML files for configuration.
The majority of Tapestry annotations (those defined in the tapestry-core and tapestry-ioc modules) are very specific to Tapestry components or Tapestry IoC services.
annotations intended for use in page/component/mixin classes | |
annotations for use by IoC services |
Annotations for data holding classes
In addition to the core and IoC annotations, there are a few annotations 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).
...