Back In the day I'd have just made a cfinclude with the appropriate
js includes and been done with it.
Any preferred method of achieving this in coldbox?
thanks.
marc
Hope that helps.
Ernst
Sometimes we read the question differently, so I will add that there is
another way. A little more involved but will work, and it is untested.
The renderview (Luis correct me if I am wrong) should be able to be over
written to include a custom render, then you could have a plugin to setp JS
includes. That could be rendered then, the beauty about it is that depending
on how you approach it. You could have checks to see if it has been included
or not, so it doesn't get duplicated.
That is of course one method, but it could work. Or you could even include,
a more feature validation to include plugin compatability. So if it doesn't
exist, throws an error or whatever is needed to handle this in a template
solution.
--
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273
Ernst