Is it possible to compile java swing application in GWT?

2009-12-08 Thread Vikas
Hi all,

I know this is not possible in plain gwt, but I'm just curious to know
that is there any add-on tools by using we can translate swing
application to GWT compatible code?

We feel there must be something because reason behind developing GWT
application in java is that already there are so many swing based
application which are now want to migrate web based.

I've already tried AjaxSwing which is completely different framework.

Thanks,
Vikas

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: UIBinder error, or a mistake of mine?

2009-12-08 Thread FKereki
I am running MS2 -- I'll give RC2 a try, then.

Is the -style problem fixed now?




On Dec 8, 3:58 am, Sekhar sek...@allurefx.com wrote:
 Are you running RC1? We had a similar issue in RC1, but it got fixed
 in RC2.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: How to disable word wrap in TextArea

2009-12-08 Thread Jim Douglas
Try this:

getElement().setAttribute(wrap,off);

On Dec 7, 11:58 pm, Vikas vikas.m.ya...@gmail.com wrote:
 Hi All,

 I want to disable word wrap for TextArea, so if text info in a row
 exceeds, it should enable horizontal scroll bar.
 How to do this?

 Thanks in advance,
 Vikas

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Label in a table

2009-12-08 Thread philippe
It's standard.css file in your browser which is used, you can override
it with your css, for exemple:
td {
  font-size: smaller;
}


On 7 déc, 15:23, mariyan nenchev nenchev.mari...@gmail.com wrote:
 in your css create
 .gwt-MyLabel {
 // set font size ot what ever you want with css

 }

 and in your java code myLabel.setStyleName(gwt-MyLabel);

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: How can I disable the browser's default right click response?

2009-12-08 Thread Alexander
Tried eventPreventDefault?

2009/12/5 Rob Tanner caspersg...@gmail.com

 Hi,

 I want to add short context specific help messages when users right-
 click into a text box.  Figuring out what button the pressed on the
 mouse is a near no-brainer, but how to disable the default browser
 response is a puzzler.   I've figured out how to disable right clicks
 all together using the native interface:

public static native void disableContextMenu(Element e) /*-{
e.oncontextmenu = function() { return false; };
}-*/;

 But then I don't see them either.  All I want is to disable the
 default context menu so that I can roll my own.  Any ideas?

 Thanks,
 Rob

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.





-- 
Regards,
Alexander

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




pls help gwt compile

2009-12-08 Thread ben fenster
the project runs great in hosted mode compiles with no errors but when
running in browser mode i keep getting old version does it have
anything to do with me running apache as web server and using gwt no
server argument?

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Is it possible to compile java swing application in GWT?

2009-12-08 Thread Paul Robinson
Vikas wrote:
 Hi all,

 I know this is not possible in plain gwt, but I'm just curious to know
 that is there any add-on tools by using we can translate swing
 application to GWT compatible code?

 We feel there must be something because reason behind developing GWT
 application in java is that already there are so many swing based
 application which are now want to migrate web based.

 I've already tried AjaxSwing which is completely different framework.

 Thanks,
 Vikas

   
No, and I doubt it would ever be possible in any meaningful way. Even if
you ignore the way swing has direct access to the underlying windows via
a per-platform awt implementation, you'd still have the problem that
swing UIs have full java usage rather than a limited set of translatable
classes. This means stuff like database access, socket code, messaging,
multi-threaded code etc. You could never handle all of this.

The whole thing has such a different mentality that it's hard to see how
this would ever be achieved beyond very simple apps.

Google have consistently said that the reason behind Java as their
choice for GWT was the tools available for it. The fact that there are
existing swing UIs is coincidental.

Paul

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-12-08 Thread Gerhard Davids
I feel very stupid right now :S

It seems my eclipse failed to properly uninstall the plugin from RC1.
I went and manually cleared the plugins from galileo and dumped the
RC2 into the dropins again.

It all works now. I'm sorry for causing a fuss.
Rajeev, thanks again for assisting me.
Regards
Gerhard.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Extending Splitter related widgets

2009-12-08 Thread Nathan Wells
Creating and maintaining custom widgets is discouraged

Really? I had the opposite impression. I understand why it might be
discouraged, but from everything I've heard the GWTers tend to assume
that they are only providing basic building blocks in the widgets
package. I could be wrong (and I would like to be; maintaining custom
widgets _is_ a pain), so if you have any references indicating
otherwise, let me know!

On Dec 7, 2:34 pm, lemaiol lema...@gmail.com wrote:
 I have recently started having a look at the GWT 2.0 RC2 version and
 found me once again frustrated trying to extend the SplitLayoutPanel.
 In version 1.4 we needed to do the same with the splitter panels and
 we thought that some of the reasons not to build more easy to extend
 Splitter panels (had to copy over a lot of code) had to do with the
 implementation substitution performed by the compiler.
 In this case, I miss setting the splitter position programmatically
 (or associated widget size) and setting the maximum splitter size
 (minimum is already possible to be set) in the SplitLayoutPanel. With
 the current implementation (a really simple one) the changes are not
 complicated. The only problem is, that as the widget is implemented,
 it is not possible to extend it properly.

 Could somebody give some input on this? Why the SplitLayoutPanel is a
 basic part of the new layout system but does not allow extension
 easily? Creating and maintaining custom widgets is discouraged and a
 pain but the actual widgets are sometimes not designed even for
 trivial extension.

 Feedback really appreciated,
 Alberto

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: PopupPanel.center() not working in Firefox 3.5.5

2009-12-08 Thread Thomas Broyer

On Nov 30, 11:37 am, Thomas Broyer t.bro...@gmail.com wrote:

 (and I agree PopupPanel.center() should use window.innerHeight/Width
 where possible; at least when the document is smaller than the window;
 have you filed a bug?)

I just changed some popups (DialogBox) from setPosition+show to center
() and they display correctly in FF3.5, even when the document is
smaller than the window.
The page is in standards mode, in case it changes something (which I
believe it could). And I'm using GWT 2.0 RC2 (I'm setting
setGlassEnabled(true) and the glass correctly overlays everything: the
whole viewport when the document is small than the window, or the
whole document when there's a scrollbar)

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Where can I read more about code splitting in GWT 2?

2009-12-08 Thread Aekold
Hi All!

On http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC I read
about code splitting as new feature of GWT 2.0. Please suggest some
docs or examples to know more about this feature.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: How can I disable the browser's default right click response?

2009-12-08 Thread Mohamed Mansour
Can't you just return false for oncontextmenu ?

On Dec 8, 5:01 am, Alexander the.malk...@gmail.com wrote:
 Tried eventPreventDefault?

 2009/12/5 Rob Tanner caspersg...@gmail.com





  Hi,

  I want to add short context specific help messages when users right-
  click into a text box.  Figuring out what button the pressed on the
  mouse is a near no-brainer, but how to disable the default browser
  response is a puzzler.   I've figured out how to disable right clicks
  all together using the native interface:

         public static native void disableContextMenu(Element e) /*-{
                 e.oncontextmenu = function() { return false; };
                 }-*/;

  But then I don't see them either.  All I want is to disable the
  default context menu so that I can roll my own.  Any ideas?

  Thanks,
  Rob

  --

  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Regards,
 Alexander

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-08 Thread Thad
The problem with Java 6 is that I still have to support some older Mac
servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.

On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
 Try upgrading to Java 6. More info is available here:

 http://code.google.com/p/google-web-toolkit/issues/detail?id=4254

 On Mon, Dec 7, 2009 at 2:57 PM, Thad thad.humphr...@gmail.com wrote:
  Today I downloaded and installed GWT 2.0.0 RC2, and attempted to run
  the samples using `ant devmode`.  I received errors on Showcase and
  Mail:

  Showcase:  The 3 JPG images failed with javax.imageio.IIOException.  I
  remedied this by using ImageMagik's convert to convert them to PNG and
  back to JPG.  Their sizes changed by a couple bytes, and Showcase ran.

  Mail:  Won't run.  A java.lang.VerifyError is raised:
  00:00:13.154 [ERROR] Unable to load module entry point class
  com.google.gwt.sample.mail.client.Mail (see associated exception for
  details)
  java.lang.VerifyError: (class: com/google/gwt/core/client/Scheduler,
  method: init signature: ()V) Illegal constant pool index
         at com.google.gwt.dom.client.StyleInjector.schedule
  (StyleInjector.java:389)
     at com.google.gwt.dom.client.StyleInjector.inject
  (StyleInjector.java:382)
     at com.google.gwt.dom.client.StyleInjector.inject
  (StyleInjector.java:222)
     at com.google.gwt.dom.client.StyleInjector.inject
  (StyleInjector.java:208)
     at

  com.google.gwt.sample.mail.client.com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator
  $1.ensureInjected

  (com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator.java:
  14)
     at com.google.gwt.sample.mail.client.Mail.onModuleLoad(Mail.java:
  59)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
  369)
     at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
  (OophmSessionHandler.java:185)
     at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
  (BrowserChannelServer.java:380)
     at com.google.gwt.dev.shell.BrowserChannelServer.run
  (BrowserChannelServer.java:222)
     at java.lang.Thread.run(Thread.java:595)

  I'm running SuSE Linux 10.3 with jdk1.5.0_17

  --

  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Where can I read more about code splitting in GWT 2?

2009-12-08 Thread Thomas Broyer

On Dec 8, 4:30 pm, Aekold helbr...@gmail.com wrote:
 Hi All!

 Onhttp://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RCI read
 about code splitting as new feature of GWT 2.0. Please suggest some
 docs or examples to know more about this feature.

I'd start with http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-08 Thread Chris Ramsdale
This was only an issue on Windows for me, so I haven't had to upgrade to
Java 6 on my Mac in order to run the Mail sample. Are you seeing it on Mac's
with Java  6 installed?

On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com wrote:

 The problem with Java 6 is that I still have to support some older Mac
 servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.

 On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
  Try upgrading to Java 6. More info is available here:
 
  http://code.google.com/p/google-web-toolkit/issues/detail?id=4254
 
  On Mon, Dec 7, 2009 at 2:57 PM, Thad thad.humphr...@gmail.com wrote:
   Today I downloaded and installed GWT 2.0.0 RC2, and attempted to run
   the samples using `ant devmode`.  I received errors on Showcase and
   Mail:
 
   Showcase:  The 3 JPG images failed with javax.imageio.IIOException.  I
   remedied this by using ImageMagik's convert to convert them to PNG and
   back to JPG.  Their sizes changed by a couple bytes, and Showcase ran.
 
   Mail:  Won't run.  A java.lang.VerifyError is raised:
   00:00:13.154 [ERROR] Unable to load module entry point class
   com.google.gwt.sample.mail.client.Mail (see associated exception for
   details)
   java.lang.VerifyError: (class: com/google/gwt/core/client/Scheduler,
   method: init signature: ()V) Illegal constant pool index
  at com.google.gwt.dom.client.StyleInjector.schedule
   (StyleInjector.java:389)
  at com.google.gwt.dom.client.StyleInjector.inject
   (StyleInjector.java:382)
  at com.google.gwt.dom.client.StyleInjector.inject
   (StyleInjector.java:222)
  at com.google.gwt.dom.client.StyleInjector.inject
   (StyleInjector.java:208)
  at
 
  
 com.google.gwt.sample.mail.client.com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator
   $1.ensureInjected
 
  
 (com_google_gwt_sample_mail_client_Mail_GlobalResources_default_InlineClientBundleGenerator.java:
   14)
  at com.google.gwt.sample.mail.client.Mail.onModuleLoad(Mail.java:
   59)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke
   (NativeMethodAccessorImpl.java:39)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
   (DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
   369)
  at com.google.gwt.dev.shell.OophmSessionHandler.loadModule
   (OophmSessionHandler.java:185)
  at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
   (BrowserChannelServer.java:380)
  at com.google.gwt.dev.shell.BrowserChannelServer.run
   (BrowserChannelServer.java:222)
  at java.lang.Thread.run(Thread.java:595)
 
   I'm running SuSE Linux 10.3 with jdk1.5.0_17
 
   --
 
   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0.0 RC2 sample errors

