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

FormTag

public class FormTag extends AbstractClosingTag
see
Form

Fields Summary
private static final long
serialVersionUID
protected String
action
protected String
target
protected String
enctype
protected String
method
protected String
namespace
protected String
validate
protected String
onsubmit
protected String
portletMode
protected String
windowState
protected String
acceptcharset
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 Form(stack, req, res);
    
protected voidpopulateParams()

        super.populateParams();
        Form form = ((Form) component);
        form.setAction(action);
        form.setTarget(target);
        form.setEnctype(enctype);
        form.setMethod(method);
        form.setNamespace(namespace);
        form.setValidate(validate);
        form.setOnsubmit(onsubmit);
        form.setPortletMode(portletMode);
        form.setWindowState(windowState);
        form.setAcceptcharset(acceptcharset);
    
public voidsetAcceptcharset(java.lang.String acceptcharset)

        this.acceptcharset = acceptcharset;
    
public voidsetAction(java.lang.String action)

        this.action = action;
    
public voidsetEnctype(java.lang.String enctype)

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

        this.method = method;
    
public voidsetNamespace(java.lang.String namespace)

        this.namespace = namespace;
    
public voidsetOnsubmit(java.lang.String onsubmit)

        this.onsubmit = onsubmit;
    
public voidsetPortletMode(java.lang.String portletMode)

        this.portletMode = portletMode;
    
public voidsetTarget(java.lang.String target)

        this.target = target;
    
public voidsetValidate(java.lang.String validate)

        this.validate = validate;
    
public voidsetWindowState(java.lang.String windowState)

        this.windowState = windowState;