click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1096516 - /click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Date Mon, 25 Apr 2011 16:47:08 GMT
Author: sabob
Date: Mon Apr 25 16:47:08 2011
New Revision: 1096516

URL: http://svn.apache.org/viewvc?rev=1096516&view=rev
Log:
Fixed AutoCompleteTextField which returned multiple character encodings in response. CLK-757

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java?rev=1096516&r1=1096515&r2=1096516&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
(original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Mon Apr 25 16:47:08 2011
@@ -448,8 +448,8 @@ public abstract class AutoCompleteTextFi
             public ActionResult onAction(Control source) {
                 ActionResult actionResult = new ActionResult();
 
-                String contentType = getPage().getContentType();
-                actionResult.setContentType(contentType);
+                actionResult.setContentType(getPage().getContentType());
+                actionResult.setCharacterEncoding(getPage().getCharacterEncoding());
 
                 List<?> autocompleteList = getAutoCompleteList(getValue());
                 if (autocompleteList != null) {



Mime
View raw message