'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
>
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
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
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
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
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?