[symfony-users] Re: How to remove the TH elements in embedded forms in admin generator

2010-08-18 Thread Christian Fazzini
tead of the numeric ones. Or you could > simply use jQuery or css, as you said. > > On Wed, Aug 18, 2010 at 1:47 PM, Christian Fazzini < > > christian.fazz...@gmail.com> wrote: > > At the following screenshot:http://imagebin.org/110208how do I > > remove the elemen

[symfony-users] How to remove the TH elements in embedded forms in admin generator

2010-08-18 Thread Christian Fazzini
At the following screenshot: http://imagebin.org/110208 how do I remove the elements. i.e. the ones with "0,1,2"? I know I can make css hide this. But I'd like to know a cleaner way of doing this? Been struggling with this to no avail. -- If you want to report a vulnerability issue on symfo

[symfony-users] Re: admin gen 1:m in one form

2010-08-09 Thread Christian Fazzini
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 wrote

[symfony-users] Re: admin gen 1:m in one form

2010-08-09 Thread Christian Fazzini
> > Cheers. > > On Mon, Aug 9, 2010 at 12:30 AM, Christian Fazzini < > > christian.fazz...@gmail.com> 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 > &

[symfony-users] Re: Real purpose of admin generator

2010-08-09 Thread Christian Fazzini
dmin generator > > and start to work "against it" (due to time constraints, other > > reasons) thus defeating the whole point of using it. > > > Having less lines of written PHP code is always good. > > >    gabriel > > > On Jul 26, 9:03 pm, Christian Fazzini

[symfony-users] admin gen 1:m in one form

2010-08-08 Thread Christian Fazzini
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 vi

[symfony-users] Re: slot component - sidebar form

2010-08-08 Thread Christian Fazzini
have to > check the validity of the form on the action and, optionally, pass the > result to the component. > > Cheers. > > On Thu, Aug 5, 2010 at 3:58 AM, Christian Fazzini < > > christian.fazz...@gmail.com> wrote: > > I've got a sidebar on my fronten

[symfony-users] slot component - sidebar form

2010-08-04 Thread Christian Fazzini
I've got a sidebar on my frontend/templates dir. which has the following code: Everything is working well. Execpt... If the sidebar has a form. How can I submit this form on the slot component? I normally bind and check if valid in the actions. But since this is a component slot, how can this be

[symfony-users] Re: Real purpose of admin generator

2010-08-02 Thread Christian Fazzini
Yes but I think you are missing the point Richtermeister. All this extending makes it more difficult with the admin generator involved. Not difficult perse'. But just extra effort. If one can achieve the same thing using just plain sfForm, why do we need to go through admin generator to do the same

[symfony-users] Real purpose of admin generator

2010-07-26 Thread Christian Fazzini
Hello all, I've used admin generator a few times. Personally, I don't really understand the point of this. The forms in admin generator are based on the definitions in the form class. For the backend app, why is the common convention for devs to use admin generator? The only difference admin gener