The select listener is never called, for this nor for the second example, which uses selectListener= rather than p:ajax. The autocomplete works, just doesn't call the listener. A valueChange listener worked, but it picked up the autocomplete stubs, which I don't want, only the selected value from the returned list. Any thoughts? Thanks.
<p:autoComplete size="70" id="item" required="true" requiredMessage="Item number is required"
disabled="#{editItem.approved == 'Y'}"
forceSelection="true" value="#{editItem.itemNumber}"
queryDelay="150" minQueryLength="3" completeMethod="#{editItem.itemComplete}">
<p:ajax event="select" listener="#{editItem.itemSelect}"/>
</p:autoComplete>
<p:autoComplete
....
selectListener="#{editItem.itemSelect}"
...
</p:autoComplete>
public void itemSelect(SelectEvent evt) {
.........
}
Autocomplete listener not called
Nevah mind, the 3.0 Showcase says the event is
itemSelect="listener"
Presumably the PF manual will be updated and those of us with earlier editions will get a free upgrade...
itemSelect="listener"
Presumably the PF manual will be updated and those of us with earlier editions will get a free upgrade...
ENVIRONMENT
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro
Angular 5.2.4, CLI 1.6.8, PrimeNG 5.2.0, Chrome 64.0.3282.186, Angular CLI project in Webclipse IDE, Win 10 Pro
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I don't think you are monitoring what's going on in PrimeFaces.
See first item;
http://cagataycivici.wordpress.com/2011 ... unleashed/
http://cagataycivici.wordpress.com/2011 ... behaviors/
And your guide about free guide update;
http://cagataycivici.wordpress.com/2011 ... e-is-free/
See first item;
http://cagataycivici.wordpress.com/2011 ... unleashed/
http://cagataycivici.wordpress.com/2011 ... behaviors/
And your guide about free guide update;
http://cagataycivici.wordpress.com/2011 ... e-is-free/
-
- Information
-
Who is online
Users browsing this forum: No registered users and 51 guests