Unfortunatelly, Ajax events are poorly documented and I haven't found any comprehensive list. For example, User Guide v. 3.5 lists itemChange event for p:autoComplete
, but forgets to mention change event.
If you want to find out which events are supported:
SelectOneMenu
are defined in forms.js)this.cfg.behaviors
referencesFor example, this section is responsible for launching toggleSelect event in SelectCheckboxMenu
component:
fireToggleSelectEvent: function(checked) {
if(this.cfg.behaviors) {
var toggleSelectBehavior = this.cfg.behaviors['toggleSelect'];
if(toggleSelectBehavior) {
var ext = {
params: [{name: this.id + '_checked', value: checked}]
}
}
toggleSelectBehavior.call(this, null, ext);
}
},