Starting from 1.3, all content passed from the action to the view gets automatically escaped - including that field of your. Gets wrapped in an sfOutputEscaperObjectDecorator instance.
I believe it works just like when doctrine objects get passed to the view, you can get the unescaped data with `$w->render(ESC_RAW)`. And by the way, you may want to look into the forms chapter of the gentle introduction book. On Fri, Apr 15, 2011 at 21:04, Fernando Grassi de Oliveira <fgra...@gmail.com> wrote: > Hi there people ;) > > So... im getting something weird here. > > If I wrote the code in the IndexSuccess.php like this > $w = new sfWidgetFormI18nChoiceCurrency(array('culture' => > 'pt_BR')); > echo $w->render('foo'); > > works fine! > > But if I put the part of code on the actions.class.php like this > > $this->w = new sfWidgetFormI18nChoiceCurrency(array('culture' => > 'pt_BR')); > > and the echo on de IndexSucess.php, I get the HTML code echoed... > > What am I doing wrong? > > Thank for any help :) > > -- > 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 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 > -- 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 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