2009-12-08 Thread Thad
I'm seeing the problem on my Linux box running 1.5.0_17.  So long as
the gold standard here is running on Macs, I don't want to develop in
1.6 for fear of something that won't target 1.5 properly (I've been
bitten on this before).

On Dec 8, 11:32 am, Chris Ramsdale cramsd...@google.com wrote:
 This was only an issue on Windows for me, so I haven't had to upgrade to
 Java 6 on my Mac in order to run the Mail sample. Are you seeing it on Mac's
 with Java  6 installed?

 On Tue, Dec 8, 2009 at 10:52 AM, Thad thad.humphr...@gmail.com wrote:
  The problem with Java 6 is that I still have to support some older Mac
  servers with OS X 10.4.  They only run Java 1.5 or 1.4.2.

  On Dec 7, 3:01 pm, Chris Ramsdale cramsd...@google.com wrote:
   Try upgrading to Java 6. More info is available here:

  http://code.google.com/p/google-web-toolkit/issues/detail?id=4254

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Hosting GWT app on an external site

2009-12-08 Thread Jay
Hi,
I'm new to GWT and have been struggling with this issue for a while
now. I'd like to compile my GWT application so that other sites can
include my GWT application via a simple script tag

eg.
script type=text/javascript src=http://mydomain.com/MyGWTApp.js;/
script
script type=text/javascript

var myApp = new MyApp.init();
myApp.run();
/script



I've tried just using the MyGWTApp.nocache.js in external sites, but
this does not work. My guess is MyGWTApp.nocache.js can not load the
other resources (ie. other js files) that it needs?

Cheers

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




404 accessing servlet when Apache in front of Tomcat

2009-12-08 Thread jalynn2
I developed my GWT1.7  module using Tomcat 5.5, and everything works
fine. When I deployed to my production site, I get a 404 when the form
tries to call the servlet. The production site has Apache connected to
Tomcat via AJP. I configured Apache to forward all requests to Tomcat.
If I type the servlet URL into a browser I also get the 404. The 404
comes from Tomcat, according to the response page.

It seems to be related to the fact that there is a real directory in
the web site that matches the path in the servlet URL mapping. If I
change the URL mapping in web.xml to something else, (e.g., change
from '/MyApp/appService.do' to '/MyApp2/appService.do') then I can
find the servlet when typing that URL into the browser.

If you have any ideas what could be causing this, I would appreciate
it.

Is it possible to change the path to something other than the module
name?

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




PoupPanel and scrolling with the scroll wheel

2009-12-08 Thread jdw
I'm extending the PopupPanel class to create my own dialog box.
Everything works great.  When I show my dialog box I noticed that the
scroll wheel on the mouse only scrolls the page if the mouse is over
the dialog.  If the mouse is outside the dialog, using the scroll
wheel does not scroll the page.  On the GWT showcase of features page,
this same behavior can be seen with the DialogBox example.  Any ideas?

Thanks,
- Jay

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Client-Server communication

2009-12-08 Thread Flex
Hello,
here is my scenario:
i am using FusionCharts that has a drilldown functionality. if you
click on an element of the chart, fusioncharts calls a javascript
function passing some (user defined) params. those params can include
for example the id of the element just clicked.
i need these parameters passed to the server and i dont really have an
idea how to start.
my first idea is, that i have to define a javascript-object in gwt and
append some kind of valuechangelistener to it so that i receive an
event if the object gets modified by the function called by
fusioncharts. im not sure if you can realize something like that with
gwt, at least i am not able to realize it atm :)
i would be thankfull for any tips :)
greetings flex

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Is it possible to compile java swing application in GWT?

2009-12-08 Thread piyush sharma
On 12/8/09, Paul Robinson ukcue...@gmail.com wrote:

 Vikas wrote:
  Hi all,
 
  I know this is not possible in plain gwt, but I'm just curious to know
  that is there any add-on tools by using we can translate swing
  application to GWT compatible code?
 
  We feel there must be something because reason behind developing GWT
  application in java is that already there are so many swing based
  application which are now want to migrate web based.
 
  I've already tried AjaxSwing which is completely different framework.
 
  Thanks,
  Vikas
 
 
 No, and I doubt it would ever be possible in any meaningful way. Even if
 you ignore the way swing has direct access to the underlying windows via
 a per-platform awt implementation, you'd still have the problem that
 swing UIs have full java usage rather than a limited set of translatable
 classes. This means stuff like database access, socket code, messaging,
 multi-threaded code etc. You could never handle all of this.

 The whole thing has such a different mentality that it's hard to see how
 this would ever be achieved beyond very simple apps.

 Google have consistently said that the reason behind Java as their
 choice for GWT was the tools available for it. The fact that there are
 existing swing UIs is coincidental.

 Paul

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2009-12-08 Thread Luis Fernando Planella Gonzalez
Hi.
We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
evaluate GWT.runAsync().

However, now as I compile the app, I get warning for deprecations in
all RPC methods which return collections. I guess it's because the
result is declared as java.util.Collection, and the deprecated
com.google.gwt.user.client.ui.*ListenerCollection classes extends
ArrayList, making even the alternative to change the result of RPC
methods to ArrayList instead of Collection don't work.

The log is something like this, multiple times:
[WARN] Warnings in 'generated://
8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
images/UserImageRemoteService_TypeSerializer.java'
   [WARN] Line 50: Referencing deprecated class
'com.google.gwt.user.client.ui.ChangeListenerCollection'
   [WARN] Line 55: Referencing deprecated class
'com.google.gwt.user.client.ui.ClickListenerCollection'
   [WARN] Line 60: Referencing deprecated class
'com.google.gwt.user.client.ui.FocusListenerCollection'
   [WARN] Line 65: Referencing deprecated class
'com.google.gwt.user.client.ui.FormHandlerCollection'
   [WARN] Line 70: Referencing deprecated class
'com.google.gwt.user.client.ui.KeyboardListenerCollection'
   [WARN] Line 75: Referencing deprecated class
'com.google.gwt.user.client.ui.LoadListenerCollection'
   [WARN] Line 80: Referencing deprecated class
'com.google.gwt.user.client.ui.MouseListenerCollection'
   [WARN] Line 85: Referencing deprecated class
'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
   [WARN] Line 90: Referencing deprecated class
'com.google.gwt.user.client.ui.PopupListenerCollection'
   [WARN] Line 95: Referencing deprecated class
'com.google.gwt.user.client.ui.ScrollListenerCollection'
   [WARN] Line 100: Referencing deprecated class
'com.google.gwt.user.client.ui.TabListenerCollection'
   [WARN] Line 105: Referencing deprecated class
'com.google.gwt.user.client.ui.TableListenerCollection'
   [WARN] Line 110: Referencing deprecated class
'com.google.gwt.user.client.ui.TreeListenerCollection'
   See snapshot: /tmp/
UserImageRemoteService_TypeSerializer2951604978153994580.java

Is there a way to remove those classes from being handled in RPC?

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: How can I disable the browser's default right click response?

2009-12-08 Thread Rob Tanner
Here's a little snippet that doesn't do what I hoped:

public static native void disableContextMenu(Element e) /*-{
e.oncontextmenu = function() { return false; };
}-*/;

And I call that method immediately before I add the minPanel to the
RootPanel:

DataManager.disableContextMenu(mainPanel.getElement());

Now, not only do I not see the default browser behavior, I don't see
right clicks at all.  In my TextBox() I added the click handler.  When
the handler gets triggered, I get the NativeEvent from the ClickEvent
(NativeEvent nevn = event.getNativeEvent()) in order to detect which
button, etc, and the right button is never caught.

-- Rob


On Dec 8, 7:32 am, Mohamed Mansour m0.interact...@gmail.com wrote:
 Can't you just return false for oncontextmenu ?

 On Dec 8, 5:01 am, Alexander the.malk...@gmail.com wrote:



  Tried eventPreventDefault?

  2009/12/5 Rob Tanner caspersg...@gmail.com

   Hi,

   I want to add short context specific help messages when users right-
   click into a text box.  Figuring out what button the pressed on the
   mouse is a near no-brainer, but how to disable the default browser
   response is a puzzler.   I've figured out how to disable right clicks
   all together using the native interface:

          public static native void disableContextMenu(Element e) /*-{
                  e.oncontextmenu = function() { return false; };
                  }-*/;

   But then I don't see them either.  All I want is to disable the
   default context menu so that I can roll my own.  Any ideas?

   Thanks,
   Rob

   --

   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-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  Regards,
  Alexander

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Extending Splitter related widgets

2009-12-08 Thread piyush sharma
On 12/8/09, Nathan Wells nwwe...@gmail.com wrote:

 Creating and maintaining custom widgets is discouraged

 Really? I had the opposite impression. I understand why it might be
 discouraged, but from everything I've heard the GWTers tend to assume
 that they are only providing basic building blocks in the widgets
 package. I could be wrong (and I would like to be; maintaining custom
 widgets _is_ a pain), so if you have any references indicating
 otherwise, let me know!

 On Dec 7, 2:34 pm, lemaiol lema...@gmail.com wrote:
  I have recently started having a look at the GWT 2.0 RC2 version and
  found me once again frustrated trying to extend the SplitLayoutPanel.
  In version 1.4 we needed to do the same with the splitter panels and
  we thought that some of the reasons not to build more easy to extend
  Splitter panels (had to copy over a lot of code) had to do with the
  implementation substitution performed by the compiler.
  In this case, I miss setting the splitter position programmatically
  (or associated widget size) and setting the maximum splitter size
  (minimum is already possible to be set) in the SplitLayoutPanel. With
  the current implementation (a really simple one) the changes are not
  complicated. The only problem is, that as the widget is implemented,
  it is not possible to extend it properly.
 
  Could somebody give some input on this? Why the SplitLayoutPanel is a
  basic part of the new layout system but does not allow extension
  easily? Creating and maintaining custom widgets is discouraged and a
  pain but the actual widgets are sometimes not designed even for
  trivial extension.
 
  Feedback really appreciated,
  Alberto

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Hosting GWT app on an external site

2009-12-08 Thread Sudeep S
I guess you would have to add linker = xs in the .gwt.xml

thanks
Sudeep

On Tue, Dec 8, 2009 at 4:59 AM, Jay kry...@tpg.com.au wrote:

 Hi,
 I'm new to GWT and have been struggling with this issue for a while
 now. I'd like to compile my GWT application so that other sites can
 include my GWT application via a simple script tag

 eg.
 script type=text/javascript src=http://mydomain.com/MyGWTApp.js;/
 script
 script type=text/javascript

 var myApp = new MyApp.init();
 myApp.run();
 /script



 I've tried just using the MyGWTApp.nocache.js in external sites, but
 this does not work. My guess is MyGWTApp.nocache.js can not load the
 other resources (ie. other js files) that it needs?

 Cheers

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Trouble with fresh install of Eclipse Plugin 1.2rc2

