On Wed, Oct 1, 2008 at 6:58 AM, petemounce <[EMAIL PROTECTED]> wrote: > * How do I provoke MonoRail into spitting out a jQuery script include > inside of the head of the rendered page?
> * Can I register other script includes, conditionally - I guess I want > http://using.castleproject.org/display/Contrib/JavascriptComponent ? I just noticed that the JavascriptComponent is rather old of date. JavascriptComponent now has an "File" parameter, so you want #component(Javascript with "file=jquery/jquery.js") in your view, and #component(InsertJavascript) in the <head> section of your layout. (examples copied directly from my views) -- Truth, James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
