Surprisingly, I don't get Prototype. Are you sure you are using the
"official" 5.4-alpha-2 and not a local build?
FWIW, I have the following  in my Layout component (as I use bootstrap):


@Import( stack = { InternalConstants.CORE_STACK_NAME },
         stylesheet = {
"${tapestry.bootstrap-root}/css/bootstrap-responsive.css",
                        "context:styles/style.css",
                        "context:styles/t5-override.css"},
         library = { "context:scripts/lib/plugins/jquery.cookie.js" }
)
public class Layout {

//....

    @Inject
    private JavaScriptSupport jsSupport;


// ....
    void afterRender() {
        jsSupport.require("bootstrap");
    }

}



My AppModule has a @SubModule(EnableJQueryModule.class) based on the code
you referenced earlier (same as putting them in the AppModule as you did).

This works for me and I don't see any reference to Prototype.


HTH,

/Serge



--
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Can-t-get-Tapestry-5-4-alpha-2-jQuery-Support-to-work-tp7584477p7584483.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to