2009-12-08 Thread anatoly techtonik
Just to clarify. I've downloaded wrong Java archive in the first
place, i.e. eclipse-java-galileo-SR1-win32.zip When I downloaded
eclipse-jee-galileo-SR1-win32.zip everything works as expected,
because Web Tools Platform is included.

The instructions at 
http://code.google.com/appengine/docs/java/tools/eclipse.html#Getting_Eclipse
are a little bit misleading in this regard. They mention that WTP is
recommended. In fact WTP is required and is already included in Java
EE download.

On Dec 4, 6:32 pm, Chris Ramsdale cramsd...@google.com wrote:
 I just checked and a fresh install of 3.5 doesn't have the Eclipse Web
 Developer Tools installed. Also, if I install the RC2 GPE without having
 installed the Eclipse Web Developer Tools I end up in the same state that
 you described.

 On Fri, Dec 4, 2009 at 9:41 AM, anatoly techtonik techto...@gmail.comwrote:



  I thought WST is already installed, because I have a bunch of plugins
  with WST prefix:
  org.eclipse.wst.common.core (1.1.201.v200806010600) WST Common Core
  Plug-in [Starting]
  org.eclipse.wst.common.environment (1.0.301.v200908101600)
  Enviornment Plug-in [Starting]
  org.eclipse.wst.common.frameworks.ui (1.1.301.v200908101600) WTP UI
  Plug-in [Starting]
  ...

  Now it is 100% clear I need to get Web Developer Tools. I should be
  more attentive for EE letters when reading GWT manuals

 http://code.google.com/appengine/docs/java/tools/eclipse.html#Getting...

  Thanks.

  On Dec 4, 2:10 am, Chris Ramsdale cramsd...@google.com wrote:
   Enaure that your version of Eclipse has Eclipse's Web Standard Tools
   (WST) installed before installing the plugin. WST can be installed by
   navigating to the Software Installation section, and selecting the the
   appropriate WST feature from the update site for your version of
   Eclipse. The update sites and feature names are provided below.

   3.5 (Galileo): Galileo - Web, XML, and Java EE Development - Eclipse
   Web Developer Tools
   3.4 (Ganymede): Ganymede Update Site - Web and Java EE Development -
   Web Developer Tools
   3.3 (Europa): Europa Discovery Site - Web and JEE Development - Web
   Standard Tools Project

   On Thursday, December 3, 2009, anatoly techtonik techto...@gmail.com
  wrote:
Can't get Google Plugin 1.2rc2 work correctly in Eclipse 3.5.

Followed instructions fromhttp://
  code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC

Used Eclipse Galileo 3.5 for Java Developers (eclipse-java-galileo-SR1-
win32.zip). Created fresh workspace.

Downloaded Google plugin fromhttp://
  dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-1.2rc2.zip

Unpacked .zip as described athttp://
  code.google.com/eclipse/docs/install-from-zip.html

Restarted Eclipse.

Issues:

 * No New Web Application Project button in toolbar as described in
   http://code.google.com/webtoolkit/gettingstarted.html#NewEclipse
Though Deploy App Engine Project button is present.

 * Google or Web Toolkit is nowhere to be found under Windows -
Preferences

 * Show View dialog contains Google root with single Development
Mode leaf.

 * No references to Google or GWT in File - New menu or submenus.

Error Log:

!SESSION 2009-12-03 18:25:36.066
---
eclipse.buildId=M20090917-0800
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product
org.eclipse.epp.package.java.product

!ENTRY org.eclipse.ui 4 4 2009-12-03 18:28:06.076
!MESSAGE Invalid preference page path: App Engine

*** Current Install Configuration:
Install configuration:
 Last changed on Dec 3, 2009
 Location: C:\~env\IDE\eclipse-gwt
 Profile timestamp: 1259857539013

Installable Units in the profile:

Id: a.jre.javase, Version: 1.6.0
Id: com.google.appengine.eclipse.core, Version: 1.1.101.v200911250703
Id: com.google.gdt.eclipse.core, Version: 1.1.101.v200911250703
Id: com.google.gdt.eclipse.platform, Version: 1.1.101.v200911250703
Id: com.google.gdt.eclipse.platform.shared, Version:
1.1.101.v200911250703
Id: com.google.gdt.eclipse.suite.e35.feature.feature.jar, Version:
1.1.101.v200911250703
Id: com.google.gwt.eclipse.oophm, Version: 1.1.101.v200911250703
Id: com.ibm.icu, Version: 4.0.1.v20090822


Bundles in the system:

Id: com.google.appengine.eclipse.core, Version: 1.1.101.v200911250703,
Location: reference:file:dropins/eclipse/plugins/
com.google.appengine.eclipse.core_1.1.101.v200911250703.jar
Id: com.google.gdt.eclipse.core, Version: 1.1.101.v200911250703,
Location: reference:file:dropins/eclipse/plugins/
com.google.gdt.eclipse.core_1.1.101.v200911250703.jar
Id: com.google.gdt.eclipse.platform, Version: 1.1.101.v200911250703,

Re: Hosting GWT app on an external site

2009-12-08 Thread Chris Ramsdale
Sudeep is correct.

As of GWT 1.5, the bootstrap model now provides support for this kind of
server configuration via the cross-site linker (xs-linker).
When using the cross-site linker the compiler will still generate a
module.nocache.js that you will want to reference within your index.html.
The difference though, is that the module.nocache.js produced by the
cross-site linker will link in a cache.js file for each of your permutations
rather than a cache.html file.

To enable the cross-site linking simply add the following to your
module.gwt.xml and include a reference to your module.nocache.js in your
index.html as you normally would.

add-linker name=xs/

On Mon, Dec 7, 2009 at 6:29 PM, Jay kry...@tpg.com.au wrote:

 Hi,
 I'm new to GWT and have been struggling with this issue for a while
 now. I'd like to compile my GWT application so that other sites can
 include my GWT application via a simple script tag

 eg.
 script type=text/javascript src=http://mydomain.com/MyGWTApp.js;/
 script
 script type=text/javascript

 var myApp = new MyApp.init();
 myApp.run();
 /script



 I've tried just using the MyGWTApp.nocache.js in external sites, but
 this does not work. My guess is MyGWTApp.nocache.js can not load the
 other resources (ie. other js files) that it needs?

 Cheers

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Developer Plugin not working IE8

2009-12-08 Thread Chris Ramsdale
1. Have you attempted to restart IE and test after installing the plugin?

2. Can you verify that the following registry entries are available (UID
being the unique identifier assigned to your account):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\UID\Components\50E8C0062FB69AB5399BEF4DAE291BB6
HKEY_USERS\UID\Software\Classes\AppID\oophm.DLL
HKEY_USERS\UID\Software\Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32
HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32
HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32
HKEY_USERS\UID\Software\Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32
HKEY_USERS\UID\Software\Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32
HKEY_USERS\UID_Classes\AppID\oophm.DLL
HKEY_USERS\UID_Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32
HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32
HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32
HKEY_USERS\UID_Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32
HKEY_USERS\UID_Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

On Mon, Dec 7, 2009 at 9:13 PM, Sekhar sek...@allurefx.com wrote:

 Guys, I'm not able to get the dev plugin work in IE8. I uninstalled it
 in Control Panel as suggested and re-installed it in IE8. It installs
 fine and I can see it in Control Panel, but the next time I try with
 IE8, it asks for the plugin again. I've tried it several times now
 with no success. Could someone help?

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Strategy Question: Browser events versus specific events

2009-12-08 Thread Eric
Suppose I'm writing a widget and I want to havdle different types of
events associated with it. I might be translating David Maddison's
HtmlList class to GWT 1.7.1, for example. That class is a composite
that wraps an HTML ol or ul, allows the programmer to give an
action to be executed when the user clicks on a list item, and changes
the CSS style when the user mouses over each item.

David's original implementation uses onBrowserEvent and the sinkEvents
method.  It is possible to do the ame thing using ClickHandlers and
Mouse(Over|Out)Handlers. Which technique is more idiomatic?

Respectfully,
Eric Jablow

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Developer Plugin not working IE8

2009-12-08 Thread Sekhar Ravinutala
See my answers below, thanks!

On Tue, Dec 8, 2009 at 12:29 PM, Chris Ramsdale cramsd...@google.comwrote:

 1. Have you attempted to restart IE and test after installing the plugin?

Yes.


 2. Can you verify that the following registry entries are available (UID
 being the unique identifier assigned to your account):


 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\UID\Components\50E8C0062FB69AB5399BEF4DAE291BB6

No

 HKEY_USERS\UID\Software\Classes\AppID\oophm.DLL

Yes


 HKEY_USERS\UID\Software\Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

No


 HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

No


 HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

Yes


 HKEY_USERS\UID\Software\Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

No


 HKEY_USERS\UID\Software\Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

Yes

 HKEY_USERS\UID_Classes\AppID\oophm.DLL

Yes


 HKEY_USERS\UID_Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

No


 HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

No


 HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

Yes


 HKEY_USERS\UID_Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

No


 HKEY_USERS\UID_Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

Yes


 On Mon, Dec 7, 2009 at 9:13 PM, Sekhar sek...@allurefx.com wrote:

 Guys, I'm not able to get the dev plugin work in IE8. I uninstalled it
 in Control Panel as suggested and re-installed it in IE8. It installs
 fine and I can see it in Control Panel, but the next time I try with
 IE8, it asks for the plugin again. I've tried it several times now
 with no success. Could someone help?

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



  --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
AllureFX LLC
http://www.allurefx.com
858-225-9834

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2 OOPHM iGoogle gadget debug

2009-12-08 Thread Chris Ramsdale
Although you're most likely debugging from your local machine you'll want to
make sure you update your app on the server. For starters the hosted.html
that is generated in 2.0 has specific information that facilitates
communication between the Developer Plugin and your Code Server.

Typically you don't need to worry about these files since they are
auto-generated and picked up by the embedded Jetty browser that ships with
GWT. But given that you are deploying and debugging via an external server,
you will need to take the added steps of recompiling with 2.0, deploying
once, and then debugging.


On Sun, Dec 6, 2009 at 10:05 AM, webdizz webd...@gmail.com wrote:

 Hi, All
 I have a problem with debug my GWT Gadget on iGoogle page.
 I'm launching GWT debug mode, in the Develoment Mode I see following
 URL
   http://www.google.com/ig?t=2gwt.codesvr=192.168.0.100:9997
 But after I open this URL and set breakpoint Eclipse doesn't stop on
 it.
 Did anybody face with this issue?
 Thanks in advance.

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Developer Plugin not working IE8

2009-12-08 Thread Sekhar Ravinutala
Thanks, see my responses below.

On Tue, Dec 8, 2009 at 12:29 PM, Chris Ramsdale cramsd...@google.com
 wrote:

 1. Have you attempted to restart IE and test after installing the plugin?

Yes.


 2. Can you verify that the following registry entries are available (UID
 being the unique identifier assigned to your account):


 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\UID\Components\50E8C0062FB69AB5399BEF4DAE291BB6

No

 HKEY_USERS\UID\Software\Classes\AppID\oophm.DLL

