title: zend framework: set action in form class
body: <p>I have a Zend Framework application and I am stuck with setting the form action in the form class.</p>
  
  <pre><code>class Form_Nieuws_AddForm extends Zend_Form {
  
      public function init() {
      $this-&gt;setMethod('get');
      $this-&gt;setAction('/test/blaat');
      $this-&gt;setAttribs(array(
          'id' =&gt; 'frmCreate',
          'class' =&gt; 'baal'
      ));
              ....
      }
  }
  </code></pre>
  
  <p>The attribs are set just fine, but the action and method not?
  If I move these to the controller it works just fine. How come?</p>