282414352 2011-07-25 15:01:32 8451次浏览 25条回复 0 0 0

运行时 报错??

Property "CActiveForm.enableClientValidation" is not defined.
Source File
C:\wamp\www\yii\framework\web\CBaseController.php(146)

00134:      * @param array initial property values
00135:      * @return CWidget the fully initialized widget instance.
00136:      */
00137:     public function createWidget($className,$properties=array())
00138:     {
00139:         if(($factory=Yii::app()->getWidgetFactory())!==null)
00140:             $widget=$factory->createWidget($this,$className,$properties);
00141:         else
00142:         {
00143:             $className=Yii::import($className,true);
00144:             $widget=new $className($this);
00145:             foreach($properties as $name=>$value)
00146: $widget->$name=$value;
00147:         }
00148:         $widget->init();
00149:         return $widget;
00150:     }
00151: 
00152:     /**

这是什么原因? 谢谢各位大侠? 对了有中文的API文档吗? 网上只看到了英文的? 有点话发给地址瞧瞧~~~

您需要登录后才可以回复。登录 | 立即注册