Yes


 HKEY_USERS\UID\Software\Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

No


 HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

No


 HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

Yes


 HKEY_USERS\UID\Software\Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

No


 HKEY_USERS\UID\Software\Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

Yes

 HKEY_USERS\UID_Classes\AppID\oophm.DLL

Yes


 HKEY_USERS\UID_Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

No


 HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

No


 HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

Yes


 HKEY_USERS\UID_Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

No


 HKEY_USERS\UID_Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

Yes


 On Mon, Dec 7, 2009 at 9:13 PM, Sekhar sek...@allurefx.com wrote:

 Guys, I'm not able to get the dev plugin work in IE8. I uninstalled it
 in Control Panel as suggested and re-installed it in IE8. It installs
 fine and I can see it in Control Panel, but the next time I try with
 IE8, it asks for the plugin again. I've tried it several times now
 with no success. Could someone help?

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



  --
 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
AllureFX LLC
http://www.allurefx.com

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: blackberry support

2009-12-08 Thread Chris Ramsdale
Not to say that we aren't looking at the entire mobile landscape, but as of
the latest release GWT does not provide support for Blackberry based
browsers.

On Fri, Dec 4, 2009 at 1:58 PM, Jim jim.p...@gmail.com wrote:

 Can the application developed in GWT be supported in Blackberry 8330,
 8830, 9000, 9630 and 9700?


 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Warnings on starting up GWT application JSONException could not be found in the web app

2009-12-08 Thread Chris
Hi All

When I start up my GWT application using the hosted server/browser,
part way through the loading of things, I get the following message:

[WARN] Server class 'com.google.gwt.json.client.JSONException' could
not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/C:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
windows-1.7.0/gwt-user.jar' to the web app classpath for this session
More info: file:/C:/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.win32_1.7.0.v200907131030/gwt-
windows-1.7.0/doc/helpInfo/webAppClassPath.html

So I had a look at the last HTML file. But I'm confused, cos before
adding GXT, I wasn't getting this, but now I am (I think it's
related). I've tried adding the following line to my .gwt.xml file:
inherits name='com.google.gwt.json.JSON'/ but it hasn't cured the
problem...

Is the solution really to add the mentioned jar file to my web-inf
directory? Shouldn't this jar be picked up when I compile/launch the
GWT application? The jar is included in my GWT SDK section in Eclipse.

Thanks
Chris



--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Extending Splitter related widgets

2009-12-08 Thread lemaiol
Hi Nathan,

That is exactly the thing. GWT is much more than widgets and the
provided ones should be the building blocks to extend. That is the
message that comes from the team behind GWT. The problem I see is that
some widgets are not designed to be easily extended and therefore they
are not good building blocks. This leads to the integration of
heavyweight third-party widget libraries (even for simple things) or,
in the other hand, to the development of custom widgets to avoid this
overhead. I expected that, with the new versions, this situation would
change integrating most of the widgets of the incubator refined to fit
the widget framework over which to build the new widgets.

Cheers,
Alberto

On Dec 8, 2:18 pm, Nathan Wells nwwe...@gmail.com wrote:
 Creating and maintaining custom widgets is discouraged

 Really? I had the opposite impression. I understand why it might be
 discouraged, but from everything I've heard the GWTers tend to assume
 that they are only providing basic building blocks in the widgets
 package. I could be wrong (and I would like to be; maintaining custom
 widgets _is_ a pain), so if you have any references indicating
 otherwise, let me know!

 On Dec 7, 2:34 pm, lemaiol lema...@gmail.com wrote:

  I have recently started having a look at the GWT 2.0 RC2 version and
  found me once again frustrated trying to extend the SplitLayoutPanel.
  In version 1.4 we needed to do the same with the splitter panels and
  we thought that some of the reasons not to build more easy to extend
  Splitter panels (had to copy over a lot of code) had to do with the
  implementation substitution performed by the compiler.
  In this case, I miss setting the splitter position programmatically
  (or associated widget size) and setting the maximum splitter size
  (minimum is already possible to be set) in the SplitLayoutPanel. With
  the current implementation (a really simple one) the changes are not
  complicated. The only problem is, that as the widget is implemented,
  it is not possible to extend it properly.

  Could somebody give some input on this? Why the SplitLayoutPanel is a
  basic part of the new layout system but does not allow extension
  easily? Creating and maintaining custom widgets is discouraged and a
  pain but the actual widgets are sometimes not designed even for
  trivial extension.

  Feedback really appreciated,
  Alberto

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Problem using UiBinder with extended DockLayoutPanel

2009-12-08 Thread lemaiol
Sorry Dalla,

Did you mean the line in the code pasted above or the line in the
compiled code? If you meant in the compiled code, it happens in the
ine 15 of the UiBinder implementation class generated by GWT. If you
asked in the above's code, it should happen in the constructor, when
the interface is created and binded.

Cheers,
Alberto

On Dec 7, 9:21 am, Dalla dalla_man...@hotmail.com wrote:
 One what line do you get this error?

 On 6 Dec, 14:34, lemaiol lema...@gmail.com wrote:

  Hi guys,

  I have started trying the new features in GWT 2.0 (awesome ones,
  congrats! :) but I found some behavior that I cannot completely
  understand. I want to extend the DockLayoutPanel API in a class of my
  own but configure this new class using UiBinder. When I do that, I get
  an exception claiming Type mismatch: cannot convert from
  DockLayoutPanel to ParserPanel (see code at the end). I guess this
  has to do with the parser but my expectation is that the parsing
  mechanism would be able to deal with subclasses or reject them at all
  being required to extend also the parser to match the specific new
  subclass.

  Should it be required to implement an specific parser for such a class
  and how should I do it?

  Many thanks,
  Alberto

  Problem.java
  package com.samples.gwt.client;

  // ...imports stripped out..

  public class Problem extends Composite implements EntryPoint {
      interface Binder extends UiBinderPanel, Problem {}
      private static Binder binder = GWT.create(Binder.class);

      public Problem() {
          initWidget(binder.createAndBindUi(this));
      }

      public void onModuleLoad() {
          RootPanel.get().add(new Problem());
      }

  }

  Problem.ui.xml
  ui:UiBinder
          xmlns:ui='urn:ui:com.google.gwt.uibinder'
          xmlns:g='urn:import:com.google.gwt.user.client.ui'
          xmlns:s='urn:import:com.samples.gwt.client'

      s:ParserPanel unit='PX'
          s:north size=125
              g:Label text=Title/
          /s:north
          s:center
              g:Label text=Content/
          /s:center
      /s:ParserPanel
  /ui:UiBinder

  ParserPanel.java
  package com.samples.gwt.client;

  import com.google.gwt.dom.client.Style;
  import com.google.gwt.user.client.ui.DockLayoutPanel;

  public class ParserPanel extends DockLayoutPanel {
      public ParserPanel(Style.Unit unit) {
          super(unit);
      }

  }

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




How to serialize a TreeMap with a ReverseComparator?

2009-12-08 Thread Stevko
I've got my app working with a TreeMap downloaded from the server but
this collection needs to be reverse sorted.

The way to reverse the sort on a java.util.TreeMap is to constuct it
with

new TreeMapLong,String(Collections.reverseOrder());

But when I attempt to serialize it, I get this exception:

 com.google.gwt.user.client.rpc.SerializationException: Type
'java.util.Collections$ReverseComparator' was not included in the set
of types which can be serialized by this SerializationPolicy or its
Class object could not be loaded. For security purposes, this type
will not be serialized.
at
com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize
(StandardSerializationPolicy.java:83)
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize
(ServerSerializationStreamWriter.java:591)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject
(AbstractSerializationStreamWriter.java:129)
at
com.google.gwt.user.client.rpc.core.java.util.TreeSet_CustomFieldSerializer.serialize
(TreeSet_CustomFieldSerializer.java:44)
...

Got any ideas on how to overcome this situation?

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Nesting with SplitLayout and DockLayout panels

2009-12-08 Thread P.G.Taboada
Nope, same problem,

On 7 Dez., 21:13, lemaiol lema...@gmail.com wrote:
 M... I remember having this problem... are u adding the
 DockLayoutPanel to the RootLayoutPanel or to the RootPanel. I guess
 that the logic required from the new layout panels is only enforced by
 the RootLayoutPanel. If it is not that, are you in standards mode?
 (using for example '!doctype html' in your host html page)

 Cheers,
 Alberto

 On Dec 7, 6:32 pm, P.G.Taboada pgtabo...@googlemail.com wrote:



  Behaviour is consistent between FF and Safari. I am on a Mac, so I
  can't tell for IE.

  If I change the nested DockLayoutPanel to something different, let's
  say HTMLPanel, it works. Looks ugly but it works.

  Bug?
  Bad usage?

  Help?

  brgds,

  Papick

  On 7 Dez., 17:48, P.G.Taboada pgtabo...@googlemail.com wrote:

   Hi,

   I am using UIBinder with the new *Layout panels and running into some
   strange problems when nesting panels.

   My main *ui.xml user interface does something like that:

   ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
           xmlns:g='urn:import:com.google.gwt.user.client.ui'
           ui:style
                   .full {
                           width: 100%;
                           height: 100%;
                   }
           /ui:style
           g:SplitLayoutPanel  
                   g:west size=200 
                           g:ScrollPanel styleName={style.full}
                                   g:Tree ui:field=tree /
                           /g:ScrollPanel
                   /g:west
                   g:center
                           g:ScrollPanel ui:field=content 
   styleName={style.full} /
                   /g:center
           /g:SplitLayoutPanel
   /ui:UiBinder

   In my presenter I add a node to the tree. On a selection event I
   switch the widget in the content scroll panel. One of the items is a
   search panel, defined as:

   ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
           xmlns:g='urn:import:com.google.gwt.user.client.ui'

           ui:style
                   .full {
                           width: 100%;
                           height: 100%;
                           background-color: black;
                   }
           /ui:style

           g:DockLayoutPanel unit=EM
                   g:north size=10
                           g:HTMLPanel
                                   table
                                           tr
                                                   tdQuery: /td
                                                   td
                                                           span 
   ui:field=querySpan /
                                                   /td
                                           /tr
                                           tr
                                                   tdFound: /td
                                                   td
                                                           span 
   ui:field=foundSpan 0 /span
                                                           items
                                                   /td
                                           /tr
                                   /table

                           /g:HTMLPanel
                   /g:north
                   g:south size=10
                           g:SimplePanel ui:field=detailsArea  
   styleName={style.full} /
                   /g:south
                   g:center
                           g:ScrollPanel styleName={style.full}
                                   g:FlexTable ui:field=resultContent 
   width=100% /
                           /g:ScrollPanel
                   /g:center
           /g:DockLayoutPanel

   /ui:UiBinder

   The neither the south nor the center of the search panel is not
   showing, the north is. If I go inspect the document I see that one or
   two divs have an height of 0px, explaining why the display is
   screwed.

   What am I missing? What is the best way to wrap a layout panel?
   Simplepanel does not seem to do the required magic.

   brgds,

   P. G. Taboada

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




GXTForms 0.2 released

2009-12-08 Thread David Durham
Hi all,

