-
1. Re: richfaces+3.2+suggestionbox
kamaraju Apr 19, 2008 7:12 AM (in response to kamaraju)I am using rich:suggestion box,I get the following error when i enter any value in the text box.I tried in both richfaces 3.1.4 and richfaces 3.2.0,but it is not working.
Error
PWC4011: Unable to set request character encoding to UTF-8 from context /Country-war, because request parameters have already been read, or ServletRequest.getReader() has already been called
JSP:
<h:inputText id="stateCode" value="#{stateMBean.state.stateCode}" styleClass="GeneralTxt" maxlength="5" size="5"/>
<rich:suggestionbox for="stateCode" width="100"height="100" suggestionAction="#{stateMBean.autocomplete}" var="suggest">
<h:column>
<h:outputText value="#{suggest.stateCode}"/>
</h:column>
</rich:suggestionbox>
Backingbean:
public List autocomplete(Object event) {
try {
System.out.println("inside autocomplete");
String pref = event.toString();
state.setStateCode(pref);
stateList = stateSRemote.findAll(state);
} catch (TnhspException ex) {
}
return stateList;
}
Thanks in advance.Request reply ASAP. -
2. Re: richfaces+3.2+suggestionbox
ilya_shaikovsky Apr 21, 2008 9:15 AM (in response to kamaraju)try 3.2.0 SR 1 please.