org.apache.struts2.components
Class RemoteCallUIBean
java.lang.Object
org.apache.struts2.components.Component
org.apache.struts2.components.UIBean
org.apache.struts2.components.ClosingUIBean
org.apache.struts2.components.RemoteCallUIBean
- Direct Known Subclasses:
- Anchor, Div
public abstract class RemoteCallUIBean
- extends ClosingUIBean
RemoteCallUIBean is superclass for all components dealing with remote calls.
Fields inherited from class org.apache.struts2.components.UIBean |
accesskey, cssClass, cssStyle, disabled, label, labelPosition, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateSuffix, theme, title, tooltip, tooltipConfig, value |
Constructor Summary |
RemoteCallUIBean(com.opensymphony.xwork2.util.OgnlValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Method Summary |
void |
evaluateExtraParams()
|
void |
setAfterLoading(java.lang.String afterLoading)
Javascript code that will be executed after the content has been fetched |
void |
setErrorText(java.lang.String errorText)
The text to display to the user if the is an error fetching the content |
void |
setHref(java.lang.String href)
The URL to call to obtain the content |
void |
setShowErrorTransportText(java.lang.String showErrorTransportText)
when to show the error message as content when the URL had problems |
void |
setTheme(java.lang.String theme)
The theme to use for the element. |
Methods inherited from class org.apache.struts2.components.UIBean |
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, escape, evaluateNameValue, evaluateParams, getDefaultTemplate, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setRequiredposition, setTabindex, setTemplate, setTemplateDir, setTitle, setTooltip, setTooltipConfig, setValue |
Methods inherited from class org.apache.struts2.components.Component |
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, setId, toString, usesBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
href
protected java.lang.String href
errorText
protected java.lang.String errorText
showErrorTransportText
protected java.lang.String showErrorTransportText
afterLoading
protected java.lang.String afterLoading
RemoteCallUIBean
public RemoteCallUIBean(com.opensymphony.xwork2.util.OgnlValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
evaluateExtraParams
public void evaluateExtraParams()
- Overrides:
evaluateExtraParams
in class UIBean
setTheme
public void setTheme(java.lang.String theme)
- The theme to use for the element. This tag will usually use the ajax theme.
- Overrides:
setTheme
in class UIBean
setHref
public void setHref(java.lang.String href)
- The URL to call to obtain the content
setErrorText
public void setErrorText(java.lang.String errorText)
- The text to display to the user if the is an error fetching the content
setShowErrorTransportText
public void setShowErrorTransportText(java.lang.String showErrorTransportText)
- when to show the error message as content when the URL had problems
setAfterLoading
public void setAfterLoading(java.lang.String afterLoading)
- Javascript code that will be executed after the content has been fetched
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.