|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public static @interface Jpf.MessageArg
A message argument used within field validation annotations.
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. |
public abstract String arg
${pageFlow.myProperty}
) or literal string that will be used
as the message argument. Mutually-exclusive with argKey()
.
public abstract String argKey
bundleName()
that will be
used to look up the argument. Mutually-exclusive with arg()
.
Jpf.MessageBundle
public abstract String bundleName
argKey()
to be set.
Jpf.MessageBundle
public abstract int position
{2}
in the message. This defaults to the position in the containing messageArgs
array.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |