Bug #68815
closedUsing backend container's "includeJsFiles" fails
0%
Description
Hi
In my newly created backend module, I wanted to add additional js files using fluids be.container param: "includeJsFiles". From the documentation I copied this: includeJsFiles="0: '{f:uri.resource(path:\'JavaScript/Library1.js\')}', 1: '{f:uri.resource(path:\'JavaScript/Library2.js\')}'". It always gives me the message that it was registered with type array, but it is type of string in "TYPO3\CMS\Fluid\ViewHelpers\Be\ContainerViewHelper". Seems like a bug to me, can anyone reproduce this?
Regards
Updated by Wouter Wolters about 9 years ago
- Status changed from New to Needs Feedback
Please try something like:
includeJsFiles="{
0:'{f:uri.resource(path:\'JavaScript/jquery-validate-1.11.1.min.js\')}',
1:'{f:uri.resource(path:\'JavaScript/jquery.expander.min.js\')}',
2:'{f:uri.resource(path:\'Contrib/LoadMask/jquery.loadmask.js\')}'
}"
Updated by Wouter Wolters about 9 years ago
- Status changed from Needs Feedback to Closed
Thanks for quick feedback. Ticket closed.