Hi! I'm developing an ExtJS app and I don't use the Form component because I need to create the forms in JS. My question is if there's a way to bind the data coming from the request to the object, without using the Form. What I'm currently doing is something like:
$validator = $this->container->get( 'validator' ); $data = $this->container->get( 'request' )->request->get( 'myEntity' ); $myObject = new MyEntity(); $myObject->setName( $data[ 'name' ] ); // Set all remaining values.. $result = $validator->validate( $myObject ); For that reason I'm planning to develop a simple data binder component for such cases but I was wondering if anyone has a better way of doing this that I don't know about. Thanks in advance. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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
