posted 11 years ago
Basically I am trying to do a search of the users on my social network project using autocomplete of primefaces. The problem that I am facing is that whenever a new user signs up, the autocomplete is sometimes showing the new user in the suggestion and sometimes its not showing. Normally during first time a user signs up the autocomplete showing the user's name in the suggestion but the second when another user signs up ,his name is not showing in the suggestion. I think userDB is not getting updated. But whenever I redeploy the project everything is working fine. The name of the user is showing in the autocomplete.
1)xhtml
2) User Converter
3) Serach Bean