title: Zend ViewScript Decorator - Where to place my viewScript
body: <p>Hey, so I was having trouble with decorators, and finally found the ViewScript decorator which seems to be what I'm looking for.  I can't quite figure how to get all the files to point to eachother though, and was hoping you guys could help.</p>
  
  <p>In my form, at the bottom, I have my assignment of the viewScript decorator to all my elements:</p>
  
  <pre><code>Bottom of the form.php:
  
      $this-&gt;setElementDecorators(array(array('ViewScript'), array('viewScript' =&gt; 'ViewScript.phtml')));
  </code></pre>
  
  <p>I was under the impression that this would take my form elements and place them into ViewScript.phtml which is in the same folder as my form.php.</p>
  
  <p>However, I get this error message: </p>
  
  <pre><code>Warning: Exception caught by form: Plugin by name '/ViewScript.phtml' was not found in the registry; used paths: Zend_Form_Decorator_: Zend/Form/Decorator/;Zend/Form/Decorator/ (..BLAHBLAH)
  </code></pre>
  
  <p>Why can't the form find ViewScript.phtml, and how could I point to it?  </p>