I am trying to register jquery ui as a script as a certain view is rendered, so I can use the jquery ui dialog. The problem is that the files aren't being registered. Any ideas? Here's a code snippet. I can verify that the files are on the server.
# site/docs
Yii::app()->clientScript->registerCssFile(BASE_URL . 'js/css/jquery-ui.css');
Yii::app()->clientScript->registerScriptFile(BASE_URL . 'js/jquery-ui.js', CClientScript::POS_HEAD);
I'm sure I am overlooking something small