Re: How to use external JS from GWT?

2010-09-10 Thread marius.andreiana
On Sep 10, 1:42 am, Zack Grossbart zgrossb...@gmail.com wrote: In your example, where and how do you include the jQuery UI datepicker widget? I defined them in the HTML file containing my GWT code.  Just a simple JavaScript reference the same way I would in any other HTML page. Right. I was

Re: How to use external JS from GWT?

2010-09-09 Thread Zack Grossbart
You are having a timing problem that is common for GWT. Consider how this would work in pure JavaScript. 1. The page loads 2. The external JavaScript files load 3. The page renders 4. Your JavaScript code is called and you make your field alphanumeric. With GWT the order of operations changes.

Re: How to use external JS from GWT?

2010-09-09 Thread marius.andreiana
Thanks Zack ;) In your example, where and how do you include the jQuery UI datepicker widget? (I tried in UiBinder .ui.xml files, but didn't work for me with script src=.. /) Marius On Sep 9, 2:53 pm, Zack Grossbart zgrossb...@gmail.com wrote: You are having a timing problem that is common for

Re: How to use external JS from GWT?

2010-09-09 Thread Zack Grossbart
In your example, where and how do you include the jQuery UI datepicker widget? I defined them in the HTML file containing my GWT code. Just a simple JavaScript reference the same way I would in any other HTML page. -- You received this message because you are subscribed to the Google Groups

Re: How to use external JS from GWT?

2010-09-08 Thread marius.andreiana
On Sep 9, 12:26 am, marius.andreiana marius.andrei...@gmail.com wrote: I also get Error: $entry(__gwt_makeTearOff(null, 1179695, 0)) is not a function Source File:http://127.0.0.1: Line: 34 and an exception: com.google.gwt.core.client.JavaScriptException: (ReferenceError): $ is not