|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.html.form.ValidationErrorFeedback
public class ValidationErrorFeedback
This class is the parameter to 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 Summary | |
---|---|
ValidationErrorFeedback(IValidationError error,
Serializable message)
Construct. |
Method Summary | |
---|---|
IValidationError |
getError()
Gets error. |
Serializable |
getMessage()
Gets message. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ValidationErrorFeedback(IValidationError error, Serializable message)
error
- message
- Method Detail |
---|
public IValidationError getError()
public Serializable getMessage()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |