Hi, just a untested try: $data = $request->getParameter( 'picture' ); $data['filedata'] = $_FILE['Filedata'];
$this->form->bind( $data ); Am 09.05.2009 um 13:10 schrieb SNake!: > > Hi guys, > > Is there a way to bind a request field to a object field in symfony > form? > > Here is my problem, I am trying to use sf form to handle the upload > file from flash uploader. The uploader will post the file in the > field: 'Filedata' ( $_FILE['Filedata'] ). But I want to map it to a > field of my object such as 'photo_file' property of my class Picture. > > Please help me on this. > > 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 -~----------~----~----~----~------~----~------~--~---