I released 0.2 of GXTForms to the google code page
(http://gxtforms.googlecode.com), and deployed the new demo to
appengine (http://gxtforms.appspot.com/).  For those who don't know
(that includes just about everyone), GXTForms is a small library for
automating GWT form creation and databinding using annotations from
this library along with GXT.  This release adds a few new field
attributes as well as support for field sets and nested beans.

http://code.google.com/p/gxtforms/wiki/ReleaseNotes
http://gxtforms.googlecode.com/files/gxtforms-0.2.jar

Regards,
Dave

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Inconsistency (or a bug?) in application creation for GWT 2.0

2009-12-08 Thread jbdhl
It seems that there are some inconsistency in the ways web apps are
created. There are primary two ways to create an application:

  1) Running
 ./webAppCreator -out myProject -junit /path/to/junit-4.8.1.jar
com.foo.myproject.MyProject
   This creates:
  - build.xml
  - a skeleton unittest
  - a bunch of .launch files
  - a certain kind of .project-file
However, when importing this project into eclipse, the gwt-
plugin's compile button does not work (the popup claims that my
project is not a GWT project). Also, when following the instructions
in README.txt, a separate GWT-development mode window is launched when
running in debug-mode, and the the compiler progress output is not
seen in any eclipse windows.

   2) Create the app from eclipse with the google eclipse plugin.
This creates no build.xml, no skeleton unittest, no .launch-files
and another kind of .project-file than above. However, the red compile
button now works out-of-the-box and the compiler progress output can
be seen in eclipse.

This makes me wonder:

a) Why is there such a difference when creating new apps in these
ways? Aren't both methods handled by webAppCreator in the end?

b) How can I make the compile-button work if creating the app with
method 1)?

c) How do I prevent the GWT development mode window from spawning, and
get an in-eclipse developer mode instead as in case 2).

d) As the build.xml get non-trivial over time, how do I make eclipse
compile using a target in build.xml instead of calling the compiler
directly?

Thanks!

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: PoupPanel and scrolling with the scroll wheel

2009-12-08 Thread Thomas Broyer


On 7 déc, 22:18, jdw jwootto...@gmail.com wrote:
 I'm extending the PopupPanel class to create my own dialog box.
 Everything works great.  When I show my dialog box I noticed that the
 scroll wheel on the mouse only scrolls the page if the mouse is over
 the dialog.  If the mouse is outside the dialog, using the scroll
 wheel does not scroll the page.  On the GWT showcase of features page,
 this same behavior can be seen with the DialogBox example.  Any ideas?

That's because of the modal behavior of the DialogBox/PopupPanel, or
more exactly how it is implemented in GWT. You'd rather use a non-
modal popup/dialog with setGlassEnabled(true) (since GWT 2.0 RC2).

(and not only wheel scroll doesn't work, but you cannot use scrollbars
either)

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-08 Thread Henry
Hi Guys,

I'm trying to upload a file to the server following the common
examples of FileUpload and I have the following error:

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
FileUploadException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.getServlet
(ServletHolder.java:339)
...

I can put my code, but the problem is in the server side, concretely
when I use the classes that required from the package commons-
fileupload.jar, for example this import:

 import org.apache.commons.fileupload.FileUploadException;

Im running the application in host mode, but ive tried to deploy it to
Google App Engine, and i've the same error. If I dont use that package
in my server class the calls work good, so the problem must to be king
of configuration about classpath or something...

Does anyone know how to configure my eclipse to fix this error?

Thanks in advance.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-08 Thread charlie
You have mentioned that you have the commons FileUpload jar in WEB-INF/lib ,
you're positive that it's there and getting deployed ?

On Tue, Dec 8, 2009 at 6:42 PM, Henry enricrequ...@gmail.com wrote:

 Hi Guys,

 I'm trying to upload a file to the server following the common
 examples of FileUpload and I have the following error:

 java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
 FileUploadException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.getServlet
 (ServletHolder.java:339)
...

 I can put my code, but the problem is in the server side, concretely
 when I use the classes that required from the package commons-
 fileupload.jar, for example this import:

 import org.apache.commons.fileupload.FileUploadException;

 Im running the application in host mode, but ive tried to deploy it to
 Google App Engine, and i've the same error. If I dont use that package
 in my server class the calls work good, so the problem must to be king
 of configuration about classpath or something...

 Does anyone know how to configure my eclipse to fix this error?

 Thanks in advance.

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException

2009-12-08 Thread charlie
Err, haven't .

On Tue, Dec 8, 2009 at 7:28 PM, charlie charlie.f...@gmail.com wrote:

 You have mentioned that you have the commons FileUpload jar in WEB-INF/lib
 , you're positive that it's there and getting deployed ?


 On Tue, Dec 8, 2009 at 6:42 PM, Henry enricrequ...@gmail.com wrote:

 Hi Guys,

 I'm trying to upload a file to the server following the common
 examples of FileUpload and I have the following error:

 java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
 FileUploadException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
at org.mortbay.jetty.servlet.ServletHolder.getServlet
 (ServletHolder.java:339)
...

 I can put my code, but the problem is in the server side, concretely
 when I use the classes that required from the package commons-
 fileupload.jar, for example this import:

 import org.apache.commons.fileupload.FileUploadException;

 Im running the application in host mode, but ive tried to deploy it to
 Google App Engine, and i've the same error. If I dont use that package
 in my server class the calls work good, so the problem must to be king
 of configuration about classpath or something...

 Does anyone know how to configure my eclipse to fix this error?

 Thanks in advance.

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.





--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: RC2 -- how to run?

2009-12-08 Thread FKereki
Wait a minte... I tried using the Java Application launch
because of several mails I read, but the Web Application launch does
work!?

To be kind (to my own person) I should say I outfoxed myself... and
several adjectives come to mind, all relative to relying on hearsay
and not trying things out for myself...

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Way to make DisclosurePanel or other widgets to overlap on top of others

2009-12-08 Thread shiang
Hi, i am a beginner on GWT.
I would like to seek for advice on making widget to overlap on top of
the rest of panels in the following condition:

1) There is a DockLayoutPanel with north, south, east, west, center
panels.
2) there is a DisclosurePanel on the border of north panel

I want to make the DisclosurePanel to display fully on top of the
north and center panel when it is click.
(Example: the listbox can display fully on top of both north and
center panels, however, DisclosurePanel can only display within its
parent area thus it cannot display fully.)
It looks like ListBox is having higher precedence of rendering.

Any ideas on what can be done to achieve the overlap?

Thank you!

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: PopupPanel.center() not working in Firefox 3.5.5

2009-12-08 Thread David T
Yeah I'm not exactly sure what is causing it, doesn't seem to be that
PopupPanel.center() is broken outright. I tried playing around with
the code to see if I pin point the bug but wasn't able to. I'm using
GWT 1.7 though.

For those interested though here is the full code for a work around:

private void center() {
popup.setPopupPositionAndShow(new PositionCallback() {
@Override
public void setPosition(int offsetWidth, int offsetHeight) a {
int[] winSize = windowSize();
int left = (winSize[0] - offsetWidth)  1;
int top = (winSize[1] - offsetHeight)  1;
popup.setPopupPosition(Window.getScrollLeft() + left,
Window.getScrollTop() + top);
}
});
}

private final native int[] windowSize() /*-{
var myWidth = 0, myHeight = 0;
if (typeof($wnd.innerWidth) == 'number') {
//Non-IE
myWidth = $wnd.innerWidth;
myHeight = $wnd.innerHeight;
} else if ($doc.documentElement 
($doc.documentElement.clientWidth ||
$doc.documentElement.clientHeight)) {
//IE 6+ in 'standards compliant mode'
myWidth = $doc.documentElement.clientWidth;
myHeight = $doc.documentElement.clientHeight;
} else if ($doc.body  ($doc.body.clientWidth ||
$doc.body.clientHeight)) {
//IE 4 compatible
myWidth = $doc.body.clientWidth;
myHeight = $doc.body.clientHeight;
}
return [myWidth, myHeight];
}-*/;

On Dec 9, 1:53 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Nov 30, 11:37 am, Thomas Broyer t.bro...@gmail.com wrote:



  (and I agree PopupPanel.center() should use window.innerHeight/Width
  where possible; at least when the document is smaller than the window;
  have you filed a bug?)

 I just changed some popups (DialogBox) from setPosition+show tocenter
 () and they display correctly in FF3.5, even when the document is
 smaller than the window.
 The page is in standards mode, in case it changes something (which I
 believe it could). And I'm using GWT 2.0 RC2 (I'm setting
 setGlassEnabled(true) and the glass correctly overlays everything: the
 whole viewport when the document is small than the window, or the
 whole document when there's a scrollbar)

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Miguel Méndez
Hi Folks!

We have some very exciting announcements today.  Please check out the
following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
Tracer.  I think that you will find it pretty interesting...

http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html

-- 
Miguel on behalf of the GWT team

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Mohamed Mansour
Thanks GWT, any ETA when it will be available for eclipse plugin?

Eclipse states the following:

 Cannot complete the install because one or more required items could
not be found.
  Software being installed: Google Plugin for Eclipse 3.5
1.2.0.v200912062003
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.2.0.v200912062003)
  Missing requirement: Google Plugin for Eclipse 3.5
1.2.0.v200912062003
(com.google.gdt.eclipse.suite.e35.feature.feature.group
1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
it could not be found


On Dec 8, 10:13 pm, Miguel Méndez mmen...@google.com wrote:
 Hi Folks!

 We have some very exciting announcements today.  Please check out the
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
 Tracer.  I think that you will find it pretty interesting...

 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

 --
 Miguel on behalf of the GWT team

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Way to make DisclosurePanel or other widgets to overlap on top of others

2009-12-08 Thread Mohamed Mansour
In CSS, the z-index property specifies the stack order of an element.
So it depends on how you style it.

On Dec 8, 10:00 pm, shiang sfk...@gmail.com wrote:
 Hi, i am a beginner on GWT.
 I would like to seek for advice on making widget to overlap on top of
 the rest of panels in the following condition:

 1) There is a DockLayoutPanel with north, south, east, west, center
 panels.
 2) there is a DisclosurePanel on the border of north panel

 I want to make the DisclosurePanel to display fully on top of the
 north and center panel when it is click.
 (Example: the listbox can display fully on top of both north and
 center panels, however, DisclosurePanel can only display within its
 parent area thus it cannot display fully.)
 It looks like ListBox is having higher precedence of rendering.

 Any ideas on what can be done to achieve the overlap?

 Thank you!

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Parvez Shah
do we need to uninstall 1.7.1 plugin and then install eclipse 2.0 plugin 


From: Miguel Méndez 
Sent: Wednesday, December 09, 2009 8:43 AM
To: Google Web Toolkit ; GWTcontrib 
Subject: Announcing GWT 2.0 and much, much more...


Hi Folks!


We have some very exciting announcements today.  Please check out the following 
blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse, and -- brand 
new in GWT 2.0 -- a performance analysis tool called Speed Tracer.  I think 
that you will find it pretty interesting...


http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html


-- 
Miguel on behalf of the GWT team

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Brendan
I had to install new software, not just update, but it found the
latest plugin and the 2.0 sdk just fine.

Unrelated to your question, I also had to manually switch from the 1.7
to the 2.0 SDK in GWT settings, but that might just be my eclipse-
plugin incompetence.

