|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.components.Component
org.apache.struts2.components.UIBean
org.apache.struts2.components.ActionError
public class ActionError
Render action errors if they exists the specific layout of the rendering depends on the theme itself.
Examples
<s:actionerror />
<s:form .... >
....
</s:form>
| Field Summary | |
|---|---|
static String |
TEMPLATE
|
| Fields inherited from class org.apache.struts2.components.UIBean |
|---|
accesskey, cssClass, cssErrorClass, cssErrorStyle, cssStyle, defaultTemplateDir, defaultUITheme, disabled, dynamicAttributes, id, javascriptTooltip, key, label, labelPosition, labelSeparator, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateEngineManager, templateSuffix, theme, title, tooltip, tooltipConfig, tooltipCssClass, tooltipDelay, tooltipIconPath, value |
| Fields inherited from class org.apache.struts2.components.Component |
|---|
actionMapper, COMPONENT_STACK, parameters, stack |
| Constructor Summary | |
|---|---|
ActionError(ValueStack stack,
HttpServletRequest request,
HttpServletResponse response)
|
|
| Method Summary | |
|---|---|
protected String |
getDefaultTemplate()
A contract that requires each concrete UI Tag to specify which template should be used as a default. |
| Methods inherited from class org.apache.struts2.components.Component |
|---|
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getParameters, getStack, popComponentStack, setActionMapper, start, toString, usesBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TEMPLATE
| Constructor Detail |
|---|
public ActionError(ValueStack stack,
HttpServletRequest request,
HttpServletResponse response)
| Method Detail |
|---|
protected String getDefaultTemplate()
UIBean
getDefaultTemplate in class UIBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||