[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

[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:

[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': select name=comunicacion[destinatario][user_profile_id][] multiple=multiple id=comunicacion_destinatario_user_profile_id optgroup label=presidencia option value=1Maria/option /optgroup optgroup

[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-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 terence.pi...@gmail.com wrote: Hi there thanks for that. for now i have this :   public function executeNew(sfWebRequest $request)   {         $fiche = new Fiche();        

[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

[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'] =

[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', 'Canada' =

[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 jdeveloper.inxe...@gmail.com wrote: Had yesterdey something similar so I hope i can help you: new sfWidgetFormDoctrineChoice(array(                                                             'model'    

[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:

[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')); ¿? if