On Dec 8, 10:18 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 Thanks GWT, any ETA when it will be available for eclipse plugin?

 Eclipse states the following:

  Cannot complete the install because one or more required items could
 not be found.
   Software being installed: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003)
   Missing requirement: Google Plugin for Eclipse 3.5
 1.2.0.v200912062003
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
 it could not be found

 On Dec 8, 10:13 pm, Miguel Méndez mmen...@google.com wrote:

  Hi Folks!

  We have some very exciting announcements today.  Please check out the
  following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
  and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
  Tracer.  I think that you will find it pretty interesting...

 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

  --
  Miguel on behalf of the GWT team



--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Brendan
When I updated as noted above, Eclipse automatically detected I was
updating the plugin, not installing something new, and took care of
the uninstallation/installation for me. YMMV.

On Dec 8, 10:28 pm, Parvez Shah parvez.s...@live.com wrote:
 do we need to uninstall 1.7.1 plugin and then install eclipse 2.0 plugin

 From: Miguel Méndez
 Sent: Wednesday, December 09, 2009 8:43 AM
 To: Google Web Toolkit ; GWTcontrib
 Subject: Announcing GWT 2.0 and much, much more...

 Hi Folks!

 We have some very exciting announcements today.  Please check out the 
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse, 
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed 
 Tracer.  I think that you will find it pretty interesting...

 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t...

 --
 Miguel on behalf of the GWT team

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Getting file size in client side

2009-12-08 Thread subbu
Hi all,
 I am using a fileupload component in my apps.like
final FileUpload fileUpload = new FileUpload();

uploadFormPanel.addButton(new Button(upload, new
ButtonListenerAdapter() {
public void onClick(Button button, EventObject e) {

uploadFormPanel.getForm().submit(url, null,
Connection.POST,Uploading..., false);


}
}));

Is it possible to get the file size in my client side so that i can
restrict the upload depends on the file size.

Thanks and Regards,

   Subash K S

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Developer Plugin not working IE8

2009-12-08 Thread ksachdeva
Same issue for me also.

Windows Vista SP2 / IE 8.

Works fine in Firefox.

Regards
Kapil

On Dec 8, 3:00 pm, Sekhar Ravinutala sek...@allurefx.com wrote:
 Thanks, see my responses below.

 On Tue, Dec 8, 2009 at 12:29 PM, Chris Ramsdale cramsd...@google.com

  wrote:
  1. Have you attempted to restart IE and test after installing the plugin?

 Yes.



  2. Can you verify that the following registry entries are available (UID
  being the unique identifier assigned to your account):

  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\UID\Components\50E8C0062FB69AB5399BEF4DAE291BB6

 No

  HKEY_USERS\UID\Software\Classes\AppID\oophm.DLL

 Yes



  HKEY_USERS\UID\Software\Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

 No



  HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

 No



  HKEY_USERS\UID\Software\Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

 Yes



  HKEY_USERS\UID\Software\Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

 No



  HKEY_USERS\UID\Software\Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

 Yes

  HKEY_USERS\UID_Classes\AppID\oophm.DLL

 Yes



  HKEY_USERS\UID_Classes\CLSID\{1A2A78F4-B5A4-4208-B520-BDDA0A7EC5CB}\InprocServer32

 No



  HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\InprocServer32

 No



  HKEY_USERS\UID_Classes\CLSID\{1D6156B6-002B-49E7-B5CA-C138FB843B4E}\ToolboxBitmap32

 Yes



  HKEY_USERS\UID_Classes\CLSID\{644FD769-8B9D-4AC4-A79E-AAAF5CD751C1}\InprocServer32

 No



  HKEY_USERS\UID_Classes\TypeLib\{9259F105-BE55-4BF6-B7CE-D0AA878C1BA6}\1.0\0\win32

 Yes





  On Mon, Dec 7, 2009 at 9:13 PM, Sekhar sek...@allurefx.com wrote:

  Guys, I'm not able to get the dev plugin work in IE8. I uninstalled it
  in Control Panel as suggested and re-installed it in IE8. It installs
  fine and I can see it in Control Panel, but the next time I try with
  IE8, it asks for the plugin again. I've tried it several times now
  with no success. Could someone help?

  --

  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

   --
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 AllureFX LLChttp://www.allurefx.com

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




how to fire a change event on a textBox?

2009-12-08 Thread Karan Sardana
I'd like to manually fire a change event on a text box, and let the
change handlers tap that event to do the needful.

I tried using fireEvent(GwtEvent ? event) with no luck. We can't
instantiate changeEvent, so how could I fire a change event ???

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Way to make DisclosurePanel or other widgets to overlap on top of others

2009-12-08 Thread shiang
Thanks a lot for the information :)



On Dec 9, 12:20 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
 In CSS, the z-index property specifies the stack order of an element.
 So it depends on how you style it.

 On Dec 8, 10:00 pm, shiang sfk...@gmail.com wrote:



  Hi, i am a beginner on GWT.
  I would like to seek for advice on making widget to overlap on top of
  the rest of panels in the following condition:

  1) There is a DockLayoutPanel with north, south, east, west, center
  panels.
  2) there is a DisclosurePanel on the border of north panel

  I want to make the DisclosurePanel to display fully on top of the
  north and center panel when it is click.
  (Example: the listbox can display fully on top of both north and
  center panels, however, DisclosurePanel can only display within its
  parent area thus it cannot display fully.)
  It looks like ListBox is having higher precedence of rendering.

  Any ideas on what can be done to achieve the overlap?

  Thank you!

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Extending Splitter related widgets

2009-12-08 Thread Nathan Wells
Well, I don't disagree with you. I just found this discussion, where Sumit
responds to these concerns (a few months ago, even). I suppose that starring
the issue he mentions is probably your best course of action.

Nathan Wells


On Tue, Dec 8, 2009 at 2:48 PM, lemaiol lema...@gmail.com wrote:

 Hi Nathan,

 That is exactly the thing. GWT is much more than widgets and the
 provided ones should be the building blocks to extend. That is the
 message that comes from the team behind GWT. The problem I see is that
 some widgets are not designed to be easily extended and therefore they
 are not good building blocks. This leads to the integration of
 heavyweight third-party widget libraries (even for simple things) or,
 in the other hand, to the development of custom widgets to avoid this
 overhead. I expected that, with the new versions, this situation would
 change integrating most of the widgets of the incubator refined to fit
 the widget framework over which to build the new widgets.

 Cheers,
 Alberto

 On Dec 8, 2:18 pm, Nathan Wells nwwe...@gmail.com wrote:
  Creating and maintaining custom widgets is discouraged
 
  Really? I had the opposite impression. I understand why it might be
  discouraged, but from everything I've heard the GWTers tend to assume
  that they are only providing basic building blocks in the widgets
  package. I could be wrong (and I would like to be; maintaining custom
  widgets _is_ a pain), so if you have any references indicating
  otherwise, let me know!
 
  On Dec 7, 2:34 pm, lemaiol lema...@gmail.com wrote:
 
   I have recently started having a look at the GWT 2.0 RC2 version and
   found me once again frustrated trying to extend the SplitLayoutPanel.
   In version 1.4 we needed to do the same with the splitter panels and
   we thought that some of the reasons not to build more easy to extend
   Splitter panels (had to copy over a lot of code) had to do with the
   implementation substitution performed by the compiler.
   In this case, I miss setting the splitter position programmatically
   (or associated widget size) and setting the maximum splitter size
   (minimum is already possible to be set) in the SplitLayoutPanel. With
   the current implementation (a really simple one) the changes are not
   complicated. The only problem is, that as the widget is implemented,
   it is not possible to extend it properly.
 
   Could somebody give some input on this? Why the SplitLayoutPanel is a
   basic part of the new layout system but does not allow extension
   easily? Creating and maintaining custom widgets is discouraged and a
   pain but the actual widgets are sometimes not designed even for
   trivial extension.
 
   Feedback really appreciated,
   Alberto

 --

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Anchor.wrap with GQuery

2009-12-08 Thread jd
Hi,

I am using GQuery to return elements that I want to attach
ClickHandlers to like this:


GQuery h2s = $(#header  h2  a);
Anchor lowestPriceAnchor = Anchor.wrap(h2s.get(0));

But I am getting an exception:


java.lang.AssertionError: A widget that has an existing parent widget
may not be added to the detach list
at com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose
(RootPanel.java:136)
at com.google.gwt.user.client.ui.Anchor.wrap(Anchor.java:59)

Does anyone know what I am going wrong here?

Cheers,

John

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: DateBox year navigation

2009-12-08 Thread Abdullah Shaikh
Hi All  am I not clear enough or is this option not available in GWT
yet.

On Mon, Dec 7, 2009 at 5:55 PM, Abdullah Shaikh abdullah.shaik...@gmail.com
 wrote:

 I have a DateBox, the format of which I have set is to set only month 
 year, as I don't require date, is there any way or any settings that I need
 to do to have a faster year navigation rather then going through all the
 months to have the next year.

 I don't remember where but I have see a calendar control in which when
 clicked on year it displays the panel with years, replacing the days panel,
 to navigate faster through the years.

 Thanks,
 Abdullah


--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: RC2 -- how to run?

2009-12-08 Thread Gerhard Davids
Funny :P

Just to address your original issue with the normal run config 

You needed to use the fully qualified module name.

On Dec 9, 4:32 am, FKereki fker...@gmail.com wrote:
 Wait a minte... I tried using the Java Application launch
 because of several mails I read, but the Web Application launch does
 work!?

 To be kind (to my own person) I should say I outfoxed myself... and
 several adjectives come to mind, all relative to relying on hearsay
 and not trying things out for myself...

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




GWT 2.0, Browser Plugin, logging/etc issues.

2009-12-08 Thread Nathan
Hey everyone.  I just upgraded to GWT 2.0 today, all my code still
compiles, I clicked run and it said hey browse to this place with any
browser! and I did, and everything looked groovy.

Then I go and try to fix a bug.  I throw in a quick logging statement,
like I used to in Hosted Mode in 1.7, I started with a
System.out.println, figuring it would print to the console.  No dice,
I only get console logs from server-side code, not java-side code.
Well, okay.  Back to the previous system: Window.alert(...)...Also, no
dice.  For some reason, in Development mode, Window.alert isn't
working - nothing pops up.

I can compile and deploy live and it works great.

I tried to poke around online, but I found nothing, but I did notice
that the conversations about RC2 talk about needing a Browser GWT
Plugin.  Neither Chrome nor FF asked me to install a plugin, they just
worked ...

Am I missing something?  How can I install the plugin if it doesn't
ask?  Is the plugin still necessary?  How would my browsers *mostly*
work without it?  I am so confused by this.

Also, just to make sure, is the Development Mode tab in Eclipse the
tab that my logging statements should be going to?  That's what I'm
gathering, but I wanted to double check there wasn't some other view I
somehow disabled and that's my problem?

Thanks a bunch!

-nathan

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: How to disable default css

2009-12-08 Thread Alex Luya

But question is if referenced library uses inherits
name='com.google.gwt.user.theme.standard.Standard' /,standard css
will still be generated,even I have commented it in my own module(Web
application).
On 1 déc, 13:42, Prashant antsh...@gmail.com wrote:
 it shouldn't happen, i am also not using gwt styles. try creating a new
 project and comment inherit tag before compiling it first time.

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: [gwt-contrib] Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Andi Mullaraj
Congratulations from Albania!

Not sure who will get this email but let me tell you, these are some
exciting times to be alive. It's like a dream come true.

Thank you GOOGLE, thank you GWT Team.





2009/12/9 Miguel Méndez mmen...@google.com

 Hi Folks!

 We have some very exciting announcements today.  Please check out the
 following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
 and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
 Tracer.  I think that you will find it pretty interesting...


 http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html

 --
 Miguel on behalf of the GWT team

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT 2.0, Browser Plugin, logging/etc issues.

2009-12-08 Thread Nathan
Okay, well now I feel silly.  I dunno if this is a bug, or if my post
will help anyone else, but here's what I did to get it working:

I did a full compile in Eclipse.  I uploaded the site to my test
host.  I browsed there (to make sure it was working) then I went BACK
to Eclipse, re-ran the project, then browsed to it and Firefox figured
it out and said I needed to install the plugin, then everything
worked.

Quite strange.  My guess is I didn't need to upload and browse to the
site, but it seems like you need to do a full compile before just
doing Development Mode...?

Hope that'll help someone else.  Everyone can just ignore my questions
for help now.

-nathan

On Dec 9, 2:33 am, Nathan nathan.shel...@gmail.com wrote:
 Hey everyone.  I just upgraded to GWT 2.0 today, all my code still
 compiles, I clicked run and it said hey browse to this place with any
 browser! and I did, and everything looked groovy.

 Then I go and try to fix a bug.  I throw in a quick logging statement,
 like I used to in Hosted Mode in 1.7, I started with a
 System.out.println, figuring it would print to the console.  No dice,
 I only get console logs from server-side code, not java-side code.
 Well, okay.  Back to the previous system: Window.alert(...)...Also, no
 dice.  For some reason, in Development mode, Window.alert isn't
 working - nothing pops up.

 I can compile and deploy live and it works great.

 I tried to poke around online, but I found nothing, but I did notice
 that the conversations about RC2 talk about needing a Browser GWT
 Plugin.  Neither Chrome nor FF asked me to install a plugin, they just
 worked ...

 Am I missing something?  How can I install the plugin if it doesn't
 ask?  Is the plugin still necessary?  How would my browsers *mostly*
 work without it?  I am so confused by this.

 Also, just to make sure, is the Development Mode tab in Eclipse the
 tab that my logging statements should be going to?  That's what I'm
 gathering, but I wanted to double check there wasn't some other view I
 somehow disabled and that's my problem?

 Thanks a bunch!

 -nathan

--

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




[gwt-contrib] Re: Comment on UiBinder in google-web-toolkit

2009-12-08 Thread codesite-noreply
Comment by rj...@google.com:

@revoltcss, it's much simpler than that, updated the example


For more information:
http://code.google.com/p/google-web-toolkit/wiki/UiBinder

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7268 committed - How to use HelloWorld

2009-12-08 Thread codesite-noreply
Revision: 7268
Author: rj...@google.com
Date: Tue Dec  8 05:58:37 2009
Log: How to use HelloWorld
http://code.google.com/p/google-web-toolkit/source/detail?r=7268

Modified:
  /wiki/UiBinder.wiki

===
--- /wiki/UiBinder.wiki Mon Nov 16 13:42:23 2009
+++ /wiki/UiBinder.wiki Tue Dec  8 05:58:37 2009
@@ -87,7 +87,8 @@

  // Use:

-Element helloWorld = new HelloWorld(World).getElement();
+HelloWorld helloWorld = new HelloWorld(World);
+Document.get().getBody().appendChild(helloWorld.getElement());
  }}}

  = Hello Composite World =

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Remove excess calls to foreign collections

