diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-05-21 12:48:15 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-05-21 12:48:15 +0000 |
commit | dd7cde3f8a66358dfb9a25b4da1009fa260f3b5b (patch) | |
tree | b04bcdfd071c01a8cf88a1f1463a1f9224445ede | |
parent | 1f9377e67e3119cb57d9349a427e987d88e392d9 (diff) | |
download | vaadin-framework-dd7cde3f8a66358dfb9a25b4da1009fa260f3b5b.tar.gz vaadin-framework-dd7cde3f8a66358dfb9a25b4da1009fa260f3b5b.zip |
adding/removing validator now fires repaint
svn changeset:4597/svn branch:trunk
-rw-r--r-- | src/com/itmill/toolkit/ui/AbstractField.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractField.java b/src/com/itmill/toolkit/ui/AbstractField.java index c2e7cef57b..9b4ea1fe91 100644 --- a/src/com/itmill/toolkit/ui/AbstractField.java +++ b/src/com/itmill/toolkit/ui/AbstractField.java @@ -554,6 +554,7 @@ public abstract class AbstractField extends AbstractComponent implements Field, validators = new LinkedList(); } validators.add(validator); + requestRepaint(); } /** @@ -579,6 +580,7 @@ public abstract class AbstractField extends AbstractComponent implements Field, if (validators != null) { validators.remove(validator); } + requestRepaint(); } /** |