"constructionDefect.noDefectType");
} else {
// checking if all defect parameters were filled
List defectParameterList = constructionDefect.getDefectParameters();
for (int i = 0; i < defectParameterList.size(); i++) {
DefectParameterZone defectParameter = (DefectParameterZone) defectParameterList
.get(i);
if (defectParameter.getParameterValue() == 0.0 // ||
// defectParameter.getParameterValueSecond()
// == 0.0
) {
errors.rejectValue("defectParameters[" + i + "]",
"constructionDefect.noDefectParameterValue");