2009-12-08 Thread rice

http://gwt-code-reviews.appspot.com/118810/diff/1/3
File user/super/com/google/gwt/emul/java/util/ArrayList.java (right):

http://gwt-code-reviews.appspot.com/118810/diff/1/3#newcode110
Line 110: Object[] cArray = c.toArray();
if (cArray.length == 0) {
   return false;
}

http://gwt-code-reviews.appspot.com/118810/diff/1/3#newcode120
Line 120: Object[] cArray = c.toArray();
int len = cArray.length;
if (len == 0) {
   return false;
}

http://gwt-code-reviews.appspot.com/118810/diff/1/3#newcode122
Line 122: size += cArray.length;
You can use len from above instead of cArray.length

http://gwt-code-reviews.appspot.com/118810

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7269 committed - Creating a spur branch off the 10.23 snapshot to help diagnose a ...

2009-12-08 Thread codesite-noreply
Revision: 7269
Author: fabb...@google.com
Date: Tue Dec  8 10:28:17 2009
Log: Creating a spur branch off the 10.23 snapshot to help diagnose a
prodiction anomaly.

http://code.google.com/p/google-web-toolkit/source/detail?r=7269

Added:
  /branches/snapshot-2009.10.23-r7029

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7270 committed - Update Chrome plugin version number....

2009-12-08 Thread codesite-noreply
Revision: 7270
Author: j...@google.com
Date: Tue Dec  8 10:41:45 2009
Log: Update Chrome plugin version number.

Patch by: jat
Unreviewed

http://code.google.com/p/google-web-toolkit/source/detail?r=7270

Modified:
  /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json

