title: JSF / Primefaces: Pre Select an option in a OneMenu
body: <p>I have a simple OneMenu in JSF:</p>
  
  <pre><code>@ManagedBean
  @ViewScoped
  public class ProductBean {
    ...
    protected static Map&lt;String, String&gt; priceTypes;
    ...
    getter &amp; setter
  }
  
  &lt;p:selectOneMenu id="sizeType" &gt;
    &lt;f:selectItems value="#{productBean.priceTypes}" /&gt;
  &lt;/p:selectOneMenu&gt;
  </code></pre>
  
  <p>In my usecase, i want to preselect[1] an option out of "priceTypes" - how can i do that?</p>
  
  <p>I am using Glassfish 3.1.2.2 with Primefaces 3.4.1</p>
  
  <p>[1] See "selected" at <a href="http://www.w3schools.com/tags/tag_option.asp" rel="nofollow">http://www.w3schools.com/tags/tag_option.asp</a></p>