Validator Vs. Behavior WHat comes first

When using a ‘required’ Validator on an attribute to be set by a Behavior (like a Slug when using the SlugBehavior extension) a “cannot be blank” error is still raised for this field.

Do Validators take precedence over Behaviors? Can we reverse the order? Am I missing anything -= as always :P =-

Try beforeValidate instead of beforeSave (the latter is invoked after validation).

http://www.yiiframework.com/doc/api/1.0.10/CModelBehavior#beforeValidate-detail

/Tommy

Learning does not come easy… thanks :)