[symfony-users] AJAX session timeout handler

2011-01-23 Thread Gareth McCumskey
Hi all, I have interesting problem. Something we have all encountered before ... browser inconsistencies. This is related to handling session timeouts on an ajax request. I'll just layout our current setup. We have a symfony filter that detects whether the current request is an XML HTTP Request a

Re: [symfony-users] Symfony2 Twig Helpers and _view variable

2011-01-23 Thread Fabien Potencier
On 1/24/11 5:20 AM, Jérôme TEXIER wrote: Hello, since https://github.com/symfony/symfony/commit/b60d254be2f9b9a8b1340a8f7b40270748692ca5 _view variable no more exist on templates. Before PR5, I was using this variable to access to some injected Twig helper functions. It doesn't seem really clea

[symfony-users] ConFoo Web Techno Conference in Montreal, March 7-11 2011

2011-01-23 Thread Renoir Boulanger (evocaTIo Solutions technologiques)
An English version will follow. === Français L'équipe de ConFoo est fière de dévoiler le programme de la conférence qui aura lieu du 7 au 11 mars 2011. Avec près de 150 présentations réparties dans 8 salles ainsi que 3 formations, ConFoo vous apporte le meilleur du développement Web. Les Fo

[symfony-users] Symfony2 Twig Helpers and _view variable

2011-01-23 Thread Jérôme TEXIER
Hello, since https://github.com/symfony/symfony/commit/b60d254be2f9b9a8b1340a8f7b40270748692ca5 _view variable no more exist on templates. Before PR5, I was using this variable to access to some injected Twig helper functions. It doesn't seem really clear to me now what it's best way to do it now

[symfony-users] Admin Generator object_action generate wrong route (Symfony 1.4.8)

2011-01-23 Thread bertzzie
Hi, I'm using Symfony 1.4.8 and get some strange behaviour in the Admin Generator. I want to use custom object_action in the generator, so I add it like this in my generator.yml: list: title:List of Books display: [userID, returnTime, created_at] layout:

[symfony-users] Re: German umlauts not retrieved correctly from db

2011-01-23 Thread pzwosta
The test data is inserted via script. The SQL - Workbench shows the correct data, I don't use phpmyadmin.. I think the database is OK as it works with Symfony 1.4. This is my database.yml for Symfony 1.4. I wondered where I would find the encoding for the database definition in Symfony 2. doctr

[symfony-users] [symfony2] Component vs Action (+ AJAX)

2011-01-23 Thread Palleas
Hi guys, I'm stucked with the way Symfony2 works now (which I really like, don't get me wrong). I have a simple layout in my bundle which always includes a search form, this is what I've done so far: {% extends "::layout.twig.html" %} {% block body %} Application {% render "MyApplication

[symfony-users] SillyCMS updated to Symfony 2.0 PR5

2011-01-23 Thread Tom Boutell
I have updated my SillyCMS Symfony 2 practice project to Symfony 2.0 PR5. It wasn't difficult: 1. Placeholders in routes now use the syntax {slug} rather than :slug 2. All templates had to be renamed, changing .twig to .twig.html and doing the same in the controllers and templates that refer to t

Re: [symfony-users] German umlauts not retrieved correctly from db

2011-01-23 Thread Gábor Fási
How do you insert the data? Do they look correct in phpmyadmin, after making sure it uses utf8-encoded connection? On Sun, Jan 23, 2011 at 15:59, pzwosta wrote: > Hi, > > using Doctrine German Umlauts are not retrieved correctly from > database. > > - My database is defined with collation utf8 -

[symfony-users] German umlauts not retrieved correctly from db

2011-01-23 Thread pzwosta
Hi, using Doctrine German Umlauts are not retrieved correctly from database. - My database is defined with collation utf8 - utf8_unicode_ci (inherited by the tables, MySQL Workbench, Windows). - The schema definitions for Doctrine are created automatically by doctrine:schema:import. When debuggi