Re: [symfony-users] Symfony2 comments and questions

2010-07-12 Thread Bernhard Schussek
2010/7/11 Tarjei tar...@scanmine.com: 8. Forms One thing I see the form framework has addressed is grouping of fields. What I still miss is simple widgets for adding html around a set of elements or just at a point in the form. The purpose of the form framework is not to generate the HTML for

Re: [symfony-users] csrf token required

2010-07-12 Thread Bernhard Schussek
Probably you forgot to render the hidden fields. Check the HTML source whether a hidden field with the name __csrf_token is present. If not, add the following in your template: ?php echo $form-renderHiddenField() ? Bernhard -- If you want to report a vulnerability issue on symfony, please send

Re: [symfony-users] Symfony2 : Load files under Ressources/config to the DI container

2010-07-12 Thread Bernhard Schussek
Hi, i tried to load the ValidatorService, add this to my config file, but it doesn't work, web.config:   validator: true This should be web.config: validation: true Bernhard -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

Re: [symfony-users] Symfony2 comments and questions

2010-07-12 Thread Fabien Potencier
On 7/11/10 1:17 PM, Tarjei wrote: Hi, here are my initial questions and comments regarding Symfony2. Wow, that's a lot of feedback! Thank you very much. My answers below.. 1. Deployment. Are you planning a .phar deployment solution where the src directory gets bundled up as a .phar file and

[symfony-users] Customize admin generator to parse generator.yml with custom properties

2010-07-12 Thread Thor
Hi all, i cannot understand how to customize the admin generator : i am using propel, and i see that from the generator.yml the first line is the class used by the generator, therefore in my case sfPropelGenerator. I think that extending that class with a custom one is the first step, what i'd

[symfony-users] Re: Customize admin generator to parse generator.yml with custom properties

2010-07-12 Thread Thor
well,actually i need to heavily customize admin generators to create various functionalities, so i haven't got a single example, i provide some of them that i could use: batch_position: top # (top,bottom,both) toggable_fields: [ gallery, field1,field2 ] # fields who will have a jquery effect to

[symfony-users] attributes can be customized

2010-07-12 Thread djamila-boo
Hi, When I run the symfony command : symfony doctrine:insert-sql, I have this error : SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'sf_guard_group_permission_permission_id_sf_guard_permission_id_idx' is too long. So I think I need to change the size of my index

[symfony-users] Help with model

2010-07-12 Thread davidsonrob
Hi, I'm trying to over ride a base model value. Its super simple but im not sure how it should be done? /** * This class has been auto-generated by the Doctrine ORM Framework */ class Customer extends BaseCustomer { public function getFirstname() { return

[symfony-users] Newbie question: where's the css?

2010-07-12 Thread finn
I'm have just created my first Symfony project. According to this tutorial: http://www.symfony-project.org/getting-started/1_4/en/05-Web-Server-Configuration - there should be a nice-looking css in the project already when you have created the project. But in my project, the main.css is empty.

Re: [symfony-users] symfony and Eclipse: I can not go to the function or class using F3.

2010-07-12 Thread Javier Garcia
On 07/11/2010 05:58 PM, Stéphane wrote: Hi, Check that your lib folders are source folders. Thanks, but how can i check that? On 07/11/2010 06:49 PM, Mariano Sola wrote: sorry for the question, but why using eclipse? I tried NB but when i wanted to go the declaration of a method, it

Re: [symfony-users] Newbie question: where's the css?

2010-07-12 Thread Gábor Fási
There's a different css for the default symfony pages, you can find it at lib/vendor/symfony/data/web/sf/sf_default/css. This is partially the reason for the /sf alias during the webserver config. On Mon, Jul 12, 2010 at 10:32, finn finngruwierlar...@gmail.com wrote: I'm have just created my

Re: [symfony-users] symfony and Eclipse: I can not go to the function or class using F3.

2010-07-12 Thread Stéphane
Right click on the folder and Build PathUse as source folder Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jul 12, 2010 at 1:43 PM, Javier Garcia tirengar...@gmail.comwrote: On 07/11/2010 05:58 PM,

Re: [symfony-users] forward does not work

