[symfony-users] Re: Symfony (Error 500)

2009-08-27 Thread Eno

On Thu, 27 Aug 2009, Jon Levischi wrote:

> The browser is giving me the 500 error.
> I wrote some script to test vhost configuration and works fine.
> Only the project is giving me error.

The best way to find out what the error is, is to look at the Apache error 
log for that vhost, or the symfony logs.


-- 



--~--~-~--~~~---~--~~
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: form wizard

2009-08-27 Thread Krishan .G
Thank you man, That article has all information that I need. :)

On Thu, Aug 27, 2009 at 5:36 PM, cleve  wrote:

>
> Have you seen this:
>
> http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/
>
> On Aug 27, 7:33 am, krishan  wrote:
> > Hi
> >
> > I would like to make a wizard in which all form fields will come one
> > by one.
> > This will continue until all form input are submitted by user and
> > finish in last.
> >
> > What is the best way to do this friends?
> >
> > Thank you
> > krishan
> >
>

--~--~-~--~~~---~--~~
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: Flash attribute of sfUser not working in test and production environment

2009-08-27 Thread Eno

On Wed, 26 Aug 2009, dagger wrote:

> yeah thanks, can u also provide me with some links?

http://www.symfony-project.org/blog/category/Case+studies
http://trac.symfony-project.org/wiki/ApplicationsDevelopedWithSymfony

> also - any one face a similar issue with session and test/production
> environment?

What problems exactly? I work on a high-traffic site built on 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 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: Symfony 1.2 propel admin generator hide fields only in edit form

2009-08-27 Thread José Nahuel Cuesta Luengo

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sid Bachtiar escribió:
> Hi all,
> 
> I'm trying to understand the new admin generator for Symfony 1.2
> 
> I have a field 'image', and I don't want people to edit it, only when
> inserting new record.
> 
> Do I have to create separate form class for this?
> 
Sid,

  you can have inside the form the logic that decides whether or not to
show the field:

  [php]
  // In your form's configure method
  // ...

  if ($this->isNew())
  {
$this->setWidget('image', new sfWidgetFormXXX());
$this->setValidator('image', new sfValidatorXXX());
  }
  else
  {
unset($this['image']);
  }

  // ...
  [/php]

Hope this helps!

Best regards

- --
José Nahuel Cuesta Luengo
Desarrollo | CeSPI - UNLP

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqXCxQACgkQ2jTpOyePgAGrcQCeJmJTFac6YbPlT5cIPRxMB/Ah
Am4AoIrDDmIJ8S2DlfCqnh8/FlJ2Sbr8
=G3c6
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
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: Symfony (Error 500)

2009-08-27 Thread Sid Bachtiar

Hi,

What symfony version are you using? How did you create the project?

On Fri, Aug 28, 2009 at 12:07 PM, Jon Levischi wrote:
>
> Hey guys, I'm new with Symfony.
> Trying to install since friday, but I'm getting a issue.
>
> Here is my config:
> - Apache 2.2.13
> - MySQL 5.1.37
> - PHP 5.2.10
> - OS: Windows Vista Eternity 2009
> - ORM: Propel
>
> I ran the check file and solve all warnings.
> Everything seems to install the way it should.
> Except the generated files in the "web" folder.
> The content is the following.
> Folders: css / images / js / sfProtoculousPlugin / uploads (and their
> content)
> Files: .htaccess / robots.txt
>
> So, index.php and frontend_dev.php was not created.
> I tried to manually copy from the folder "C:\dev\sfproject\lib\vendor
> \symfony\test\functional\fixtures\project\web" to "C:\dev\sfproject
> \web" these files as well as the entire folder, replacing and not the
> content.
> The browser is giving me the 500 error.
> I wrote some script to test vhost configuration and works fine.
> Only the project is giving me error.
>
> I don't know why only those files were not created if all the others
> seems to be.
>
> Anyone could help me?
> I'm kind of dumb with that.
> Sorry if it's a silly fault of mine (and sorry about my english), but
> it's giving me insomnia. hehe
>
> Thanks
>
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~-~--~~~---~--~~
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] Symfony (Error 500)

2009-08-27 Thread Jon Levischi

Hey guys, I'm new with Symfony.
Trying to install since friday, but I'm getting a issue.

