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

PropertyTag

public class PropertyTag extends ComponentTagSupport
see
Property

Fields Summary
private static final long
serialVersionUID
private String
defaultValue
private String
value
private boolean
escape
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 Property(stack);
    
protected voidpopulateParams()

        super.populateParams();

        Property tag = (Property) component;
        tag.setDefault(defaultValue);
        tag.setValue(value);
        tag.setEscape(escape);
    
public voidsetDefault(java.lang.String defaultValue)

        this.defaultValue = defaultValue;
    
public voidsetEscape(boolean escape)

        this.escape = escape;
    
public voidsetValue(java.lang.String value)

        this.value = value;