org.apache.myfaces.extensions.validator.baseval.annotation
Annotation Type Required


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Required

Since:
1.x.1
Author:
Gerhard Petracek

Optional Element Summary
 java.lang.String validationErrorMsgKey
          to customize the error message or to override the default jsf required message with the usage of the message resolver mechanism
 

validationErrorMsgKey

public abstract java.lang.String validationErrorMsgKey
to customize the error message or to override the default jsf required message with the usage of the message resolver mechanism

Returns:
an optional error message key
Default:
"field_required"


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.