[symfony-users] Re: [Symfony2] [Serializer] Missing functionnality in XmlEncoder ?

2011-04-07 Thread Joel Wurtz
Wrong group go here please => https://groups.google.com/forum/#!topic/symfony-devs/UVTmvjkN3M4 -- 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 subscribed to the Google Groups "symfony users"

[symfony-users] [Symfony2] [Serializer] Missing functionnality in XmlEncoder ?

2011-04-07 Thread Joel WURTZ
butes, to set a specific token for the value, for example : array('@attribute' => 'attr_value', '#' => elem_value) => elem_value But before making a PR i want to talk about this, if there is a best approach for this behavior. Cordially, -- Joel WURTZ -- If you w

[symfony-users] Re: Are there something resource for learning Symfony2.0?

2011-02-24 Thread Joel
ox/web/images) > > In your style.css file you should refence the images like > > background-image:url(images_for_my_css_file/MyImage.jpg) > > In your templates, you can access the css file like > > > {% block head %} > media="screen,projection" type="te

[symfony-users] Re: Are there something resource for learning Symfony2.0?

2011-02-23 Thread Joel
Agree. Start from Symfony and can't find any complete reference for Symfony 2. Is it any plan to release a complete book together with Symfony 2 release? On 21 fev, 20:17, Haulyn Jason wrote: > Hi, > > I am starting a new project, I want to start from Symfony2.0, because > it's about March now.

[symfony-users] Doctrine : How to get the X last record in Ascending order ?

2010-05-06 Thread Joel WURTZ
on Doctrine Collection but that doesn't work If you have a better solution than the first one i'm ready to take it Ty, -- Joel WURTZ Etudiant ingénieur à EISTI PAU 06 23 64 03 55 2 passage des alliées 64000 Pau -- If you want to report a vulnerability issue on symfony, please

[symfony-users] Re: How change an admin generator filter to use a multiple choose select field

2009-12-08 Thread Joel Cuevas
I'm guessing, so try it and let us know. In your filter class add this: public function addDescriptionTypeIdColumnQuery(Doctrine_Query $query, $field, $value) { $query->leftJoin('r.DescriptionType d')->andWhereIn('d.id', $value); } Note the name of the method (it includes the camel-cased name of

[symfony-users] Re: i18n:extract not generating translation file

2009-12-08 Thread Joel Cuevas
You need to specify the target language in order to create its folder, i.e., symfony i18n:extract --auto-save frontend fr Note the "fr" at the end of the line. With this you should now have an /apps/frontend/i18n/fr folder with messages.xml inside it. The order (or location) of the optional para

[symfony-users] Disabling admin-generated actions

2009-12-08 Thread Joel Cuevas
Hi list, The thing is, in an auto generated admin module, if I don't want to use, lets say, the edit action (and I don't want that the users be able reach in any way), it's enough to delete the "edit" element from the actions array in the route collection to not generate its route or it compromise

[symfony-users] INVITACION - CURSO TALENTO DE TV

2009-05-27 Thread Joel Cuevas
Buen día Si tú o algún familiar tiene un hijo o sobrino entre los 8 y 15 años y no saldrán de vacaciones, te invito a que los envies al curso denominado DESARROLLO DE TALENTO TV, que se llevará a cabo en las instalaciones del Col. Anglo Mexicano (Coatzacoalcos) del 16 al 31 de Julio del 2009, es d

[symfony-users] RESTfull post: CSRF attack detected

2009-02-23 Thread Joel Cuevas
Hi list! Is there any way to avoid (or delude) the CSRF attack protection (sf 1.2) when submiting a form via REST but without disabling it for normal web browser requests (I mean, directly in the form)? I'm using exactly the same action for both requests (just with diferent sf_format). Thanks! -

[symfony-users] Re: I18N for Fields title - How to ?

2009-01-24 Thread Joel Cuevas
Does Fabien have made any comments about this? I don't know how to achieve it neither. :s I need to find a way ASAP. - Joel 2009/1/24 fredlab > Hi, > > No I did not solve my problem but I found that the symfony extract > task currently does not support the extraction of

[symfony-users] Re: Unit testing an extended save method using sfContext

2009-01-23 Thread Joel Cuevas
Hi juro! Maybe at this point you've already solved your problem, but I'll post a solution anyway for future references, other people references. You can create an instance of sfContext in your unit bootstraping script, something like this: $projectConfig = new sfProjectConfiguration($path); $ap

[symfony-users] Re: Unit testing an extended save method using sfContext

2009-01-23 Thread Joel Cuevas
Hi juro! I think that at this point you've maybe solved your problem, but I'll answer the question anyway for future references, other people reference. It's always a good practice to check out symfony's code, it's a very good self-documentation. For this, the unit tests of the user classes are

[symfony-users] Re: I18N for Fields title - How to ?

2009-01-22 Thread Joel Cuevas
Did you solve your problem? I have the same here... Hope you can help... Thanks! On 6 dic 2008, 15:11, fredlab wrote: > Ok ! it seems no one can help. > > I have to wait for the end of the jobeet tutorial. I hope it will give > the anwser. > > Regards, > > Frédéric --~--~-~--~~-

[symfony-users] Re: dynamically change database connection.

2009-01-19 Thread Joel Cuevas
Hi Ridvan! Could you please post the solution (or the link) for sf 1.2? Thanks! On 10 dic 2008, 06:18, "Ridvan Lakas ng Bayan S. Baluyos" wrote: > Thanks Thomas! > > This is exactly what I've been looking for. I've found a similar solution > but it pertains to the 1.2 branch. I did a little ad

[symfony-users] Re: Setting the NEXT response headers

2009-01-14 Thread Joel Cuevas
Hi again! I will just add some comments that maybe will help (me :p). My original problem raised when I was creating from scratch something similar to sfGuardPlugin (but not so similar) and I was testing the logout action. Evidently the logout action forwards me to an another action. And it was

[symfony-users] Setting the NEXT response headers

2009-01-14 Thread Joel Cuevas
Hi everybody! Is there any way to set the headers of the next response? I mean, for example, in an action, before a redirection, I want to disable the http cache (with pragma) for the next one. But I want to do this selectively, not to disable the http cache for every call. If somebody know some

[symfony-users] Re: Validation converters when no error ocurrs

2008-04-17 Thread Joel Cuevas
_date: sfDateValidator: compare: '+1 hour' operator: > compare_error: El concurso debe ser creado con al menos 1 hr. de anticipación. longness: myLongnessValidator: Thanks again. - Joel On 17 abr, 10:08, Joel Cuevas <[EMAIL PROTECTED]> wrote: > Hi group

[symfony-users] Validation converters when no error ocurrs

2008-04-17 Thread Joel Cuevas
n the action before I do anything else with the values. It's not too much extra work, but definitly it's not DRY. Is that a normal behavior or do I have a specific problem? Thanks to all! - Joel P.S. I'm using sf 1.0.14-PRE --~--~-~--~~~---~--~~ You r