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

TextFieldTag

public class TextFieldTag extends AbstractUITag
see
TextField

Fields Summary
private static final long
serialVersionUID
protected String
maxlength
protected String
readonly
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 TextField(stack, req, res);
    
protected voidpopulateParams()

        super.populateParams();

        TextField textField = ((TextField) component);
        textField.setMaxlength(maxlength);
        textField.setReadonly(readonly);
        textField.setSize(size);
    
public voidsetMaxLength(java.lang.String maxlength)

deprecated
please use {@link #setMaxlength} instead

        this.maxlength = maxlength;
    
public voidsetMaxlength(java.lang.String maxlength)

        this.maxlength = maxlength;
    
public voidsetReadonly(java.lang.String readonly)

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

        this.size = size;