first of all I really like to thank you for the great work you guys have done! I really like primefaces and can't wait to get the final v3
As much as I love the autoComplete component, is it possible to modify the resultlist? E.g. add a count to each item like you can find it on the google auto completion?
I know that there's a way to do this using the jquery api (http://jqueryui.com/demos/autocomplete/#custom-data), but after a few hours I wasn't able to find out if there's a way to get this working in Primefaces.
If there is hack to prevent primefaces in escaping all characters e.g. "<" and ">" I would simply add a span in my result string and do some css. e.g.
Code: Select all
public List<String> complete(String query) {
...
list.add("abc <span style='float:right;'>12</span>");
...
}
Anyway, if you guys don't know which component should be upgraded next, ...
Thank you so much!
Regards,
Nils