title: Trying to add a child block to adminhtml form
body: <p>I am stuck a little with following problem:
  I created a Fom in the adminhtml area using the pure php from Magento and standard template.
  This all works as expected, but I cannot dynamically add and remove fields, I need Javascript and my own phtml file for that.</p>
  
  <p>My Idea now was to simply include a childblock which is using a custom template at the end of the form.</p>
  
  <p>So far I have added</p>
  
  <pre><code>$cblock =$this-&gt;getLayout()
  -&gt;createBlock('netcon_konmod/adminhtml_caps_edit_mat')
  -&gt;setTemplate('netcon_konmod_mat.phtml');
  
  $this-&gt;_addContent($this-&gt;getLayout()
  -&gt;createBlock('netcon_konmod/adminhtml_caps_edit')-&gt;setChild($cblock));
  </code></pre>
  
  <p>to my controller, created an empty Netcon_Konmod_Block_Adminhtml_Caps_Edit_Mat class which extends Mage_Adminhtml_Block_Widget</p>
  
  <p>and created template file mat.phtml in .../template/netcon/konmod/</p>
  
  <p>I also have my konmod.xml which updates my layout and which includes </p>
  
  <pre><code>&lt;adminhtml_caps_edit&gt;
      &lt;reference name="content"&gt;
          &lt;block type="netcon_konmod/adminhtml_caps_edit" name="netcon_konmod_caps_edit"&gt;
              &lt;block type="netcon_konmod/adminhtml_caps_edit_mat" name="netcon_konmod_caps_mat" template="netcon_konmod_mat.phtml" /&gt;
          &lt;/block&gt;
      &lt;/reference&gt;
  &lt;/adminhtml_caps_edit&gt;
  </code></pre>
  
  <p>I am rather new to Magento, and until now I only found ways to include a child block by calling getChildHtml from an already existing phtml file of the parent block.
  However, since I create my form completely with the form and fieldset methods, I don't have my own phtml file in which I could include that call.</p>
  
  <p>The way I have it set up right now, it is displaying the form normally, but does not include the childblock.</p>
  
  <p>Any help would be appreciated, if it is at all possible to do this, I would like to avoid recoding my whole form as template.</p>