FileDocCategorySizeDatePackage
ActionTag.javaAPI DocExample2844Mon Jul 23 13:26:50 BST 2007org.apache.struts2.views.jsp

ActionTag

public class ActionTag extends ComponentTagSupport
see
ActionComponent

Fields Summary
private static final long
serialVersionUID
protected String
name
protected String
namespace
protected boolean
executeResult
protected boolean
ignoreContextParams
protected boolean
flush
Constructors Summary
Methods Summary
protected voidaddParameter(java.lang.String name, java.lang.Object value)

        ActionComponent ac = (ActionComponent) component;
        ac.addParameter(name, value);
    
public org.apache.struts2.components.ComponentgetBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)


            
        return new ActionComponent(stack, req, res);
    
public booleangetFlush()

        return this.flush;
    
protected voidpopulateParams()

        super.populateParams();

        ActionComponent action = (ActionComponent) component;
        action.setName(name);
        action.setNamespace(namespace);
        action.setExecuteResult(executeResult);
        action.setIgnoreContextParams(ignoreContextParams);
        action.setFlush(flush);
        action.start(pageContext.getOut());
    
public voidsetExecuteResult(boolean executeResult)

        this.executeResult = executeResult;
    
public voidsetFlush(boolean flush)

        this.flush = flush;
    
public voidsetIgnoreContextParams(boolean ignoreContextParams)

        this.ignoreContextParams = ignoreContextParams;
    
public voidsetName(java.lang.String name)

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

        this.namespace = namespace;