📄 abstractremotecalluibean.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: AbstractRemoteCallUIBean.java
package org.apache.struts2.components;
import com.opensymphony.xwork2.util.ValueStack;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
// Referenced classes of package org.apache.struts2.components:
// ClosingUIBean, RemoteUICallBean
public abstract class AbstractRemoteCallUIBean extends ClosingUIBean
implements RemoteUICallBean
{
protected String href;
protected String errorText;
protected String afterLoading;
protected String beforeLoading;
protected String executeScripts;
protected String loadingText;
protected String listenTopics;
protected String handler;
protected String formId;
protected String formFilter;
protected String notifyTopics;
protected String showErrorTransportText;
protected String indicator;
protected String showLoadingText;
public AbstractRemoteCallUIBean(ValueStack stack, HttpServletRequest request, HttpServletResponse response)
{
super(stack, request, response);
}
public void evaluateExtraParams()
{
super.evaluateExtraParams();
if (href != null)
addParameter("href", findString(href));
if (errorText != null)
addParameter("errorText", findString(errorText));
if (loadingText != null)
addParameter("loadingText", findString(loadingText));
if (afterLoading != null)
addParameter("afterLoading", findString(afterLoading));
if (beforeLoading != null)
addParameter("beforeLoading", findString(beforeLoading));
if (executeScripts != null)
addParameter("executeScripts", findValue(executeScripts, java/lang/Boolean));
if (listenTopics != null)
addParameter("listenTopics", findValue(listenTopics, java/lang/String));
if (notifyTopics != null)
addParameter("notifyTopics", findValue(notifyTopics, java/lang/String));
if (handler != null)
addParameter("handler", findString(handler));
if (formId != null)
addParameter("formId", findString(formId));
if (formFilter != null)
addParameter("formFilter", findString(formFilter));
if (indicator != null)
addParameter("indicator", findString(indicator));
if (showErrorTransportText != null)
addParameter("showErrorTransportText", findValue(showErrorTransportText, java/lang/Boolean));
else
addParameter("showErrorTransportText", Boolean.valueOf(true));
if (showLoadingText != null)
addParameter("showLoadingText", findString(showLoadingText));
}
public void setListenTopics(String listenTopics)
{
this.listenTopics = listenTopics;
}
public void setHref(String href)
{
this.href = href;
}
public void setErrorText(String errorText)
{
this.errorText = errorText;
}
public void setAfterLoading(String afterLoading)
{
this.afterLoading = afterLoading;
}
public void setBeforeLoading(String beforeLoading)
{
this.beforeLoading = beforeLoading;
}
public void setExecuteScripts(String executeScripts)
{
this.executeScripts = executeScripts;
}
public void setLoadingText(String loadingText)
{
this.loadingText = loadingText;
}
public void setHandler(String handler)
{
this.handler = handler;
}
public void setFormFilter(String formFilter)
{
this.formFilter = formFilter;
}
public void setFormId(String formId)
{
this.formId = formId;
}
public void setNotifyTopics(String notifyTopics)
{
this.notifyTopics = notifyTopics;
}
public void setShowErrorTransportText(String showError)
{
showErrorTransportText = showError;
}
public void setIndicator(String indicator)
{
this.indicator = indicator;
}
public void setShowLoadingText(String showLoadingText)
{
this.showLoadingText = showLoadingText;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -