Ok

So i removed the updateImagefileColumn method and this is what i got:

*Catchable fatal error*: Argument 3 passed to sfFormPropel::saveFile() must
be an instance of sfValidatedFile, array given, called in
/usr/share/php/symfony/plugins/sfPropelPlugin/lib/form/sfFormPropel.class.php
on line 465 and defined in *
/usr/share/php/symfony/plugins/sfPropelPlugin/lib/form/sfFormPropel.class.php
* on line *498*

:(

Also both the widget and validator work if the file field is in a main form.
The overwriting of the bind method i got it from :

http://stereointeractive.com/blog/2008/12/23/symfony-12-upload-a-file-inside-an-embedded-form/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to