RE: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-31 Thread Noor Mustafa
'allergy_code','Allegray code' ); > Date: Fri, 28 May 2010 10:01:55 +0100 > Subject: Re: [symfony-users] how to change text label attached to new link in > embedRelation form > From: p...@clearintent.co.uk > To: symfony-users@googlegroups.com >

Re: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-28 Thread Paul Burdon
Hi Stephane Unfortunately, for some reason that isn't working. I can access $this->widgetSchema['UglyName'] but setLabel doesn't change the name of the 'newLink'. I think it affects the main name of it but not the label of the new Link. When I inspect the widget it has a positions array that I c

Re: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-28 Thread Paul Burdon
HI Stephane, Just the ticket. Thanks! Paul On 28 May 2010 00:24, Stéphane wrote: > Hi, > > $this->getWidget($uglyName)->setLabel('my smart label'); > > Cheers, > > > Before Printing, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnement

Re: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-27 Thread Eno
On Thu, 27 May 2010, Tofuwarrior wrote: > I have successfully use embedRelation to embed a relation in my form > BUT the new link at the bottom has a label next to it that says > NewUglyLongPropelObjectName . > > How can I change this, I haven't set any new link anywhere so I'm not > sure how to

Re: [symfony-users] how to change text label attached to new link in embedRelation form

2010-05-27 Thread Stéphane
Hi, $this->getWidget($uglyName)->setLabel('my smart label'); Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Fri, May 28, 2010 at 12:25 AM, Tofuwarrior wrote: > I have successfully use embedRelation

[symfony-users] how to change text label attached to new link in embedRelation form

2010-05-27 Thread Tofuwarrior
I have successfully use embedRelation to embed a relation in my form BUT the new link at the bottom has a label next to it that says NewUglyLongPropelObjectName . How can I change this, I haven't set any new link anywhere so I'm not sure how to change this. Is it a widget set somewhere. Anyone?