org.apache.beehive.netui.pageflow.annotations
Annotation Type Jpf.MessageArg


@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public static @interface Jpf.MessageArg

A message argument used within field validation annotations.

See Also:
Jpf.ValidateRequired, Jpf.ValidateMinLength, Jpf.ValidateMaxLength, Jpf.ValidateMask, Jpf.ValidateType, Jpf.ValidateDate, Jpf.ValidateRange, Jpf.ValidateCreditCard, Jpf.ValidateEmail, Jpf.ValidateValidWhen, Jpf.ValidateCustomRule

Optional Element Summary
 String arg
          The JSP 2.0-style expression (e.g., ${pageFlow.myProperty}) or literal string that will be used as the message argument.
 String argKey
          A key in the default message bundle or in the bundle specified by bundleName() that will be used to look up the argument.
 String bundleName
          The name of the message bundle in which to look up the argument value.
 int position
          The position of this argument in the associated message; for example, position 2 would replace the string {2} in the message.
 

arg

public abstract String arg
The JSP 2.0-style expression (e.g., ${pageFlow.myProperty}) or literal string that will be used as the message argument. Mutually-exclusive with argKey().

Default:
""

argKey

public abstract String argKey
A key in the default message bundle or in the bundle specified by bundleName() that will be used to look up the argument. Mutually-exclusive with arg().

See Also:
Jpf.MessageBundle
Default:
""

bundleName

public abstract String bundleName
The name of the message bundle in which to look up the argument value. Requires argKey() to be set.

See Also:
Jpf.MessageBundle
Default:
""

position

public abstract int position
The position of this argument in the associated message; for example, position 2 would replace the string {2} in the message. This defaults to the position in the containing messageArgs array.

Default:
-1