Here is my config:
- Apache 2.2.13
- MySQL 5.1.37
- PHP 5.2.10
- OS: Windows Vista Eternity 2009
- ORM: Propel

I ran the check file and solve all warnings.
Everything seems to install the way it should.
Except the generated files in the "web" folder.
The content is the following.
Folders: css / images / js / sfProtoculousPlugin / uploads (and their
content)
Files: .htaccess / robots.txt

So, index.php and frontend_dev.php was not created.
I tried to manually copy from the folder "C:\dev\sfproject\lib\vendor
\symfony\test\functional\fixtures\project\web" to "C:\dev\sfproject
\web" these files as well as the entire folder, replacing and not the
content.
The browser is giving me the 500 error.
I wrote some script to test vhost configuration and works fine.
Only the project is giving me error.

I don't know why only those files were not created if all the others
seems to be.

Anyone could help me?
I'm kind of dumb with that.
Sorry if it's a silly fault of mine (and sorry about my english), but
it's giving me insomnia. hehe

Thanks

--~--~-~--~~~---~--~~
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: Symfony 1.2 propel admin generator hide fields only in edit form

2009-08-27 Thread Sid Bachtiar

A bit more info, my schema:

  email_banner:
id: { type: integer, primaryKey: true, autoIncrement: true }
image: { type: varchar(255), required: true, unique: true }
descr: { type: longvarchar }
is_active: { type: boolean, required: true, default: true }
created_at:

When I edit, I want to only edit descr and is_active. I put this in
the generator.yml:

edit:
  display: [descr, is_active]

I displayed correctly but would not save.

On Fri, Aug 28, 2009 at 10:25 AM, Sid Bachtiar wrote:
> Hi all,
>
> I'm trying to understand the new admin generator for Symfony 1.2
>
> I have a field 'image', and I don't want people to edit it, only when
> inserting new record.
>
> Do I have to create separate form class for this?
>
> --
> Blue Horn Ltd - System Development
> http://bluehorn.co.nz
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~-~--~~~---~--~~
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] Symfony 1.2 propel admin generator hide fields only in edit form

2009-08-27 Thread Sid Bachtiar

Hi all,

I'm trying to understand the new admin generator for Symfony 1.2

I have a field 'image', and I don't want people to edit it, only when
inserting new record.

Do I have to create separate form class for this?

-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~-~--~~~---~--~~
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] sfWidgetFormChoice

2009-08-27 Thread mattsister

I have a TINYINT column in my db that represent the month. In the
filter section of my backend I want a select instead of an input text.
So I made this in my filter class:

$mese_choices = array(
  '' => 'Tutti i mesi',
  1  => 'Gennaio',
  2  => 'Febbraio',
  3  => 'Marzo',
  4  => 'Aprile',
  5  => 'Maggio',
  6  => 'Giugno',
  7  => 'Luglio',
  8  => 'Agosto',
  9  => 'Settembre',
  10 => 'Ottobre',
  11 => 'Novembre',
  12 => 'Dicembre'
);

