sfPropelAdminGenerator not work fine, i create like this a table

 <table name="city" PhpName="City" idMethod="native">
   <column name="id" type="integer" required="true"
autoIncrement="true" primaryKey="true" />
   <column name="city_name" type="varchar" size="25" required="true" />
   <column name="created_at" type="timestamp" required="true" />
   <column name="updated_at" type="timestamp" required="true" />
   <column name="is_deleted" type="boolean" default="false" />
 </table>

and i create admin genarator for this table

symfony propel-init-admin city City

i am try http://localhost/city list work with corretly but if i try
create new entry with city_name column with null
sfPropelAdminGenerator insert a one space char i think admin generator
must be don't need one validator configuration.

any idea?

generator.yml   content :

generator:
 class:              sfPropelAdminGenerator
 param:
   model_class:      City
   theme:            default

   list:
     title:          Şehirler
     display:        [id, city_name, created_at]
     fields:
       created_at: {name: Eklenme zamanı}
       city_name: {name: Şehir adı}
       id: {name: Düzenle}

   edit:
     title: Yeni Şehir ekle
     display: [city_name]
     fields:
       city_name: {name: Şehir adı}

-- 
Saygılar && İyi Çalışmalar
Timu EREN ( a.k.a selam )

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to