Customize Errors For Validation

hi

i used this link to customize error messages but it didnt work

why?

Visit Following link

http://www.yiiframework.com/wiki/1/how-to-customize-the-error-message-of-a-validation-rule/