I added a Bootstrap drop down to the navigation on one of my sites but I cannot reliably get tapestry to include the Bootstrap javascript.
In my layout.java file I have this @Import( stack = { InternalConstants.CORE_STACK_NAME }, module={ "bootstrap/dropdown", "bootstrap/collapse"}) With just that I get prototype as the core stack and the bootstrap javascript is loaded. The menu does not behave correctly because prototype makes it disappear when the mouse button is release. So I add this to my AppModule configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery"); Now the core stack is Jquery but the menu does not work at all because dropdown.js and collapse.js are no longer loaded. I notice I'm not in production mode so I remove this configuration.add(SymbolConstants.PRODUCTION_MODE, false); Now all the javascript is combined into core.js and dropdown.js and collapse.js are included. Just for fun I switch back to development mode and add this configuration.add(SymbolConstants.COMBINE_SCRIPTS,false); which for some reason causes dropdown.js and collapse.js to be loaded. So it works in production mode and I have a workaround for development but I don't understand why I need to set combine scripts to false to make things work in development mode. Any ideas? Thanks Barry