On 1/19/06, Randall <[EMAIL PROTECTED]> wrote:
> 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?

It sounds like form widgets are only aggregating the JavaScript of the
widgets inside the form and ignoring their own JavaScript. Sounds like
a bug.

Kevin

Reply via email to