2010-07-12 Thread Javier Garcia
I think in dev enviroment it should show the error instead of the blank page. On 07/05/2010 11:53 PM, jogep wrote: Hi, I try to use forward in my action class after an validation back to my action in special cases. This has works in an other part of my application. $this-forward('mymodul',

[symfony-users] Re: Symfony2 : Load files under Ressources/config to the DI container

2010-07-12 Thread gordonslondon
Thanks for your response Berbhard, The solution who works for me is web.config: validation: enabled (see this post : http://groups.google.com/group/symfony-devs/browse_thread/thread/8d9950044759d1a/f0012d4deb3044a2#f0012d4deb3044a2) If you want to check what services could be enabled, have a

[symfony-users] Re: Help with model

2010-07-12 Thread Henrik Bjornskov
try return $this-get('firstName'); On Jul 12, 12:15 pm, davidsonrob rob.davidso...@gmail.com wrote: Hi, I'm trying to over ride a base model value.  Its super simple but im not sure how it should be done? /**  * This class has been auto-generated by the Doctrine ORM Framework  */ class

Re: [symfony-users] symfony and Eclipse: I can not go to the function or class using F3.

2010-07-12 Thread Javier Garcia
Thanks! works! On 07/12/2010 01:47 PM, Stéphane wrote: Right click on the folder and Build PathUse as source folder Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jul 12, 2010 at 1:43 PM, Javier

Re: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 31 Messages in 13 Topics

2010-07-12 Thread joost . farla
Beste, Vrijdag 9 en maandag 12 juli ben ik niet aanwezig op kantoor. U kunt voor dringende zaken contact opnemen met Dimitri van Hees: dimi...@freshheads.com of 013 5448761. Met vriendelijke groet, Joost Farla joost.fa...@freshheads.com - - freshheads grafisch ontwerp en internet applicaties

[symfony-users] Frameworks CSS

2010-07-12 Thread Nei Rauni Santos
Hi, I'd like to know if you use any kind of frameworks CSS in your sf projects. I'm working in a group with 4 programmers and 2 designers and I'm looking for a css framework to improve our productivity and quality of our designs. I think that the Jquery UI is the best option because we alrelady

[symfony-users] Re: Frameworks CSS

2010-07-12 Thread gordonslondon
Hi, i have used 2 css frameworks: GRID 960 benefits: - very simple, for small projects disadvantages: - you only havee one template (960 px large) - there is NO fluid template (no percentage only px), so if you want to have a backend template completely fluid, you will have to hack the css YUI

[symfony-users] Re: Newbie question: where's the css?

2010-07-12 Thread finn
Ah...thanks :-) Finn On Jul 12, 1:43 pm, Gábor Fási maerl...@gmail.com wrote: There's a different css for the default symfony pages, you can find it at lib/vendor/symfony/data/web/sf/sf_default/css. This is partially the reason for the /sf alias during the webserver config.On Mon, Jul 12,

[symfony-users] Re: Symfony 1.3 Issue with Doctrine_Table::createQuery and multiple databases

2010-07-12 Thread Olivier
Hi Jon, Thanks for the quick reply: I've been trying to write the tests case... However, by looking into the code I have when I checkout a separate Doctrine instance, I've found that version 1.2 seems to correct this problem, since the code in the createQuery function is return

Re: [symfony-users] Re: Frameworks CSS

2010-07-12 Thread Serkan Koyuncu
+1 for YUI Grids 2010/7/12 gordonslondon jules.boussek...@gmail.com: Hi, i have used 2 css frameworks: GRID 960 benefits: - very simple, for small projects disadvantages: - you only havee one template (960 px large) - there is NO fluid template (no percentage only px), so if you want

[symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2010-07-12 Thread Fabrice Bernhard
Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users don't need to actually change this parameter unless they need to. Concerning the javascript_name of the map, one soulution could be to generate

AW: [symfony-users] Re: Frameworks CSS

2010-07-12 Thread Christopher Schnell
We mostly use the yaml css framework. http://www.yaml.de/en/home.html Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Serkan Koyuncu Gesendet: Montag, 12. Juli 2010 16:25 An:

[symfony-users] Single Sign On Plugin

2010-07-12 Thread DEEPAK BHATIA
Hi, I need your help in identifying the plugin for the Single Sign On and if somebody has implemented the same in symfony based project. Thanx in advance. Regards Deepak Bhatia -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You

Re: [symfony-users] Frameworks CSS

2010-07-12 Thread Eno
On Mon, 12 Jul 2010, Nei Rauni Santos wrote: I'd like to know if you use any kind of frameworks CSS in your sf projects. Anyone looked at any of these? http://www.blueprintcss.org/ http://www.1kbgrid.com/ http://www.tinyfluidgrid.com/ -- -- If you want to report a vulnerability issue on

[symfony-users] Routing problem for generate-admin with id: type string (128)...

2010-07-12 Thread PePe_el_Romano
Good dear group: I am writing to see if someone has this same error occurred and has solved, or if they are aware of it. Problem description: For reasons of replicate Master - Master, which is necessary for my system the identifier for each table it must be a varchar to type name_value Zera_3

[symfony-users] Re: Frameworks CSS

2010-07-12 Thread gordonslondon
YAML framework is really great ! the documentation is awesome -- 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

Re: [symfony-users] Re: Frameworks CSS

2010-07-12 Thread samuel
someone has tried the oriented object css framework ? 2010/7/12 gordonslondon jules.boussek...@gmail.com YAML framework is really great ! the documentation is awesome -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

[symfony-users] [symfony2] first test and first question

2010-07-12 Thread samuel
Hello, I'm seeing in the symfony2 best practice : A bundle must not embed third-party libraries. What about javascript libraries ? I think they should forward the same logic and don't be present in the bundle, isn't it ? -- If you want to report a vulnerability issue on symfony, please send it

[symfony-users] somebody have worked with FormFilter? :: getting 'Array to String conversion' Notice

2010-07-12 Thread B.O.G
I have a sfWidgetFormFilterDate, and every time i 'click' Filter button i get and 'Array to String conversion' Notice If i remove de Date Filter the error disappear, what is going on ? thanks -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] [symfony2] first test and first question

2010-07-12 Thread Fabien Potencier
On 7/12/10 11:14 PM, samuel wrote: Hello, I'm seeing in the symfony2 best practice : A bundle must not embed third-party libraries. What about javascript libraries ? I think they should forward the same logic and don't be present in the bundle, isn't it ? Yes, you are right. Fabien -- If