I have the following problem: The methods execute() and list() must not be validated by the save method rule... I have differentes validation rules for each method, but when I call the action, the interceptor tries to validate the input before call execute method. How can I resolve this?

@Validation
public class PersonAction {
public void execute();

   public void list();

@Validations(requiredFields = { @RequiredFieldValidator(fieldName = "person.name", message = "Fill the name field.") })
   public void save(){}

}

André Faria escreveu:
Is possible to use the validation annotations like @RequiredFieldValidator only for a method of the Action class?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to