Hi the form class in this path: /var/www/sf_sandbox/lib/form/DocumentForm.class.php
and the structure is : <?php class DocumentForm extends sfForm { protected static $vtypedoc = array('facture', 'bon de commande', 'tunisiana', 'RH', 'cnss', 'bank', 'appel d\'offre','autre' ); protected static $vclassement = array('facture', 'bon de commande', 'devis', 'reglement', 'CV', 'administratif', 'lettre de demande', 'consultation', 'appel d\'offre','autre' ); protected static $vreges = array('entrant', 'sortant' ); public function configure() { $widgetSchema = new sfWidgetFormSchema(array( // 'registre' => new sfWidgetFormSelectRadio(array('choices' => self::$vreges)), 'date' => new sfWidgetFormDate(), 'type' => new sfWidgetFormSelect(array('choices' => self::$vtypedoc)), 'source' => new sfWidgetFormInput(), 'destination' => new sfWidgetFormInput(), 'description' => new sfWidgetFormTextarea(), 'classement' => new sfWidgetFormSelect(array('choices' => self::$vclassement)), 'Commentaires' => new sfWidgetFormTextarea(), )); $widgetSchema->setNameFormat('document[%s]'); $this->setWidgetSchema($widgetSchema); } } cordially. 2009/8/10 Eno <symb...@gmail.com> > > On Mon, 10 Aug 2009, soltanstein wrote: > > > I'm trying to create my first website with symfony framework, I have > > create a simple form, and I try to sent the datas to the mysql > > database (using propel). when I click to the button for submit, then > > this message appears: > > > > Fatal error: Call to undefined method DocumentForm::save() in /var/www/ > > sf_sandbox/apps/frontend/modules/document/actions/a ctions.class.php > > on line 11 > > Where is your form class defined? > > > > -- > > > > > > -- SOLTANI Samir Technicien Superieur Informatique MSN: soltanst...@hotmail.de Tel: (+216) 96 29 10 57 *** *** *** Sag' nicht alles was du weisst, Wisse nicht alles was du liesest, Glaube nicht alles was du hörest, Tu' nicht alles was du kannst. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---