|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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,
String message)
Construct. |
|
| Method Summary | |
|---|---|
IValidationError |
getError()
Gets error. |
String |
getMessage()
Gets message. |
static long |
getSerialVersionUID()
Gets serialVersionUID. |
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,
String message)
error - message - | Method Detail |
|---|
public static long getSerialVersionUID()
public IValidationError getError()
public String getMessage()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||