I see there's another response already that may indicate the problem lies elsewhere but just in case you do want to reorder the included files ...
... can you contribute and use a custom ClientInfrastructure containing a list for the javascriptStack, add jQuery.js first to your list, and then add the existing clientInfrastructure javascriptStack? I used a variation of this solution from elsewhere on the mailing list to get around a blackbird issue I was having. ... in AppModule ... public ClientInfrastructure decorateClientInfrastructure(ClientInfrastructure original) { return new MyClientInfrastructure(original); } ... MyClientInfrastructure.java (untested so probably some syntax errors) ... public class MyClientInfrastructure implements ClientInfrastructure { ClientInfrastructure clientInfrastructure; List javascriptStack = new ArrayList(); public MyClientInfrastructure(ClientInfrastructure clientInfrastructure) { this.clientInfrastructure = clientInfrastructure; javascriptStack.add(asset for jQuery); javascriptStack.addAll(this.clientInfrastructure.getJavascriptSt ack()); } public List<Asset> getJavascriptStack() { return javascriptStack; } public List<Asset> getStylesheetStack() { return clientInfrastructure.getStylesheetStack(); } HTH. Regards, Jim. -----Original Message----- From: Inge Solvoll [mailto:inge.tapes...@gmail.com] Sent: 26 November 2009 15:42 To: Tapestry users Subject: jQuery.noConflict() not working Hi! Sorry for going a little bit OT here, but this is kinda T5-specific too. I'm trying to use jQuery together with prototype in T5. It works nicely in firefox, but in IE8, I get a lot of "object not supported, line 4821" and so on. If I remove the reference to jQuery, everything works again. I did include a call to jQuery.noConflict() a the end of the jQuery js-file. I'm guessing that it would work including jQuery BEFORE prototype, as prototype would overwrite everything that's been done by jQuery, and jQuery doesn't have a problem with that, using a different alias instead. Does anyone have nice approach for making T5 include jQjery.js before prototype.js? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org