diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2008-07-03 14:16:47 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2008-07-03 14:16:47 +0000 |
commit | b778e102b8ab4d23af34ad50924b1dfaf831718f (patch) | |
tree | d16e342780c1efc8623079794e6eda784f4fe24c /src/com/itmill/toolkit/ui/Form.java | |
parent | f227c79de579f9481dc03b5fa84348bf207e5df0 (diff) | |
download | vaadin-framework-b778e102b8ab4d23af34ad50924b1dfaf831718f.tar.gz vaadin-framework-b778e102b8ab4d23af34ad50924b1dfaf831718f.zip |
"Final" Fix for #1867
svn changeset:5036/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/Form.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/Form.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/com/itmill/toolkit/ui/Form.java b/src/com/itmill/toolkit/ui/Form.java index a4d81a1b09..10c20c893a 100644 --- a/src/com/itmill/toolkit/ui/Form.java +++ b/src/com/itmill/toolkit/ui/Form.java @@ -205,18 +205,16 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item, } } - // Check if there are any systems errors - final ErrorMessage superError = super.getErrorMessage(); - // Return if there are no errors at all - if (superError == null && validationError == null + if (getComponentError() == null && validationError == null && currentBufferedSourceException == null) { return null; } // Throw combination of the error types - return new CompositeErrorMessage(new ErrorMessage[] { superError, - validationError, currentBufferedSourceException }); + return new CompositeErrorMessage(new ErrorMessage[] { + getComponentError(), validationError, + currentBufferedSourceException }); } /* |