You can also use TextTemplate(s) to construct/concat the JS dynamically.
On Fri, Dec 7, 2012 at 12:51 AM, Nick Pratt <nbpr...@gmail.com> wrote: > I currently have a single javascript file in a custom Behavior that Id like > to conditionally include sections of depending on provided user options. > > Whats the best way to achieve this? > > Split the single file in to, say 3 separate JS files and then conditionally > include them in Java during the renderHead() of my Behavior? Is there a > better way? > > > Nick > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>