public class ValidationErrorFeedback extends Object implements IClusterable
Component.error(Serializable)
instead of the generated
error string itself (when FormComponent.error(IValidationError)
is called). The advantage
is that a custom feedback panel would still have access to the underlying
IValidationError
that generated the error message - providing much more context.Constructor and Description |
---|
ValidationErrorFeedback(IValidationError error,
Serializable message)
Construct.
|
Modifier and Type | Method and Description |
---|---|
IValidationError |
getError()
Gets error.
|
Serializable |
getMessage()
Gets message.
|
String |
toString() |
public ValidationErrorFeedback(IValidationError error, Serializable message)
error
- message
- public IValidationError getError()
public Serializable getMessage()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.