[symfony-users] Re: Problem with unset($this['created_at'])

2009-11-02 Thread Daniel González
2009/11/2 Gareth McCumskey gmccums...@gmail.com: symfony cc? -- --- Daniel González Cerviño tel 653965048 ikar...@gmail.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this

[symfony-users] Re: Embedded forms problem since Symfony 1.2.8

2009-11-02 Thread Guu_sama
I'm sorry for this lack of clarity. $relatedTable = $value-getTable(); is a part of coreSetRelated() which is a method of sfDoctrinePlugin/ lib/vendor/ doctrine/Doctrine/Record.php The funny part is the only PHPDoc for that method in Doctrine's API is : DESCRIBE WHAT THIS METHOD DOES, PLEASE!

[symfony-users] Re: Dependency Injection Service Container: different environments

2009-11-02 Thread Fabien Potencier
Hi Lukas, Lukas Kahwe Smith wrote: Hi, I have a problem where I am not sure how to best structure this using the service container yaml syntax. Take for example this configuration for production: services: db: class:api_db_doctrine arguments: dsn:

[symfony-users] plugins for reports

2009-11-02 Thread asi007
Hi every body is any plugin available for reports in symfony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe

[symfony-users] Where to find all that we need on API ?

2009-11-02 Thread ereallstaff
Hi to everybody. I was wondering where to find specifics of all method . For example where I can find schema.yml specific for example ? Where I can find url_for specific example, and all classes accessible from the view side ? Thanks! --~--~-~--~~~---~--~~ You

[symfony-users] Re: Where to find all that we need on API ?

2009-11-02 Thread Gareth McCumskey
For symfony 1.2 go here: http://www.symfony-project.org/doc/1_2/ It has a link to the reference book for config files: http://www.symfony-project.org/reference/1_2/en/ It has a link for the definitive guide which has examples of the most commonly used features:

[symfony-users] Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread Georg Gell
Hi, I changed parts of my table definitions to a behaviour, and now doctrine_data-load does not work any more with data, that were previously working. No big problem so far, probably made an error. BUT: The only message I have is this: SQLSTATE[23000]: Integrity constraint violation: 1062

[symfony-users] Re: Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread David Ashwood
Assuming you're using Doctrine - which version of symfony are you using? I have a small patch for 1.3 that gives more detail for errors that I can easily convert to sf 1.2. I mentioned the issues with non-verbose error messages in a Doctrine ticket recently with data imports and I think it's

[symfony-users] Re: Where to find all that we need on API ?

2009-11-02 Thread Lee Bolding
On 2 Nov 2009, at 10:13, Gareth McCumskey wrote: And I found it by clicking that really conspicuous Documentation link on the symfony website. cunning ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Discover i18n fields in form

2009-11-02 Thread HAUSa
I embedded two UserI18nForms in my UserForm. $this-embedI18n(array('de', 'en')); This is my action: $this-form = new UserForm(); Now I want to display the forms seperately in my template. So echo $form is no option for me. Is it possible to retrieve an array of all embedded forms from the

[symfony-users] Re: Symfony 1.3 and Blameable Doctrine Extension

2009-11-02 Thread Fabrizio
Hi, thanks for the tips. I have create my listener BlameableSymfony Blameable: listener: BlameableSymfony columns: created: name: creato_da type: integer length: 4 options: notnull: false updated:

[symfony-users] Check fields without submit

2009-11-02 Thread HAUSa
Is it possible to check form values without the user submitting it? It seems that the validators set in the form class only work when you submit. I want to have that when a user completes a field (onblur), the entered value is checked immediately. I know I can do this with AJAX, but how do I

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
When you generate the field - you'd need to annotate with some kind of markup - which then js could work with for validating in the browser. A simple but crude approach would be to use the class of the element: input ...class=displayClass numeric-30 Then with js - obtain a collection of all

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread Lee Bolding
OK, now that you've mentioned porting an existing application, I can *kind of* understand that. I'd expect most management to take the approach if it ain't broke, don't fix it - and in their eyes it ain't broke. A while back I was in a similar situation - like you, I tried to explain the

[symfony-users] Re: Check fields without submit

2009-11-02 Thread HAUSa
Yeah, but it is not in my profit as a developer to develop the validation twice (in JS and PHP). That's why I want to check the value by use of AJAX from the sf Form validator. On 2 nov, 15:16, David Ashwood da...@inspiredthinking.co.uk wrote: When you generate the field - you'd need to

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
There's no reason why it can't be abstracted into something generic that works with the existing validation system. A quick search found this: http://blog.adryjanek.eu/2009/01/15/symfony-12-using-sfform-with-jquery-validate-plugin/ Checkout the comments at the end On Mon, 2009-11-02 at 06:26

[symfony-users] Re: Check fields without submit

