I\'m using the p:ajax listener to handle value change events (because valueChangeListener is launched on form submit):
p:ajax
valueChangeListener
you can use this:
public void onNameChanged(AjaxBehaviorEvent event) { String myVal = (String) ((UIOutput) event.getSource()).getValue(); System.out.println("myVal: " + myVal); }