Resizable Popup Panel or DialogBox

2008-11-13 Thread benw
Is anybody willing to share some example code for a resizable DialogBox or any kind of resizable panel? Thanks, -Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

Re: question about JSNI

2008-11-12 Thread benw
Submitted a bug report: http://code.google.com/p/google-web-toolkit/issues/detail?id=3098 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-To

Re: question about JSNI

2008-11-12 Thread benw
I'm passing in System.currentTimeMillis() to make it call the 1 arg constructor. Other places in my code pass in other values. Workaround: - use GWT.isScript() to avoid calling the JSNI methods. Other notes: - when running the GWTShell, I used the -noserver flag and pointed it at an external tom

Re: question about JSNI

2008-11-10 Thread benw
Also, just doing private native void init() /*-{ this.mydate = new Date(); }-*/; causes the same excetpion. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,

question about JSNI

2008-11-10 Thread benw
The forum was putting random new postings as replies to my question.. so I'm trying again: Hi, I need to create my own date class to handle UTC. When I try to construct a MyDate object, I get a "java.lang.NoSuchFieldError: mydate" exception in this code: private native void init(double date) /

JSNI question

2008-11-10 Thread benw
Hi, I need to create my own date class to handle UTC. When I try to construct a MyDate object, I get a "java.lang.NoSuchFieldError: mydate" exception in this code: private native void init(double date) /*-{ this.mydate = new Date(date); }-*/; Anybody know why? thanks for any help -Ben

Re: switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread benw
annotation name with ImageBundle and > java annotations cannot be placed within comments. > > On Oct 1, 12:39 pm, benw <[EMAIL PROTECTED]> wrote: > > > > > Hi, I recently upgraded to GWT1.5. When I tried changing my image > > bundles from @gwt.resource to [EMAIL

switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread benw
Hi, I recently upgraded to GWT1.5. When I tried changing my image bundles from @gwt.resource to [EMAIL PROTECTED], the compiler started throwing errors: [ERROR] No matching image resource was found; any of the following filenames would have matched Here is the change I was trying to make :