Hi, Felix. That's exactly what use_dynamic_javascript()<http://www.symfony-project.org/api/1_4/AssetHelper#method_use_dynamic_javascript>helper was created for. Refer its' source for details.
On Thu, Dec 30, 2010 at 01:43, Felix E. Klee <felix.k...@inka.de> wrote: > Following the suggestion from the Jobeet tutorial, I set up "JavaScript > as an Action": > > <url:http://www.symfony-project.org/jobeet/1_4/Propel/en/18 > #chapter_18_user_feedback> > > Now, I have a dynamically created JavaScript file accessible via: > > /main/index.js > > Works fine. Though I wonder: > > How do I *elegantly* include that JavaScript file? > > To take into consideration: > > * The JavaScript file should inherit the development environment, if > enabled for the main (HTML) file. > > * The JavaScript file should be loaded *after* all JavaScript files > that are defined for the main file in: view.yml > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en