is <s:datetimepicker struts default tag?  if so, why it can not render the 
display?
 
does it need to load additional .jar to support it?
 
i tried the simple way
   <s:datetimepicker lable="calendar" value="2009-01-01" > 
but just display "calendar" only, nothing display on the right side
 
i tried the complex way, define action class
   public  class DateBean  extends ActionSupport {
  
    public String execute() throws Exception {
      setTodayDate(new Date());
      return SUCCESS;
  }
    private Date todayDate;
    public Date getTodayDate() {        return todayDate;    }
    public void setTodayDate(Date value) {        todayDate = value;   }
}

the jsp file is 
<s:datetimepicker name="todayDate" label="calendar" displayFormat="yyyy-MM-dd"/>
 
but just display 'calendar', nothing display on the right side either
 
what happen? 
 
tks in advance
 
john




      

Reply via email to