title: Extjs adding panel's button to parent window's bbar?
body: <p>I have a button in a panel which gets rendered inside a window. And I want to be able to add that button to a bottom bar in the window.<br>
  Current I am trying to add an onRender function to the panel to get the parent window using
  <code>this.findParentByType('Ext.Window')</code><br>
  however it returns null.</p>
  
  <p>I am even heading in the right direction?</p>
  
  <p><strong>EDIT:</strong> I am using extjs 3.2.2</p>