Integration with movtable



I’m trying to integrate movtable to display some data. The file that
lists out the partials to display the data looks like this:

Movtable - List <%= stylesheet_link_tag 'movtable' %> <%= sort_generateJS %> <%= render_partial '../../lib/movtable/table' %> <%= render_partial '../../lib/movtable/navigation' %> <%= render_partial '../../lib/movtable/filter' %>

I want to use my own application.rhtml layout, but leaving this code
as-is replaces all of my standard layout code. When I just use the
render_partial code it displays the data, but I also need to have the
onload, onmousemove, and onmouseup function calls for full

I don’t want to have the onload/onmousemove/onmouseup code handlers
running for every single view on my site (or I would add these event
handlers to application.rhtml), so I need a way to properly load the
event handlers only when this view is needed.

Any thoughts? Thanks in advance.