I have generated an admin interface to a Model that contains i18n. Then in the form class I embedded i18n. If I use normal textarea everything works, if I switch to sfWidgetFormTextareaTinyMCE the textarea is always starting blank even when there is a value to show. Also when I insert a new object the value on textarea is taken blank.
This is schema.yml Game: actAs: Timestampable: ~ Sluggable: fields: [name] I18n: fields: [body, box_content] columns: category_id: { type: integer, notnull: true } name: { type: string, length: 255, unique: true } body: clob box_content: clob active: { type: boolean, notnull: true, default: false } relations: Category: local: category_id foreign: id foreignAlias: Games Here is GameForm?.class.php class GameForm extends BaseGameForm { public function configure() { unset($this['created_at'], $this['updated_at']); $this->embedI18n(sfConfig::get('app_languages_list')); } } Here is GameTranslationForm?.class.php class GameTranslationForm extends BaseGameTranslationForm { public function configure() { $this->widgetSchema['body'] = new sfWidgetFormTextareaTinyMCE(array ( 'width' => 650, 'height' => 450, ), array('class' => 'tinymce',) ); $this->widgetSchema['box_content'] = new sfWidgetFormTextareaTinyMCE(array( 'width' => 450, 'height' => 450, ), array('class' => 'tinymce',) ); } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---