===
--- /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json  Mon Nov 23  
16:38:01 2009
+++ /trunk/plugins/npapi/prebuilt/gwt-dev-plugin/manifest.json  Tue Dec  8  
10:41:45 2009
@@ -1,6 +1,6 @@
  {
name: GWT Developer Plugin,
-  version: 0.9.7135,
+  version: 1.0.7263,
description: A plugin to enable debugging with GWT's Development  
Mode,
update_url: https://dl-ssl.google.com/gwt/plugins/chrome/updates.xml;,
icons: {

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7271 committed - Updating branch-info with correct data for this stub-of-a-snapshot bra...

2009-12-08 Thread codesite-noreply
Revision: 7271
Author: fabb...@google.com
Date: Tue Dec  8 10:45:53 2009
Log: Updating branch-info with correct data for this stub-of-a-snapshot  
branch.

http://code.google.com/p/google-web-toolkit/source/detail?r=7271

Modified:
  /branches/snapshot-2009.10.23-r7029/branch-info.txt

===
--- /branches/snapshot-2009.10.23-r7029/branch-info.txt Thu Nov 19 12:33:51  
2009
+++ /branches/snapshot-2009.10.23-r7029/branch-info.txt Tue Dec  8 10:45:53  
2009
@@ -1,9 +1,10 @@
-branch-info.txt for the 2009.10.23-r6446 snapshot branch.
+branch-info.txt for the 2009.10.23-r7029 snapshot branch.
  Tracks interactions between this branch and other branches.
  See: http://code.google.com/p/google-web-toolkit/wiki/ManagingMerges

  Copies:
-/branches/snapshot-2009.10.23-r6446 was created (r6447) as a straight copy  
from /trunk/@6446
+/branches/snapshot-2009.10.23-r7029 was created (r7269) as a straight copy  
from
+/branches/snapshot-2009.10.23-r6...@7029.

  Merges:
  Cherrypicked c6451 with:

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7272 committed - Merge of runasync retries from r7267 of snapshot-2009.10.23-r6446.

2009-12-08 Thread codesite-noreply
Revision: 7272
Author: fabb...@google.com
Date: Tue Dec  8 10:51:10 2009
Log: Merge of runasync retries from r7267 of snapshot-2009.10.23-r6446.

http://code.google.com/p/google-web-toolkit/source/detail?r=7272

Added:
   
/branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/AsyncFragmentLoader.gwt.xml
   
/branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/client/impl/XhrLoadingStrategy.java
   
/branches/snapshot-2009.10.23-r7029/user/test/com/google/gwt/core/client/impl/XhrLoadingStrategyTest.java
Modified:
  /branches/snapshot-2009.10.23-r7029/branch-info.txt
   
/branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/Core.gwt.xml
   
/branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/client/impl/AsyncFragmentLoader.java
   
/branches/snapshot-2009.10.23-r7029/user/test/com/google/gwt/core/CoreSuite.java

===
--- /dev/null
+++  
/branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/AsyncFragmentLoader.gwt.xml
 
Tue Dec  8 10:51:10 2009
@@ -0,0 +1,29 @@
+!-- 
--
+!-- Copyright 2008 Google  
Inc. --
+!-- Licensed under the Apache License, Version 2.0 (the License);  
you--
+!-- may not use this file except in compliance with the License. You  
may   --
+!-- may obtain a copy of the License  
at--
+!-- 
--
+!--  
http://www.apache.org/licenses/LICENSE-2.0 --
+!-- 
--
+!-- Unless required by applicable law or agreed to in writing,  
software--
+!-- distributed under the License is distributed on an AS IS  
BASIS,  --
+!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express  
or--
+!-- implied. License for the specific language governing permissions  
and   --
+!-- limitations under the  
License. --
+
+!-- Types associated with GWT.runAsync() and its fragment  
loader   --
+module
+
+  replace-with class=com.google.gwt.core.client.impl.XhrLoadingStrategy
+when-type-is
+ 
class=com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadingStrategy/
+  /replace-with
+
+  replace-with
+   
class=com.google.gwt.core.client.impl.AsyncFragmentLoader.StandardLogger
+when-type-is
+ 
class=com.google.gwt.core.client.impl.AsyncFragmentLoader.Logger/
+  /replace-with
+
+/module
===
--- /dev/null
+++  
/branches/snapshot-2009.10.23-r7029/user/src/com/google/gwt/core/client/impl/XhrLoadingStrategy.java
 
Tue Dec  8 10:51:10 2009
@@ -0,0 +1,240 @@
+/*
+ * Copyright 2009 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under
+ * the License.
+ */
+package com.google.gwt.core.client.impl;
+
+import  
com.google.gwt.core.client.impl.AsyncFragmentLoader.HttpDownloadFailure;
+import  
com.google.gwt.core.client.impl.AsyncFragmentLoader.HttpInstallFailure;
+import  
com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadErrorHandler;
+import com.google.gwt.core.client.impl.AsyncFragmentLoader.LoadingStrategy;
+import com.google.gwt.xhr.client.ReadyStateChangeHandler;
+import com.google.gwt.xhr.client.XMLHttpRequest;
+
+/**
+ * The standard loading strategy used in a web browser.
+ */
+public class XhrLoadingStrategy implements LoadingStrategy {
+
+  /**
+   * A {...@link MockableXMLHttpRequest} that is really just a vanilla
+   * XMLHttpRequest.  This wrapper (and thus {...@code  
MockableXMLHttpRequest) is
+   * needed because so much of {...@link XMLHttpRequest} is final, which in  
turn
+   * is because it extends {...@code JavaScriptObject} and is subject to its
+   * restrictions.
+   *
+   * It is important that these methods be simple enough to be inlined  
away.
+   */
+  class DelegatingXMLHttpRequest implements MockableXMLHttpRequest {
+private final XMLHttpRequest delegate;
+
+public DelegatingXMLHttpRequest(XMLHttpRequest xmlHttpRequest) {
+  delegate = xmlHttpRequest;
+}
+
+public void clearOnReadyStateChange() {
+  delegate.clearOnReadyStateChange();
+}
+
+public int getReadyState() {
+  return delegate.getReadyState();
+}
+
+public String getResponseText() {
+  return delegate.getResponseText();
+}
+
+   

[gwt-contrib] Re: Remove excess calls to foreign collections

2009-12-08 Thread scottb
Good call.  Hmm, my mistakes should have made us fail a unit test, but
they didn't.  Guess I need to add better unit tests of this.

http://gwt-code-reviews.appspot.com/118810

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7273 committed - Update IE plugin version....

2009-12-08 Thread codesite-noreply
Revision: 7273
Author: j...@google.com
Date: Tue Dec  8 12:51:47 2009
Log: Update IE plugin version.

Patch by: jat
Review by: jlabanca (TBR)

http://code.google.com/p/google-web-toolkit/source/detail?r=7273

Modified:
  /trunk/plugins/ie/oophm/oophm/oophm.aps
  /trunk/plugins/ie/oophm/oophm/oophm.rc
  /trunk/plugins/ie/prebuilt/oophm.dll

===
--- /trunk/plugins/ie/oophm/oophm/oophm.aps Fri Sep  4 15:16:50 2009
+++ /trunk/plugins/ie/oophm/oophm/oophm.aps Tue Dec  8 12:51:47 2009
Binary file, no diff available.
===
--- /trunk/plugins/ie/oophm/oophm/oophm.rc  Tue Oct 13 14:01:24 2009
+++ /trunk/plugins/ie/oophm/oophm/oophm.rc  Tue Dec  8 12:51:47 2009
@@ -59,8 +59,8 @@
  //

  VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,0,1
- PRODUCTVERSION 1,0,0,1
+ FILEVERSION 1,0,7263,0
+ PRODUCTVERSION 1,0,7263,0
   FILEFLAGSMASK 0x3fL
  #ifdef _DEBUG
   FILEFLAGS 0x1L
@@ -76,13 +76,13 @@
  BLOCK 040904e4
  BEGIN
  VALUE CompanyName, Google Inc.
-VALUE FileDescription, Google Web Toolkit Out-of-Process  
Hosted Mode Plugin
-VALUE FileVersion, 1.0.0.1
+VALUE FileDescription, Google Web Toolkit Developer Plugin
+VALUE FileVersion, 1.0.7263.0
  VALUE InternalName, oophm.dll
  VALUE LegalCopyright, Copyright 2008 Google Inc. Licensed  
under the Apache 2.0 license.
  VALUE OriginalFilename, oophm.dll
  VALUE ProductName, Google Web Toolkit
-VALUE ProductVersion, 1.0.0.1
+VALUE ProductVersion, 1.0.7263.0
  END
  END
  BLOCK VarFileInfo
===
--- /trunk/plugins/ie/prebuilt/oophm.dllMon Nov 23 14:00:51 2009
+++ /trunk/plugins/ie/prebuilt/oophm.dllTue Dec  8 12:51:47 2009
Binary file, no diff available.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r7274 committed - Updating IE Plugin to use latest oophm.dll....

2009-12-08 Thread codesite-noreply
Revision: 7274
Author: jlaba...@google.com
Date: Tue Dec  8 13:04:35 2009
Log: Updating IE Plugin to use latest oophm.dll.

Patch by: jlabanca


http://code.google.com/p/google-web-toolkit/source/detail?r=7274

Modified:
  /trunk/plugins/ie/prebuilt/gwt-dev-plugin.msi

===
--- /trunk/plugins/ie/prebuilt/gwt-dev-plugin.msi   Mon Nov 23 16:38:01 2009
+++ /trunk/plugins/ie/prebuilt/gwt-dev-plugin.msi   Tue Dec  8 13:04:35 2009
Binary file, no diff available.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: GWT RC2: TabPanelLayout -- no supporting CSS?

2009-12-08 Thread Stuart Moffatt
@jgw,

Morten makes a good observation (which I wasn't worrying about for now as I
just chalked it up to pre-release fuzzies).

Any ideas why the rendering in FF is so poor? It seems we might be heading
back to the land where web developers need a PhD in browser quirks (albeit
CSS instead of JS)

sfm

On Tue, Dec 8, 2009 at 4:10 PM, Morten Holm mohoh...@gmail.com wrote:

 On 3 Dec., 21:53, Stuart Moffatt stuartmoff...@gmail.com wrote:
  And here is what it should look like:
 
  http://tablayoutpanel.latest.emcode-dev.appspot.com
 

 This looks great in Safari, but not so good in FireFox. Any idea why?

 Morten

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: GWT RC2: TabPanelLayout -- no supporting CSS?

2009-12-08 Thread Joel Webber
That should be fixed in the final release. Turns out I had made the mistake
of writing style.setProperty(float, left), rather than
style.setProperty(cssFloat, left). The latter is correct, but WebKit
accepts either.

(Yes, there should be a style.setFloat() method, but that will have to come
later, once I have time to write a script to generate the bazillion CSS
property setters!)

On Tue, Dec 8, 2009 at 4:17 PM, Stuart Moffatt stuartmoff...@gmail.comwrote:

 @jgw,

 Morten makes a good observation (which I wasn't worrying about for now as I
 just chalked it up to pre-release fuzzies).

 Any ideas why the rendering in FF is so poor? It seems we might be heading
 back to the land where web developers need a PhD in browser quirks (albeit
 CSS instead of JS)

 sfm

 On Tue, Dec 8, 2009 at 4:10 PM, Morten Holm mohoh...@gmail.com wrote:

 On 3 Dec., 21:53, Stuart Moffatt stuartmoff...@gmail.com wrote:
  And here is what it should look like:
 
  http://tablayoutpanel.latest.emcode-dev.appspot.com
 

 This looks great in Safari, but not so good in FireFox. Any idea why?

 Morten


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: GWT RC2: TabPanelLayout -- no supporting CSS?

2009-12-08 Thread Stuart Moffatt
Figured something along those lines. Thanks Joel.

sfm


On Tue, Dec 8, 2009 at 4:22 PM, Joel Webber j...@google.com wrote:

 That should be fixed in the final release. Turns out I had made the mistake
 of writing style.setProperty(float, left), rather than
 style.setProperty(cssFloat, left). The latter is correct, but WebKit
 accepts either.

 (Yes, there should be a style.setFloat() method, but that will have to come
 later, once I have time to write a script to generate the bazillion CSS
 property setters!)

 On Tue, Dec 8, 2009 at 4:17 PM, Stuart Moffatt stuartmoff...@gmail.comwrote:

 @jgw,

 Morten makes a good observation (which I wasn't worrying about for now as
 I just chalked it up to pre-release fuzzies).

 Any ideas why the rendering in FF is so poor? It seems we might be heading
 back to the land where web developers need a PhD in browser quirks (albeit
 CSS instead of JS)

 sfm

 On Tue, Dec 8, 2009 at 4:10 PM, Morten Holm mohoh...@gmail.com wrote:

  On 3 Dec., 21:53, Stuart Moffatt stuartmoff...@gmail.com wrote:
  And here is what it should look like:
 
  http://tablayoutpanel.latest.emcode-dev.appspot.com
 

 This looks great in Safari, but not so good in FireFox. Any idea why?

 Morten


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r7276 committed - Merge trunk r7275 into this branch...

2009-12-08 Thread codesite-noreply
Revision: 7276
Author: j...@google.com
Date: Tue Dec  8 13:43:24 2009
Log: Merge trunk r7275 into this branch

Javadoc fixes for JSONP.

 svn merge --ignore-ancestry -c7275 \
   https://google-web-toolkit.googlecode.com/svn/trunk/ .


http://code.google.com/p/google-web-toolkit/source/detail?r=7276

Modified:
  /releases/2.0/branch-info.txt
  /releases/2.0/doc/build.xml

===
--- /releases/2.0/branch-info.txt   Mon Dec  7 15:50:49 2009
+++ /releases/2.0/branch-info.txt   Tue Dec  8 13:43:24 2009
@@ -1204,3 +1204,8 @@
Javadoc fixes for deRPC.
  svn merge --ignore-ancestry -c7264 \
https://google-web-toolkit.googlecode.com/svn/trunk/ .
+
+tr...@7275 was merged into this branch
+  Javadoc fixes for JSONP.
+svn merge --ignore-ancestry -c7275 \
+  https://google-web-toolkit.googlecode.com/svn/trunk/ .
===
--- /releases/2.0/doc/build.xml Mon Dec  7 15:50:49 2009
+++ /releases/2.0/doc/build.xml Tue Dec  8 13:43:24 2009
@@ -10,7 +10,7 @@
property.ensure name=gwt.dev.jar  
location=${gwt.build.lib}/gwt-dev.jar /

property name=USER_PKGS
-   
value=com.google.gwt.animation.client;com.google.gwt.benchmarks.client;com.google.gwt.core.client;com.google.gwt.core.ext;com.google.gwt.core.ext.soyc;com.google.gwt.core.ext.linker;com.google.gwt.core.ext.typeinfo;com.google.gwt.core.linker;com.google.gwt.debug.client;com.google.gwt.dom.client;com.google.gwt.event.dom.client;com.google.gwt.event.logical.shared;com.google.gwt.event.shared;com.google.gwt.http.client;com.google.gwt.i18n.client;com.google.gwt.i18n.shared;com.google.gwt.i18n.client.constants;com.google.gwt.i18n.rebind.format;com.google.gwt.i18n.rebind.keygen;com.google.gwt.json.client;com.google.gwt.junit.client;com.google.gwt.benchmarks.client;com.google.gwt.resources.client;com.google.gwt.resources.ext;com.google.gwt.user.client;com.google.gwt.user.client.rpc;com.google.gwt.user.client.ui;com.google.gwt.user.datepicker.client;com.google.gwt.user.server.rpc;com.google.gwt.xml.client;com.google.gwt.uibinder.client;com.google.gwt.rpc.client;com.google.gwt.rpc.server/
+   
value=com.google.gwt.animation.client;com.google.gwt.benchmarks.client;com.google.gwt.core.client;com.google.gwt.core.ext;com.google.gwt.core.ext.soyc;com.google.gwt.core.ext.linker;com.google.gwt.core.ext.typeinfo;com.google.gwt.core.linker;com.google.gwt.debug.client;com.google.gwt.dom.client;com.google.gwt.event.dom.client;com.google.gwt.event.logical.shared;com.google.gwt.event.shared;com.google.gwt.http.client;com.google.gwt.i18n.client;com.google.gwt.i18n.shared;com.google.gwt.i18n.client.constants;com.google.gwt.i18n.rebind.format;com.google.gwt.i18n.rebind.keygen;com.google.gwt.json.client;com.google.gwt.junit.client;com.google.gwt.benchmarks.client;com.google.gwt.resources.client;com.google.gwt.resources.ext;com.google.gwt.user.client;com.google.gwt.user.client.rpc;com.google.gwt.user.client.ui;com.google.gwt.user.datepicker.client;com.google.gwt.user.server.rpc;com.google.gwt.xml.client;com.google.gwt.uibinder.client;com.google.gwt.rpc.client;com.google.gwt.rpc.server;com.google.gwt.jsonp.client/
property name=LANG_PKGS  
value=java.lang;java.lang.annotation;java.util;java.io;java.sql /

!--Individual classes to include when we don't want to

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Announcing GWT 2.0 and much, much more...

2009-12-08 Thread Miguel Méndez
Hi Folks!

We have some very exciting announcements today.  Please check out the
following blog post that covers the GWT 2.0 SDK, Google Plugin for Eclipse,
and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
Tracer.  I think that you will find it pretty interesting...

http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-toolkit-20-now.html

-- 
Miguel on behalf of the GWT team

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors