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

SelectTag

public class SelectTag extends AbstractRequiredListTag
see
Select

Fields Summary
private static final long
serialVersionUID
protected String
emptyOption
protected String
headerKey
protected String
headerValue
protected String
multiple
protected String
size
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 Select(stack, req, res);
    
protected voidpopulateParams()

        super.populateParams();

        Select select = ((Select) component);
        select.setEmptyOption(emptyOption);
        select.setHeaderKey(headerKey);
        select.setHeaderValue(headerValue);
        select.setMultiple(multiple);
        select.setSize(size);
    
public voidsetEmptyOption(java.lang.String emptyOption)

        this.emptyOption = emptyOption;
    
public voidsetHeaderKey(java.lang.String headerKey)

        this.headerKey = headerKey;
    
public voidsetHeaderValue(java.lang.String headerValue)

        this.headerValue = headerValue;
    
public voidsetMultiple(java.lang.String multiple)

        this.multiple = multiple;
    
public voidsetSize(java.lang.String size)

        this.size = size;