title: how to populate h:selectOneMenu from the database table in jsf ?
body: <p>I have a category table </p>
  
  <pre><code> categoryId
   catName
   description
   image 
  </code></pre>
  
  <p>I want to populate the <code>&lt;h:selectOneMenu&gt;</code> with the <code>itemLabel</code> <code>categoryName</code> and 
    it's value with <code>categoryId</code>.</p>
  
  <p>It should be done with the <code>ManagedBean</code> how can i do this ?? </p>