what you can do is a small hack: you can point org.apache.tapestry5.SymbolConstants.BOOTSTRAP_ROOT to a folder with an empty bootstrap.js file and then care by yourselfes to include it everywhere, where it's needed.
you could include the minimum bootstrap.js in the border layout and then include the additions (e.g. boostrap-dropdown.js) the same way you are doing it currently where it's needed. On Mon, Aug 19, 2013 at 1:54 PM, Peter Hvass <p.hv...@albourne.com> wrote: > Hi Thiago, > > > Thanks for the reply. I don't think I was clear enough in my first post! > > > In the instance where this is affecting us; > > > Our BootstrapDropdown mixin includes Bootstrap's bootstrap-dropdown.js > and Tapestry's core components (in this case, Errors) is including > bootstrap.js. > > > Since bootstrap.js also contains the contents of bootstrap-dropdown.js we > get a > double execution. > > > I'm aware that we could just opt to use bootstrap.js ourselves but I was > wondering > whether anyone on the dev team would deem using the individual > bootstrap-*.js files useful > and more modular as opposed to piling in the entire bootstrap.js each time. > > > Thanks! > Peter > > ----- Original Message ----- > > From: "Thiago H de Paula Figueiredo" <thiag...@gmail.com> > To: "Tapestry users" <users@tapestry.apache.org> > Sent: Monday, August 19, 2013 2:44:51 PM > Subject: Re: [5.4] Use Individual Bootstrap Javascript Files Instead of > Just bootstrap.js > > On Mon, 19 Aug 2013 07:10:43 -0300, Peter Hvass <p.hv...@albourne.com> > wrote: > > > Hi all, > > Hi! > > > We're running into issues where bootstrap.js is included by various core > > components and scripts are executing twice! > > Tapestry checks for duplicate additions of the same file and adds it only > once, so there's something wrong here: your code or Tapestry. How did you > include the JS files in your components? > > -- > Thiago H. de Paula Figueiredo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > >