No, the translation callback is kept.
http://trac.symfony-project.org/browser/plugins/swFormExtraPlugin/tags/VERSION_1_2_0/lib/form/swFormHelper.class.php#L82


On Mon, Aug 31, 2009 at 11:08 AM, Sid Bachtiar <sid.bacht...@gmail.com>wrote:

>
> Will that affect i18n translation?
>
> On Mon, Aug 31, 2009 at 7:44 PM, Thomas Rabaix<thomas.rab...@gmail.com>
> wrote:
> > ho ho !! a third solution ;)
> > The solution is mainly :
> >
> > call a static method
> > it goes through the widgetSchema recursively
> > update the label to be an *object* and not a sting.
> > echo $label will invoke the __toString method
> > the __toString format the label with default string : %s <sup>*</sup>
> >
> >
> http://trac.symfony-project.org/browser/plugins/swFormExtraPlugin/tags/VERSION_1_2_0/lib/form/swFormLabel.class.php
> >
> http://trac.symfony-project.org/browser/plugins/swFormExtraPlugin/tags/VERSION_1_2_0/lib/form/swFormHelper.class.php#L62
> > On Mon, Aug 31, 2009 at 7:04 AM, Sid Bachtiar <sid.bacht...@gmail.com>
> > wrote:
> >>
> >> Actually, I don't know. I haven't used it in embedded forms. Would you
> >> be able to look quickly and see if you think it would not?
> >>
> >> On Mon, Aug 31, 2009 at 4:51 PM, Kris
> >> Wallsmith<kris.wallsm...@symfony-project.com> wrote:
> >> >
> >> > Hi Sid,
> >> >
> >> > Looks good. Does your solution also work for embedded forms?
> >> > I've also proposed a solution to the same problem here:
> >> >
> >> >
> http://kriswallsmith.net/post/144021872/symfony-denote-required-form-fields
> >> >
> >> > Kris
> >> >
> >> > On Aug 30, 4:34 am, Sid Bachtiar <sid.bacht...@gmail.com> wrote:
> >> >> Hi all,
> >> >>
> >> >> I just written an article on how to automatically add stars on
> >> >> required fields using sfForm in Symfony 1.2.
> >> >>
> >> >>
> >> >>
> http://bluehorn.co.nz/2009/08/31/symfony-12-sfform-formatter-to-add-s...
> >> >>
> >> >> I've used this on few of my projects and thought I'd share it. Let me
> >> >> know what you think.
> >> >>
> >> >> Kind regards,
> >> >>
> >> >> Sid
> >> >> --
> >> >> Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Blue Horn Ltd - System Development
> >> http://bluehorn.co.nz
> >>
> >>
> >
> >
> >
> > --
> > Thomas Rabaix
> > http://rabaix.net
> >
> > >
> >
>
>
>
> --
> Blue Horn Ltd - System Development
> http://bluehorn.co.nz
>
> >
>


-- 
Thomas Rabaix
http://rabaix.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to