Hang on - with T5.4 beta-3 I'm pretty sure I'm not doing any of that! bootstrap.css and bootstrap.js are drawn in automatically as part of T5's core. To use a bootstrap module in your page, try this sort of thing:
void afterRender() { javaScriptSupport.require("bootstrap/dropdown"); } and to use a bootstrap module in your javaScript, try this sort of thing: define(["jquery", "bootstrap/button"], function($, button) { // etc } BTW, I use jQuery as the infrastructure provider. public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) { configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery"); } Have I missed something? On 27 May 2014, at 9:09 am, Jon Williams <williams.jonat...@gmail.com> wrote: > 1 other thing, you will have to Import the bootstrap.js into your ui class > to get it all working. > > @Import(library = {"context:bootstrap/js/bootstrap.js"}) > public class Index { > > > On Mon, May 26, 2014 at 4:59 PM, Jon Williams > <williams.jonat...@gmail.com>wrote: > >> it's easy to custom setup Tapestry 5.4 to the latest bootstrap version, >> with all the widgets. >> >> make the contribution to the environment like so: >> >> configuration.add(SymbolConstants.BOOTSTRAP_ROOT, "context:bootstrap"); >> >> then, make a bootstrap distro directory in your webapp context. then put a >> a full bootstrap distro in it. >> >> Walla, you are running "whatever" version of bootstrap with any of the the >> widgets. >> >> >> On Mon, May 26, 2014 at 4:01 PM, Thiago H de Paula Figueiredo < >> thiag...@gmail.com> wrote: >> >>> On Mon, 26 May 2014 16:46:27 -0300, Ilya Obshadko < >>> ilya.obsha...@gmail.com> wrote: >>> >>> I did. Still got the same error. >>>> >>> >>> Tapestry doesn't include the full Bootstrap set of .js files, so you'll >>> need to import yourself. The Tapestry out-of-the-box Bootstrap offerings >>> right now are focused on the CSS side, not on the widget one. >>> >>> There's https://github.com/trsvax/tapestry-bootstrap, but it wasn't >>> upgraded to 5.4 yet. >>> >>> -- >>> Thiago H. de Paula Figueiredo >>> Tapestry, Java and Hibernate consultant and developer >>> http://machina.com.br >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>