Re: [symfony-users] Admin generator - Using different forms for edit and for new

2010-11-27 Thread Enrico Beck
t;new"/"edit" section and set it to the form class which should be used: new: class: myNewForm edit: class: myEditForm -- Enrico Beck Freelance Web Developer Georg-Schwarz-Strasse 32 04177 Leipzig Germany fon: +49 (0)341 - 240 79 68 fax: +49 (0)9

[symfony-users] Re: schema.yml to sql using file & varchar

2008-09-20 Thread beck
Ah yes. I see my mistake now. Thank you all for the replies. Strange that: propel: article: id: upload: file: varchar size: 255 still worked. I guess "file:varchar" was ignored since there's no "file" attribute to set and it defaulted to varchar? Sincerely appreciative.

[symfony-users] Re: schema.yml to sql using file & varchar

2008-09-18 Thread beck
Upload was just a field. My schema was: propel: article: id: upload: file: varchar(255) and this caused an error: [propel-sql-exec] Failed to execute I changed to: propel: article: id: upload: file: varchar size: 255 And the error was gone. I figured this

[symfony-users] Re: schema.yml to sql using file & varchar

2008-09-16 Thread beck
Is this a bug or no? or does it not matter because it's changed for 1.2? --~--~-~--~~~---~--~~ 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

[symfony-users] schema.yml to sql using file & varchar

2008-09-13 Thread beck
When the sql is built from my schema, I receive an error due to varchar missing a size. If my schema says (as is in the documentation): upload: file: varchar(255) The sql is: `upload` VARCHAR But when I change it to: upload: file: varchar size: 255 The sql is: `upload`