Menu Bar and Hot Key
Hi, can i used hot key in menu bar(like combination of alt+f).Please guide me as soon as posssible.i have posted this query yesterday also,but i haven't received any mail regarding this query. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to use GWT-EXT in Mozila
Hi I Change Browser internet Explorer to Mozilla Firefox in My GWT - Ext Application. i used Form panel in GWT-Ext in Internet Explorer. Now i change Browser Setting to Mozilla. i have Problem in 1) Alignmnet in UI is changed.(Particulary in Dockpanel) 2 )i used Multiple Column Layout in Previous Browser Now it will not appear on Multiple column. i need how to rectify this problem. i need Quick Reply. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: problem with multiple fileupload in GWT 1.5
seems, that you are setting the name twice for fileUploadDataset. the second one should be fileUploadMetadata . On Sep 23, 6:11 pm, Erik van Ingen [EMAIL PROTECTED] wrote: In GWT 1.5 I have an implementation like:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g... The difference is that I have 2 FileUpload entries, instead of 1: final FileUpload fileUploadDataset = new FileUpload(); fileUploadDataset.setName(fileUploadDataset); verticalPanel.add(fileUploadDataset); final FileUpload fileUploadMetadata = new FileUpload(); fileUploadDataset.setName(fileUploadMetadata); verticalPanel.add(fileUploadMetadata); On the server I only receive 1 file (the first). This was working fine in GWT 1.4 but not in GWT 1.5. Any idea what could be my mistake? Or is this simply just a bug in GWT 1.5? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: problem with multiple fileupload in GWT 1.5
I tried but it doesn't solve the problem. Do you or does anyone implemented Multiple file upload with GWT 1.5? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: url parameters
Thanks guys, all your answers have been very helpful. I used gwt-widgets-0.1.6.jar from http://gwt-widget.sourceforge.net/ which is really useful for many other things as well giannis --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT-EXT in Mozila
Hi I Change Browser internet Explorer to Mozilla Firefox in My GWT - Ext Application. i used Form panel in GWT-Ext in Internet Explorer. Now i change Browser Setting to Mozilla. i have Problem in 1) Alignmnet in UI is changed.(Particulary in Dockpanel) 2 )i used Multiple Column Layout in Previous Browser Now it will not appear on Multiple column. i need how to rectify this problem. i need Quick Reply. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GIS Map Tile Viewer in GWT
Hi rjcarr, When you say you're planning to use Google Maps in an offline mode (or away from the cloud), could you elaborate a little on what you mean exactly or how you're planning to use the Maps API? I'm not a policy expert, but I think that what you're trying to do is use the Maps tiling, but not through the actual Maps API, which would probably constitute a breach of the Maps tile data usage policy. You can check out the FAQ about this at the link below. It's possible I've misinterpreted what you're planning to do with the Maps tiles data, in which case just let me know and we could be on our way to a solution for your application. http://code.google.com/apis/maps/faq.html#tos_tiles Hope that helps, -Sumit Chandel On Mon, Sep 22, 2008 at 6:21 AM, rjcarr [EMAIL PROTECTED] wrote: I'm wondering if anyone has developed a GWT Widget for viewing a set of GIS tiles very similar to Google Maps. I don't need all the functionality that Google Maps offers, but I'd need things like geo registration, multiple zoom levels, overlays, markers, etc ... I know there is a Google Maps Widget for GWT but unfortunately I can't use Google Maps directly as my application will run offline (or, at least, away from the cloud). In looking through the forums I've seen a reference to a sachamaps but I get no other hits on it. So, before I go and spend a couple weeks on this, I'd like to see if it has already been done, as I'm not sure of the best algorithm to use for the tiling. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT python communication
Hi Ajay, I'm not sure that Google is providing a GWT RPC mechanism for Python backends, and not quite sure how something like that would work. Could you post a link or give more details about what technology you're using exactly? Are you trying to deploy your GWT application on AppEngine and using libraries for backend integration with your GWT code? I'm also not familiar with PGR data, or why there would be a need to support that over JSON as the data transferred between client-server. More details there would help as well. As for Java backend support, that is offered through the GWT RPC subsystem, but would not work on AppEngine as it does not support a Java runtime. GWT RPC docs: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideRemoteProcedureCalls Please post up more details of what you're trying to set up and we should be able to help you out. Hope that helps, -Sumit Chandel On Mon, Sep 22, 2008 at 12:33 PM, programmerajay [EMAIL PROTECTED] wrote: I wrote a example code today for testing the Python Gwt Rpc method provided by google , it did clear some of doubts regarding the way communication btwn client and Server happens, but the exact implementation is still having some trouble. Server error , method not found error and such errors are cconfronting me. Has somebody tried this PGR method? When we Go for PGR JSON is no longer needed, so i would suggest and hope that google documents PGR properly . Using JSON is the only other option left if PGR doesnt workout ( as long as google doesnt provide Server side Java Integration, which i think would not be there for some more time as google may want more people follow some standard and take it up from there). So People what do u recommend, has anybody faced simlar dilemma? Regards ajay --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Google Maps InfoWindow Resizing
I have a patch on the issue tracker that adds 'GInfoWindow.reset()', but has problems. I found out from the maps team that reset() has a documentation bug, so what is needed is to take the patch and make sure that the first 3 arguments are always filled in (no null parameters). On Tue, Sep 23, 2008 at 11:37 PM, Pavel Byles [EMAIL PROTECTED] wrote: bump again? I would really appreciate some help here. On Wed, Sep 17, 2008 at 2:51 PM, Pavel Byles [EMAIL PROTECTED] wrote: bump. anyone else? On Tue, Sep 16, 2008 at 10:09 PM, Pavel Byles [EMAIL PROTECTED]wrote: Yes... reset is what I was referring to On Tue, Sep 16, 2008 at 4:43 PM, Eric Ayers [EMAIL PROTECTED] wrote: I didn't see a resize() function other than reset() On Tue, Sep 16, 2008 at 4:25 PM, Pavel Byles [EMAIL PROTECTED]wrote: I know the JS api has a resize function.. but GWT doesn't. Also I've seen others do it but have no idea how it's done. -Pavel On Tue, Sep 16, 2008 at 3:11 PM, Eric Ayers [EMAIL PROTECTED] wrote: I just added a patch for the GInfoWindow.reset() method in the issue tracker, but I was unable to get it to work reliably. I have a question into the Maps folks. -Eric. On Tue, Sep 16, 2008 at 1:39 PM, Pavel Byles [EMAIL PROTECTED]wrote: Does anyone know how to make the InfoWindow resize once the content has been loaded within it? -Pavel -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
NullPointerException in GWTCompiler
Does anybody already had this kind of error while compiling your project ? If yes how did you solve your problem ? [echo] Compiling client menu [java] Compiling module nc.kroc.fmp.AppMenu [java] Compilation succeeded [java] Linking compilation into D:\Documents\Vincent\workspace \FullMetalPlanet\build\nc.kroc.fmp.AppMenu [java] Exception in thread main java.lang.NullPointerException [java] at com.google.gwt.dev.util.Util.copy(Util.java:994) [java] at com.google.gwt.dev.util.Util.copy(Util.java:181) [java] at com.google.gwt.dev.util.Util.copy(Util.java:166) [java] at com.google.gwt.core.ext.linker.impl.StandardLinkerContext.link(StandardLinkerContext.java: 284) [java] at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:367) [java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java: 564) [java] at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java: 554) [java] at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java: 214) BUILD FAILED D:\Documents\Vincent\workspace\FullMetalPlanet\build.xml:102: Java returned: 1 --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GIS Map Tile Viewer in GWT
On 22 sep, 06:21, rjcarr [EMAIL PROTECTED] wrote: I'm wondering if anyone has developed a GWT Widget for viewing a set of GIS tiles very similar to Google Maps. I don't need all the functionality that Google Maps offers, but I'd need things like geo registration, multiple zoom levels, overlays, markers, etc ... I know there is a Google Maps Widget for GWT but unfortunately I can't use Google Maps directly as my application will run offline (or, at least, away from the cloud). In looking through the forums I've seen a reference to a sachamaps but I get no other hits on it. So, before I go and spend a couple weeks on this, I'd like to see if it has already been done, as I'm not sure of the best algorithm to use for the tiling. If you're looking for a map widget, I know of OpenLayers (pure JavaScript, but googling for openlayers gwt gave some results at sourceforge and codehaus). --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: problem with multiple fileupload in GWT 1.5
On 24 sep, 10:27, Erik van Ingen [EMAIL PROTECTED] wrote: I tried but it doesn't solve the problem. Do you or does anyone implemented Multiple file upload with GWT 1.5? Yes, up to 15 or so files at once, without any problem (even when multiple fields have the same name). It might be a problem with your server-side code? (note: what Martin said is that in your snippet you're calling setName twice on the same fileUploadDataset variable) --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: NullPointerException in GWTCompiler
On 24 sep, 12:07, Kroc [EMAIL PROTECTED] wrote: Does anybody already had this kind of error while compiling your project ? If yes how did you solve your problem ? [echo] Compiling client menu [java] Compiling module nc.kroc.fmp.AppMenu [java] Compilation succeeded [java] Linking compilation into D:\Documents\Vincent\workspace \FullMetalPlanet\build\nc.kroc.fmp.AppMenu [java] Exception in thread main java.lang.NullPointerException [java] at com.google.gwt.dev.util.Util.copy(Util.java:994) [java] at com.google.gwt.dev.util.Util.copy(Util.java:181) [java] at com.google.gwt.dev.util.Util.copy(Util.java:166) [java] at com.google.gwt.core.ext.linker.impl.StandardLinkerContext.link(StandardLink erContext.java: 284) It seems like an EmittedArtifact's getContents returns 'null': http://code.google.com/p/google-web-toolkit/source/browse/releases/1.5/dev/core/src/com/google/gwt/core/ext/linker/impl/StandardLinkerContext.java#284 This means a public resource (one from a public/ folder) or a generated resource. AFAICT, GWT's generators and linkers never produce such errors. Are you using a 3rd-party lib coming with its own generators or linkers? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Drawing text in GWTCanvas
Hi, how can I draw text in a GWTCanvas? I think the GWTCanvas widget is very valuable, but I don't know how to draw simple text on it. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT python communication
Hi Sumit http://code.google.com/docreader/#p=python-gwt-rpcs=python-gwt-rpct=python-gwt-rpc is the link , I could solve the problem in the end. The PGR way doesnot need JSON as means of RPC, but has its drawbacks, but i feel is a goodway to implement RPC's when you are trying to establish backend connection with Python(GAE). Thanks and Regards Ajay --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT python communication
Hi again And yeah forgot to mention, GAE obviously doesnt support JAVA runtime otherwise there is no question of either JSON or PGR. Thanks and Regards Ajay --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
how can I use oncontextmenu?
Just nearest project,I use popup to implement ONCONTEXTMENU,and this gave me a bad experience.Right now,GWT 1.5.2 begins to support ONCONTEXTMENU,it is perfect,but how can I construct a context menu,I have got useful info from this url:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/71a00b061b0b8d44/04a5b7c065e6ff41?lnk=gstq=oncontextmenu#04a5b7c065e6ff41 http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/71a00b061b0b8d44/04a5b7c065e6ff41?lnk=gstq=oncontextmenu#04a5b7c065e6ff41 but no one has posted a reply,can anybody give an example,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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Opening and Loading a GWT Module from another module
I tried in hosted mode and in deployed version. In the deployed version from tomcat, the page is not refreshed. On Sep 24, 2:31 pm, walden [EMAIL PROTECTED] wrote: Hosted Mode, right? I don't think that's a valid environment to test this kind of feature. Are you using -noserver? On Sep 23, 2:57 pm, Halabe [EMAIL PROTECTED] wrote: The image upload is successful since I can see the images in the server folder and when I refresh the page I can also see it on the client. IThe error I am getting is: Resource not found: images/imagePath/Image1.jpg could a file be missing from the public path or a servlet tag misconfigured in module The images folder is in the public folder of the Module that display the images. I upload images from another module and sometimes from the same module. On Sep 23, 8:56 pm, walden [EMAIL PROTECTED] wrote: You have a successful image upload, and then the server can't find it? Or is it some other kind of file not found? On Sep 23, 9:46 am, Halabe [EMAIL PROTECTED] wrote: Hi Walden, My purpose is to view an image that is uploaded in the same session without having to refresh the whole page. I was searching for a way to view the image but I could not view any image that is uploaded in the session that I am trying to view it in. I am getting the error file not found. If you have any idea how I can solve this issue, I will appreciate it. Thank you. On Sep 23, 4:15 pm, walden [EMAIL PROTECTED] wrote: GWT is not Java; it doesn't have dynamic class loading. Maybe someday. In the interim, is there a way to describe your goal without making technology assumptions like this? Maybe there is a way to get the behavior you want using GWT in its current form, but you'll need to say more. Also, the in a new Window is not usually the best way to design with GWT. Walden On Sep 23, 6:11 am, Halabe [EMAIL PROTECTED] wrote: Hi All, Does anyone know how can I open and reload a GWT module from another module in a new Window?? Thanks- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to use GWT-EXT in Mozila
Did you try the GWT-EXT list? On Sep 24, 2:51 am, rsund [EMAIL PROTECTED] wrote: Hi I Change Browser internet Explorer to Mozilla Firefox in My GWT - Ext Application. i used Form panel in GWT-Ext in Internet Explorer. Now i change Browser Setting to Mozilla. i have Problem in 1) Alignmnet in UI is changed.(Particulary in Dockpanel) 2 )i used Multiple Column Layout in Previous Browser Now it will not appear on Multiple column. i need how to rectify this problem. i need Quick Reply. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to use GWT-EXT in Mozila
HI Thank u for u r reply. I did'nt use GWT-EXt List? how to use List ? On Wed, Sep 24, 2008 at 5:12 PM, walden [EMAIL PROTECTED] wrote: Did you try the GWT-EXT list? On Sep 24, 2:51 am, rsund [EMAIL PROTECTED] wrote: Hi I Change Browser internet Explorer to Mozilla Firefox in My GWT - Ext Application. i used Form panel in GWT-Ext in Internet Explorer. Now i change Browser Setting to Mozilla. i have Problem in 1) Alignmnet in UI is changed.(Particulary in Dockpanel) 2 )i used Multiple Column Layout in Previous Browser Now it will not appear on Multiple column. i need how to rectify this problem. i need Quick Reply. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT and JSONP
Hi all I am currently writing a small GWT app with the aim that it can be used on various domains. I have followed the following two very good guides: http://code.google.com/support/bin/answer.py?answer=65632topic=11368 and http://www.gwtsite.com/how-to-access-web-services-with-gwt/ Taking the second as an example I have implemented the ability to post to a remote server and this is working ok. But its not firing the onRequestComplete in the way that GWT would for a normal RPC call. The interface is specified as: package com.gwtsite.client.util; import com.google.gwt.core.client.JavaScriptObject; public interface JSONRequestHandler { public void onRequestComplete( JavaScriptObject json ); } And I call post the JSON call as: JSONRequest.get( http://socialgraph.apis.google.com/lookup? q=bradfitz.compretty=1fme=truecallback=, new JSONRequestHandler() { public void onRequestComplete( JavaScriptObject json ) { // do something here } ); But I never hit the request complete? Am I doing something wrong on my server end or am I missing some key idea? Regards, eggsy --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GIS Map Tile Viewer in GWT
Hey Sumit- Thanks for the response. Google Maps requires that you are connected to the internet in order to both download the image tiles as well as the javascript code. The environment I will be in won't be connected to the internet, so I won't be able to download either of these. I already have the image tiles I'm interested in, so I'm just looking for a GWT solution that can take these tiles and manipulate them like Google Maps does. Again, it can't be the GWT Google Maps widget because that just wraps the Google Maps javascript. I'd need a solution that has essentially rewritten Google Maps but has done it in GWT. There are a few pure javascript solutions out there that does this (OpenLayers is one), but I need it to be in GWT. I've started this project and I'm pretty far along so if I get it to a usable state I'll share what I have. On Wed, Sep 24, 2008 at 2:52 AM, Sumit Chandel [EMAIL PROTECTED] wrote: Hi rjcarr, When you say you're planning to use Google Maps in an offline mode (or away from the cloud), could you elaborate a little on what you mean exactly or how you're planning to use the Maps API? I'm not a policy expert, but I think that what you're trying to do is use the Maps tiling, but not through the actual Maps API, which would probably constitute a breach of the Maps tile data usage policy. You can check out the FAQ about this at the link below. It's possible I've misinterpreted what you're planning to do with the Maps tiles data, in which case just let me know and we could be on our way to a solution for your application. http://code.google.com/apis/maps/faq.html#tos_tiles Hope that helps, -Sumit Chandel On Mon, Sep 22, 2008 at 6:21 AM, rjcarr [EMAIL PROTECTED] wrote: I'm wondering if anyone has developed a GWT Widget for viewing a set of GIS tiles very similar to Google Maps. I don't need all the functionality that Google Maps offers, but I'd need things like geo registration, multiple zoom levels, overlays, markers, etc ... I know there is a Google Maps Widget for GWT but unfortunately I can't use Google Maps directly as my application will run offline (or, at least, away from the cloud). In looking through the forums I've seen a reference to a sachamaps but I get no other hits on it. So, before I go and spend a couple weeks on this, I'd like to see if it has already been done, as I'm not sure of the best algorithm to use for the tiling. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GIS Map Tile Viewer in GWT
Great, good suggestion, I'll look into it. Thanks! On Wed, Sep 24, 2008 at 3:30 AM, Thomas Broyer [EMAIL PROTECTED] wrote: On 22 sep, 06:21, rjcarr [EMAIL PROTECTED] wrote: I'm wondering if anyone has developed a GWT Widget for viewing a set of GIS tiles very similar to Google Maps. I don't need all the functionality that Google Maps offers, but I'd need things like geo registration, multiple zoom levels, overlays, markers, etc ... I know there is a Google Maps Widget for GWT but unfortunately I can't use Google Maps directly as my application will run offline (or, at least, away from the cloud). In looking through the forums I've seen a reference to a sachamaps but I get no other hits on it. So, before I go and spend a couple weeks on this, I'd like to see if it has already been done, as I'm not sure of the best algorithm to use for the tiling. If you're looking for a map widget, I know of OpenLayers (pure JavaScript, but googling for openlayers gwt gave some results at sourceforge and codehaus). --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Opening and Loading a GWT Module from another module
The error you quoted above is from hosted mode. It doesn't pertain to your web mode deployed tomcat case. Can you see the HTTP request message? Can you see the response? (Do you know how to turn on the request dumper valve? It's in server.xml, comment out.) Is there anything in the server log? On Sep 24, 7:41 am, Halabe [EMAIL PROTECTED] wrote: I tried in hosted mode and in deployed version. In the deployed version from tomcat, the page is not refreshed. On Sep 24, 2:31 pm, walden [EMAIL PROTECTED] wrote: Hosted Mode, right? I don't think that's a valid environment to test this kind of feature. Are you using -noserver? On Sep 23, 2:57 pm, Halabe [EMAIL PROTECTED] wrote: The image upload is successful since I can see the images in the server folder and when I refresh the page I can also see it on the client. IThe error I am getting is: Resource not found: images/imagePath/Image1.jpg could a file be missing from the public path or a servlet tag misconfigured in module The images folder is in the public folder of the Module that display the images. I upload images from another module and sometimes from the same module. On Sep 23, 8:56 pm, walden [EMAIL PROTECTED] wrote: You have a successful image upload, and then the server can't find it? Or is it some other kind of file not found? On Sep 23, 9:46 am, Halabe [EMAIL PROTECTED] wrote: Hi Walden, My purpose is to view an image that is uploaded in the same session without having to refresh the whole page. I was searching for a way to view the image but I could not view any image that is uploaded in the session that I am trying to view it in. I am getting the error file not found. If you have any idea how I can solve this issue, I will appreciate it. Thank you. On Sep 23, 4:15 pm, walden [EMAIL PROTECTED] wrote: GWT is not Java; it doesn't have dynamic class loading. Maybe someday. In the interim, is there a way to describe your goal without making technology assumptions like this? Maybe there is a way to get the behavior you want using GWT in its current form, but you'll need to say more. Also, the in a new Window is not usually the best way to design with GWT. Walden On Sep 23, 6:11 am, Halabe [EMAIL PROTECTED] wrote: Hi All, Does anyone know how can I open and reload a GWT module from another module in a new Window?? Thanks- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Client-side GChart 2.2: Sparklines and better/faster solidly filled line charts.
Sorry, client-side GChart does not provide a method for transforming from pixels into model coordinates. It also does not provide a simple way to select points using the mouse--it does not even provide a simple way you can represent the selected/unselected state of a point. If you implement a great mouse selection tool and want to contribute it back to the product, I'll be most delighted to have been proven wrong, but looking at your code and given how the product was designed, in my expert opinion: don't waste any more time on this! You CAN make a Client-side GChart interactive quite easily by adding standard GWT widgets as chart annotations, footnotes, tick labels, etc. and controlling the display only GChart's properties in response to events from those widgets. The live demo's bar chart (accessible from the GChart home page link below) provides a good example of how to do this. Here's a link to another site that uses the same simple technique to scroll a data set through a GChart via a couple of next/previous buttons: http://bocaciegapark.com/bocatides.php(scroll down to see their GChart) For some applications, such scrolling (or some similar, widget-driven technique) is a viable alternative to mouse point selection/zooming. But, if you really need the mouse point selection zoom-in functionality, it's best to use a different charting tool. (I recall seeing a timepedia chronoscope demo a while back that did the point selection/zoom in thing quite nicely). John C. Gunther http://gchart.googlecode.com On Sep 23, 5:15 pm, amadeus [EMAIL PROTECTED] wrote: Hi, I'm using your software and I would add a simple zoom tool with mouse selection I need to know the exact position of axis origin (left bottom) to transform x,y mouse in chart's coordinates here my code after sinkEvents(Event.ONMOUSEMOVE|Event.ONMOUSEDOWN| Event.ONMOUSEUP); I tried to calculate the origin public void onBrowserEvent(Event event) { double x; double y; double mouseX=event.getClientX()-getAbsoluteLeft(); double mouseY=getAbsoluteTop()+getOffsetHeight()-event.getClientY(); Axis xAxis = getXAxis(); Axis yAxis = getYAxis(); double dx=xAxis.getAxisLabelThickness() + xAxis.getTickLabelThickness() + xAxis.getTickLength(); double dy=yAxis.getAxisLabelThickness() + yAxis.getTickLabelThickness() + yAxis.getTickLength(); x=mouseX-dx; y=mouseY-dy; // transform in chart coordinates x=xmin+x*(xmax-xmin)/getXChartSize(); y=ymin+y*(ymax-ymin)/getYChartSize(); I'm on the right way or there is a simpler method? thanks Albert ps Excuse me for my english On 22 Set, 23:12, John Gunther [EMAIL PROTECTED] wrote: Client-sideGChartis an open source GWT library that supports bar, line, and pie charts, and yet adds nothing but its ~2,000 lines of Java to your application's list of dependencies: http://gchart.googlecode.com This 2.2 release adds: * A new LINE symbol type for faster/better solidly connected line charts * A new layout algorithm that centers title, footnotes, axis labels and legend within explicitly-sizable bands around the plot area. In particular, since these bands have default thicknesses of 0px when empty, Sparkline charts are now straightforward. For full details, including links to example charts illustrating the new features, see theGChart2.2 release notes: http://gchart.googlecode.com/svn/trunk/doc/com/googlecode/gchart/clie... Related posts/acknowledgments: 1) This post by Niall Haslam motivated the much-needed switch to a new chart decoration layout algorithm: http://groups.google.com/group/Google-Web-Toolkit/msg/5be9867eb81c9ca4 2) I used the technique explained in this post by Ian Bambury (http://examples.roughian.com) to workaround a perplexing IE7-only screen-not-repainting problem that the revisions of this release inadvertently exposed: http://groups.google.com/group/Google-Web-Toolkit/msg/31b2d8e0eace6f3c 3) The improved line chart capabilities were motivated by the far-too- slowly-updating solidly connected line chart code that Malcolm Gorman sent me. A new live demo chart, deliberately (HTML-element) sized similarly to Malcolm's chart, illustrates various ways (smaller charts, lower resolution connecting lines) you can use the new LINE symbol type to workaround the significant performance limitations that still remain for this kind of non-rectangle-friendly chart. Your ideas for improving Client-sideGChartand help in solving its implementation problems were essential to this 2.2 release. Thank-you. John C. Guntherhttp://gchart.googlecode.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.
Re: Getting continued feedback on the state of a RPC call
I think its an issue of threading on server side. This is how it works for me !!! By clicking on button Get Service message. Let me know if it works for you. +Bakul Kumar+ //Client side code : public class POC implements EntryPoint { Label lblMessage; Timer timer = new Timer() { public void run() { StockServiceAsync service = new StockServiceRPC() .getStockServiceAsync(); service.getMessage(new AsyncCallbackString(){ public void onSuccess(String result) { lblMessage.setText(Comp Message : + result); } public void onFailure(Throwable caught) { Window.alert(Call Failed on Server); } }); }; }; public void onModuleLoad() { Image img = new Image( http://code.google.com/webtoolkit/logo-185x175.png;); Button button = new Button(Click me); button.addStyleName(pc-template-btn); img.getElement().setId(pc-template-img); VerticalPanel vPanel = new VerticalPanel(); vPanel.setWidth(100%); vPanel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER); vPanel.add(img); vPanel.add(button); Button serviceButton = new Button(Get Service Message); vPanel.add(serviceButton); serviceButton.addClickListener(new ClickListener() { public void onClick(Widget sender) { timer.scheduleRepeating(1000); StockServiceAsync service = new StockServiceRPC() .getStockServiceAsync(); //This one do the job of setting the entry point for RPC call service.longComputation(new AsyncCallbackString() { public void onSuccess(String result) { timer.cancel(); Window.alert(Long Comp Message : + result); } public void onFailure(Throwable caught) { timer.cancel(); Window.alert(Call Failed on Server); } }); } }); lblMessage = new Label(Message); vPanel.add(lblMessage); // Add image and button to the RootPanel RootPanel.get().add(vPanel); // Create the dialog box final DialogBox dialogBox = new DialogBox(); dialogBox.setText(Welcome to GWT!); dialogBox.setAnimationEnabled(true); Button closeButton = new Button(close); VerticalPanel dialogVPanel = new VerticalPanel(); dialogVPanel.setWidth(100%); dialogVPanel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER); dialogVPanel.add(closeButton); closeButton.addClickListener(new ClickListener() { public void onClick(Widget sender) { dialogBox.hide(); } }); // Set the contents of the Widget dialogBox.setWidget(dialogVPanel); button.addClickListener(new ClickListener() { public void onClick(Widget sender) { dialogBox.center(); dialogBox.show(); } }); } } Server side code public class StockServiceImpl extends RemoteServiceServlet implements StockService { private static final long serialVersionUID = 1L; String message; public StockPrice getPrices(String[] symbols) { return new StockPrice(LEH, 0.0); } public String longComputation(){ for(long i = 0; i 10; i++){ message = Iteration # + i; try { Thread.sleep(2000); } catch (InterruptedException e) { e.printStackTrace(); } } return BK Rocks !!!, Calculation Completes; } public String getMessage(){ final StringBuffer myMessage = new
Re: GWT Google Maps InfoWindow Resizing
Thanks Eric. I found the issue (92) and I will try using the JSNI workaround first, then try applying the patch. -Pavel On Wed, Sep 24, 2008 at 5:01 AM, Eric Ayers [EMAIL PROTECTED] wrote: I have a patch on the issue tracker that adds 'GInfoWindow.reset()', but has problems. I found out from the maps team that reset() has a documentation bug, so what is needed is to take the patch and make sure that the first 3 arguments are always filled in (no null parameters). On Tue, Sep 23, 2008 at 11:37 PM, Pavel Byles [EMAIL PROTECTED]wrote: bump again? I would really appreciate some help here. On Wed, Sep 17, 2008 at 2:51 PM, Pavel Byles [EMAIL PROTECTED]wrote: bump. anyone else? On Tue, Sep 16, 2008 at 10:09 PM, Pavel Byles [EMAIL PROTECTED]wrote: Yes... reset is what I was referring to On Tue, Sep 16, 2008 at 4:43 PM, Eric Ayers [EMAIL PROTECTED] wrote: I didn't see a resize() function other than reset() On Tue, Sep 16, 2008 at 4:25 PM, Pavel Byles [EMAIL PROTECTED]wrote: I know the JS api has a resize function.. but GWT doesn't. Also I've seen others do it but have no idea how it's done. -Pavel On Tue, Sep 16, 2008 at 3:11 PM, Eric Ayers [EMAIL PROTECTED]wrote: I just added a patch for the GInfoWindow.reset() method in the issue tracker, but I was unable to get it to work reliably. I have a question into the Maps folks. -Eric. On Tue, Sep 16, 2008 at 1:39 PM, Pavel Byles [EMAIL PROTECTED]wrote: Does anyone know how to make the InfoWindow resize once the content has been loaded within it? -Pavel -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT compilers for solaris
Ok so i ran a search and i am sorry to say that no GTW Compiler exist for Solaris but there is a list that shows where it can work if you would like that. Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Mon, Sep 22, 2008 at 11:33 PM, Aryan [EMAIL PROTECTED] wrote: Does any GWT compiler exist for Solaris --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Memory Leak in IE 7 using GWT
Did you get an error code? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Tue, Sep 23, 2008 at 1:03 PM, Chuck [EMAIL PROTECTED] wrote: We have an app that uses GWT with large HTML content (60-70 K) that produces large memory leaks (2-3 M) in IE 7. It does not exhibit the same behavior in Firefox (memory goes up with multiple document loads, but goes back down after a few seconds of inactivity). We have looked at the app with the JS memory leak detector which is reporting many memory leaks. This tool reports similar memory leaks for the kitchen sink example. Are these real or is there something about the GWT code that JS doesn't understand? We know that we are leaking memory that requires browser shutdown to reclaim, but the bulk of the leaks reported by JS seem to be gui components that don't result in significant memory usage. Has anyone else experienced this? How did you solve the problem? Thanks in advance, Chuck --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT TestCase Erreur
I see many flaws in this.. 1. com.google should be google.com at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:132) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at All that can not be one error message basically i think you need to reverse all of this because it looks backwards! Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Tue, Sep 23, 2008 at 4:49 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hello, i have create a GwtTestCase class. package com.zoltar.rol.gwt.client.ui; import com.google.gwt.junit.client.GWTTestCase; public class ROLEditorTest extends GWTTestCase { @Override public String getModuleName() { // TODO Auto-generated method stub return com.zoltar.rol.gwt.Start; } public void testSimple() { assertTrue(true); } } When I try to launch it, I have this error message : com.google.gwt.junit.JUnitFatalLaunchException: The test class 'com.zoltar.rol.gwt.client.ui.Test' was not found in module 'com.zoltar.rol.gwt.StartTest'; no compilation unit for that type was seen at com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java: 193) at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:628) at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:150) at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java: 219) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:132) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java: 130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java: 38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java: 460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java: 673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java: 386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java: 196) I check my .classpath file and I think that there are all the jars I need. ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=test/ classpathentry kind=src path=server/ classpathentry kind=src path=client/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.5.0_11/ classpathentry kind=con path=org.eclipse.jst.server.core.container/ org.eclipse.jst.server.generic.runtimeTarget/JOnAS v4/ classpathentry kind=con path=org.eclipse.jst.j2ee.internal.web.container/ classpathentry kind=con path=org.eclipse.jst.j2ee.internal.module.container/ classpathentry kind=var path=GWT_HOME/gwt-user.jar/ classpathentry kind=lib path=lib/gwt-datepicker-r29.jar/ classpathentry kind=lib path=D:/junit/junit.jar/ classpathentry kind=var path=GWT_HOME/gwt-dev-windows.jar/ classpathentry kind=output path=build/classes/ /classpath --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: problem_with_download_of_GWT
Did you get an error message? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Mon, Sep 22, 2008 at 6:00 AM, Nathan Jeffery [EMAIL PROTECTED]wrote: Hi there, i am having difficulty in downloading the app. i have tried quite a few times and have even tried using different browsers, but the download always seems to stop and about 4Mb... any suggestions? thanks. 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT compiler for HPUX
Well when i went to our info bas it showed nothing on this subject so my guess world be it does not however.you can always configure certain setting to make the two compatible so then it may work how you would go about doing this right now is unknown! Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Mon, Sep 22, 2008 at 11:39 PM, Aryan [EMAIL PROTECTED] wrote: Does GWT compile exist for HPUX? I rquire GWT compile for HPUX for supporting runtime compilation when my GWT application is deployed in HPUX machine --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWTCanvas problems
First i need to know if you go an error message? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Mon, Sep 22, 2008 at 12:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hello, I'm a new to gwt. I'm having a problem with the gwtCanvas widget. It seems that arcs are showing up in my google devopment shell, but not in my browser of choice(chrome, firefox, ie). I'm trying to find out if this is a known issue and if there is a solution that i'm overlooking. Any suggestions would be greatly appreciated! 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Opening and Loading a GWT Module from another module
Where would you test it? On 9/24/08, walden [EMAIL PROTECTED] wrote: Hosted Mode, right? I don't think that's a valid environment to test this kind of feature. Are you using -noserver? On Sep 23, 2:57 pm, Halabe [EMAIL PROTECTED] wrote: The image upload is successful since I can see the images in the server folder and when I refresh the page I can also see it on the client. IThe error I am getting is: Resource not found: images/imagePath/Image1.jpg could a file be missing from the public path or a servlet tag misconfigured in module The images folder is in the public folder of the Module that display the images. I upload images from another module and sometimes from the same module. On Sep 23, 8:56 pm, walden [EMAIL PROTECTED] wrote: You have a successful image upload, and then the server can't find it? Or is it some other kind of file not found? On Sep 23, 9:46 am, Halabe [EMAIL PROTECTED] wrote: Hi Walden, My purpose is to view an image that is uploaded in the same session without having to refresh the whole page. I was searching for a way to view the image but I could not view any image that is uploaded in the session that I am trying to view it in. I am getting the error file not found. If you have any idea how I can solve this issue, I will appreciate it. Thank you. On Sep 23, 4:15 pm, walden [EMAIL PROTECTED] wrote: GWT is not Java; it doesn't have dynamic class loading. Maybe someday. In the interim, is there a way to describe your goal without making technology assumptions like this? Maybe there is a way to get the behavior you want using GWT in its current form, but you'll need to say more. Also, the in a new Window is not usually the best way to design with GWT. Walden On Sep 23, 6:11 am, Halabe [EMAIL PROTECTED] wrote: Hi All, Does anyone know how can I open and reload a GWT module from another module in a new Window?? Thanks- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
THE IMPORTANCE OF ERROR MESSAGE
Hello All, I can not stress enough to you that when you make a post of something and you have a problem please provide us with an error message that you were giving at the time of the problemwith that we can run test or find a solution quicker and easier, this also helps us make documents of past error for the future. So form now on if you get an error message can you please include it in your post so we can better assist you! Thank You Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Need to draw straight lines fast in a GWT chart library
My library, Client-side GChart, doesn't render solidly connected, large-sized, line charts quickly enough for at least one user (probably because it draws them with a series of rectangular HTML elements). Anyone have any suggestions for drawing reasonably good-looking straight lines fast that works the same way on all GWT supported browsers? To be specific, on the last chart of my live demo (accessible from the home page below, scroll to the bottom of the demo): if you click the button that moves it into hi-res mode, on my machine it shows 4000ms in the elapsed time message. I'd like that to be at least 10 times faster. John C. Gunther http://gchart.googlecode.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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
You'll have to excuse Ian -- we suspect he may be British. http://dictionary.reference.com/search?q=pillock On Wed, Sep 24, 2008 at 1:29 PM, Xavier Mathews [EMAIL PROTECTED] wrote: What? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:28 PM, Ian Bambury [EMAIL PROTECTED] wrote: Who is this pillock? Ian http://examples.roughian.com 2008/9/23 Xavier Live Tech.S [EMAIL PROTECTED] Hello All, I can not stress enough to you that when you make a post of something and you have a problem please provide us with an error message that you were giving at the time of the problemwith that we can run test or find a solution quicker and easier, this also helps us make documents of past error for the future. So form now on if you get an error message can you please include it in your post so we can better assist you! Thank You Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
LOL no problem i just want Clients etc to understand why error messages are important. :) Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:35 PM, Isaac Truett [EMAIL PROTECTED] wrote: You'll have to excuse Ian -- we suspect he may be British. http://dictionary.reference.com/search?q=pillock On Wed, Sep 24, 2008 at 1:29 PM, Xavier Mathews [EMAIL PROTECTED] wrote: What? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:28 PM, Ian Bambury [EMAIL PROTECTED] wrote: Who is this pillock? Ian http://examples.roughian.com 2008/9/23 Xavier Live Tech.S [EMAIL PROTECTED] Hello All, I can not stress enough to you that when you make a post of something and you have a problem please provide us with an error message that you were giving at the time of the problemwith that we can run test or find a solution quicker and easier, this also helps us make documents of past error for the future. So form now on if you get an error message can you please include it in your post so we can better assist you! Thank You Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
The most recent major release of PHP
The most recent major release of PHP was version 5.2.6 on May 1, 2008. I just wanted to make sure that most of you were aware and using the most recent release of PHP. If you are that is good...but if you are not you may to update. It will benefit you in the end. Good Day Xavier --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
Isaac, maybe this is also a British thing, but to me, someone who doesn't know me apologising on my behalf for something I did deliberately appears patronising. Xavier. May I ask * Why you refer to the members of this group as 'clients' of (presumably) Google Group Client Based Tech Support? * What position do you hold in the Google Group in general and Google Tech Support in particular? * Why, if you are an employee of Google, do you use a Gmail email address and not a google.com or google.inc one? * What exactly you are Webmaster of? * And why you need to ask So as you use it the memory is slowly going away? in a thread entitled Memory Leak in IE 7 using GWT if you are offering Tech Support? (BTW, walden, just seen your reply, so I'm not actually repeating what you said as such, just not editing it out :-) * Since you have never answered a post (or posted to this group before, for that matter), what is the reason for this first post anyway? Ian http://examples.roughian.com 2008/9/24 Xavier Mathews [EMAIL PROTECTED] LOL no problem i just want Clients etc to understand why error messages are important. :) Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:35 PM, Isaac Truett [EMAIL PROTECTED]wrote: You'll have to excuse Ian -- we suspect he may be British. http://dictionary.reference.com/search?q=pillock On Wed, Sep 24, 2008 at 1:29 PM, Xavier Mathews [EMAIL PROTECTED] wrote: What? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:28 PM, Ian Bambury [EMAIL PROTECTED] wrote: Who is this pillock? Ian http://examples.roughian.com 2008/9/23 Xavier Live Tech.S [EMAIL PROTECTED] Hello All, I can not stress enough to you that when you make a post of something and you have a problem please provide us with an error message that you were giving at the time of the problemwith that we can run test or find a solution quicker and easier, this also helps us make documents of past error for the future. So form now on if you get an error message can you please include it in your post so we can better assist you! Thank You Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
Just for clarification. 'pillock' is pretty much the same thing as 'wazzock' - i.e. very much like 'numpty' but without the excuse of ignorance.. :-) Ian http://examples.roughian.com 2008/9/24 walden [EMAIL PROTECTED] then you are being a pillock, whatever that is. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: getBoundsZoomLevel using bounds is not working
0) We released an updated gwt-maps library yesterday. If you use it, your calls to new LatLng() would need to change to LatLng.newInstance(). 1) How is zoom not set correctly? What behavior to you expect and what do you see? You shouldn't expect the polygon to fit exactly inside the bounds, because the zoom levels are discrete and not dynamically sized. 2) I looked through the code for setCenter(LatLng, int) and it seems to delegate to the Maps API correctly. Out of curiousity, have you tried using a separate mapWidget.setZoomLevel(); call? On Sep 23, 9:29 am, neversaydie [EMAIL PROTECTED] wrote: Hello, I have a set of lat longs say 200. I construct a polygon out of these points. When i render this polygon the, zoom level is not set correctly set for some reasons. Can anybody help me why this is happeneing? Here is my code LatLng[] points = new LatLng[coordinates.size()]; LatLngBounds bounds = new LatLngBounds(); int index = 0; for ( Coordinate coordinate : coordinates ) { points[index] = new LatLng( coordinate.getLatitude(), coordinate.getLogitude() ); bounds = bounds.extend( points[index] ); index++; } Polygon polygon = new Polygon( points, color, 10, 0.0, color, 0.7 ); mapWidget.clearOverlays(); mapWidget.addOverlay( polygon ); mapWidget.setCenter( bounds.getCenter(),mapWidget.getBoundsZoomLevel( bounds )); --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
Ian, I sincerely apologize for offending you. It was not my intention at all. I assumed from Xavier's response that he was not familiar with the pejorative you used and I was attempting to provide the definition in a humorous context while alluding to the fact that it was a British slang term. I do not believe that your actions required a genuine apology and I was not attempting to provide such. For the record, I have no beef with the British. While none of my best friends are British (as far as I know), at least half of dozen of my favorite comedians are. - Isaac On Wed, Sep 24, 2008 at 2:16 PM, Ian Bambury [EMAIL PROTECTED] wrote: Isaac, maybe this is also a British thing, but to me, someone who doesn't know me apologising on my behalf for something I did deliberately appears patronising. Xavier. May I ask * Why you refer to the members of this group as 'clients' of (presumably) Google Group Client Based Tech Support? * What position do you hold in the Google Group in general and Google Tech Support in particular? * Why, if you are an employee of Google, do you use a Gmail email address and not a google.com or google.inc one? * What exactly you are Webmaster of? * And why you need to ask So as you use it the memory is slowly going away? in a thread entitled Memory Leak in IE 7 using GWT if you are offering Tech Support? (BTW, walden, just seen your reply, so I'm not actually repeating what you said as such, just not editing it out :-) * Since you have never answered a post (or posted to this group before, for that matter), what is the reason for this first post anyway? Ian http://examples.roughian.com 2008/9/24 Xavier Mathews [EMAIL PROTECTED] LOL no problem i just want Clients etc to understand why error messages are important. :) Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:35 PM, Isaac Truett [EMAIL PROTECTED] wrote: You'll have to excuse Ian -- we suspect he may be British. http://dictionary.reference.com/search?q=pillock On Wed, Sep 24, 2008 at 1:29 PM, Xavier Mathews [EMAIL PROTECTED] wrote: What? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:28 PM, Ian Bambury [EMAIL PROTECTED] wrote: Who is this pillock? Ian http://examples.roughian.com 2008/9/23 Xavier Live Tech.S [EMAIL PROTECTED] Hello All, I can not stress enough to you that when you make a post of something and you have a problem please provide us with an error message that you were giving at the time of the problemwith that we can run test or find a solution quicker and easier, this also helps us make documents of past error for the future. So form now on if you get an error message can you please include it in your post so we can better assist you! Thank You Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
Hi Isaac, Thanks for that. Also for the record, I wasn't offended, just pointing out how it might appear. Ian http://examples.roughian.com 2008/9/24 Isaac Truett [EMAIL PROTECTED] Ian, I sincerely apologize for offending you. It was not my intention at all. I assumed from Xavier's response that he was not familiar with the pejorative you used and I was attempting to provide the definition in a humorous context while alluding to the fact that it was a British slang term. I do not believe that your actions required a genuine apology and I was not attempting to provide such. For the record, I have no beef with the British. While none of my best friends are British (as far as I know), at least half of dozen of my favorite comedians are. - Isaac --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
WOW 1. Ok first i am a student at a high school (Hill Crest) and i am taking Classes Online (Computer Science). Right now one of our insturtor are employees of google..he has us doing some lame projects but at the same time i know why he has us doing them i think it is so that he can sort out those who have the qualifications to be future Tech Support Agents from those who are waisting his time! So there are about ten of us who have been selected for this advance class to work as google Tech Support Agents. This is not an offical title for us but we must do this for about 2years before we can really have this title! 2. Position: Well my class is a client base class which means that What ever the Client needs we have to be able to help them BASED on what they need. (I am new to all of this myself forgive me if this is complicated) So lets say that you are in a group with marketing then i have to be able to assist you with marketing. 3. Because i was approve to have this title and i am a student i guess and not an employee of google that is why i am using gmail. Plus my class is required to have a gmail account (Teacher says it the rules but other say that it is BS). 4. Web-master (I am new to this also) I work with C++ etc...Site BuilderWeb Pages etc... Hacker Base info (that is a class in itself i just started it is very complex and keeps me perplexed) LOL And i basicly do everything you can do on the web from web sites to search engines) PHP is the hardest thing for me i am really haveing a hard time understanding it! 5. That was a mistake one which i think my professor will see and i may lose some points but i am not worried because as of yesturday when i took on three new groups to do the Tech.S with i became top of my class (It is a total of like 57 of us) If we succeed with this we can move on and become paid Google Employeeswe get paid now but just in a weird way! I hope this cleared the air! But i still have over 200 e-mails that i have to get to. GOOD DAY XAVIER MATHEWS Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 1:22 PM, Ian Bambury [EMAIL PROTECTED] wrote: Just for clarification. 'pillock' is pretty much the same thing as 'wazzock' - i.e. very much like 'numpty' but without the excuse of ignorance.. :-) Ian http://examples.roughian.com 2008/9/24 walden [EMAIL PROTECTED] then you are being a pillock, whatever that is. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Menu Bar and Hot Key
WOW I am sorry that no one was able to get to your post! Well i just tried it and i dont think you can as of yet! Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 12:59 AM, nishant (bhai) [EMAIL PROTECTED]wrote: Hi, can i used hot key in menu bar(like combination of alt+f).Please guide me as soon as posssible.i have posted this query yesterday also,but i haven't received any mail regarding this query. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT-EXT in Mozila
Ok first i need to know what error message did you get? But i can tell you now that we will have to go through the process of tweaking your settings! Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 4:46 AM, ram sunder [EMAIL PROTECTED] wrote: Hi I Change Browser internet Explorer to Mozilla Firefox in My GWT - Ext Application. i used Form panel in GWT-Ext in Internet Explorer. Now i change Browser Setting to Mozilla. i have Problem in 1) Alignmnet in UI is changed.(Particulary in Dockpanel) 2 )i used Multiple Column Layout in Previous Browser Now it will not appear on Multiple column. i need how to rectify this problem. i need Quick Reply. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
Hi, Why do you spam with uppercase thread title? I think you skip some lessons at school... Andrej. On Sep 24, 8:41 pm, Xavier Mathews [EMAIL PROTECTED] wrote: WOW 1. Ok first i am a student at a high school (Hill Crest) and i am taking Classes Online (Computer Science). Right now one of our insturtor are employees of google..he has us doing some lame projects but at the same time i know why he has us doing them i think it is so that he can sort out those who have the qualifications to be future Tech Support Agents from those who are waisting his time! So there are about ten of us who have been selected for this advance class to work as google Tech Support Agents. This is not an offical title for us but we must do this for about 2years before we can really have this title! 2. Position: Well my class is a client base class which means that What ever the Client needs we have to be able to help them BASED on what they need. (I am new to all of this myself forgive me if this is complicated) So lets say that you are in a group with marketing then i have to be able to assist you with marketing. 3. Because i was approve to have this title and i am a student i guess and not an employee of google that is why i am using gmail. Plus my class is required to have a gmail account (Teacher says it the rules but other say that it is BS). 4. Web-master (I am new to this also) I work with C++ etc...Site BuilderWeb Pages etc... Hacker Base info (that is a class in itself i just started it is very complex and keeps me perplexed) LOL And i basicly do everything you can do on the web from web sites to search engines) PHP is the hardest thing for me i am really haveing a hard time understanding it! 5. That was a mistake one which i think my professor will see and i may lose some points but i am not worried because as of yesturday when i took on three new groups to do the Tech.S with i became top of my class (It is a total of like 57 of us) If we succeed with this we can move on and become paid Google Employeeswe get paid now but just in a weird way! I hope this cleared the air! But i still have over 200 e-mails that i have to get to. GOOD DAY XAVIER MATHEWS Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 1:22 PM, Ian Bambury [EMAIL PROTECTED] wrote: Just for clarification. 'pillock' is pretty much the same thing as 'wazzock' - i.e. very much like 'numpty' but without the excuse of ignorance.. :-) Ian http://examples.roughian.com 2008/9/24 walden [EMAIL PROTECTED] then you are being a pillock, whatever that is. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Memory Leak in IE 7 using GWT
We aren't getting any errors, just exponential memory growth. In IE, it never goes away, not even after navigating away from the pages, even to completely different sites. For IE, we have to close the browser and start a new one. In Firefox, we can hit the link several times and watch the memory usage go up, but only for a few seconds, then it comes right back down (kind of what we would expect). Thank you for your help ! On Sep 23, 3:43 pm, Xavier Mathews [EMAIL PROTECTED] wrote: Did you get an error code? Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Tue, Sep 23, 2008 at 1:03 PM, Chuck [EMAIL PROTECTED] wrote: We have an app that uses GWT with large HTML content (60-70 K) that produces large memory leaks (2-3 M) in IE 7. It does not exhibit the same behavior in Firefox (memory goes up with multiple document loads, but goes back down after a few seconds of inactivity). We have looked at the app with the JS memory leak detector which is reporting many memory leaks. This tool reports similar memory leaks for the kitchen sink example. Are these real or is there something about the GWT code that JS doesn't understand? We know that we are leaking memory that requires browser shutdown to reclaim, but the bulk of the leaks reported by JS seem to be gui components that don't result in significant memory usage. Has anyone else experienced this? How did you solve the problem? Thanks in advance, Chuck --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: THE IMPORTANCE OF ERROR MESSAGE
lol i did not notice it untill i post it i had my caps on from sending an e-mail i am so sorry! Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 3:04 PM, Andrej [EMAIL PROTECTED] wrote: Hi, Why do you spam with uppercase thread title? I think you skip some lessons at school... Andrej. On Sep 24, 8:41 pm, Xavier Mathews [EMAIL PROTECTED] wrote: WOW 1. Ok first i am a student at a high school (Hill Crest) and i am taking Classes Online (Computer Science). Right now one of our insturtor are employees of google..he has us doing some lame projects but at the same time i know why he has us doing them i think it is so that he can sort out those who have the qualifications to be future Tech Support Agents from those who are waisting his time! So there are about ten of us who have been selected for this advance class to work as google Tech Support Agents. This is not an offical title for us but we must do this for about 2years before we can really have this title! 2. Position: Well my class is a client base class which means that What ever the Client needs we have to be able to help them BASED on what they need. (I am new to all of this myself forgive me if this is complicated) So lets say that you are in a group with marketing then i have to be able to assist you with marketing. 3. Because i was approve to have this title and i am a student i guess and not an employee of google that is why i am using gmail. Plus my class is required to have a gmail account (Teacher says it the rules but other say that it is BS). 4. Web-master (I am new to this also) I work with C++ etc...Site BuilderWeb Pages etc... Hacker Base info (that is a class in itself i just started it is very complex and keeps me perplexed) LOL And i basicly do everything you can do on the web from web sites to search engines) PHP is the hardest thing for me i am really haveing a hard time understanding it! 5. That was a mistake one which i think my professor will see and i may lose some points but i am not worried because as of yesturday when i took on three new groups to do the Tech.S with i became top of my class (It is a total of like 57 of us) If we succeed with this we can move on and become paid Google Employeeswe get paid now but just in a weird way! I hope this cleared the air! But i still have over 200 e-mails that i have to get to. GOOD DAY XAVIER MATHEWS Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 1:22 PM, Ian Bambury [EMAIL PROTECTED] wrote: Just for clarification. 'pillock' is pretty much the same thing as 'wazzock' - i.e. very much like 'numpty' but without the excuse of ignorance.. :-) Ian http://examples.roughian.com 2008/9/24 walden [EMAIL PROTECTED] then you are being a pillock, whatever that is. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
ImageBundle loading and progress bar
For performance reasons, my application needs to have multiple ImageBundles. I want to load them on demand according to user interactions. Is there a way to observe the loading progression of an ImageBundle? Or to know when it is available to the client? 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: question about Constants and Messages
You should be able to view the source and code to see if google is doing it for you. On 9/24/08, Alex Rice [EMAIL PROTECTED] wrote: I have subclassed Constants and Messages and am finding the facility to very useful. I have started to put code like this in many of my classes: public void useMyConstants() { MyConstants myConstants = (MyConstants) GWT.create(MyConstants.class); Window.alert(myConstants.helloWorld()); } Would it make sense to wrap MyConstants and MyMessages in a Java singleton, or is GWT already optimizing this behind the scenes? I am just imagining *lots* of strings getting re-created every time the above type of code is called. Thanks in advance -- Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: question about Constants and Messages
You can create the singleton inside the interface. e.g: public class MyImages implemens AbstractImageStoreThingie { AbstractImagePrototype closeButton(); ... more AIPs. public static MyImages STORE = (MyImages)GWT.create(MyImages.class); } Then you can just go: MyImages.STORE.closeButton(); Looks a lot better than endless GWT.create() calls, regardless of whether GWT optimizes it or not. On Sep 24, 10:31 pm, Alex Rice [EMAIL PROTECTED] wrote: I have subclassed Constants and Messages and am finding the facility to very useful. I have started to put code like this in many of my classes: public void useMyConstants() { MyConstants myConstants = (MyConstants) GWT.create(MyConstants.class); Window.alert(myConstants.helloWorld()); } Would it make sense to wrap MyConstants and MyMessages in a Java singleton, or is GWT already optimizing this behind the scenes? I am just imagining *lots* of strings getting re-created every time the above type of code is called. 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Newbie - Trying to access Documentation
Hi, I am trying to use GWT for the first time and was looking for some documentation on Google's side. I can get to this page, http://code.google.com/webtoolkit/overview.html but all the documentation sites (listed below) return me a blank page. http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=GettingStarted Am I missing something? -Khader --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Newbie - Trying to access Documentation
can you get here? http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=google-web-toolkit-doc-1-5 On Wed, Sep 24, 2008 at 3:52 PM, Khader [EMAIL PROTECTED] wrote: Hi, I am trying to use GWT for the first time and was looking for some documentation on Google's side. I can get to this page, http://code.google.com/webtoolkit/overview.html but all the documentation sites (listed below) return me a blank page. http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=GettingStarted Am I missing something? -Khader --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Newbie - Trying to access Documentation
Nope. Can't access that one either. A bit of ..ahem.. googling, suggests that I could be facing Google Doc Reader issues. But most of those users fixed their problem by clearing their cache and other browser data. But that did not help me. Any suggestions? Thank you. On Sep 24, 5:55 pm, Jeremiah Elliott [EMAIL PROTECTED] wrote: can you get here?http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog... On Wed, Sep 24, 2008 at 3:52 PM, Khader [EMAIL PROTECTED] wrote: Hi, I am trying to use GWT for the first time and was looking for some documentation on Google's side. I can get to this page, http://code.google.com/webtoolkit/overview.htmlbut all the documentation sites (listed below) return me a blank page. http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog... Am I missing something? -Khader --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Drawing text in GWTCanvas
Just add the following line to your module.gwt.xml file: inherits name='com.google.gwt.widgetideas.GWTCanvas'/ You can specify your own stylesheet to further customize the look and feel of GWTCanvas. Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 5:56 AM, joseanquiles [EMAIL PROTECTED]wrote: Hi, how can I draw text in a GWTCanvas? I think the GWTCanvas widget is very valuable, but I don't know how to draw simple text on it. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Annoucement. PureMVC4GWT RC is available
Hi, I've been working on a project with PureMVC for Flex for some time and I really like it. When looking at the example I've noticed a small difference from the GWT implementation, that is the necessity of creating a Provider for executing the Commands. While I understand that it must be done because GWT does not let one use reflection, I think that a small change could remove the necessity of such Provider. If, at the Controller and MacroCommand classes, instead of receiving references to Class? extends ICommand , the parameter becomes an instance of ICommand, and when invoking the registerCommand or subCommand we pass a new Instance of the desired Command, it could be achieved. The only difference I see is that there would be always the same reference to the Commands, instead of creating a new instance each time. I don't know if that would be a problem. I have the modified code, and it runs fine with the login example, and I could send it to you (Luciano). By the way, are you brazilian? Thanks On Sat, Sep 20, 2008 at 5:44 PM, Luciano Broussal [EMAIL PROTECTED] wrote: Thomas, Thanks for your interesting point of view. Feel free to checkout the project and you can help me to get it better. Currently is a port of the java version of PureMVC but i didn't want to change it to not loose people who already know and use PureMVC with other languages. Regards. On 20 sep, 21:31, Thomas Broyer [EMAIL PROTECTED] wrote: Hi Luciano, On 19 sep, 19:27, Luciano Broussal [EMAIL PROTECTED] wrote: Here is the documentationhttp://puremvc.org/component/option,com_wrapper/Itemid,174/. It is available on the PureMVC Home page. Thanks (so it was the thing called best practices ;-) ) Maybe you don't like but i'm not sure you can do more simple than the 15 classes which compose PureMvc and help the developper to separate layers and the main design patterns it use : Proxy Facade. Medialor Commands View Controller Don't get me wrong, I didn't say I dislike PureMVC or its approach, quite the contrary actually! Two things though: - I'm not a fan of frameworks, I prefer libraries/toolkits and a set of patterns - given that the PureMVC framework preferred usage is through the patterns (Façade, Proxy, Mediator, Command), why not making it lighter with mostly those classes and a few helper classes? (e.g. Model Controller and View are masked behind Facade, just get rid of the singletons and Anyway, thank you for had a look to the project. Some thoughts: - PureMVC best practices, page 28, reads: Because of its readability, and the ease of which one may refactor to add or remove Notifications handled, the 'switch / case' construct is preferred over the 'if / else if' expression style inside the handleNotifications method. Given that you cannot do switch/case on strings in Java, I'd replace the Notification names with integer identifiers. An Enum could be used but that would mean making the classes generics: FacadeE extends Enum, etc. (to be implemented as ApplicationFacade extends FacadeApplicationConstants). - AFAIK, a Flex application must inherit mx.core.Application, so it can't inherit Facade at the same time; hence the dichotomy; but in GWT we implement EntryPoint, so the Facade could be the EntryPoint, with appropriate abstract methods to avoid the need for explicitly calling a startup method. This might lead to bad uses of the framework though, where the façade would have direct access to - I haven't yet read the best practices 'til the end but couldn't a Mediator be a Composite? - I'm concerned that there's no notion of relevant mediators at a given time (e.g. in a tabbed app, the components outside the active tab are irrelevant, so handling of notifications could just be mark as dirty and when the components become relevant again, they can re- build or update their UI subcomponents); or should it be handled on the visual component side and have the mediator handle notifications independently of this relevant/irrelevant state) The EntryPoint as Facade and Mediator as Composite would drastically reduce the sample's code... --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Newbie - Trying to access Documentation
In the mean time, am looking at other online tutorials. Does anyone have any recommendation or know of any good tutorials online? Thank you, Khader On Sep 24, 6:10 pm, Khader [EMAIL PROTECTED] wrote: Nope. Can't access that one either. A bit of ..ahem.. googling, suggests that I could be facing Google Doc Reader issues. But most of those users fixed their problem by clearing their cache and other browser data. But that did not help me. Any suggestions? Thank you. On Sep 24, 5:55 pm, Jeremiah Elliott [EMAIL PROTECTED] wrote: can you get here?http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog... On Wed, Sep 24, 2008 at 3:52 PM, Khader [EMAIL PROTECTED] wrote: Hi, I am trying to use GWT for the first time and was looking for some documentation on Google's side. I can get to this page, http://code.google.com/webtoolkit/overview.htmlbutall the documentation sites (listed below) return me a blank page. http://code.google.com/docreader/#p=google-web-toolkit-doc-1-4 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5 http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog... Am I missing something? -Khader --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: question about Constants and Messages
Yeah i like it better also! Xavier A. Mathews Student/Developer/Web-Master Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 5:14 PM, Alex Rice [EMAIL PROTECTED] wrote: Thanks, I like this technique. On Sep 24, 3:46 pm, Reinier Zwitserloot [EMAIL PROTECTED] wrote: You can create the singleton inside the interface. e.g: public class MyImages implemens AbstractImageStoreThingie { AbstractImagePrototype closeButton(); ... more AIPs. public static MyImages STORE = (MyImages)GWT.create(MyImages.class); } Then you can just go: MyImages.STORE.closeButton(); Looks a lot better than endless GWT.create() calls, regardless of whether GWT optimizes it or not. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: parameterized types?
If you google for java generics, the first few results give good links. There's a tutorial here: http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf HTH Paul seven.reeds wrote: Here is the java newbie again. Just when I was thinking I had the vaugest handle on things up pops parameterized types. The GWT 1.5 Serializable docs say that the @gwt.typeArgs is depreciated in favor of parameterized types. I'm not seeing a definative guide to using them though. In my case, in a 1.4 app I was using: package edu.uiuc.itg.client; import java.util.HashMap; import java.util.Map; public class QueryParameters { Map map = new HashMap(); public QueryParameters() { String search = getQueryString(); if ((search != null) (search.length() 0)) { String[] nameValues = search.substring(1).split(); for (int i = 0; i nameValues.length; i++) { String[] pair = nameValues[i].split(=); map.put(pair[0], pair[1]); } } } ... This is almost an exact copy of code found in these discussions for getting access to query parameters. I do not recall if the sample code used typeArgs but this worked as-is in 1.4. I am now trying to move this to 1.5 and am told be Eclipse that HashMap is a raw type. References to generic type HashMapK,V should be parameterized. Same thing for Map. I have seen one or two similar threads here but the magic seems to be happening off-screen. It seems to me that the examples in the other threds are still using typeArgs. I'm not seeing the difference. Do you have pointers to simple explanations of what I should be doing with parameterized types? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Info Windows
Hello All, So here is the thingi have been receiving and viewing allot of post where members etc. are having problems with the info windows...like memory leaks..and things that are just not running right! So i was wondering if there is anyone who is having a problem with there info window can you please post it here (I don't mind if you post it else where) stating your problem with your info window and the ERROR CODE that you receive when this problem happens.This i and other can help you! Good Day And 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: parameterized types?
Is there a fix? Xavier A. Mathews Student/Developer/Web-Master Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 5:35 PM, Xavier Live Tech.S [EMAIL PROTECTED]wrote: Yeah i had a problem with this java for a while! On Sep 24, 5:23 pm, Paul Robinson [EMAIL PROTECTED] wrote: If you google for java generics, the first few results give good links. There's a tutorial here: http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf HTH Paul seven.reeds wrote: Here is the java newbie again. Just when I was thinking I had the vaugest handle on things up pops parameterized types. The GWT 1.5 Serializable docs say that the @gwt.typeArgs is depreciated in favor of parameterized types. I'm not seeing a definative guide to using them though. In my case, in a 1.4 app I was using: package edu.uiuc.itg.client; import java.util.HashMap; import java.util.Map; public class QueryParameters { Map map = new HashMap(); public QueryParameters() { String search = getQueryString(); if ((search != null) (search.length() 0)) { String[] nameValues = search.substring(1).split(); for (int i = 0; i nameValues.length; i++) { String[] pair = nameValues[i].split(=); map.put(pair[0], pair[1]); } } } ... This is almost an exact copy of code found in these discussions for getting access to query parameters. I do not recall if the sample code used typeArgs but this worked as-is in 1.4. I am now trying to move this to 1.5 and am told be Eclipse that HashMap is a raw type. References to generic type HashMapK,V should be parameterized. Same thing for Map. I have seen one or two similar threads here but the magic seems to be happening off-screen. It seems to me that the examples in the other threds are still using typeArgs. I'm not seeing the difference. Do you have pointers to simple explanations of what I should be doing with parameterized types? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Running Windows-built GWTTestCase on Sparc/Solaris ??
I have some GWTTestCase's that run in both hosted and web mode on my Windows dev laptop. I'd like to also have them run on our build machine during builds, just like the plain JUnit tests do. However, the build machine is running Solaris 5.10 on SPARC. I realize this isn't one of the supported operating systems for hosted mode. But I was just wondering if there any way to substitute libraries or whatever so this will work in web mode? When I just did a quick dumb try on the build machine, the error was: Can't load library: .../libswt-win32-3235.so java.lang.UnsatisfiedLinkError: Can't load library: .../libswt- win32-3235.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650) at java.lang.Runtime.load0(Runtime.java:769) at java.lang.System.load(System.java:968) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) at org.eclipse.swt.internal.win32.OS.clinit(OS.java:18) at org.eclipse.swt.widgets.Display.clinit(Display.java:125) at com.google.gwt.dev.GWTShell.clinit(GWTShell.java:264) at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java: 194) at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:114) I couldn't find a library of that name in either the Windows or Linux distributions of GWT 1.4.2. Thanks a lot! 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How can I use oncontextmenu with 1.5.2?
Just nearest project,I use popup to implement ONCONTEXTMENU,and this gave me a bad experience.Right now,GWT 1.5.2 begins to support ONCONTEXTMENU,it is perfect,but how can I construct a context menu,I have got useful info from this http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/71a00b061b0b8d44/97d9dcc90db2da3b?hl=frlnk=gstq=alexander.luya#97d9dcc90db2da3b http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/71a00b061b0b8d44/97d9dcc90db2da3b?hl=frlnk=gstq=alexander.luya#97d9dcc90db2da3b but no one has posted a reply,can anybody give an example,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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How can get the absolute right of treeitem?
I want to use popuppanel to set a contextmenu for treeitem?the code is blow: /*** private void createContextMenu(TreeItem currentSelectedItem){ int x=currentSelectedItem.getAbsolutedLeft(); int y=currentSelectedItem.getAbsolutedTop(); PopupPanel contextmenu=new PopupPanel(true); Grid menus=Grid(1,1); menus.setText(0,0,currentSelectedItem.getText()); contextmenu.add(menus); contextmenu.setPopupPosition(x,y); contextmenu.show(); } The problem is PopupPanel will overried the TreeItem,because x is absolute left of treeitem,so I try to set x=int x=currentSelectedItem.getAbsolutedLeft()+currentSelectedItem.getOffsetWidth();,but just right,currentSelectedItem.getOffsetWidth() will not get the offsetWidth of treeitem but tree,that is the problem how can I get the absolute right of treeitem? Maybe popup panel is not best solution,I find 1.5.2 begins to support oncontectmenu,but I did not get any further info about how to use,maybe it is incomplete support,I do not know how to construct a contextmenu.any suggestion is appreciated? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
possible emulation bug: sinh
Using GWT 1.5.2 and the JRE emulation page says Math.sinh() is available. I use it and in hosted mode (on a mac) it works fine. Then I compile and test in Firefox 3 and get this error: Error: Math.sinh is not a function So, it seems it actually isn't emulated? I remember it working for me at some point before, but maybe not? What is stranger, is as I said, it works in hosted mode, and on a mac this uses Safari (as far as I know). However, if I open it up in Safari I get the same sinh error. I just wrote my own sinh() function based on exp() and everything works fine. So what's up with the emulated sinh() function? --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GXT vs GWT-EXT ?
I just gave up on gwt-ext and switched to gxt. I was tweaking gwt- ext's showcase example, the one with form-grid binding, and I want to add an update button to update the changes made in the form back into the grid. I followed the api doc and searched through their forum, but it just didn't work; to make it worse, there is no way for me to debug this, because in gwt-ext, almost everything is just a Java class wrapping a JavaScript object! It's probably the most painful thing for the Java programmers that they can't debug a program. As for actually using the APIs, gwt-ext and gxt are pretty much the same, both follow ExtJS's API, so it doesn't take much time to switch from one to the other. License: although gwt-ext is open source, you still need to pay for the gwt-plus package, which is necessary if your client communicates with the server through GWT RPC and costs $199, not much a difference from a gxt single developer license. On Sep 2, 8:06 am, MN [EMAIL PROTECTED] wrote: GXTand GWT-EXT looks very similar.gxtis in native gwt and gwt-ext is a js wrapper for extjs. but what is better? can you please write your experiences and some main differences with this 2 libraries? (more on the programming focus than on licence issues) --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Link over Image
Hi All, I'm developing an application where some links needs to be placed over an Image. The link should be in such a way that the user can move the link position wherever needed. I'm using GWT1.4.62, is any widget already developed for this purpose ??? Thank in Advance ! -ArunDhaJ --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT-EXT in Mozila
HI, My Setting are GWT - EXT - 2.0 Eclipse -3.2 Mozila -2.0 . i changed Browser Internet Explorer to Mozila in Eclipse[Browser Setting option] . have any Other change in Browser Setting? i need quick Reply. On Thu, Sep 25, 2008 at 1:10 AM, Xavier Mathews [EMAIL PROTECTED]wrote: Ok first i need to know what error message did you get? But i can tell you now that we will have to go through the process of tweaking your settings! Xavier A. Mathews Student/Developer/Web-Master Google Group Client Based Tech Support Hazel Crest Illinois [EMAIL PROTECTED] Fear of a name, only increases fear of the thing itself. On Wed, Sep 24, 2008 at 4:46 AM, ram sunder [EMAIL PROTECTED] wrote: Hi I Change Browser internet Explorer to Mozilla Firefox in My GWT - Ext Application. i used Form panel in GWT-Ext in Internet Explorer. Now i change Browser Setting to Mozilla. i have Problem in 1) Alignmnet in UI is changed.(Particulary in Dockpanel) 2 )i used Multiple Column Layout in Previous Browser Now it will not appear on Multiple column. i need how to rectify this problem. i need Quick Reply. --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to add web page into panel?
How can I add a panel that will display the contents of a webpage? Thanks, Jake --~--~-~--~~~---~--~~ 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT source code checkout error.
Hi, when i am trying to checkout source it is giving following error. svn checkout http://google-web-toolkit.googlecode.com/svn/trunk/ trunk svn: PROPFIND request failed on '/svn/trunk' svn: PROPFIND of '/svn/trunk': Could not resolve hostname `google-web- toolkit.googlecode.com': Temporary failure in name resolution (http:// google-web-toolkit.googlecode.com) What can be the problem. 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: wrapping existing element too restrictive maybe....
To reiterate: - RootPanel.detachOnWindowClose() must be called for all widgets that have no parents. - This is implicitly called by Widgets' wrap() methods and RootPanel.get(id). - All widgets for which this method is called will remain marked as 'attached' until RootPanel.detachNow() is called. - If a widget attached in this way has its element detached from the DOM, implicitly or explicitly, you *must* call RootPanel.detachNow(). - There is no way for GWT to know that you've done this, because the browser doesn't provide this notification. - If the assertion in RootPanel.detachWidgets() fails, that means that a widget was found in the detach list that is *not* attached to the DOM. This proves that the element was detached without its Widget being passed to RootPanel.detachNow(). This code cannot realistically know about your DOM structure, so if you do something like this: div id='outer' button id='inner'/ / html = HTML.wrap(Document.get().getElementById(outer)); button = Button.wrap(Document.get().getElementById(inner)); html.setInnerHTML(Look, I just nuked the button widget!); You still have to call detachNow() for the inner button widget. Despite the fact that the outer HTML widget appears to contain the Button widget, there's still no parent-child hierarchy at the widget level. Honestly, I would prefer to assert up front that this sort of implicit parent-child relationship among 'root' widgets not be created in the first place, but that's pretty tricky, and I don't believe it could be resilient to arbitrary DOM trickery anyway. Cheers, joel. On Tue, Sep 23, 2008 at 10:32 AM, Ed [EMAIL PROTECTED] wrote: Thanks again for your answer. Let me see if I understand you completely. If you are going to be removing existing RootPanels from the DOM implicitly (i.e. by removing one of their parent elements), you're going to have to call RootPanel.detachNow() on them. By removing you mean, physical removing it from the DOM without detaching it? Calling widget.onDetach() is enough for overcoming this orphan problems? Is so, why does the assertion not take that into account? I mean, in my case I switch the original content for some other HTML widget, like: stuff.clear(); stuff.add(otherWidget); In the clear() method it will remove the HTML widget that contains the RootPanels, such that it will properly detach all his children and as such the RootPanels. Shouldn't a RootPanel override the onDetach() method and then remove itself form the widgetsToDetach list? Isn't this what happens when calling RootPanel.detachNow(theRootPanel)? such that it can be automatically done in the onDetach() method in RootPanel. I think I am missing something :(.. Please some more details if possible, or a tinny example? I understand that a Widget should be attached to the Document body to be removed properly, but I don't understand the Assertion. Even do you signal in the Assertion that he isn't attached to the Body, you are calling onDetach() anyway, so I would say it's not important anymore, he is properly detached anyway (just like what happens in RootPanel.detachNow() ), so what's the point of this Assertion? :( -- Ed On Sep 23, 3:33 pm, Joel Webber [EMAIL PROTECTED] wrote: If you are going to be removing existing RootPanels from the DOM implicitly (i.e. by removing one of their parent elements), you're going to have to call RootPanel.detachNow() on them. The reason this is necessary is that otherwise they will be orphaned, meaning that they're out of the DOM, but neither they nor their child widgets are aware of having been removed. This can break a number of things, including potentially creating leaks. That's also why the assertion in detachWidgets() is necessary -- I would prefer to be able to throw an exception when the problem is created (i.e. when the parent element is removed from the DOM), but there's no way to receive notification of this. On Mon, Sep 22, 2008 at 4:57 PM, Ed [EMAIL PROTECTED] wrote: He Joel, Just a tinny problem I am still stuck with: In your example above, the replaced content, contains a few more RootPanels like this: ... div id='stuff' ... stuff ... div id='rootPanela' div id='rootPanelb' /div ... What I do: replacing the content of id=stuff with some HTML widget when the user presses a button, like you describe above. When the user clicks another button, I put back the original content. However, the original content contains some html snippets that are loaded with a RootPanel (for example to add some Form). If the user clicks a button such that the original content is replaced, such that the RootPanels are put aside and not attached to the body, the new code (I think it's even your code ;)) in RootPanel: detachWidgets will throw an Assert exception when the hosted browser is refreshed at that moment, as these
[gwt-contrib] Re: Code Review: Gadget RPC demo (it works!)
LGTM just a couple of nits below. On Fri, Sep 5, 2008 at 1:52 PM, Eric Ayers [EMAIL PROTECTED] wrote: A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/server/GadgetRPCServlet.java Nit: Add @SuppressWarning(serial). Did you intend to have the servletStartTime field be static? Would instance final be better? A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/client/ServerInfo.java Nits: accessor methods? Add @SuppressWarning(serial) A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/public/GadgetRPC.html Nit: do you need this file? -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ -- Miguel --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Code Review: Gadget RPC demo (it works!)
Committed as r853 and r854. Thanks for the review. On Wed, Sep 24, 2008 at 9:59 AM, Miguel Méndez [EMAIL PROTECTED] wrote: LGTM just a couple of nits below. On Fri, Sep 5, 2008 at 1:52 PM, Eric Ayers [EMAIL PROTECTED] wrote: A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/server/GadgetRPCServlet.java Nit: Add @SuppressWarning(serial). Did you intend to have the servletStartTime field be static? Would instance final be better? I wanted a value that wouldn't change between RPCs, but would change if the server was restarted (code might be updated). I think that both would accomplish that, but the instance final might change without a reload, which could be confusing. A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/client/ServerInfo.java Nits: accessor methods? Add @SuppressWarning(serial) added. A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/public/GadgetRPC.html Nit: do you need this file? It is used by the GadgetsRPC-shell startup file so that it doesn't just come up with an error or a blank screen. Except for that the reference might have been missing from GadgetsRPC-shell, which I just added. -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Code Review: Gadget RPC demo (it works!)
It all sounds good to me. On Wed, Sep 24, 2008 at 11:34 AM, Eric Ayers [EMAIL PROTECTED] wrote: Committed as r853 and r854. Thanks for the review. On Wed, Sep 24, 2008 at 9:59 AM, Miguel Méndez [EMAIL PROTECTED] wrote: LGTM just a couple of nits below. On Fri, Sep 5, 2008 at 1:52 PM, Eric Ayers [EMAIL PROTECTED] wrote: A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/server/GadgetRPCServlet.java Nit: Add @SuppressWarning(serial). Did you intend to have the servletStartTime field be static? Would instance final be better? I wanted a value that wouldn't change between RPCs, but would change if the server was restarted (code might be updated). I think that both would accomplish that, but the instance final might change without a reload, which could be confusing. A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/client/ServerInfo.java Nits: accessor methods? Add @SuppressWarning(serial) added. A samples/gadgetrpc/src/com/google/gwt/gadgets/sample/gadgetrpc/public/GadgetRPC.html Nit: do you need this file? It is used by the GadgetsRPC-shell startup file so that it doesn't just come up with an error or a blank screen. Except for that the reference might have been missing from GadgetsRPC-shell, which I just added. -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ -- Miguel --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : Story of Your Compile - initial AST work and demo reports
Changes from previous patch: - SourceInfos are now created only via JProgram and JsProgram. Descendant collection is now a field in the program types. - Optimized getRoots() call in SourceInfo - Addressed nits SourceInfo is now an abstract class with a protected constructor. Each AST package has its own SourceInfo subtype with package-protected constructors to ensure that only the relevant program type constructs SourceInfo objects. Also, as we expand the type of data that's collected, I expect to add additional, per-AST, information to the subtypes. -- Bob Vawter Google Web Toolkit Team --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~--- soyc_r3676.patch.gz Description: GNU Zip compressed data
[gwt-contrib] Re: RR : Story of Your Compile - initial AST work and demo reports
On Wed, Sep 24, 2008 at 11:53 AM, BobV [EMAIL PROTECTED] wrote: SourceInfo is now an abstract class with a protected constructor. Each AST package has its own SourceInfo subtype with package-protected constructors to ensure that only the relevant program type constructs SourceInfo objects. Also, as we expand the type of data that's collected, I expect to add additional, per-AST, information to the subtypes. That sounds nice! --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] a code review - issues2905_2909_r3674.patch
John, I'd like you to have a look at the following changes to Safari's history implementation. They're meant to work around the bizarre issues caused by setting Safari's location.hash to an empty string. Please pay particular attention to the ugly URL rewriting code I added to HistoryImplSafari. Patch by: jgw Review by: jat Issues: 2905, 2909 Affected files: M user/test/com/google/gwt/user/client/ui/HistoryTest.java M user/src/com/google/gwt/user/client/impl/HistoryImplSafari.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~--- issues2905_2909_r3674.patch Description: Binary data
[gwt-contrib] Re: a code review - issues2905_2909_r3674.patch
On Wed, Sep 24, 2008 at 1:51 PM, Joel Webber [EMAIL PROTECTED] wrote: I'd like you to have a look at the following changes to Safari's history implementation. They're meant to work around the bizarre issues caused by setting Safari's location.hash to an empty string. Please pay particular attention to the ugly URL rewriting code I added to HistoryImplSafari. I didn't bring my Macbook home with me so I can't test it -- I assume you have on both Safari 2 and 3. I assume no similar change was needed for Safari 2 since it already does something similar, right? You should update the comment in detectOldSafari since it is no longer accurate. Otherwise, LGTM. -- John A. Tamplin Software Engineer (GWT), Google --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR: 1.6 Event handler proposal
Does this proposal mean that if I want to receive the equivilant of todays Event.MOUSEEVENTS, that I have to call: widget.addMouseDownHandler( new MouseDownHandler() { ... } ); widget.addMouseUpHandler( new MouseUpHandler() { ... } ); widget.addMouseMoveHandler( new MouseMoveHandler() { ... } ); widget.addMouseOverHandler( new MouseOverHandler() { ... } ); widget.addMouseOutHandler( new MouseOutHandler() { ... } ); If that's the case, then it seems that users of this new API will have a larger burden... Perhaps there should be a general MouseHandler that could be used like: public class MouseHandler implements FiresMouseDownEvents, FiresMouseUpEvents, ... { } widget.addMouseHandler( new MouseHandler() { ... } ); This MouseHandler would, internally, add the 6 different types of mouse event handlers. I'd expect a similar sort of construct for keyboard events, etc... If, by some chance, I'm totally off on my understanding, or if what I'm saying is just completely obvious to everyone else, then please accept my apologies ahead of time... And, thanks to all of you working so hard to make the lives of folks like me so much better! (I would never attempt to write the kind of application I'm working on in pure JavaScript. That'd suck!) jay This comment really isn't a big deal. It would just suck (in my opinion) to have a whole bunch of people writing the same little classes all the time... On Sep 22, 1:02 pm, Emily Crutcher [EMAIL PROTECTED] wrote: A more complete implementation of the event handlers has been added to the gwt-incubator gen2.event packagehttp://code.google.com/p/google-web-toolkit-incubator/source/browse/# The next step is to declare the design final, take the code from prototype to production and submit it to GWT trunk for inclusion in GWT 1.6, so this may be the last time any of you get a chance to holler if you don't like the system. The up-to-date design doc is here.http://code.google.com/p/google-web-toolkit-incubator/wiki/ProposedEv... For those of you who have been following the discussion already, the main changes are summarized below. Note, the design doc contains the actual design, this list is only for the convenience of those who have been closely following this thread: 1. Added a default Widget.onBrowserEvent 2. subscribeTo mechanism replaced by addAndSinkHandler mechanism 3. For each event type(ClickEvent used as an example) - ClickEvent.Source -- HasClickEvents - ClickEvent.fireEvent(Handler) -- ClickEvent.KEY.fire(Event,Handler) -- There are only 10 types of people in the world: Those who understand binary, and those who don't --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: GWT 1.5 Now Available
Where can I find normal GWT version for linux now? The link is broken. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit commit] r3679 - in changes/jat/oophm-branch/plugins: common xpcom
Author: [EMAIL PROTECTED] Date: Wed Sep 24 12:42:55 2008 New Revision: 3679 Modified: changes/jat/oophm-branch/plugins/common/ByteOrder.h changes/jat/oophm-branch/plugins/common/HostChannel.h changes/jat/oophm-branch/plugins/common/Socket.cpp changes/jat/oophm-branch/plugins/common/Socket.h changes/jat/oophm-branch/plugins/xpcom/FFSessionHandler.h changes/jat/oophm-branch/plugins/xpcom/JavaObject.cpp Log: Checkpoint XPCOM back working except for toString. Modified: changes/jat/oophm-branch/plugins/common/ByteOrder.h == --- changes/jat/oophm-branch/plugins/common/ByteOrder.h (original) +++ changes/jat/oophm-branch/plugins/common/ByteOrder.h Wed Sep 24 12:42:55 2008 @@ -17,6 +17,7 @@ */ #include Platform.h +#include cstring class ByteOrder { private: Modified: changes/jat/oophm-branch/plugins/common/HostChannel.h == --- changes/jat/oophm-branch/plugins/common/HostChannel.h (original) +++ changes/jat/oophm-branch/plugins/common/HostChannel.h Wed Sep 24 12:42:55 2008 @@ -46,7 +46,7 @@ bool connectToHost(const char* host, unsigned port); bool disconnectFromHost(); - + bool isConnected() const { return sock.isConnected(); } @@ -90,6 +90,9 @@ bool sendDouble(const double data); bool readByte(char data) { +if (!isConnected()) { + return false; +} int c = sock.readByte(); if (c 0) { return false; @@ -99,6 +102,9 @@ } bool sendByte(const char data) { +if (!isConnected()) { + return false; +} return sock.writeByte(data); } Modified: changes/jat/oophm-branch/plugins/common/Socket.cpp == --- changes/jat/oophm-branch/plugins/common/Socket.cpp (original) +++ changes/jat/oophm-branch/plugins/common/Socket.cpp Wed Sep 24 12:42:55 2008 @@ -95,14 +95,20 @@ connected = true; readBufPtr = readValid = readBuf; writeBufPtr = writeBuf; +#ifdef _WINDOWS + Debug::log(Debug::Spam)connected Debug::flush; +#else Debug::log(Debug::Spam)connected, fd= fd Debug::flush; +#endif return true; } -bool Socket::disconnect() { +bool Socket::disconnect(bool doFlush) { if (connected) { Debug::log(Debug::Debugging) Disconnecting socket Debug::flush; -flush(); +if (doFlush) { + flush(); +} connected = false; #ifdef _WINDOWS closesocket(sock); @@ -125,6 +131,11 @@ for (char* ptr = writeBuf; len 0; ) { ssize_t n = send(sock, ptr, len, 0); if (n = 0) { + if (errno == EPIPE) { +Debug::log(Debug::Warning) Other end of socket disconnected Debug::flush; +disconnect(false); +return false; + } Debug::log(Debug::Error) Error errno writing len bytes to socket Debug::flush; return false; @@ -138,10 +149,17 @@ bool Socket::fillReadBuf() { readBufPtr = readBuf; + errno = 0; ssize_t n = recv(sock, readBuf, BUF_SIZE, 0); if (n = 0) { - Debug::log(Debug::Error) Error errno reading BUF_SIZE bytes from socket - Debug::flush; +// EOF results in no error +if (!errno || errno == EPIPE) { + Debug::log(Debug::Warning) Other end of socket disconnected Debug::flush; + disconnect(false); + return false; +} +Debug::log(Debug::Error) Error errno reading BUF_SIZE bytes from socket + Debug::flush; return false; } ++numReads; Modified: changes/jat/oophm-branch/plugins/common/Socket.h == --- changes/jat/oophm-branch/plugins/common/Socket.h(original) +++ changes/jat/oophm-branch/plugins/common/Socket.hWed Sep 24 12:42:55 2008 @@ -118,9 +118,10 @@ /** * Disconnect this socket. * + * @param doFlush true (the default value) if the socket should be flushed. * @return true if disconnect succeeds */ - bool disconnect(); + bool disconnect(bool doFlush = true); /** * Read a single byte from the socket. Modified: changes/jat/oophm-branch/plugins/xpcom/FFSessionHandler.h == --- changes/jat/oophm-branch/plugins/xpcom/FFSessionHandler.h (original) +++ changes/jat/oophm-branch/plugins/xpcom/FFSessionHandler.h Wed Sep 24 12:42:55 2008 @@ -25,6 +25,7 @@ #include jsapi.h class HostChannel; +class Value; class FFSessionHandler : public SessionData, Modified: changes/jat/oophm-branch/plugins/xpcom/JavaObject.cpp == --- changes/jat/oophm-branch/plugins/xpcom/JavaObject.cpp (original) +++ changes/jat/oophm-branch/plugins/xpcom/JavaObject.cpp
[gwt-contrib] Re: Safari Empty History Tokens
Thanks, Wayne. I posted a patch earlier today that seems to fix the problem. If you're in a position to try it out, that would be greatly appreciated. joel. On Tue, Sep 23, 2008 at 7:09 PM, WRL [EMAIL PROTECTED] wrote: I just updated 2909 with an example. Thanks, Wayne --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---