FileDocCategorySizeDatePackage
SubmitTag.javaAPI DocExample5400Mon Jul 23 13:26:48 BST 2007org.apache.struts2.views.jsp.ui

SubmitTag

public class SubmitTag extends AbstractUITag
see
Submit

Fields Summary
private static final long
serialVersionUID
protected String
action
protected String
method
protected String
align
protected String
type
protected String
href
protected String
listenTopics
protected String
notifyTopics
protected String
loadingText
protected String
errorText
protected String
executeScripts
protected String
handler
protected String
formId
protected String
formFilter
protected String
src
protected String
showErrorTransportText
protected String
indicator
protected String
showLoadingText
protected String
beforeLoading
protected String
afterLoading
protected String
targets
Constructors Summary
Methods Summary
public org.apache.struts2.components.ComponentgetBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)


            
        return new Submit(stack, req, res);
    
public java.lang.StringgetType()

        return type;
    
protected voidpopulateParams()

        super.populateParams();

        Submit submit = ((Submit) component);
        submit.setAction(action);
        submit.setMethod(method);
        submit.setAlign(align);
        submit.setType(type);
        submit.setHref(href);
        submit.setListenTopics(listenTopics);
        submit.setLoadingText(loadingText);
        submit.setErrorText(errorText);
        submit.setAfterLoading(afterLoading);
        submit.setBeforeLoading(beforeLoading);
        submit.setExecuteScripts(executeScripts);
        submit.setHandler(handler);
        submit.setFormFilter(formFilter);
        submit.setFormId(formId);
        submit.setSrc(src);
        submit.setTargets(targets);
        submit.setNotifyTopics(notifyTopics);
        submit.setShowErrorTransportText(showErrorTransportText);
        submit.setIndicator(indicator);
        submit.setShowLoadingText(showLoadingText);
    
public voidsetAction(java.lang.String action)

        this.action = action;
    
public voidsetAlign(java.lang.String align)

        this.align = align;
    
public voidsetErrorText(java.lang.String errorText)

        this.errorText = errorText;
    
public voidsetExecuteScripts(java.lang.String executeScripts)

        this.executeScripts = executeScripts;
    
public voidsetFormFilter(java.lang.String formFilter)

        this.formFilter = formFilter;
    
public voidsetFormId(java.lang.String formId)

        this.formId = formId;
    
public voidsetHandler(java.lang.String handler)

        this.handler = handler;
    
public voidsetHref(java.lang.String href)

        this.href = href;
    
public voidsetIndicator(java.lang.String indicator)

        this.indicator = indicator;
    
public voidsetListenTopics(java.lang.String listenTopics)

        this.listenTopics = listenTopics;
    
public voidsetLoadingText(java.lang.String loadingText)

        this.loadingText = loadingText;
    
public voidsetMethod(java.lang.String method)

        this.method = method;
    
public voidsetNotifyTopics(java.lang.String notifyTopics)

        this.notifyTopics = notifyTopics;
    
public voidsetOnLoadJS(java.lang.String postJS)

        this.afterLoading = postJS;
    
public voidsetPreInvokeJS(java.lang.String preJS)

        this.beforeLoading = preJS;
    
public voidsetResultDivId(java.lang.String id)

        this.targets = id;
    
public voidsetShowErrorTransportText(java.lang.String showErrorTransportText)

        this.showErrorTransportText = showErrorTransportText;
    
public voidsetShowLoadingText(java.lang.String showLoadingText)

        this.showLoadingText = showLoadingText;
    
public voidsetSrc(java.lang.String src)

        this.src = src;
    
public voidsetTargets(java.lang.String targets)

        this.targets = targets;
    
public voidsetType(java.lang.String type)

        this.type = type;