public abstract class VFilledOnFilled extends VConditional
Constructor and Description |
---|
VFilledOnFilled(Form f,
String name,
String errorMessage,
VFilledGroup preValidator,
VFilledGroup postValidator) |
Modifier and Type | Method and Description |
---|---|
boolean |
postConditionMet(FormData fd,
javax.servlet.http.HttpServletRequest req)
Subclasses should implement this method to check that
certain post conditions have been met.
|
boolean |
preConditionMet(FormData fd,
javax.servlet.http.HttpServletRequest req)
Subclasses should implement this method to check that certain fields or
pre-conditions have been met.
|
validate
getErrorMessage, getName, setErrorMessage, toString
public VFilledOnFilled(Form f, String name, String errorMessage, VFilledGroup preValidator, VFilledGroup postValidator)
name
- name for this validatorerrorMessage
- validation error messagepreValidator
- a pre condition validatorpostValidator
- a post condition validatorpublic boolean preConditionMet(FormData fd, javax.servlet.http.HttpServletRequest req)
VConditional
preConditionMet
in class VConditional
public boolean postConditionMet(FormData fd, javax.servlet.http.HttpServletRequest req)
VConditional
VConditional.preConditionMet(fc.web.forms.FormData, javax.servlet.http.HttpServletRequest)
method
returns true.postConditionMet
in class VConditional