Re: [symfony-users] ayudenme

2010-11-12 Thread Alexandre Salomé
Speak English ! Symfony does not provide special helpers for ExtJS. You have some tools for assets management (js/css), but nothing for ExtJS specially. Stop spamming us, and try forum of ExtJS also. And speak English ! Alexandre --- Alexandre Salomé - http://alexandre-salome.fr Le 12 nov. 201

Re: [symfony-users] [Symfony2] some questions about forms

2010-11-12 Thread noel guilbert
Hi Bernhard, Thank you, I will try that! ++ On Fri, Nov 12, 2010 at 7:29 AM, Bernhard Schussek wrote: > Hi Noel, > > > I have a User entity, and two forms: a subscribe form, and a "edit > profile" > > form. In the first one, I have two fields: the username, and the > password. > > In the second

Re: [symfony-users] Re: Factories : storage taking a really long time to load

2010-11-12 Thread Gareth McCumskey
This will not make a difference as session write locking happens no matter which method you use for session management, I wrote a blog article about this a while back as we were having issues with asynchronous ajax requests being processed synchronously instead.: http://garethmccumskey.blogspot.co

Re: [symfony-users] How to aasign external link in symfony

2010-11-12 Thread Gareth McCumskey
>.< Oops On Fri, Nov 12, 2010 at 9:51 AM, Daniel Lohse wrote: > You mean "prefix" of http://, right? ;-) > > Sent from my iPhone4 > > On Nov 12, 2010, at 8:42 AM, Gareth McCumskey > wrote: > > This is expected behavour. url_for looks for the suffix http:// to know if > its an external link or n

Re: [symfony-users] Re: Problem with making a drop down menu from a table

2010-11-12 Thread Gareth McCumskey
If you are using Propel its not sfWidgetFormChoice but * sfWidgetFormPropelChoice*. sfWidgetFormChoice (what you currently have) requires you to provide it a list of options for the drop down. On Fri, Nov 12, 2010 at 2:27 AM, apc...@dsl.pipex.com wrote: > Thank you for taking time to help me. > >

Re: [symfony-users] On $form->save() and knowing if anything has changed

2010-11-12 Thread Gareth McCumskey
if (serialize($oldstate) != serialize($newstate)) Once converted to a string the differences are a little more obvious perhaps On Fri, Nov 12, 2010 at 3:34 AM, Burt Crépeault wrote: > Hi folks, > > I'm sure the solution to this is right in my face but I have been looking > (without success,

[symfony-users] I18N: Why Underscore?

2010-11-12 Thread Felix E. Klee
I am working on an old Symfony 1.1 project [1], and I noticed a weirdness with I18N. There is the following code in a PHP file, in a partial template of the "frontend/main" module: __('House') In the translation file, there is: House Casa However, this translation does *not* ge

Re: [symfony-users] I18N: Why Underscore?

2010-11-12 Thread Stéphane
echo __('Home') ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, Nov 12, 2010 at 2:05 PM, Felix E. Klee wrote: > I am working on an old Symfony 1.1 project [1], and I noticed a > weirdness with I18N. >

Re: [symfony-users] I18N: Why Underscore?

2010-11-12 Thread Felix E. Klee
On Fri, Nov 12, 2010 at 2:07 PM, Stéphane wrote: > echo __('Home') ? Did you actually read my message? -- 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 "symfon

Re: [symfony-users] problem with sfWidgetFormChoice

2010-11-12 Thread Eliana Montoya
Hi Pietrino. I dont use a validator for that widget. my schema is: Archivospermitidos: columns: tipo_archivo: { type: string(20), fixed: false, unsigned: false, primary: false, notnull: false, autoincrement: false } -- If you want to report a vulnerability issue on symfony, please send it

[symfony-users] Re: On $form->save() and knowing if anything has changed

2010-11-12 Thread LeBurt
Thanks for the suggestion Gareth. Unfortunately it doesn't work. Since I'm not all that knowledgeable in OOP, I was thinking this might have something to do with the $oldstate and $newstate objects being the same (two references to the same object), that way when you change one the other changes a

[symfony-users] Re: On $form->save() and knowing if anything has changed

2010-11-12 Thread Richtermeister
Hey there, your first insight is right, you're holding 2 references to the same object, so it'll always be the same. In your second case I could only imagine that the updated_at field is being updated (maybe). To find out, why don't you look at the serialized strings and see where they differ...

Re: [symfony-users] Re: On $form->save() and knowing if anything has changed

2010-11-12 Thread Daniel Lohse
What do you want to do? Before you save the form (and therefore the object), you can get at the changes like described here: http://groups.google.com/group/symfony-users/browse_thread/thread/be414f79f499f869/a18b2291ba30275c?lnk=gst&q=doctrine+isModified#a18b2291ba30275c Just add the doUpdateObj

[symfony-users] Re: I18N: Why Underscore?

2010-11-12 Thread Felix E. Klee
On Fri, Nov 12, 2010 at 2:05 PM, Felix E. Klee wrote: > I am working on an old Symfony 1.1 project [1], and I noticed a > weirdness with I18N. It seems like the previous team working on the code hacked the original Symfony 1.1.1 code, not even documenting that - great... -- If you want to repor

[symfony-users] When i write a task "php symfony .." I only get the first lines of config/ProjectConfiguration.class.php

2010-11-12 Thread Javier Garcia
Hi, I have done a "svn co" for a repository that contains a symfony app. Then i went to the root of the project and when i write a task "php symfony .." I only get the first lines of config/ ProjectConfiguration.class.php ini_set('display_errors', 1); ini_set('session.save_handler','files'); ini_

[symfony-users] question about sfValidatorSchemaCompare error codes

2010-11-12 Thread Michał Piotrowski
Hi, I've got a registration form with two fields for password $this->validatorSchema['password'] = new sfValidatorString(array(), array('required' => 'Pole wymagane.')); $this->validatorSchema['password_again'] = clone $this->validatorSchema['password']; $this->mergePostValidator(new

Re: [symfony-users] When i write a task "php symfony .." I only get the first lines of config/ProjectConfiguration.class.php

2010-11-12 Thread Alexandre Salomé
The beginning http://alexandre-salome.fr Le 12 nov. 2010 17:25, "Javier Garcia" a écrit : Hi, I have done a "svn co" for a repository that contains a symfony app. Then i went to the root of the project and when i write a task "php symfony .." I only get the first lines of config/ ProjectConfigu

Re: [symfony-users] Version control override/extend feature

2010-11-12 Thread Gábor Fási
You can check out an svn repository with git, add a new remote (I believe it has to be git), and then pull the changes from the original svn, and commit to the new git repo. On Thu, Nov 11, 2010 at 11:25, klemens_u wrote: > Hi everyone, > > I've got a dev-workflow question for you: > > Assume I w

Re: [symfony-users] question about sfValidatorSchemaCompare error codes

2010-11-12 Thread Alexandre Salomé
Must be because a post validator is already set. Try commenting the mergePostValidator to see if a post validator is already set. Inspect parent classes code also. --- Alexandre Salomé - http://alexandre-salome.fr Le 12 nov. 2010 18:03, "Michał Piotrowski" a écrit : Hi, I've got a registration

Re: [symfony-users] question about sfValidatorSchemaCompare error codes

2010-11-12 Thread Michał Piotrowski
Hi, W dniu 12 listopada 2010 19:58 użytkownik Alexandre Salomé napisał: > Must be because a post validator is already set. Ideed - it's validator from BasesfGuardUserAdminForm defined in ./plugins/sfDoctrineGuardPlugin/lib/form/doctrine/base/BasesfGuardUserAdminForm.class.php Thanks for your he