I tried to add a JSSource object to the a form widget, but it didn't
show up. I added the same JSSource object to a widget in the form and
it worked.
form = widgets.TableForm(widgets=[widget0, widget1, widget2])
# widget2 has it's own JSLink
form.javascript = [JSSource(some_javascript), ] # Does not work.
#widget0.javascript = [JSSource(some_javascript), ] # Works.
The display line in my kid template looks like this:
<link py:strip="1" py:for="js in tg_js_head">${js.insert()}</link>
Why doesn't this work with the form widget?
Randall