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?
<page id="sbEmptySidebar" title="emptysidebar"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
> <vbox flex="1">
<label id ="l1">
</vbox> </page>