[symfony-users] Escaping quotes in doctrines form filter with text search

2010-09-16 Thread jdeveloper
Hi I tested to find text witch contained quotes with the symfonys generated form filters with doctrine and found out that the quotes are not escaped (I use mysql). I published a litle gist overriding addTextQuery in BaseFormFilterDoctrine; ?php /** * For now only works with Text filters and

[symfony-users] Re: Escape quote on FormFilter

2010-09-09 Thread jdeveloper
Anyone knows a beter way? On Sep 8, 4:40 pm, jdeveloper jdeveloper.inxe...@gmail.com wrote: Hi I have a little problem in implementing a form filter using doctrine. The problem is that I need to filter fields belonging to an related table. So I create cutom addXColumnQuery methods: public

[symfony-users] Escape quote on FormFilter

2010-09-08 Thread jdeveloper
Hi I have a little problem in implementing a form filter using doctrine. The problem is that I need to filter fields belonging to an related table. So I create cutom addXColumnQuery methods: public function addPnombreColumnQuery(Doctrine_Query $query, $field, $value) {

[symfony-users] Re: Removing a field from a form in an action

2010-09-08 Thread jdeveloper
I think you could pass the user as an option in the constructor, and than unset it in the configure method. Hope it helps On Sep 8, 4:31 pm, torok84 toro...@gmail.com wrote: Hi, I have a form to select some search options. I have a field that I wanto to show only if the user is logged in. I

[symfony-users] Re: Removing a field from a form in an action

2010-09-08 Thread jdeveloper
I think you could pass the user as an option in the constructor, and than unset it in the configure method. Hope it helps On Sep 8, 4:31 pm, torok84 toro...@gmail.com wrote: Hi, I have a form to select some search options. I have a field that I wanto to show only if the user is logged in. I

[symfony-users] Integrate log4j with symfony

2010-08-26 Thread jdeveloper
Hi I would like to know if there is a way to integrate log4j with symfony since log4j has a powerfull configuration options? 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