i am using the primefaces keyboard to search for some articles in the application. My problem is that i have a commandButton that goes to a method in the managed bean which does the search. When arriving in the managed bean the string assigned to the keyboard component is empty.
Here is the part with the component in jsf file
<h:panelGroup id="ric_tastiera" layout="block"
style="display:none; overflow:hidden; height:180px;">
<p:keyboard id="qwerty" value="#{dpDisponibilita2.pressed_letter}" layout="qwertyBasic" />
<p:commandButton action="#{dpDisponibilita2.caricaArticoliDaLettera}" value="Search" ajax="true" />
</h:panelGroup>
What i am missing or doing wrong ?
Thanks in advance