[symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-12 Thread E_lexy
Leon, I just checked out all required plugins to generate a grid. Using your old sfGridExtjs3plugin, i get inheritance errors. it seems the sfGrid class variables cannot be reached by any subclass (private). When I change them to 'protected' the subclasses are allowed access and all works fine.

[symfony-users] Re: Database Views with Symfony Doctrine

2009-10-09 Thread E_lexy
@david I am also interested in your solution. My 2 cents: At the moment we are working with views by letting Doctrine create tables from the VIEW model classes, and the overwriting them with an SQL to create the actual views. I have managed to keep the relations (FK) out of the the DB by

[symfony-users] Re: Database Views with Symfony Doctrine

2009-10-09 Thread E_lexy
 am, E_lexy alexk...@gmail.com wrote: @david I am also interested in your solution. My 2 cents: At the moment we are working with views by letting Doctrine create tables from the VIEW model classes, and the overwriting them with an SQL to create the actual views. I have managed to keep

[symfony-users] Re: From Propel to Doctrine... for every projects ?

2009-10-03 Thread E_lexy
Hi Adrien, We are in the process of changing a large project to Doctrine, because we found the DQL language better suited for our complex queries. Having done Propel for 1,5 year, Doctrine is easy to learn and much closer to (old skool) SQL. Also Doctrine is a bit more flexibel. There is

[symfony-users] Re: sfGrid and Custom query

2009-10-01 Thread E_lexy
@ floria: you're right, but there problem is no less ;-) I have tried doctrine, but the problem remains the same. When you have a non-hydratable field in your query, you cannot use sfDatasourcePropel/Doctrine, because the results gets hydrated toward a model. So I tried the sfDatasourceArray

[symfony-users] Re: sfGrid and Custom query

2009-10-01 Thread E_lexy
... note the case of that i after the get. Perhaps in your code you are calling the method with bad case On Mon, Sep 7, 2009 at 11:34 AM, E_lexy alexk...@gmail.com wrote: I am trying to use sfGrid based on a custom query-datasource. This custom query contains a result of a calculated field

[symfony-users] sfGrid and Custom query

2009-09-07 Thread E_lexy
I am trying to use sfGrid based on a custom query-datasource. This custom query contains a result of a calculated field. Symfony complains a bout not being able to find a setter. - understandable. I believe i need make a setter, but where? in Idea? Datasource: [code]

[symfony-users] Re: Foreign-key to self in schema?

2009-06-16 Thread E_lexy
Indeed Symfony permits i, but I have had trouble getting fixtures to load on tables with foreign keys to itself. It comes down to a chicken and egg situation. For instance: user: id: ~ created_by_user_id: { type: integer, required: true, foreignTable: user, foreignReference: id } will work