[symfony-users] Re: [Symfony2] Overriding Bundle Templates doesn't work

2011-03-10 Thread Brocco
Hello, I confirm it doesn't work with PR7. Should we report the bug somewhere? On 9 mar, 11:52, Christophe COEVOET wrote: > Le 02/03/2011 11:33, Brocco a crit : > > > Hello, > > I'm writing a bundle for symfony2 and I would like to override some of > > its

[symfony-users] [Symfony2] Caching function result

2011-03-03 Thread Brocco
Hi, In my application I sometimes need to use a function which usually takes 3~4 seconds to make its job, which is quite long. With symfony 1.4, I used to cache the result of this function (which changes at most every 24 hours) with sfFunctionCache and sfFileCache. Is it possible to store some func

[symfony-users] [Symfony2] Overriding Bundle Templates doesn't work

2011-03-02 Thread Brocco
Hello, I'm writing a bundle for symfony2 and I would like to override some of its template in my app. I tried doing what's written in the doc there: http://docs.symfony-reloaded.org/master/guides/templating.html#overriding-bundle-templates But it doesn't work. My bundle template is in MyBundle/Res

[symfony-users] Re: ChoiceField validation

2011-03-01 Thread Brocco
Hi! Sorry for the delay, I was away... On 21 fév, 12:48, Bernhard Schussek wrote: > -- > Software Architect & Engineer > Blog:http://webmozarts.com > Twitter:http://twitter.com/webmozart > > 2011/2/21 Brocco : > > > The problem is that in the array returned by

[symfony-users] ChoiceField validation

2011-02-21 Thread Brocco
Hello, I'm playing with symfony2 and I have a question about the validation of a ChoiceField with a callback, as explained in http://docs.symfony-reloaded.org/guides/validator/constraints/Choice.html. I have a domain model class with a getter returning an array of values to display in the form. Th