In many places, applications can use use Java 5 annotations as an alternative to XML and Java properties configuration. This page serves as a reference for all annotations across the framework. Interceptor AnnotationsTo use these annotations, you have to specify the AnnotationWorkflowInterceptor to your interceptor stack.
Validation AnnotationsIf you want to use annotation based validation, you have to annotate the class or interface with Validation Annotation. These are the standard validator annotations that come with XWork-tiger:
Type Conversion AnnotationsIf the xwork-tigerjar is added to the classpath, you will directly have type conversion support for Maps and Collections using generics. In short, instead of specifying the types found in collections and maps as documented in Type Conversion, the collection's generic type is used. This means you most likely don't need any ClassName-conversion.properties files. If you want to use annotation based type conversion, you have to annotate the class or interface with the Conversion Annotation.
|