it's because escaping is enabled in your project (settings.yml). You
can do something like

$form = $form->getRawValue();

to retrieve the original object.

Julien

On Feb 19, 12:14 pm, Michal G <[email protected]> wrote:
> Hello,
>
> I have a release form, which embeds game form.
> Release form is rendered by release/_form.php partial. In this partial
> i have something like that:
>
> include_partial("game/formBody", array("form"=>$form['id_game']);
> [...]
> include_partial("formBody", array("form"=>$form);
>
> Unfortunately tags rendered by $form[widget]->render() in game/
> _formBody.php are escaped.
> In release/_formBody.php everything is ok.
>
> So, something happens when i pass $form['id_game'] instead of $form.
> But what? Is it because of double escaping - first $form is escaped
> and then again $form['id_game'], which is already escaped? Or
> something else?
>
> Type of $form variable in game/_formBody.php is
> sfOutputEscaperIteratorDecorator.
>
> How can i fix that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to