[symfony-users] You must pass an array parameter to the clean() method

2010-10-25 Thread B.O.G
Hi Can someone tell me what it means ??? This error comes out when i try to update : executeUpdate for an editing form. Thanks!!! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscri

[symfony-users] Re: multiples INSERT

2010-08-04 Thread B.O.G
part of my schema: ## comunication ## comunicacion: actAs: { Timestampable: ~, Signable: ~ } columns: id: { type: integer, primary: true, autoincrement: true } user_id: { type: integer, notnull: true } direccion_id:{ type: integer, notnull: true

[symfony-users] multiples INSERT

2010-08-03 Thread B.O.G
Hi!! I have a ComboBox like this, witch is a embeddedForm into a MainForm= 'Comunicacion': Maria< /optgroup> Pedro Jose Ana Jorge Miguel What i want: - for each selected i want to do an INSERT: "INSERT INTO destino VALUES( , )"; I mean when am

[symfony-users] somebody have worked with FormFilter? :: getting 'Array to String conversion' Notice

2010-07-12 Thread B.O.G
I have a sfWidgetFormFilterDate, and every time i 'click' Filter button i get and 'Array to String conversion' Notice If i remove de Date Filter the error disappear, what is going on ? thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-p

[symfony-users] Re: Doctrine+EmbededForms+Save

2010-06-21 Thread B.O.G
Happily i could do this: protected function processForm(sfWebRequest $request, sfForm $form) { //$form->bind($request->getParameter($form->getName()), $request- >getFiles($form->getName())); $campos = $request->getParameter($form->getName()); $campos['user_id'] = $this->getUser()->g

[symfony-users] Re: Doctrine+EmbededForms+Save

2010-06-21 Thread B.O.G
I know now my errors: status : Required. user_id : Required. direccion_id : Required. correlativo : Required. fecha : Required. documento : Required. The thing is that this fields are set by the system, i mean, the user should not modify them, so i just show it like text. How can i pass them to

[symfony-users] Doctrine+EmbededForms+Save

2010-06-21 Thread B.O.G
Hi, I'm trying to save my form, but it just stay in the create action without showing not error. I have a Main form: Comunication a embedded form: Comunication_to But when i click save button it gets to the create action, and it does not show any error (in dev) . Could it be some 'hid

[symfony-users] Re: Get record id and set it into form

2010-06-21 Thread B.O.G
Could it be: $artiste->setFicheId($a); ¿? How is it in you schema.yml ??? On Jun 22, 8:06 am, titiyoyo wrote: > Hi there > > thanks for that. > > for now i have this : > >   public function executeNew(sfWebRequest $request) >   { >         $fiche = new Fiche(); >         $fiche->save(); >

[symfony-users] Re: an array for sfWidgetFormChoice

2010-06-17 Thread B.O.G
Great I think i did it right 'coz it works Thanks :D On Jun 18, 7:02 am, jota wrote: > Had yesterdey something similar so I hope i can help you: > > new sfWidgetFormDoctrineChoice(array( >                                                             'model'      => > 'Department', >  

[symfony-users] an array for sfWidgetFormChoice

2010-06-17 Thread B.O.G
Hello!! I have two tables: Department: id name abrev sfGuardUserProfile: id department_id name ... Then, what i want to do is an array like this: $choices = array( 'Europe' => array('France' => 'France', 'Spain' => 'Spain', 'Italy' => 'Italy'), 'America' => array('USA' => 'USA', 'Cana

[symfony-users] ioMenuPlugin

2010-06-14 Thread B.O.G
i'm getting this error while generating the menu (but it shows fine): Notice: Undefined variable: html in ... Then about credentials: Can i do this: $this->menu = new ioMenu(); $this->menu->addChild('titulo', '@homepage')- >setCredentials(array('credencial1', 'creencial2', 'credencial3')); ¿?

[symfony-users] sfMenuGeneratorPlugin

2010-06-14 Thread B.O.G
Hi im trying to use sfMenuGenerator. I have this in my app.yml sf_menu_generator: root: text: 'Choose' items: [users, contacts] contacts: text: 'Contacts' link: 'contacts/list' shortcut: 'c' deny: [manager, contenteditor] users: