title: p:selectOneMenu Problem?
body: <p>The following code works fine for <code>h:selectOneMenu</code> but doesn't work for <code>p:selectOneMenu</code></p>
  
  <p><strong>There is no item in <code>p:selectOneMenu</code></strong></p>
  
  <p><strong>Facelet</strong></p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.prime.com.tr/ui"
        xmlns:f="http://java.sun.com/jsf/core"&gt;
    &lt;h:head&gt;
      &lt;title&gt;Facelet Title&lt;/title&gt;
    &lt;/h:head&gt;
    &lt;h:body&gt;
      &lt;h:form&gt;
        &lt;h:selectOneMenu value="#{testBean.name}"&gt;
          &lt;f:selectItems value="#{testBean.names}"/&gt;
        &lt;/h:selectOneMenu&gt;
  
        &lt;p:selectOneMenu value="#{testBean.name}"&gt;
          &lt;f:selectItems value="#{testBean.names}"/&gt;
        &lt;/p:selectOneMenu&gt;
      &lt;/h:form&gt;
    &lt;/h:body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>Bean</strong></p>
  
  <pre><code>package net.footfeed.beans;
  
  import javax.faces.bean.ManagedBean;
  import javax.faces.bean.SessionScoped;
  
  @ManagedBean
  @SessionScoped
  public class TestBean {
  
    private String name = "name1";
    private String[] names = new String[] {"name1", "name2", "name2"};
  
    public String getName() {
      return name;
    }
  
    public void setName(String name) {
      this.name = name;
    }
  
    public String[] getNames() {
      return names;
    }
  
  }
  </code></pre>