title: firefox sidebar menu or list of elements. resources/help
body: <p>I am struggling to find any  resources on firefox extensions which construct a sidebar and put elements into them. plus tyhe other functionalities within a sidebar. I have made a emptysidebar. Now i need to display a dynamic array(which is formed using a JS function).
  I have absolutely no idea how to go about it. Can someone please help!
  this is the code of the sidebar page. I need a xul element like the menuitem where i can display a list of items. How do i get that in a sidebar?</p>
  
  <pre><code>&lt;page id="sbEmptySidebar" title="emptysidebar"
           xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  &gt;   &lt;vbox flex="1"&gt;
          &lt;label id ="l1"&gt;
  
    &lt;/vbox&gt; &lt;/page&gt;
  </code></pre>