p:selectOneMenu ajax change event not working
<p>I have the following component on the xhtml:</p>

<pre><code>            &lt;p:outputLabel for="concept" value="Concept" /&gt;
        &lt;p:selectOneMenu id="concept" value="#{dIGRCController.digrc.qconce}"
            requiredMessage="Debe de seleccionar un concepto."
            required="#{request.getParameter('validate')}"&gt;

            &lt;f:selectItem itemLabel="Concept" itemValue="" /&gt;
            &lt;f:selectItems value="#{cCRX1Controller.ccrx1.concepts.entrySet()}"
                var="concepts" itemValue="#{concepts.key}"
                itemLabel="#{concepts.value}" /&gt;

            &lt;p:ajax event="change" execute="@this" listener="#{dIGRCController.testing()}" /&gt;

        &lt;/p:selectOneMenu&gt;
</code></pre>

<p>The values are coming correctly from the cCRX1Controller class. However, when I select an option, I am trying to display the value. the #{dIGRCController.testing()} looks like this:</p>

<pre><code>public void testing()
{
    System.out.println("sdfsd");
}
</code></pre>

<p>What am I doing wrong? I checked <a href="https://stackoverflow.com/questions/18329433/pselectonemenu-onchange-event-doesnt-work">this</a> question but could't figure out what the problem is.</p>