public interface UIValidationContext extends UIContextProvider
Modifier and Type | Method and Description |
---|---|
void |
addValidationError(InputComponent<?,?> input,
String errorMessage)
Implementations should call this method to let the UI provider aware of possible errors
|
void |
addValidationInformation(InputComponent<?,?> input,
String infoMessage)
Implementations should call this method to let the UI provider aware of possible informations
|
void |
addValidationWarning(InputComponent<?,?> input,
String warningMessage)
Implementations should call this method to let the UI provider aware of possible warnings
|
InputComponent<?,?> |
getCurrentInputComponent() |
List<UIMessage> |
getMessages() |
getUIContext
void addValidationError(InputComponent<?,?> input, String errorMessage)
input
- errorMessage
- void addValidationWarning(InputComponent<?,?> input, String warningMessage)
input
- warningMessage
- void addValidationInformation(InputComponent<?,?> input, String infoMessage)
input
- infoMessage
- InputComponent<?,?> getCurrentInputComponent()
InputComponent
.null
if cannot be determined by the UI provider.Copyright © 2015 JBoss by Red Hat. All rights reserved.