]> source.dussan.org Git - vaadin-framework.git/commitdiff
#6754 Added missing requestRepaint calls
authorArtur Signell <artur.signell@itmill.com>
Mon, 4 Apr 2011 10:22:09 +0000 (10:22 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 4 Apr 2011 10:22:09 +0000 (10:22 +0000)
svn changeset:18090/svn branch:6.5

src/com/vaadin/ui/AbstractTextField.java

index cd9d99de18111442e5604cb35872d14cd340eb08..ad31a461579f5744c1801ffc6c3d5e271a61f61b 100644 (file)
@@ -306,6 +306,7 @@ public abstract class AbstractTextField extends AbstractField implements
      */
     public void setNullRepresentation(String nullRepresentation) {
         this.nullRepresentation = nullRepresentation;
+        requestRepaint();
     }
 
     /**
@@ -325,12 +326,13 @@ public abstract class AbstractTextField extends AbstractField implements
      * </p>
      * 
      * @param nullSettingAllowed
-     *            Should the null-string represenation be always converted to
+     *            Should the null-string representation always be converted to
      *            null-values.
      * @see TextField#getNullRepresentation()
      */
     public void setNullSettingAllowed(boolean nullSettingAllowed) {
         this.nullSettingAllowed = nullSettingAllowed;
+        requestRepaint();
     }
 
     /**