I'm glad it's useful for what you've been looking for! And I'll give it a try too. It seems to be a nice plugin.
On Tue, Aug 10, 2010 at 1:34 AM, Christian Fazzini < [email protected]> wrote: > Sorry I meant, most of the examples online expect the object to be > created already. > > The plugin on the other hand works perfectly. Even in admin gen. They > should include something like this in core. Very useful. Thanks for > pointing this out Gustavo. > > On Aug 10, 9:28 am, Christian Fazzini <[email protected]> > wrote: > > The above website expects the object to already exist! > > > > Hence the code: $this->form = new UserBookmarksForm($user = > > Doctrine::getTable('User')->findOneByName('niko')); > > > > I just figured this out and spent a whole day, thinking this was a > > proper solution!! > > I need to do create the object from scratch! > > > > On Aug 9, 12:47 pm, Gustavo Adrian <[email protected]> > > wrote: > > > > > I saw a few plugins that seems to do what you're looking for, but I > haven't > > > tried any of them yet. This is one of them: > > > > >http://www.symfony-project.org/plugins/ahDoctrineEasyEmbeddedRelation. > .. > > > > > Cheers. > > > > > On Mon, Aug 9, 2010 at 12:30 AM, Christian Fazzini < > > > > > [email protected]> wrote: > > > > I've got two models. User and Phone. A user can have one or many > phone > > > > numbers. With admin generator I can create the user module. Clicking > > > > new user gives lets me add a user onto the database. However, on the > > > > same form, I would like to allow the admn to add several phone number > > > > fields (hopefully via JS / jQuery). > > > > > > Been looking online for a few solutions, but nothing too helpful as > of > > > > yet. Can someone point me to the right direction for this? > > > > > > If anyone knows articles worth a mention, please do so. > > > > > > -- > > > > 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]<symfony-users%[email protected]> > <symfony-users%[email protected]<symfony-users%[email protected]> > > > > > > For more options, visit this group at > > > >http://groups.google.com/group/symfony-users?hl=en > > -- > 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]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- 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
