<a:sidebar widgetVar="sidebar1" baseZIndex="10000"> <h1 style="font-weight:normal">Left Sidebar</h1> <a:commandButton value="Cancel" oncomplete="PF('sidebar1').hide()"/> </a:sidebar> <a:sidebar widgetVar="sidebar2" position="right" baseZIndex="10000"> <h1 style="font-weight:normal">Right Sidebar</h1> <a:commandButton value="Cancel" oncomplete="PF('sidebar2').hide()"/> </a:sidebar> <a:sidebar widgetVar="sidebar3" position="top" baseZIndex="10000"> <h1 style="font-weight:normal">Top Sidebar</h1> <a:commandButton value="Cancel" oncomplete="PF('sidebar3').hide()"/> </a:sidebar> <a:sidebar widgetVar="sidebar4" position="bottom" baseZIndex="10000"> <h1 style="font-weight:normal">Bottom Sidebar</h1> <a:commandButton value="Cancel" oncomplete="PF('sidebar4').hide()"/> </a:sidebar> <a:sidebar widgetVar="sidebar5" fullScreen="true" baseZIndex="10000"> <h1 style="font-weight:normal">Full Screen Sidebar</h1> <a:commandButton value="Cancel" oncomplete="PF('sidebar5').hide()"/> </a:sidebar> <a:commandButton icon="fa fa-arrow-right" oncomplete="PF('sidebar1').show()" /> <a:commandButton icon="fa fa-arrow-left" oncomplete="PF('sidebar2').show()" /> <a:commandButton icon="fa fa-arrow-down" oncomplete="PF('sidebar3').show()" /> <a:commandButton icon="fa fa-arrow-up" oncomplete="PF('sidebar4').show()" /> <a:commandButton icon="fa fa-arrows-alt" oncomplete="PF('sidebar5').show()" />