It occured to me after posting to make the javascript file a MG view. This 
means the js code should be put in the views folder in one of te locations 
defined in the viewMapping. That javascript code gets included in the head. 
So instead of 

<head>
    <script type="text/javascript" src="/includes/js/myJsFile.js"></script>
</head>

I'll have

<head>
<script type="text/javascript" >
    [... all the javascript formerly included]
</script>
</head>

I guess this has the benefity of less requests to the server to retrieve 
external js libraries.

Marc

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

Reply via email to