[TYPO3-mvc] FLUID and Javascript objects

Julian Kleinhans typo3 at kj187.de
Fri Jul 23 23:12:36 CEST 2010


Hi list,

how can i write Javascript objects with fluid syntax inside ??
I have something like this

<script>var test = {test: '{f:uri.resource(path: "test/")}'};</script>

The frontend result is

<script>var test = Array</script>

Ok, one solution is to wrap it with cdata.. but, than the resource is 
plaintext ..

<f:raw> doesnt help too ;(

ideas ?

greetz
julian


More information about the TYPO3-project-typo3v4mvc mailing list