/*
* Wrap these in braces to allow repetition of the ivar name
*/
{
ValidatorBean validator = new ValidatorBean();
validator.setValidatorId("javax.faces.DoubleRange");
validator.setValidatorClass("javax.faces.validator.DoubleRangeValidator");
validators.add(validator);
}
{
ValidatorBean validator = new ValidatorBean();
validator.setValidatorId("javax.faces.Length");
validator.setValidatorClass("javax.faces.validator.LengthValidator");
validators.add(validator);
}
{
ValidatorBean validator = new ValidatorBean();
validator.setValidatorId("javax.faces.LongRange");
validator.setValidatorClass("javax.faces.validator.LongRangeValidator");
validators.add(validator);
}
/*
* Wrap these in braces to allow repetition of the ivar name