[symfony-users] Re: I need your opinion

2011-05-19 Thread danielholmes
Hi Sergio, It sounds like this might speed up your particular project: https://github.com/FriendsOfSymfony/RestBundle Daniel On May 20, 4:14 am, SergioAlbatronic wrote: > Hi, everybody. > > Fisrt, I apologize ofr my poor english. > > After spend a lot of time diving in the symfony framework an

[symfony-users] Re: Access service container from event.

2011-05-19 Thread Craige
Yep, that does the trick. Thanks again, Dustin. I wish the Symfony2 doc's were more up to date with this stuff. But alas, Symfony2 is only in beta, so I can't expect complete documentation. On May 19, 5:19 pm, dustin10 wrote: > You must inject the services you need into your service. I use const

Re: [symfony-users] Re: ACL How to check if user can create object without object itself?

2011-05-19 Thread Tim Nagel
And that is what CommentBundle is using. t On Fri, May 20, 2011 at 01:05, badllama77 wrote: > There is a class scope.  So the create would apply to that. > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this m

[symfony-users] [sf2] Access service container from event.

2011-05-19 Thread Craige
Got another one for you guys. So far as I can tell, we don't have any access to the Symfony2 Service Container from the event listeners. Is there any easy way to the Service Container instance in the event listener? Thanks in advance! -- If you want to report a vulnerability issue on symfony,

[symfony-users] Re: Login Event

2011-05-19 Thread Craige
Yep, that would be it. Thanks, Dustin! On May 19, 2:32 pm, dustin10 wrote: > You probably want to listen for the onSecurityInteractiveLogin event. > > Dustin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] I need your opinion

2011-05-19 Thread SergioAlbatronic
Hi, everybody. Fisrt, I apologize ofr my poor english. After spend a lot of time diving in the symfony framework and get several headache, I've started to develop my first app. It is a ERP system. As you know, in this type of app there are a lot of entities and threrefore a lot of forms. As far

[symfony-users] [sf2] Login Event

2011-05-19 Thread Craige
Hi guys, This should be a pretty quick question. Does Symfony2 Authentication code fire an event upon authenticating a user. ie, user login. I have data want to calculate and store to session data when the user is authenticated, and I figured an event handler would be the best way to go about t

[symfony-users] Re: sfWidgetFormSchema and updateXXXColumn

2011-05-19 Thread Christian
never mind, i forgot to set validatorSchema that's why i got such a obscure behaviour. btw. sorry for my bad english On 19 Mai, 11:29, Christian wrote: > Hi, > > i modified a propel generated form field ( $this- > > >widgetSchema['foobar']) to new sfWidgetFormSchema. > > > $foobarWidgetSchema  

[symfony-users] Re: SF2 Forms - Cannot Store "0" in decimal field (0.0 works)

2011-05-19 Thread Roger Webb
Submitted. Thanks. On May 18, 6:31 pm, Bernhard Schussek wrote: > Hi Roger, > > Could you please create a ticket for > this?https://github.com/symfony/symfony/issues > > Thanks, > Bernhard -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-projec

[symfony-users] Aw: Re: Re : Re: Doctrine2 cache with Symfony2

2011-05-19 Thread Conrad
are there avaiable options to cache the query/result with Doctrine MongoDB ODM as well? I tried adding 'query_cache_driver' or 'result_cache_driver' but these options are not known and throw an error.. would be nice to redue the necessary queries to the minimum... -- If you want to report a vu

[symfony-users] Re: ACL How to check if user can create object without object itself?

2011-05-19 Thread badllama77
There is a class scope. So the create would apply to that. -- 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" group. To post to this group, send e

Re: [symfony-users] [v2.0.0BETA1] Array data and validation with Forms

2011-05-19 Thread dbenjamin
Hi Bernhard, Thanks for your response. Can i define form validation constraints from my XML file, when i'm defining the service ? ??? * -- Benjamin Dulau - anonymation CEO anonymation.com | code.anonymation.com ben...@a

[symfony-users] Re: Symfony2 (Beta 1 ?!) and FOSUserBundle

2011-05-19 Thread scott
Thanks I worked through the doc again with the master versions of both projects and got things working. On May 19, 11:49 am, Christophe COEVOET wrote: > Le 19/05/2011 12:38, scott a crit :> I have both the master branch of the > symfony standard edition and the > > userbundle, sorry for the nami

Re: [symfony-users] Re: Symfony2 (Beta 1 ?!) and FOSUserBundle

2011-05-19 Thread Christophe COEVOET
Le 19/05/2011 12:38, scott a écrit : I have both the master branch of the symfony standard edition and the userbundle, sorry for the naming confusion in my previous post. No tables are created for the FOSUserBundle as it provides only some mapped superclass. You need to implement the entity. Rea

[symfony-users] Re: Symfony2 (Beta 1 ?!) and FOSUserBundle

2011-05-19 Thread scott
I have both the master branch of the symfony standard edition and the userbundle, sorry for the naming confusion in my previous post. On May 19, 11:22 am, Christophe COEVOET wrote: > Le 19/05/2011 12:12, scott a crit : > > > > > I am really struggling to get the FOSUserBundle setup and working wi

Re: [symfony-users] Symfony2 (Beta 1 ?!) and FOSUserBundle

2011-05-19 Thread Christophe COEVOET
Le 19/05/2011 12:12, scott a écrit : I am really struggling to get the FOSUserBundle setup and working with Symfony2 (beta1 ?!). I have included the bundle in both the AppKernal, and the autoload files. I installed the standard edition of Symfony and the most recent version of the Userbundle from

[symfony-users] Symfony2 (Beta 1 ?!) and FOSUserBundle

2011-05-19 Thread scott
I am really struggling to get the FOSUserBundle setup and working with Symfony2 (beta1 ?!). I have included the bundle in both the AppKernal, and the autoload files. I installed the standard edition of Symfony and the most recent version of the Userbundle from git hub yesterday. When I run app/cons

[symfony-users] sfWidgetFormSchema and updateXXXColumn

2011-05-19 Thread Christian
Hi, i modified a propel generated form field ( $this- >widgetSchema['foobar']) to new sfWidgetFormSchema. $foobarWidgetSchema = new sfWidgetFormSchema(); $foobarWidgetSchema['select'] = new sfWidgetFormSelect(array('choices' => $foobarSelectChoices)); $foobarWidgetSchema['repeat'] = ne

Re: [symfony-users] Performance

2011-05-19 Thread Marco Pivetta
You could use Xdebug and Cachegrind (or Webgrind) to check what's going wrong in there by profiling script execution times and used resources ;) Marco Pivetta @Ocramius http://marco-pivetta.com On 19 May 2011 09:57, Laxmi wrote: > Hello, > > I recently completed s

[symfony-users] Performance

2011-05-19 Thread Laxmi
Hello, I recently completed symfony website on my laptop. The website was working fine on my laptop. but when i put on windows server. performance is par low, on my laptop to run a page it takes 400ms. on server it takes 2400ms. there are around 20 simple query's no joins, no likes etc. can some o