> I've tried to add proper <script src=...> entry in the .xml
> configuration, but if I write $(...) in my JSNI methods, the exception
> is thrown saying $ is undefined. (Using jQuery(...) doesn't help
> either.)
Oh, I'm just stupid.
I turned out that I have to have the following in my configuration XML
file:
<script src="jquery.js"/>
<script src="jquery.modal.js"/>
I have to call jQuery through $wnd.$ or $wnd.jQuery,
*and* I have to restart the development shell for GWT to see the .js
files.
P.