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

DateTimePickerTag

public class DateTimePickerTag extends AbstractUITag
see
DateTimePicker

Fields Summary
private static final long
serialVersionUID
protected String
displayWeeks
protected String
adjustWeeks
protected String
startDate
protected String
endDate
protected String
weekStartsOn
protected String
staticDisplay
protected String
dayWidth
protected String
language
protected String
iconPath
protected String
formatLength
protected String
displayFormat
protected String
toggleType
protected String
toggleDuration
protected String
type
protected String
templateCssPath
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 DateTimePicker(stack, req, res);
    
protected voidpopulateParams()

        super.populateParams();

        final DateTimePicker dateTimePicker = (DateTimePicker) component;
        dateTimePicker.setAdjustWeeks(adjustWeeks);
        dateTimePicker.setDayWidth(dayWidth);
        dateTimePicker.setDisplayWeeks(displayWeeks);
        dateTimePicker.setEndDate(endDate);
        dateTimePicker.setStartDate(startDate);
        dateTimePicker.setStaticDisplay(staticDisplay);
        dateTimePicker.setWeekStartsOn(weekStartsOn);
        dateTimePicker.setLanguage(language);
        dateTimePicker.setIconPath(iconPath);
        dateTimePicker.setFormatLength(formatLength);
        dateTimePicker.setDisplayFormat(displayFormat);
        dateTimePicker.setToggleType(toggleType);
        dateTimePicker.setToggleDuration(toggleDuration);
        dateTimePicker.setType(type);
        dateTimePicker.setTemplateCssPath(templateCssPath);
    
public voidsetAdjustWeeks(java.lang.String adjustWeeks)

        this.adjustWeeks = adjustWeeks;
    
public voidsetDayWidth(java.lang.String dayWidth)

        this.dayWidth = dayWidth;
    
public voidsetDisplayFormat(java.lang.String displayFormat)

        this.displayFormat = displayFormat;
    
public voidsetDisplayWeeks(java.lang.String displayWeeks)

        this.displayWeeks = displayWeeks;
    
public voidsetEndDate(java.lang.String endDate)

        this.endDate = endDate;
    
public voidsetFormatLength(java.lang.String formatLength)

        this.formatLength = formatLength;
    
public voidsetIconPath(java.lang.String iconPath)

        this.iconPath = iconPath;
    
public voidsetLanguage(java.lang.String language)

        this.language = language;
    
public voidsetStartDate(java.lang.String startDate)

        this.startDate = startDate;
    
public voidsetStaticDisplay(java.lang.String staticDisplay)

        this.staticDisplay = staticDisplay;
    
public voidsetTemplateCssPath(java.lang.String templateCssPath)

        this.templateCssPath = templateCssPath;
    
public voidsetToggleDuration(java.lang.String toggleDuration)

        this.toggleDuration = toggleDuration;
    
public voidsetToggleType(java.lang.String toggleType)

        this.toggleType = toggleType;
    
public voidsetType(java.lang.String type)

        this.type = type;
    
public voidsetWeekStartsOn(java.lang.String weekStartsOn)

        this.weekStartsOn = weekStartsOn;