|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ErrorInfo | |
---|---|
org.apache.empire.struts2.action | |
org.apache.empire.struts2.actionsupport | |
org.apache.empire.struts2.jsp.controls |
Uses of ErrorInfo in org.apache.empire.struts2.action |
---|
Methods in org.apache.empire.struts2.action that return ErrorInfo | |
---|---|
ErrorInfo |
WebAction.getLastActionError(boolean clear)
|
ErrorInfo |
ActionErrorProvider.getLastActionError(boolean clear)
returns the last Action Error of the current or a previous action the error is left on the session unless the clear flag is set to true In order to display the error to the user an application should use this function instead of getActionError() and set clear to true. |
Methods in org.apache.empire.struts2.action that return types with arguments of type ErrorInfo | |
---|---|
Map<String,ErrorInfo> |
WebAction.getItemErrors()
|
Map<String,ErrorInfo> |
ActionErrorProvider.getItemErrors()
returns a map of field errors field errors are not persisted on the session and will be lost on redirects. |
Methods in org.apache.empire.struts2.action with parameters of type ErrorInfo | |
---|---|
protected void |
WebAction.addFieldError(String name,
Column column,
ErrorInfo error)
|
protected void |
WebAction.addItemError(String item,
ErrorType errorType,
String title,
ErrorInfo error)
|
String |
WebAction.getLocalizedErrorMessage(ErrorInfo error)
|
String |
ActionErrorProvider.getLocalizedErrorMessage(ErrorInfo error)
return the localized message for an error |
protected void |
WebAction.setActionError(ErrorInfo error)
|
Uses of ErrorInfo in org.apache.empire.struts2.actionsupport |
---|
Classes in org.apache.empire.struts2.actionsupport that implement ErrorInfo | |
---|---|
class |
ActionError
|
Methods in org.apache.empire.struts2.actionsupport with parameters of type ErrorInfo | |
---|---|
protected abstract void |
ActionBase.addFieldError(String name,
Column column,
ErrorInfo error)
|
protected void |
FormActionSupport.addFieldError(String name,
Column column,
ErrorInfo error,
Object value)
overridable: sets a field error message on the action |
Constructors in org.apache.empire.struts2.actionsupport with parameters of type ErrorInfo | |
---|---|
ActionError(ErrorInfo other)
|
Uses of ErrorInfo in org.apache.empire.struts2.jsp.controls |
---|
Classes in org.apache.empire.struts2.jsp.controls that implement ErrorInfo | |
---|---|
static class |
InputControl.FieldValueError
This class wraps a parsing or validation error. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |