org.apache.tapestry.annotations
Annotation Type Message


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface Message

An annotation that may be attached to any method that returns a String. Acts as a wrapper around Messages, converting any parameters into message arguments.

In many cases, the message key will be deduced from the method name (if not provided):

Since:
4.0
Author:
Howard Lewis Ship

Optional Element Summary
 String value
          The message key to use.
 

value

public abstract String value
The message key to use. If no such value is defined, it is derived from the method name.

Default:
""


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.