You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Hailong Zhang <to...@gmail.com> on 2006/06/01 06:30:35 UTC

Sandbox doesn't support Chinese?

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!