I use <s:inputSuggestAjax> like this:
<s:inputSuggestAjax suggestedItemsMethod="#{SearchBean.getSuggest}" value="#{SearchBean.keyword}" />

In the backing bean, I have:
public List getSuggest(String tk){
        if (tk.length() < 1) {
            return null;
        }
        return searchService.suggest(-1, tk);
    }

If I input Chinese in the SuggestTextBox, I can not get the Chinese String correctly in getSuggest method.

Any solution?

Thanks!

Reply via email to