Hello Cagatay,
I have looked today dropdown feature in AutoComplete. Usable, but partually. Why do we ALWAYS need to send an ajax request (for completeMethod) to get all items from server? I would expect that list gets cached client-side without roundtrip to server when user clicks on "dropdown" icon next time. This is a similar concept what Tree or TabView have with "cache" attribute. Can you add this enhancement please?
Thanks for your effort.
Autocomplete enhancement: cached list for dropdown
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
Hmm... I can't imagine that nobody is interested in cached list. Can I create a future request, Cagatay?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Posts: 40
- Joined: 13 Jan 2012, 09:24
@Oleg - it sounds very good...any update on this?
PrimeFaces 5.2, Websphere liberty profile.
-
- Posts: 409
- Joined: 28 Dec 2011, 17:44
Sounds really nice, especially for small lists. But could blow up client side for large amount of data
Primefaces 8.0.7 (PF Extensions 8.0)
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22
JSF: Mojarra 2.3.2 (Spec 2.3) - running on WildFly 22
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Better 1 year than never Good job, thanks. But after 1 year I don't need this features anymore . At least in current projects.It took 1 whole year to implement this complicated feature
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I'm pretty sure, someone else would need it
Read the blog post... What I meant in the original post (1 year ago), was this feature:
User clicks on dropdown button in the Autocomplete --> list is fetched from the server --> subsequent clicks on the dropdown button should not fetch the list again if the caching is activated.
Does it work in this manner as well?
User clicks on dropdown button in the Autocomplete --> list is fetched from the server --> subsequent clicks on the dropdown button should not fetch the list again if the caching is activated.
Does it work in this manner as well?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
It should if search string is queried before regardless from input or dropdown.
Well, assume the Autocomplete didn't contain search string before (was empty, no input was done). We click on the dropdown list --> list is fetched --> we click on this button again --> what will happen if the caching feature is active?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests