I'm not quite sure what exactly you need but it seems to me that the scripts themselves would be static .js files -- they would be supplied either by jQuery, or by you.
What you would need to [i]generate[/i] is some statement that calls the jQuery API, or some utility function(s) that you wrote. It would be a very short dynamic script.
But, of course, it's always easier said than done. I really haven't thought much about this anyway. There might be some serious complications along the way.
[Message sent by forum member 'vesuvius' (vesuvius_prime_at_hotmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=389683