[symfony-users] [Sf2] doctrine:schema:create

2011-03-02 Thread Stefano Esposito
ion and no entity_manager specified, but the error is just the same as with the configuration I just paste here. Any hints? Thanks, Stefano -- 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 subscr

[symfony-users] Re: What's the best way for...

2009-10-01 Thread Stefano Sancese
a - long running transactions are generally a bad   > idea. Yup, you are right ;-(. Any idea about how I can show a pop up window from the action producing the pdf without make a redirect to an other form? Stefano --~--~-~--~~~---~--~~ You received this message be

[symfony-users] What's the best way for...

2009-09-30 Thread Stefano
ess the DB. 5) for sure there is a simpler way that I can not see ;-) (like ask for confirmation without leaving myAction so that I can use transaction...) Stefano If you think that my question is not symfony related (I'm writing my first web application), excuse me for the OT, and forg

[symfony-users] Custom FormFilter

2009-09-07 Thread Stefano
e with the filtered records is displayed the "from" and "to" fields are empty, so the User has no visual feedback of the applied filter. How can I retrieve the value and set it again before the form is redisplayed? TIA Stefano class ListinoFormFilter extends BaseListinoFormFi

[symfony-users] Re: Form validation

2009-08-20 Thread Stefano Sancese
re di 16 caratteri', 'max_length' => 'Il Codice Fiscale è troppo lungo, deve essere di 16 caratteri'; $this->validatorSchema['CodFiscale']->setOption('required', false); On 19 Ago, 20:31, Stefano wrote: > It looks like if I define a

[symfony-users] Re: Generate admin form validation

2009-08-20 Thread Stefano Sancese
Ok, my fault. I'm so new at symfony that I'm still find my way with it. Grazie Stefano On 20 Ago, 11:00, gino pilotino wrote: > I had a similar problem. > > The *real* problem is the fact that this "little" thing > is not mentioned anywhere in the documentat

[symfony-users] Form validation

2009-08-19 Thread Stefano
It looks like if I define a validatorSchema for a field, the field is Required. Since I need to validate a field, but only if it is not empty (I wrote a custom validator to handle the empty field case), I get a Required error I can not get rid of. Any suggestion? TIA Stefano

[symfony-users] Generate admin form validation

2009-08-19 Thread Stefano
le parsing the file, but nothing! So it looks like the file edit.yml is not read at all. I'm sure I'm making some silly error, but I can not find it out. Any hints? TIA Stefano --~--~-~--~~~---~--~~ You received this message because you are subs

[symfony-users] Re: Form validation

2009-08-15 Thread Stefano Sancese
ic anywhere in the project. I wonder if this is the right place where to put the code!? Now I'm looking for a way to highlight the wrong fields (with a red border, like the standard validators do) to the user... Stefano On 12 Ago, 20:34, Richtermeister wrote: > Hey Stefano, > >

[symfony-users] Form validation

2009-08-12 Thread Stefano
re::LESS_THAN, 'T2'; } } but I don't know how to test if a field is empty and I'm afraid that the resulting instruction will be very hard to read. Any hint? TIA Stefano --~--~-~--~~~---~--~~ You received this message because you ar