FileDocCategorySizeDatePackage
StandardTagsAction.javaAPI DocApache Struts 2.0.9 Apps2018Mon Jul 23 13:43:26 BST 2007org.apache.struts2.showcase.freemarker

StandardTagsAction

public class StandardTagsAction extends com.opensymphony.xwork2.ActionSupport implements com.opensymphony.xwork2.Preparable
Showcase action for freemarker templates.

Fields Summary
private String
name
private String[]
gender
private String[]
months
Constructors Summary
Methods Summary
public java.lang.String[]getGender()

        return gender;
    
public java.lang.String[]getMonths()

        return months;
    
public java.lang.StringgetName()

        return name;
    
public voidprepare()

        months = new DateFormatSymbols().getMonths();
        name = StandardTagsAction.class.getName().substring(StandardTagsAction.class.getName().lastIndexOf(".")+1);
        gender = new String[] { "Male", "Femal" };
    
public voidsetGender(java.lang.String[] gender)

        this.gender = gender;
    
public voidsetMonths(java.lang.String[] months)

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

        this.name = name;