Hi, I am very insterested in using jquery with monorail the same way prototype is used, In fact, for me, it is better to set jquery as default in monorail..
Can some body header us to good tutorials for using jquery? ----- Original Message ----- From: "Jin" <[email protected]> To: "Castle Project Users" <[email protected]> Sent: Thursday, August 13, 2009 7:50 PM Subject: How to use Jquery in Monorail? > > I already checked some posts saying in Global.asax -> > IMonoRailConfigurationEvents.Configure: > > configuration.JSGeneratorConfiguration.AddLibrary("jquery-1.3.2", > typeof(JQueryGenerator)) > .AddExtension(typeof(CommonJSExtension)) > .ElementGenerator > .AddExtension(typeof(JQueryElementGenerator)) > .Done > .BrowserValidatorIs(typeof(JQueryValidator)) > .SetAsDefault(); > > first question, Is that all done for setting up jquery as default > javascript engine? > When I called $Ajax.InstallScripts(), it still comes out the prototype > js file. > > I built monorail via the last trunk and found that jquery 1.3.2 > already is embeded into JSResources/JQuery.resx. > second question, how I use the buildin dll res? > > last question is about can I configure JSGenerator via xml? (eg: in > web.config) > > Thanks, > Jin > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
