[symfony-users] Re: All new symfony developers please read...

2010-10-29 Thread Massimiliano Arione
I agree, gentle introduction is great.
Too bad is not up to date :-(

cheers
Massimiliano

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] FormFilter, Validators and Errors

2010-10-29 Thread Simone Fumagalli
Ciao.

Hello, I've a FormFilter with this widget

'name'   = new sfWidgetFormFilterInput(),

and this validator

$this-setValidator('name', new sfValidatorSchemaFilter('text', new
sfValidatorString(array( 'required' = false, 'min_length' = 4;

If I insert a string with less then 4 characters the form is not
validated but no errors are set for the form.

If I set things this way

'name'   = new sfWidgetFormInput(),

and this validator

'name'  = new sfValidatorString(array('required' = false,
'min_length' = 4))),

the error is set but the query in buildQuery is not set properly
because the method want as parameter an array like  array (text =
string to search, 'empty' = false)

What do I do wrong ? Why the error is not set with the first setup ?

Thanks

--
Simone

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: sfDoctrineActasTaggablePlugin

2010-10-29 Thread Manu
I just have one question; what is the Tags input field ?
Is it a simple text input, or something more complicated ?

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: All new symfony developers please read...

2010-10-29 Thread Gareth McCumskey
Yes it is ;)

Fabian went through a lengthy process (along with a number of contributors)
to update it.

On Fri, Oct 29, 2010 at 9:39 AM, Massimiliano Arione garak...@gmail.comwrote:

 I agree, gentle introduction is great.
 Too bad is not up to date :-(

 cheers
 Massimiliano

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Attempt to assign property of non-object sfCoreAutoLoad

2010-10-29 Thread guiguiboy
Hi,

I have a weird problem that occurs sometimes.
I get this error :

Warning: Attempt to assign property of non-object in /var/www/assse/
lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php on line 38
Call Stack: 0.0001 330780 1. {main}() /var/www/assse/web/
backend_dev.php:0 0.0002 340520 2. require_once('/var/www/assse/config/
ProjectConfiguration.class.php') /var/www/assse/web/backend_dev.php:6
0.0010 443608 3. sfCoreAutoload::register() /var/www/assse/config/
ProjectConfiguration.class.php:4 0.0010 443860 4.
sfCoreAutoload::getInstance() /var/www/assse/lib/vendor/symfony/lib/
autoload/sfCoreAutoload.class.php:69 0.0010 444204 5. sfCoreAutoload-
__construct() /var/www/assse/lib/vendor/symfony/lib/autoload/
sfCoreAutoload.class.php:50 Warning: require(/config/
sfProjectConfiguration.class.php): failed to open stream: No such file
or directory in /var/www/assse/lib/vendor/symfony/lib/autoload/
sfCoreAutoload.class.php on line 99 Call Stack: 0.0001 330780 1. {main}
() /var/www/assse/web/backend_dev.php:0 0.0002 340520 2.
require_once('/var/www/assse/config/ProjectConfiguration.class.php') /
var/www/assse/web/backend_dev.php:6 0.0012 444932 3. sfCoreAutoload-
autoload() /var/www/assse/lib/vendor/symfony/lib/autoload/
sfCoreAutoload.class.php:0 Fatal error: require(): Failed opening
required '/config/sfProjectConfiguration.class.php' (include_path='.:/
usr/share/php:/usr/share/pear') in /var/www/assse/lib/vendor/symfony/
lib/autoload/sfCoreAutoload.class.php on line 99 Call Stack: 0.0001
330780 1. {main}() /var/www/assse/web/backend_dev.php:0 0.0002 340520
2. require_once('/var/www/assse/config/
ProjectConfiguration.class.php') /var/www/assse/web/backend_dev.php:6
0.0012 444932 3. sfCoreAutoload-autoload() /var/www/assse/lib/vendor/
symfony/lib/autoload/sfCoreAutoload.class.php:0

And as I said before, it really occurs sometimes. This means that the
same page can display correctly first and then display the fatal error
without any changes.

I already tried resetting the perms.

Configuration :
gbre...@gunix:/var/www/xxx$ php symfony -V
symfony version 1.4.1 (/var/www/xxx/lib/vendor/symfony/lib)

gbre...@gunix:/var/www/xxx$ php -v
PHP 5.3.3-0.dotdeb.1 with Suhosin-Patch (cli) (built: Oct  4 2010
16:15:33)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins
GmbH

I saw that someone already got this error and solved it with
downgrading to PHP 5.2 :/
But I need PHP 5.3

As anyone of you already faced this problem ?
Do you have any suggestion ?

Thanks for your replies
Guillaume BRETOU

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] many to many input question - best practice?

2010-10-29 Thread Jorge Agustin Marisi
I had a similar problem some days ago.

My schema had Services and ClientType, and for each pair Service/ClientType
I had a price attribute.

I used the double list widget and when I added some elements to the
associated list, I embed as many forms as elements to add (with ajax), then
I opened a dialog and put the price for all these elements and finally when
I press accept in the dialog, I update all the embedded forms (they were
hidden) with javascript (then all the embedded forms had a value).

This is a really ugly solution I think (and really troublesome to
implement), but couldn't realize a better way of doing it.

If you don't want to add the same description to each selected item, and
prefer to leave this for the user, to solve the case when a field is blank,
maybe you can override the bind method to ignore the embedded forms without
description.

Hope this helps.

Good luck.
Agustín.

PS: sorry about my english, I should practice more.

2010/10/26 Stan McFarland sfmc...@gmail.com

 All,

 Symfony newbie here.  I have the following basic schema (I'll try and
 be brief):

 Resource

 Action

 ResourceAction

 There's a M-M relationship between actions and resources.When a
 new action is added, the user wants to also add the resources
 associated with the action in the same form.   The trick is that the
 ResourceAction table also has a description field, so the user needs
 to be able to select the resource and enter a description.

 First thing I tried was embedding the form multiple times, which
 worked great, except I can't figure out how to get around the
 referential integrity constraint.  If I embed three ResourceAction
 forms, and the first two are completed but the third is blank, it
 still tries to insert the third form and throws an error.   I tried
 working through a similar use case as described in
 http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms,
 but I never could get it to work - I never could get the customized
 saveEmbeddedForms handler to fire if the fields were left blank.

 I'm sure I'm not the first person with this use case, so any best
 practices for implementation would sure be appreciated.

 Thanks,

 Stan

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Doctrine2 + Symfony2: ManyToOne targetEntity to entity in other bundle

2010-10-29 Thread Ruud
Got this problem with the latest Symfony2 version (fabpot) and
Doctrine2:

I have 2 bundles:
- ContactBundle
- CoreBundle

In ContactBundle\Entity\Contact.php I have the following relation:

/**
 * Account
 *
 * @orm:ManyToOne(targetEntity=CoreBundle:Account,
inversedBy=contacts)
 */
protected $account = null;

In CoreBundle\Entity\Account.php I have the following:

/**
 * Contacts
 *
 * @orm:OneToMany(targetEntity=ContactBundle:Contact,
mappedBy=account)
 */
protected $contacts = null;

When running this code I get this error:

Unknown Entity namespace alias 'Application\ContactBundle\Entity
\CoreBundle'.
500 Internal Server Error - Doctrine\ORM\ORMException

Is this a bug or am I doing something wrong?

Thanks!

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2010-10-29 Thread gehasia
Exactly the same problem here, i'll try to investigate more next days.

On 22 oct, 16:05, Thomas Rabaix tho...@rabaix.net wrote:
 Are you storing doctrine object into session ?

 On Thu, Oct 21, 2010 at 11:45 PM, Thomas Ohms 
 thomas.o...@googlemail.comwrote:



  Are you using cache? Do you maybe have different caching compared to your
  dev an prod server?

  2010/10/21 stephenrs ssgro...@gmail.com

  I'm preparing a site for launch - moving it out of my local dev
  environment to a remote VPS host, and I've discovered that sometimes
  pages take up to 60+ seconds to load on the VPS. Using the symfony
  debug toolbar, I've further discovered that the delay is happening
  during the loading of my factories. Going even further, I patched some
  symfony files (temporarily) according to a tip here:

 http://groups.google.com/group/symfony-users/browse_thread/thread/99e...
  to get a better idea about what is going on.

  Apparently the delay is happening during the loading of Factories :
  storage (which comprises 99% of the total request time), but that's
  about all I can tell at the moment. The delay doesn't happen on every
  request, and during these requests my server is essentially idle, with
  httpd threads occupying most memory (according to top).

  Since I've never seen this problem happen on my local box, I'm
  guessing it's somehow related to the config of my remote server, but
  at this point I'm at a bit of a loss. Also, my session storage is the
  default PHP file-based storage. I've been considering upping the
  memory on my VPS plan (for several reasons), but I'm wondering if this
  would have any impact on factories loading, as I would guess that this
  is an I/O issue.

  Has anyone seen anything like this? Any suggestions as to what might
  be causing it? Workarounds?

  Any help would be appreciated.

  SF 1.4.6, PHP 5.3.3, MySQL 5.1.5

  Note: I've cross posted this to the main sf forums because it's not
  clear to me where folks are hanging out these days...

  --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

   --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 Thomas Rabaixhttp://rabaix.net

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2010-10-29 Thread Lesly
Any news about the problem?

On Oct 22, 4:05 pm, Thomas Rabaix tho...@rabaix.net wrote:
 Are you storing doctrine object into session ?

 On Thu, Oct 21, 2010 at 11:45 PM, Thomas Ohms 
 thomas.o...@googlemail.comwrote:



  Are you using cache? Do you maybe have different caching compared to your
  dev an prod server?

  2010/10/21 stephenrs ssgro...@gmail.com

  I'm preparing a site for launch - moving it out of my local dev
  environment to a remote VPS host, and I've discovered that sometimes
  pages take up to 60+ seconds to load on the VPS. Using the symfony
  debug toolbar, I've further discovered that the delay is happening
  during the loading of my factories. Going even further, I patched some
  symfony files (temporarily) according to a tip here:

 http://groups.google.com/group/symfony-users/browse_thread/thread/99e...
  to get a better idea about what is going on.

  Apparently the delay is happening during the loading of Factories :
  storage (which comprises 99% of the total request time), but that's
  about all I can tell at the moment. The delay doesn't happen on every
  request, and during these requests my server is essentially idle, with
  httpd threads occupying most memory (according to top).

  Since I've never seen this problem happen on my local box, I'm
  guessing it's somehow related to the config of my remote server, but
  at this point I'm at a bit of a loss. Also, my session storage is the
  default PHP file-based storage. I've been considering upping the
  memory on my VPS plan (for several reasons), but I'm wondering if this
  would have any impact on factories loading, as I would guess that this
  is an I/O issue.

  Has anyone seen anything like this? Any suggestions as to what might
  be causing it? Workarounds?

  Any help would be appreciated.

  SF 1.4.6, PHP 5.3.3, MySQL 5.1.5

  Note: I've cross posted this to the main sf forums because it's not
  clear to me where folks are hanging out these days...

  --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

   --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 Thomas Rabaixhttp://rabaix.net

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Rewrite the url in a action

2010-10-29 Thread Alejandro Hurtado
I'm interested in why do you want do it ?
maybe if detail your problem we could find alternative solution.
:

2010/10/28 Alejandro Linares alejandrolinare...@gmail.com

 Hi All, i want to rewrite the url  show in the browser inside a action
 diferent to the write by symfony. any help i apreciate, Thank you

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Anyone attending the PHP Barcelona conference 29/30 Oct?

2010-10-29 Thread Ally Burns
Hi,

I've travelled on my own from Scotland to attend the conference, and
it would be good to meet a few like minded symfony developers whilst
there. I've also taken the next week off as a holiday in Barcelona and
could do with some local knowledge and tips!

I've packed my kilt to make me easy to spot, and will show the locals
how we drink in Scotland (not something we should be proud of!)

If no-one is coming I'm sure it will be fun anyway, there are over 400
people attending so should be an interesting crowd!

Ally

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Attempt to assign property of non-object sfCoreAutoLoad

2010-10-29 Thread guiguiboy
Hi,

I have a weird problem that occurs sometimes.
I get this error :

Warning: Attempt to assign property of non-object in /var/www/xxx/
lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php on line 38
Call Stack: 0.0001 330780 1. {main}() /var/www/xxx/web/
backend_dev.php:0 0.0002 340520 2. require_once('/var/www/xxx/config/
ProjectConfiguration.class.php') /var/www/xxx/web/backend_dev.php:6
0.0010 443608 3. sfCoreAutoload::register() /var/www/xxx/config/
ProjectConfiguration.class.php:4 0.0010 443860 4.
sfCoreAutoload::getInstance() /var/www/xxx/lib/vendor/symfony/lib/
autoload/sfCoreAutoload.class.php:69 0.0010 444204 5. sfCoreAutoload-
__construct() /var/www/xxx/lib/vendor/symfony/lib/autoload/

sfCoreAutoload.class.php:50 Warning: require(/config/
sfProjectConfiguration.class.php): failed to open stream: No such file
or directory in /var/www/xxx/lib/vendor/symfony/lib/autoload/
sfCoreAutoload.class.php on line 99 Call Stack: 0.0001 330780 1.
{main}
() /var/www/xxx/web/backend_dev.php:0 0.0002 340520 2.
require_once('/var/www/xxx/config/ProjectConfiguration.class.php') /
var/www/xxx/web/backend_dev.php:6 0.0012 444932 3. sfCoreAutoload-
autoload() /var/www/xxx/lib/vendor/symfony/lib/autoload/

sfCoreAutoload.class.php:0 Fatal error: require(): Failed opening
required '/config/sfProjectConfiguration.class.php' (include_path='.:/
usr/share/php:/usr/share/pear') in /var/www/xxx/lib/vendor/symfony/
lib/autoload/sfCoreAutoload.class.php on line 99 Call Stack: 0.0001
330780 1. {main}() /var/www/xxx/web/backend_dev.php:0 0.0002 340520
2. require_once('/var/www/xxx/config/
ProjectConfiguration.class.php') /var/www/xxx/web/backend_dev.php:6
0.0012 444932 3. sfCoreAutoload-autoload() /var/www/xxx/lib/vendor/
symfony/lib/autoload/sfCoreAutoload.class.php:0

And as I said before, it really occurs sometimes. This means that the
same page can display correctly first and then display the fatal error
without any changes.

I already tried resetting the perms.

Configuration :
gbre...@gunix:/var/www/xxx$ php symfony -V
symfony version 1.4.1 (/var/www/xxx/lib/vendor/symfony/lib)

gbre...@gunix:/var/www/xxx$ php -v
PHP 5.3.3-0.dotdeb.1 with Suhosin-Patch (cli) (built: Oct  4 2010
16:15:33)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins
GmbH

I saw that someone already got this error and solved it with
downgrading to PHP 5.2 :/
But I need PHP 5.3

As anyone of you already faced this problem ?
Do you have any suggestion ?

Thanks for your replies
Guillaume BRETOU

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Problem with drop down menu

2010-10-29 Thread Gareth McCumskey
What code are you using to fill it with data or to create the drop down
itself? Do you have a __toString() magic method defined in your Sectors
class?

On Thu, Oct 28, 2010 at 10:45 PM, reto apc...@dsl.pipex.com wrote:

 My current project is producing an error message which I have not seen
 before. There is a problem with the contents of a drop down menu. Instead of
 the contents of a table called Sectors, which are in fact job titles. I am
 getting an error in each slot  saying No description for object of class
 Sectors  . I thought symfony would automatically fill this drop down menu
 with the table contents.

 I have filled the table Sectors with logical data.

 Any ideas ??

 Reto

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: sfDoctrineActasTaggablePlugin

2010-10-29 Thread Manu
i've tried adding it to /lib/form/doctrine/ContentForm.class, but I
get the following error :
Class 'pkWidgetFormJQueryTaggable' not found

did I forget an include somewhere ?

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Problem with drop down menu

2010-10-29 Thread apc...@dsl.pipex.com
Thanks , the _toString() method did the trick.  excellent !!!

Reto

On Oct 29, 10:14 am, Gareth McCumskey gmccums...@gmail.com wrote:
 What code are you using to fill it with data or to create the drop down
 itself? Do you have a __toString() magic method defined in your Sectors
 class?





 On Thu, Oct 28, 2010 at 10:45 PM, reto apc...@dsl.pipex.com wrote:
  My current project is producing an error message which I have not seen
  before. There is a problem with the contents of a drop down menu. Instead of
  the contents of a table called Sectors, which are in fact job titles. I am
  getting an error in each slot  saying No description for object of class
  Sectors  . I thought symfony would automatically fill this drop down menu
  with the table contents.

  I have filled the table Sectors with logical data.

  Any ideas ??

  Reto

  --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@goog­legroups.com
  For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en

 --
 Gareth McCumskeyhttp://garethmccumskey.blogspot.com
 twitter: @garethmcc- Hide quoted text -

 - Show quoted text -

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: sfDoctrineActasTaggablePlugin

2010-10-29 Thread Manu
Nevermind, I didn't have the latest version from the trunk

Ok now I dont have any errors, I added tags to my generator.yml,
and it shows a textbox on my form.

There's no add button though. Any ideas ?

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: All new symfony developers please read...

2010-10-29 Thread Massimiliano Arione
On 29 Ott, 10:29, Gareth McCumskey gmccums...@gmail.com wrote:
 Yes it is ;)

 Fabian went through a lengthy process (along with a number of contributors)
 to update it.

Gareth,
I'm one of such contributors and I can tell you that it's just like
so: documents on symfony site are NOT up to date with github
repository.
You can check yourself: just look at last commit and you can see that
it's not on symfony site.
Or simply look at Italian translation (of which I am responsible), and
see that it's complete in repository and missing many chapters in
symfony site.
I asked Fabien to fix this a couple of weeks ago, and I'm still
waiting.
Again, too bad.

cheers
Massimiliano

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: sfDoctrineActasTaggablePlugin

2010-10-29 Thread Wes John-Alder
I am thinking that maybe the inline taggable script isn't being linked to
the page.  The widget tells symfony to use the script, but if it's not
included it will display a simple text box.  Will you check your web
directory for me?  does the path
approot/web/sfDoctrineActAsTaggable/js/pkTagahead.js exist?

If not, try running php symfony plugin:publish-assets and the link will be
created.

On Fri, Oct 29, 2010 at 10:03 AM, Manu emmanuel.parf...@gmail.com wrote:

 Nevermind, I didn't have the latest version from the trunk

 Ok now I dont have any errors, I added tags to my generator.yml,
 and it shows a textbox on my form.

 There's no add button though. Any ideas ?

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
Wesley John-Alder
http://punkave.com
http://occs.oberlin.edu/~wjohnald
BA Computer Science, Oberlin College 2007
Appalachian Trail 2008
cell: 609-558-4476

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] i18n i10n on Admin Generator

2010-10-29 Thread Alejandro Gómez
Hello,

I wonder if it is possible to fully localize the modules in the
backend (admin generator). I configured properly in my settings.yml

all:
  .settings:
charset: utf-8
i18n: true
default_culture: es

After that, I got a semi-localized templates. For instance, the
'save', 'delete', 'edit' and 'save and add' actions were localized,
but the 'back to list' action was not. However, It can be changed via
the generator.yml.

generator:
  param:
config:
  new:
actions:
  _list:
label: Volver

I know that is not a good practice, since it is not internationalized.
First question, How to internationalize the messages on yml files?

Nonetheless, the templates are still semi-localized because flashes,
deletion confirmation on delete action, etc. are not localized. In
fact, there is no way to localize them because that messages are not
inside i18n::__() function. Second question, Is there another way to
localize those messages?

Finally, I thought to modify the skeleton used by propel:generate-
admin task in order to add internationalization or putting the
messages directly in spanish. I think the first option is the best
although modify symfony core is not recommended. What do you think on
this matter?

Best regards.

-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en