title: Assigning Values to Views when using $this->renderScript
body: <p>in order to avoid copy/paste, i can use a unique view for different actions, i can do this using one of these ways</p>
  
  <pre><code>$this-&gt;renderScript('index/index.phtml'); 
  $this-&gt;view-&gt;var = "hello world";   
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$this-&gt;_helper-&gt;viewRenderer('index');
  $this-&gt;view-&gt;var = "hello world";
  </code></pre>
  
  <p>if i want to use a different controller i have to  use the 1st one, the viewRenderer is ok, but when i use the renderScript it shows nothing like <code>var</code> is not defined. how can i assign values to the view script? </p>
  
  <p>index.phtml would be somthing like this</p>
  
  <p><code>echo $this-&gt;var ;</code></p>