user650749
user650749

Reputation: 182

how can i use javascript without JSNI in GWT 2.4

I have a hand-written jquery javascript which is extended from the latest version. It's not in the GWTQuery or GWTQuery-UI. I know JSNI could inject any javascipt, but I don't want to use it because it's too rigid if I want to change and test something.

Is there any way I can use the it directly in the UIBinder template xml file?

Upvotes: 0

Views: 196

Answers (1)

Daniel Kurka
Daniel Kurka

Reputation: 7985

There is no support for Javascript in UiBinder.

If you want to call Javascript you need to use JSNI. Testing problems can be avoided by using two different implementations.

If you are concerned about development turn around time you might want to take a look at super dev mode.

Upvotes: 2

Related Questions