1 $holiday = new Zend_Dojo_Form_Element_DateTextBox("holiday");
2 $holiday
3 ->setLabel('Holiday:')
4 ->setAttribs(array("dojoType"=>"dijit.form.DateTextBox"));
5
6 $this->addElements(array($holiday));
2009年2月4日星期三
[fw-mvc] Zend_Dojo_Form_Element_DateTextBox
Any idea why the DateTextBox only works when I add line 4?
订阅:
博文评论 (Atom)
没有评论:
发表评论