org.slim3.struts.annotation
Annotation Type Msg


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface Msg

An annotation to specify a validation message.

Since:
3.0
Author:
higa

Required Element Summary
 String key
          The key.
 
Optional Element Summary
 String bundle
          The resource bundle name.
 boolean resource
          Whether the key is a message resource.
 

Element Detail

key

public abstract String key
The key.

bundle

public abstract String bundle
The resource bundle name.

Default:
""

resource

public abstract boolean resource
Whether the key is a message resource.

Default:
true


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.