Changeset 5036

Show
Ignore:
Timestamp:
07/03/08 14:16:47 (6 months ago)
Author:
joonas.lehtinen@…
Message:

"Final" Fix for #1867

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/com/itmill/toolkit/ui/Form.java

    r5033 r5036  
    206206        } 
    207207 
    208         // Check if there are any systems errors 
    209         final ErrorMessage superError = super.getErrorMessage(); 
    210  
    211208        // Return if there are no errors at all 
    212         if (superError == null && validationError == null 
     209        if (getComponentError() == null && validationError == null 
    213210                && currentBufferedSourceException == null) { 
    214211            return null; 
     
    216213 
    217214        // Throw combination of the error types 
    218         return new CompositeErrorMessage(new ErrorMessage[] { superError, 
    219                 validationError, currentBufferedSourceException }); 
     215        return new CompositeErrorMessage(new ErrorMessage[] { 
     216                getComponentError(), validationError, 
     217                currentBufferedSourceException }); 
    220218    } 
    221219