title: How to get the selectManyCheckbox value in my bean using valueChangeListener?
body: <p>I am trying to get the user select value to my backing bean. I've posted my XHTML code below:</p>
  
  <pre><code>&lt;p:selectManyCheckbox  style="z-index: 1000" id="gencount" layout="grid" columns="1" valueChangeListener="#{subUserBean.degreeFilter}"&gt;
      &lt;p:ajax event="click"/&gt;
      &lt;f:selectItem itemValue="All" itemLabel="All"/&gt;
      &lt;f:selectItem itemValue="BE" itemLabel="BE"/&gt;
      &lt;f:selectItem itemValue="B.TECH" itemLabel="B.TECH"/&gt;
      &lt;f:selectItem itemValue="MCA" itemLabel="MCA"/&gt;
  &lt;/p:selectManyCheckbox&gt;
  </code></pre>
  
  <p>Value change listener in my bean:</p>
  
  <pre><code>public void degreeFilter(ValueChangeEvent dege) {
      System.out.println("Select degree--&gt;"+dege.getNewValue().toString());
  }
  </code></pre>
  
  <p>I am getting only the object value as "[Ljava.lang.String;@a33ca7", but I need the select value as "BE".</p>