|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidationErrorHandler
An ValidationErrorHandler is called to report errors caused by a bad use of the application (typically validations over the screen state, based in business rules, before performing an action).
To specify your own ValidationErrorHandler, configure in your application module descriptor something like:
<replace-with class="YourValidationErrorHandlerClass"><when-type-assignable class="org.cruxframework.crux.core.client.errors.ValidationErrorHandler" /></replace-with>
| Method Summary | |
|---|---|
void |
handleValidationError(String errorMessage)
Handle a validation error |
com.google.gwt.user.client.ui.Widget |
handleValidationError(com.google.gwt.user.client.ui.Widget widget,
String errorMessage)
Handle a validation error inside a widget |
| Method Detail |
|---|
void handleValidationError(String errorMessage)
errorMessage - The error message.
com.google.gwt.user.client.ui.Widget handleValidationError(com.google.gwt.user.client.ui.Widget widget,
String errorMessage)
errorMessage - The error message.widget - the corresponding widget to be marked as invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||