Hi,
is there any way to remove escaping from a partial? The reason for my
question is the following:
In one of my projects, I am creating a datagrid with the JQuery Plugin
jqgrid. jqgrid wants the data as JSON meaning something like
var mydata=[{"id":1,"name":"Doe"}]...
Now, I need almost the same representation of the datagrid on several
pages and for the sake of DRY, I placed the code into a partial. Before
doing so, I had the escaping removed in the echo ... call with
$sf_data->getRaw('mydata'). That worked, as long as the code was not
copied into a partial. So, it seems like the include_partial(...) method
does escaping on its own and I don't know, how to disable it.
Does anyone know, how to do it?
Thanks and regards,
Christopher.
--
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.