String sProperty2 = field.getVarValue("month"); String sProperty3 = field.getVarValue("day");
String sProperty2 = ValidatorUtil.getValueAsString(bean,field.getVarValue("month")); String sProperty3 = ValidatorUtil.getValueAsString(bean,field.getVarValue("day"));
	public static boolean validate(		Object bean,		ValidatorAction va, 		Field field,		ActionErrors errors,		HttpServletRequest request, 		ServletContext application) {					String valueString = ValidatorUtil.getValueAsString(bean,field.getProperty());		String sProperty2 = field.getVarValue("month");		String sProperty3 = field.getVarValue("day");		if ((valueString == null) || (sProperty2 == null) || (sProperty3 == null) ||			(valueString.length() == 0) || (sProperty2.length() == 0) || (sProperty3.length() == 0)){			errors.add(field.getKey(),Resources.getActionError(request, va, field));			return true;		}		Integer year = new Integer(ValidatorUtil.getValueAsString(bean,field.getProperty()));		Integer month = new Integer(ValidatorUtil.getValueAsString(bean,sProperty2));		Integer day = new Integer(ValidatorUtil.getValueAsString(bean,sProperty3));				if (!GenericValidator.isBlankOrNull(valueString)) {			  if (!Data.validDate(day, month, year) || 			      year == null || month == null || day == null ||			      year.intValue() < 1 || month.intValue() < 0 || day.intValue() < 1) 				 errors.add(field.getKey(),Resources.getActionError(request, va, field));				 return false;		}		return true;	}