com.opensymphony.webwork.components
Class RemoteCallUIBean

java.lang.Object
  extended by com.opensymphony.webwork.components.Component
      extended by com.opensymphony.webwork.components.UIBean
          extended by com.opensymphony.webwork.components.ClosingUIBean
              extended by com.opensymphony.webwork.components.RemoteCallUIBean
Direct Known Subclasses:
Anchor, Div

public abstract class RemoteCallUIBean
extends ClosingUIBean

RemoteCallUIBean is superclass for all components dealing with remote calls.

Since:
2.2
Version:
$Revision: 2468 $
Author:
Rene Gielen, Ian Roughley, Rainer Hermanns, Nils-Helge Garli

Field Summary
protected  String afterLoading
           
protected  String errorText
           
protected  String href
           
protected  String showErrorTransportText
           
 
Fields inherited from class com.opensymphony.webwork.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
 
Fields inherited from class com.opensymphony.webwork.components.Component
COMPONENT_STACK, id, parameters, stack
 
Constructor Summary
RemoteCallUIBean(OgnlValueStack stack, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 void evaluateExtraParams()
           
 void setAfterLoading(String afterLoading)
          Javascript code that will be executed after the content has been fetched
 void setErrorText(String errorText)
          The text to display to the user if the is an error fetching the content
 void setHref(String href)
          The URL to call to obtain the content
 void setShowErrorTransportText(String showErrorTransportText)
          when to show the error message as content when the URL had problems
 void setTheme(String theme)
          The theme to use for the element.
 
Methods inherited from class com.opensymphony.webwork.components.ClosingUIBean
getDefaultOpenTemplate, setOpenTemplate, start
 
Methods inherited from class com.opensymphony.webwork.components.UIBean
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, escape, evaluateNameValue, evaluateParams, getDefaultTemplate, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, 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 com.opensymphony.webwork.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
 

Field Detail

href

protected String href

errorText

protected String errorText

showErrorTransportText

protected String showErrorTransportText

afterLoading

protected String afterLoading
Constructor Detail

RemoteCallUIBean

public RemoteCallUIBean(OgnlValueStack stack,
                        HttpServletRequest request,
                        HttpServletResponse response)
Method Detail

evaluateExtraParams

public void evaluateExtraParams()
Overrides:
evaluateExtraParams in class UIBean

setTheme

public void setTheme(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(String href)
The URL to call to obtain the content


setErrorText

public void setErrorText(String errorText)
The text to display to the user if the is an error fetching the content


setShowErrorTransportText

public void setShowErrorTransportText(String showErrorTransportText)
when to show the error message as content when the URL had problems


setAfterLoading

public void setAfterLoading(String afterLoading)
Javascript code that will be executed after the content has been fetched


WebWork Project Page