Fórumok
PrimeFaces autoComplete not working
Hussain A, módosítva 11 év-val korábban
PrimeFaces autoComplete not working
Junior Member Bejegyzések: 47 Csatlakozás dátuma: 2012.04.03. Legújabb bejegyzések
Hi, I am using Primefaces 3.5, working with p:autocomplete. It working perfectly, but auto complete stops showing suggestions when I add more than one portlet on the same page. Does any one know why its behaving this way?
Neil Griffin, módosítva 11 év-val korábban
RE: PrimeFaces autoComplete not working
Liferay Legend Bejegyzések: 2655 Csatlakozás dátuma: 2005.07.27. Legújabb bejegyzések
We have an outstanding issue regarding p:fileUpload that sounds similar: FACES-1384
Are you seeing a ViewExpiredException, or any other errors reported in your server log?
Are you seeing a ViewExpiredException, or any other errors reported in your server log?
Hussain A, módosítva 11 év-val korábban
RE: PrimeFaces autoComplete not working
Junior Member Bejegyzések: 47 Csatlakozás dátuma: 2012.04.03. Legújabb bejegyzések
Thanks Neil for response.
Well, console does not show any exception. The prime faces based portlet that has p:autocomplete just stop calling managed bean's method.
Note: Other method are working, like an action method on command button etc.
Well, console does not show any exception. The prime faces based portlet that has p:autocomplete just stop calling managed bean's method.
<p:autocomplete completeMethod="#{controller.suggestionMethod}" />
here the suggestionMethod is responsible to generate suggestions, which is not called.Note: Other method are working, like an action method on command button etc.
Hussain A, módosítva 11 év-val korábban
RE: PrimeFaces autoComplete not working (Válasz)
Junior Member Bejegyzések: 47 Csatlakozás dátuma: 2012.04.03. Legújabb bejegyzések
I have got a work arround for this problem. I just removed
<h:head />
tag from the other portlets on the page. So the remaining portlet that had p:autoComplete worked perfectly.
Neil Griffin, módosítva 11 év-val korábban
RE: PrimeFaces autoComplete not working
Liferay Legend Bejegyzések: 2655 Csatlakozás dátuma: 2005.07.27. Legújabb bejegyzések
Thanks so much for posting your solution. It might help direct us to a solution for FACES-1384.
Hussain A, módosítva 11 év-val korábban
RE: PrimeFaces autoComplete not working
Junior Member Bejegyzések: 47 Csatlakozás dátuma: 2012.04.03. Legújabb bejegyzések
Its my pleasure.