yii-1.1.7 and using {{attribute}} in messages for Client-side Validation

Hi;

Since version 1.1.7 Client-side Validation support is added.

Now, this is part of my code in rules function of the model:


array('link, picture', 'required','message'=>'{attribute} is required!'),

In Normal mode everything works well. But client side validation doesn’t work as I expect. I mean it shows the following message:

instead of

or

how can I solve the problem. I don’t want to rewrite my rules in this way:


array('link', 'required','message'=>'link is required!'),

array('picture', 'required','message'=>'picture is required!'),

thanks

Fixed. Thanks.

im also having this issue. how do i update my framework to the latest version? or can i find the issue and insert it myself?