Now the error message is displayed next to the property form field when use assert<ConstrainName> method for validation.
Removed deprecated method call.