title: Yii - registerScriptFile not registering
body: <p>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.</p>
  
  <pre><code># site/docs
  Yii::app()-&gt;clientScript-&gt;registerCssFile(BASE_URL . 'js/css/jquery-ui.css');
  Yii::app()-&gt;clientScript-&gt;registerScriptFile(BASE_URL . 'js/jquery-ui.js', CClientScript::POS_HEAD);
  </code></pre>
  
  <p>I'm sure I am overlooking something small</p>