Revision #9 has been created by softark on Sep 5, 2013, 11:11:51 AM with the memo:
Change about 'i18nScriptFile' ... deleted 2 more lines
« previous (#8) next (#10) »
Changes
Title
unchanged
jQuery UI Datepicker
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
CJuiDatePicker, Datepicker
Content
changed
[...]
```php
$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'model' => $model,
'attribute' => 'date_from',
'language' => 'ja',
'i18nScriptFile' => 'jquery.ui.datepicker-ja.js',
'themeUrl' => Yii::app()->baseUrl . '/css/jui',
'theme' => 'softark',
'cssFile' => 'jquery-ui-1.9.2.custom.css',[...]
'attribute' => 'date_from',
'language' => 'ja',
'i18nScriptFile' => 'jquery.ui.datepicker-ja.js',
'themeUrl' => Yii::app()->baseUrl . '/css/jui',
'theme' => 'softark',
'cssFile' => 'jquery-ui-1.9.2.custom.css',
'options' => array(
'showOn' => 'both', // also opens with a button
'dateFormat' => 'yy-mm-dd', // format of "2012-12-25"[...]