2009-11-02 Thread David Ashwood
And there appears to be a plugin that does it: http://www.symfony-project.org/plugins/sfJqueryFormValidationPlugin On Mon, 2009-11-02 at 06:26 -0800, HAUSa wrote: Yeah, but it is not in my profit as a developer to develop the validation twice (in JS and PHP). That's why I want to check the

[symfony-users] Re: Unit test failed with dubious

2009-11-02 Thread Zuchuat Bertrand
Hi David, I have the same problem after launch symfony project:permission. Thank you Bertrand Le 2 nov. 09 à 17:00, David Ashwood a écrit : I had this problem recently and fixing perms fixed it. --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: sfLightboxPlugin close on form submit

2009-11-02 Thread Martin Settle
Finally got it figured... the command needs to be onClick=myModalbox.end(); return true -- I found a reference to myModalbox in the modalbox.js source Thanks again Marti 2009/11/1 David Ashwood da...@inspiredthinking.co.uk: np. Don't forget to append a return statement - as you're using

[symfony-users] Re: How to manage big uploads

2009-11-02 Thread Eno
On Wed, 28 Oct 2009, Gorka wrote: How do you manage a 200Mb file upload using http and php only? And more importan, is it really the best way to work with such big uploads? As Gareth already pointed out, one strategy would be to alter the max upload and execution limits so the upload

[symfony-users] Re: How do I hush up noisy Symfony tasks?

2009-11-02 Thread Tom Boutell
Thanks David that might be the way to go. Ideally I could convince task logging to go to the log files instead, at least when there's an environment. On Oct 30, 4:26 pm, David Ashwood da...@inspiredthinking.co.uk wrote: $loggingStateBefore = sfConfig::set('sf_logging_enabled',false);

[symfony-users] Re: Unit test failed with dubious

2009-11-02 Thread Zuchuat Bertrand
I find my solution. i added this line into my test file: $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'test', false); Bertrand Le 2 nov. 09 à 17:09, Zuchuat Bertrand a écrit : I have the same problem after launch symfony project:permission.

[symfony-users] Custom error messages

2009-11-02 Thread Mark Smith
Is it possible to customise the error message coming from an sfForm so that the contents of the validated field don't get spat back out? I.e. at the moment the getMessage() function is returning: ID [abc is not an integer.] But I would rather have ID is not an integer. Thanks for any help

[symfony-users] Re: Custom error messages

2009-11-02 Thread David Ashwood
You can customize them: http://www.symfony-project.org/forms/1_2/en/02-Form-Validation#chapter_02_sub_customizing_error_messages On Mon, 2009-11-02 at 08:58 -0800, Mark Smith wrote: Is it possible to customise the error message coming from an sfForm so that the contents of the validated field

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread Derrek
I would love to see a TCO study as well. It's just hard to compare. One of my clients that has been resisting symfony/php for a while just opted to have me build a standalone module in it. The module is a reporting tool that seamlessly integrates with their database. The module took a month to

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread David Ashwood
What's the going rate for support from Sensio for an app developed against symfony? On Mon, 2009-11-02 at 19:15 +0200, Alexandru-Emil Lupu wrote: However, symfony is open source ... :) as fabien said ... no one has thought to help financial sensio labs or symfony project ... if is so

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread Derrek
hehe, yeah. I think it's more likely that I will donate time and/or money to symfony at some point. I have mostly used it on private backend development for clients who don't care how the work gets done. I have yet to launch any of my personal projects using it. If one of those takes off, then

[symfony-users] Symfony Documentation / Api / Wiki

2009-11-02 Thread eMerzh
Hi everyone... I'm using symfony for some of my personal and professional development and i think that it's a very nice framework to work with. As a good free software user, i had thought about how to make sf rocks a lot more... Some Users (including me sometimes) has expressed here or

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread Gareth McCumskey
Well I do kind of have a case study myself. We have just recently made one of our applications built in symfony open to our customers. It is a highly complex system incorporating AJAX style features, advanced reporting scenarios, the use of a nested structure of organisations to limit data scope

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-11-02 Thread Gareth McCumskey
Also just wanted to mention. People say (even Fabien said) that symfony is not for small applications. I tend to disagree with this. From my experience, small applications tend to turn into big ones. If you develop what seems like a small application at first with symfony, when you need to add

[symfony-users] PHP symfony reports

2009-11-02 Thread asi007
Hi every body i want to make reports like cross tab reports in symfony has any one idea about it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: Doctrine:data-load error: which table, which field, which value???

2009-11-02 Thread Georg Gell
Sorry, forgot to mention that I am using Doctrine. I am going to upgrade to symfony 1.3 today, if you can send me your patch I would be grateful. Thanks Georg David Ashwood schrieb: Assuming you're using Doctrine - which version of symfony are you using? I have a small patch for 1.3 that