$this->setWidget('mese', new sfWidgetFormChoice(array('choices' =>
$mese_choices)));
$this->setValidator('mese', new sfValidatorChoice(array('choices'
=> array_keys($mese_choices;


Everything seems fine, when I choose a month from the dropdown and
press "filter" no errors pop up. But for some strange reason the list
is not filtered. The dropdown is completely ignored. I've inspected
the queries generated and anything related to the month column shows
up...

Any idea?

--~--~-~--~~~---~--~~
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] Plain text field in admin generator for 1.2+

2009-08-27 Thread isleshocky77

This seems to me like it would be a big problem; however, it's been
quite a while and I haven't heard anything on a clean solution as of
yet.

Is there anything in the works for 1.3 or anything that can be
packported to 1.2 for this?

http://trac.symfony-project.org/ticket/5296

--
Stephen Ostrow 
--~--~-~--~~~---~--~~
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: What symfony gives us regarding objects/collections

2009-08-27 Thread Eno

On Thu, 27 Aug 2009, Dennis wrote:

> So Doctrine generates two base classes per database table ? (at
> aminimum, probably)

Two bases classes per model, yes.


-- 



--~--~-~--~~~---~--~~
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: Upload image with admin generator

2009-08-27 Thread Troffi

You can upload image by admin generator but only this way:
http://www.searbe.co.uk/symfony-admin-generator-file-upload

On 1 авг, 00:03, bogo  wrote:
> Hi,
> I'd like to upload image using admin generator. I've tried set field
> type in my generator.yml to:
>
>       edit:
>         title:          Editing photo "%%title%%"
>         fields:
>           path_thumb:
>             type: admin_input_file_tag
>             help: default size 25x25
>
> but it doesn't work. Default input field is displayed and error
> message returned.
>
> how can I upload images by admin generator? I use symfony version
> 1.2.8.
>
> Thanks in advance!
> bogo

--~--~-~--~~~---~--~~
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: Doctrine Admin Generator: javascript message localization

2009-08-27 Thread Syndicut

I managed to translate this string by adding translation to file
(relative to project root):

lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/i18n/
sf_admin.YOUR_LOCALE.xml

It should be sfPropelPlugin if you use Propel.

On 10 авг, 19:20, televas  wrote:
> Hi,
> I'm using the i18n support in some modules based on the doctrine admin
> generator. I'm configuring some messages, but I can't find how to have
> localized javascript messages. When I click on the "delete" link in
> the list, a message box ask me for confirmation. But I need to
> translate the message "Are you sure?" with the i18n support in the
> current user language. How can I do this?
>
> Besides, are available some complete catalogs with standard symfony
> messages already translated? For example a "messages.xml" file already
> configured for some languages? Has the Symfony community a common
> repository with resources like this?
>
> Thank you in advance.

--~--~-~--~~~---~--~~
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: Doctrine Routing Object in Template

2009-08-27 Thread Mathieu Tricoire

Thx but I was already see that, I'm not success to retrieve Object
because that return a sfPatternRouting object and not a
doctrineRouting object, so i can't do getObject on it, If you have an
other solution?

Thx.

On 27 août, 14:57, Eno  wrote:
> On Thu, 27 Aug 2009, Mathieu Tricoire wrote:
> > Hi! AnyOne can help me? I want retrieve the Doctrine Route Object in a
> > template how i can do that without define a variable in actions?
> > AnyOne knows a possibility to retrieve with a variable like
> > $sf_context for example? Thanks. Sorry for my english...
>
> http://www.symfony-project.org/api/1_2/sfContext#method_getrouting
>
> --
--~--~-~--~~~---~--~~
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: What symfony gives us regarding objects/collections

2009-08-27 Thread Dennis

So Doctrine generates two base classes per database table ? (at
aminimum, probably)

On Aug 26, 9:02 pm, Eno  wrote:
> On Wed, 26 Aug 2009, Dennis wrote:
> > The automatic class(es) that Symfony generates that are named after
> > tables in the Dbase . . .
>
> > Are they:
> >   The collection (i.e.) the table,
> >   The class for the individual object with setters/getters/field
> > sanitizing-qualifying,
> >     or
> >   Both?
>
> Both.
>
> If you are using Propel, you will get peer classes which generate objects
> from database queries and classes for the object itself.
>
> Similarly, when using Doctrine you will get a class representing the table
> that generates objects from queries and a class representing a single
> object.
>
> --
--~--~-~--~~~---~--~~
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: Doctrine Routing Object in Template

2009-08-27 Thread Eno

On Thu, 27 Aug 2009, Mathieu Tricoire wrote:

> Hi! AnyOne can help me? I want retrieve the Doctrine Route Object in a
> template how i can do that without define a variable in actions?
> AnyOne knows a possibility to retrieve with a variable like
> $sf_context for example? Thanks. Sorry for my english...


http://www.symfony-project.org/api/1_2/sfContext#method_getrouting


-- 



--~--~-~--~~~---~--~~
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: form wizard

2009-08-27 Thread cleve

Have you seen this:

http://blog.adryjanek.eu/2009/03/24/symfony-12-and-multipage-form-wizard/

On Aug 27, 7:33 am, krishan  wrote:
> Hi
>
> I would like to make a wizard in which all form fields will come one
> by one.
> This will continue until all form input are submitted by user and
> finish in last.
>
> What is the best way to do this friends?
>
> Thank you
> krishan
--~--~-~--~~~---~--~~
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] form wizard

2009-08-27 Thread krishan

Hi

I would like to make a wizard in which all form fields will come one
by one.
This will continue until all form input are submitted by user and
finish in last.

What is the best way to do this friends?

Thank you
krishan
--~--~-~--~~~---~--~~
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: multiple select in a single DB field

2009-08-27 Thread José Nahuel Cuesta Luengo

I've never tried this, but you may save the serialized array of  
selected options in a longvarchar field. I would change  
sfValidatorChoice and use a custom one that returns the result of  
php's serialize($values_array).

Hope I made myself clear.

--
José Nahuel Cuesta Luengo

El 27/08/2009, a las 04:09, Mihai Rusoaie   
escribió:

>
> Hello!
>
> Can I store a multiple select in a single database field?
>
> I don't need too many fields in the multiple select (about 5).
>
> Is there any way to do this using sfWidgetFormChoice and
> sfValidatorChoice in Symfony 1.2?
>
> If yes, what should be the schema field type and what objects to use?
>
> Thank you!
>
> Mihai
>
> >

--~--~-~--~~~---~--~~
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] Doctrine Routing Object in Template

2009-08-27 Thread Mathieu Tricoire

Hi! AnyOne can help me? I want retrieve the Doctrine Route Object in a
template how i can do that without define a variable in actions?
AnyOne knows a possibility to retrieve with a variable like
$sf_context for example? Thanks. Sorry for my english...
--~--~-~--~~~---~--~~
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: Form input manipulation before validation

2009-08-27 Thread mintao

Hi José,

this is exactly what I was looking for.
Thank you!

best regards
Florian

On Aug 27, 2:36 am, José Nahuel Cuesta Luengo
 wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> mintao escribió:> I have an input field for an URL.
> > When the form is submittet I'm using sfValidatorDoctrineUnique for
> > this field. But BEFORE the validation I'd like to manipulate the url
> > (host name to lower case, cut off any query strings).
>
> > Imagine the url "http://www.test.com/mysite"; is already in the
> > database.
> > When a user tries to submit the following url "http://www.Test.com/
> > mysite/?q=foo" I'd like sfValitatorDoctrineUnique to recognize it as a
> > unique violation.
>
> > What can I do?
>
> You might:
>
>  a) use sfValidatorCallback instead of sfValidatorDoctrineUnique and in
> the callback function you could clean $value and then return whatsoever
> sfValidatorDoctrineUnique returns for that clean input.
>     Could be something like this:
>
>     [php]
>     // In your form's configure() method
>     // ...
>     $this->setValidator('url', new sfValidatorCallback(array(
>         'callback' => array($this, 'validateUrl'),
>         'required' => true
>       )));
>     //...
>
>     // Outside configure(), declare the callback method
>     public function validateUrl($validator, $value, $arguments)
>     {
>       // Clean $value
>       $clean_value = clean($value);
>
>       $v = new sfValidatorDoctrineUnique(array(
>           'model'  => 'MyModel',
>           'column' => 'url'
>         ));
>       return $v->clean($clean_value);
>     }
>     [/php]
>
>   b) Implement your own sfValidatorBase subclass for doing pretty much
> the same, but with the benefit of code reuse and modularization.
>
> Hope this helps.
>
> - --
> José Nahuel Cuesta Luengo
> Desarrollo | CeSPI - UNLP
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org
>
> iEYEARECAAYFAkqV1QkACgkQ2jTpOyePgAFtMwCfdbql1LtUoHPOU6W20xOtlJWl
> mz4AoIquBTvQF3bve3uvstWLk8W+T+Na
> =DcGt
> -END PGP SIGNATURE-
--~--~-~--~~~---~--~~
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: save all values in lower case

2009-08-27 Thread Hellmich Dennis

You could do some data-preprocessing in the action or BETTER in the  
model. E.g. you could override the setXXX functions or the save method

See also
http://de.php.net/manual/en/function.strtolower.php



Am 27.08.2009 um 03:18 schrieb Germana Oliveira:

>
> I'm wondering how i can save all the values in the data base in lower
> case ??? can symfony do that for me??
>
> thanks!!!
>
> >


--~--~-~--~~~---~--~~
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] multiple select in a single DB field

2009-08-27 Thread Mihai Rusoaie

Hello!

Can I store a multiple select in a single database field?

I don't need too many fields in the multiple select (about 5).

Is there any way to do this using sfWidgetFormChoice and
sfValidatorChoice in Symfony 1.2?

If yes, what should be the schema field type and what objects to use?

Thank you!

Mihai

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---