title: How to create a menu bar and a submenu with JSF
body: <p>How do I create a menu bar and a submenu with <a href="http://en.wikipedia.org/wiki/JavaServer_Faces" rel="nofollow">JSF</a> 2.0?</p>
  
  <p>I use <a href="http://en.wikipedia.org/wiki/NetBeans" rel="nofollow">NetBeans</a> 6.8 and server <a href="http://en.wikipedia.org/wiki/GlassFish" rel="nofollow">GlassFish</a>.</p>
  
  <p>There are many JSF components (<a href="http://en.wikipedia.org/wiki/RichFaces" rel="nofollow">RichFaces</a>, <a href="http://en.wikipedia.org/wiki/JavaServer_Faces#Ajax-enabled_components_and_frameworks" rel="nofollow">PrimeFaces</a>, etc.) which you advised me to use and gave me steps for implementation. What would be some example code source?</p>