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

ComboBoxTag

public class ComboBoxTag extends TextFieldTag
see
ComboBox

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

        super.populateParams();

        ((ComboBox) component).setList(list);
        ((ComboBox) component).setListKey(listKey);
        ((ComboBox) component).setListValue(listValue);
        ((ComboBox) component).setHeaderKey(headerKey);
        ((ComboBox) component).setHeaderValue(headerValue);
        ((ComboBox) component).setEmptyOption(emptyOption);
    
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 voidsetList(java.lang.String list)

        this.list = list;
    
public voidsetListKey(java.lang.String listKey)

        this.listKey = listKey;
    
public voidsetListValue(java.lang.String listValue)

        this.listValue = listValue;