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

DateTag

public class DateTag extends ComponentTagSupport
see
Date

Fields Summary
private static final long
serialVersionUID
protected String
name
protected String
format
protected boolean
nice
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 Date(stack);
    
protected voidpopulateParams()

        super.populateParams();
        Date d = (Date)component;
        d.setName(name);
        d.setFormat(format);
        d.setNice(nice);

    
public voidsetFormat(java.lang.String format)

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

        this.name = name;
    
public voidsetNice(boolean nice)

        this.nice = nice;