RPC not reaching the server
Hi, I am facing issue with the RPC call not completing. Few times the RPC call doesn't reach the server and neither is onFailure called. At these times 100% CPU usage is observed. I am facing this issue in IE and it has been occuring once in a while. Has anyone faced such an issue or know anything about it it, please share your views. 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Anchor's visited pseudo-classes is not working on IE8, IE9.
I have GWT's anchor which contains click event to invoke some actions programatically. I have CSS psudo-classes something like below: a:link{ color: red }/* unvisited links */ a:visited { color: blue } /* visited links */ a:hover { color: yellow } /* user hovers */ a:active { color: lime } /* active links*/ Problem is when a link is clicked, it does not go into a:active state, instead the CSS definition stays at a:hover. I am guessing that with IE8 the browser does not recognize GWT's click event as a:active or a:visited. What exactly happens is when a link is clicked, the dialog which a link resides hides itself and invokes another dialog. When I open the original dialog, a link is at a:hover state. What is a solution for this? 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory Chained Persistence
I have a Patronyme Entity with a chained Entity ( Patronyme root; ) the server side is working ( I've got a PatronymeDTO with RPC working ) I can get a PatronymeProxy with findPatronyme on the client side but the getRoot raises an exception == : (TypeError): f is undefined stack: Uqb([object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1646 Xqb([object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1741 vP([object Object],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1197 DQ([object Object],{\O\:[{\O\:\UPDATE\,\P\:{\rootId\:\66\,\name\:\duchatton\,\id\:\151\,\version\:0},\S\:\IjE1MSI=\,\T\:\fr.metronome.web.client.proxies.PatronymeProxy\,\V\:\MA==\}],\I\:[{\S\:\IjE1MSI=\,\T\:\fr.metronome.web.client.proxies.PatronymeProxy\}],\S\:[true]})@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1716 kO([object Object],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1735 uz([object Object],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1546 iA([object XMLHttpRequest])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1735 ([object Event])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1286 Vp((function () {b.Ab(c);}),[object XMLHttpRequest],[object Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1370 ([object Event])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1369 fileName: http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html lineNumber: 1646 == I must be missing something it seems that there is no data for root I tried to implement it differently ( from expends example ) in the entity public Patronyme getRoot () { return Patronyme.FindPatronyme( root_id ); } it raises a different exception What's wrong ? Please ? Patrick -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Import GWT prj
Hello everyone, I'm trying to create a project of Utils for other GWT Project. In this Utils I can put some code so that does not duplicate it. There is a way to do this if considering that in Util Project could be GWT ui code (layoutpanel, button, etc..)? Thx -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Import GWT prj
I think you just have to build a jar of your source code with and resources ( you may as well need a gwt.xml ) Patrick - Original Message - From: Marco Gadaleta To: Google Web Toolkit Sent: Monday, March 28, 2011 11:10 AM Subject: Import GWT prj Hello everyone, I'm trying to create a project of Utils for other GWT Project. In this Utils I can put some code so that does not duplicate it. There is a way to do this if considering that in Util Project could be GWT ui code (layoutpanel, button, etc..)? Thx -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Import GWT prj
I think you just have to build a jar with your source code and resources ( you may as well need a gwt.xml ) Patrick - Original Message - From: Marco Gadaleta To: Google Web Toolkit Sent: Monday, March 28, 2011 11:10 AM Subject: Import GWT prj Hello everyone, I'm trying to create a project of Utils for other GWT Project. In this Utils I can put some code so that does not duplicate it. There is a way to do this if considering that in Util Project could be GWT ui code (layoutpanel, button, etc..)? Thx -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011 -- Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ProxyAutoBean server-side cache
Opened an issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6193 Will send a patch of the fixed WeakMapping soon, after I test it a bit. A unit-test using System.gc() proved the memory is reclaimed, but I'd have to test it a bit to make sure it doesn't cause any issue! -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
DialogBox Visibility
How can you be sure that a DialogBox and its included widgets will be visible over Any Widget ? When I drag my DialogBox above a SWF widget , only the handle of the DialogBox is visible. the same with an OpenLayer Map is there a way to control the level or priority of widgets ? Thank Patrick -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ProxyAutoBean server-side cache
Thanks for that reply If the problem is caused by a circular reference , does it mean that the problem disapear whe the reference is a reference to another Entity let's say , I could have Root entity an a Patronyme Entity and Patronyme chained to Root to solve the problem ( or the fix should available soon ? ) Patrick - Original Message - From: Thomas Broyer To: google-web-toolkit@googlegroups.com Cc: b...@google.com ; rj...@google.com ; Julian Scheid Sent: Monday, March 28, 2011 11:52 AM Subject: Re: ProxyAutoBean server-side cache Opened an issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=6193 Will send a patch of the fixed WeakMapping soon, after I test it a bit. A unit-test using System.gc() proved the memory is reclaimed, but I'd have to test it a bit to make sure it doesn't cause any issue! -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- Aucun virus trouvé dans ce message. Analyse effectuée par AVG - www.avg.fr Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
DialogBox Visibility
How can you be sure that a DialogBox and its included widgets will be visible over Any Widget ? When I drag my DialogBox above a SWF widget , only the handle of the DialogBox is visible. the same with an OpenLayer Map is there a way to control the level or priority of widgets ? Thank Patrick -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: DialogBox Visibility
You want the css property z-index. On 28/03/11 11:52, Patrick Cailly wrote: How can you be sure that a DialogBox and its included widgets will be visible over Any Widget ? When I drag my DialogBox above a SWF widget , only the handle of the DialogBox is visible. the same with an OpenLayer Map is there a way to control the level or priority of widgets ? Thank Patrick -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problema de integracion con Eclipse
Es raro, probá desinstalar los plugins que tengas instalados de gwt y reintenta de esta forma: http://code.google.com/intl/es/eclipse/docs/install-from-zip.htmlhttp://www.google.com/url?sa=Dq=http://code.google.com/intl/es/eclipse/docs/install-from-zip.html Juan 2011/3/25 David davidvarg...@gmail.com Hola: Quiero comenzar a utilizar el framework GWT y para esto quisiera integrarlo con Eclipse. Estoy usando ademas Windows XP. Ya me he bajado el Eclipse Helios Service Release 2. Y ademas tengo descargado el plugin: com.google.gdt.eclipse.suite.e36.update.site_2.2.0.v201102111811 He seguido las instrucciones para la instalacion local y me deja este mensaje de error: Cannot complete the install because one or more required items could not be found. Software being installed: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811 (com.google.appengine.eclipse.sdkbundle.e36.feature. 1.4.2.feature.group 1.4.2.v201102111811) Missing requirement: Google Plugin for Eclipse 3.6 2.2.0.v201102111811 (com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0.v201102111811) requires 'org.eclipse.pde.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811 (com.google.appengine.eclipse.sdkbundle.e36.feature. 1.4.2.feature.group 1.4.2.v201102111811) To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page
On Mar 26, 1:07 pm, Thomas Broyer t.bro...@gmail.com wrote: On Saturday, March 26, 2011 8:29:04 PM UTC+1, Adib wrote: b) is it used by the host page in some bootstrap java script. I find this to be not very likely because there does not seem to be a bootstrap javascript that is not generated from java code. Yes it is. It's in the *.nocache.js, which either loads the hosted.html (or hosted.js, depending on the linker) or the appropriate *.cache.html/js. You can compile in --style PRETTY to have a readable version; and you'll find the templates in com/google/gwt/core/linker in the gwt-dev.jar I thought that the *.nocache.js was being generated by the code server, or when I explicitly compile the code. Does that mean that if I am using tomcat to host the GWT page I have to run the compile manually every time I try to run the application. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page
On Monday, March 28, 2011 2:25:04 PM UTC+2, Adib wrote: On Mar 26, 1:07 pm, Thomas Broyer t.br...@gmail.com wrote: On Saturday, March 26, 2011 8:29:04 PM UTC+1, Adib wrote: b) is it used by the host page in some bootstrap java script. I find this to be not very likely because there does not seem to be a bootstrap javascript that is not generated from java code. Yes it is. It's in the *.nocache.js, which either loads the hosted.html (or hosted.js, depending on the linker) or the appropriate *.cache.html/js. You can compile in --style PRETTY to have a readable version; and you'll find the templates in com/google/gwt/core/linker in the gwt-dev.jar I thought that the *.nocache.js was being generated by the code server, or when I explicitly compile the code. It is being generated by DevMode when you launch it (which explains why the -war argument is mandatory even with -noserver), unless it already exists (unless it's older than the gwt-dev.jar, maybe, can't remember the details for sure). ...and by Compiler, of course, unconditionally. When generated by DevMode, it only contains the code that's necessary to launch DevMode. In any case, it contains nothing related to your Java code, everything comes from the *.gwt.xml files; with the exception of the permutation IDs (names of the *.cache.html/js files when you compile your app). Does that mean that if I am using tomcat to host the GWT page I have to run the compile manually every time I try to run the application. Fortunately not! If you can point DevMode's -war to the folder where Tomcat reads the files (exploded web app), then you don't need to compile your app, not even once. Otherwise, you'll have to compile the app once (or launch DevMode once and then deploy the generated *.nocache.js file) Really, compile once in -style PRETTY to have a look at what it looks like and how it works. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Import GWT prj
Please.. On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta gadaleta.ma...@gmail.comwrote: Hello everyone, I'm trying to create a project of Utils for other GWT Project. In this Utils I can put some code so that does not duplicate it. There is a way to do this if considering that in Util Project could be GWT ui code (layoutpanel, button, etc..)? Thx -- Marco -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Import GWT prj
gwt-user.jar think as a util. You must package the jar with the sources and define your custom modules. Juan 2011/3/28 Marco Gadaleta gadaleta.ma...@gmail.com Please.. On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta gadaleta.ma...@gmail.com wrote: Hello everyone, I'm trying to create a project of Utils for other GWT Project. In this Utils I can put some code so that does not duplicate it. There is a way to do this if considering that in Util Project could be GWT ui code (layoutpanel, button, etc..)? Thx -- Marco -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
One GWT WebApp but more than one WAR files
Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp server... On 28 Mrz., 15:39, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problema de integracion con Eclipse
No estoy seguro de como bajaste el plugin del que hablas (y qué plugin es), pero yo acabo de instalar el Google Plugin que incluye la última versión de GWT SDK y otras cosas en una instalación nueva de eclipse Helios también en Windows XP. Yo simplemente usé este url para instalarlos: http://dl.google.com/eclipse/plugin/3.6 (que encuentras en la página gwt.google.com --- Download) y todo salió sin problemas. On Mar 28, 8:04 am, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Es raro, probá desinstalar los plugins que tengas instalados de gwt y reintenta de esta forma:http://code.google.com/intl/es/eclipse/docs/install-from-zip.htmlhttp://www.google.com/url?sa=Dq=http://code.google.com/intl/es/eclip... Juan 2011/3/25 David davidvarg...@gmail.com Hola: Quiero comenzar a utilizar el framework GWT y para esto quisiera integrarlo con Eclipse. Estoy usando ademas Windows XP. Ya me he bajado el Eclipse Helios Service Release 2. Y ademas tengo descargado el plugin: com.google.gdt.eclipse.suite.e36.update.site_2.2.0.v201102111811 He seguido las instrucciones para la instalacion local y me deja este mensaje de error: Cannot complete the install because one or more required items could not be found. Software being installed: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811 (com.google.appengine.eclipse.sdkbundle.e36.feature. 1.4.2.feature.group 1.4.2.v201102111811) Missing requirement: Google Plugin for Eclipse 3.6 2.2.0.v201102111811 (com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0.v201102111811) requires 'org.eclipse.pde.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811 (com.google.appengine.eclipse.sdkbundle.e36.feature. 1.4.2.feature.group 1.4.2.v201102111811) To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
I think, is your wars are related, you can develop a jar with commons funtionality and have multiples war that use it. Then develop each war independent. Sorry my english :) 2011/3/28 deejay j.plessm...@googlemail.com Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp server... On 28 Mrz., 15:39, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
How to handle the session if my app is splitted into more than one war? On 28 Mrz., 15:59, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I think, is your wars are related, you can develop a jar with commons funtionality and have multiples war that use it. Then develop each war independent. Sorry my english :) 2011/3/28 deejay j.plessm...@googlemail.com Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp server... On 28 Mrz., 15:39, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
You can handle with SSO, for example Josso. Juan 2011/3/28 deejay j.plessm...@googlemail.com How to handle the session if my app is splitted into more than one war? On 28 Mrz., 15:59, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I think, is your wars are related, you can develop a jar with commons funtionality and have multiples war that use it. Then develop each war independent. Sorry my english :) 2011/3/28 deejay j.plessm...@googlemail.com Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp server... On 28 Mrz., 15:39, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page
It's used by the bootstrap to know to load the plugin, and then it's used by the plugin to connect to the code server. On Sat, Mar 26, 2011 at 3:29 PM, Adib amsl...@gmail.com wrote: Hello, I am trying to figure out where the gwt.codesvr parameter gets processed? I can think of the following options and would like to get clarity about which of these options in the correct example. a) Is it used by the browser plugin so that the browser plugin can talk to the code server b) is it used by the host page in some bootstrap java script. I find this to be not very likely because there does not seem to be a bootstrap javascript that is not generated from java code. c) is there supposed to be a servlet on the server side side that should be configured to understand this parameter? Thanks Adib -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
TabLayoutPanel
Hello, I'm using DecoratorTabPanel inside my gwt project but the compiler say me that DecoratorTabPanel was deprecated and recommend to me to use TabLayoutPanel. But a TabLayoutPanel doesn't work inside a RootPanel that is the component that i must use. Some suggestion? Is there a way to set DecoratorTabPanel to 100% in width and height? -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt + spring + maven
Hi tried to run the sample gwt-spring example in dev mode, but i got: [WARN] dispatchServlet: An IncompatibleRemoteServiceException was thrown while processing this call. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 7. ) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:432) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:236) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt + spring + maven
The exception: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 7. ) Mean that you must recompile (I don't know why :( ), recompile and test again Juan 2011/3/28 mariyan nenchev nenchev.mari...@gmail.com Hi tried to run the sample gwt-spring example in dev mode, but i got: [WARN] dispatchServlet: An IncompatibleRemoteServiceException was thrown while processing this call. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 7. ) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:432) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:236) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to insert components within another?
Hi, How to insert some components within another? Example: I insert a square block (box) in the board and inside in the box a combobox. Depending on what is selected, other components would be inserted within that square. Understand? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Google Web Toolkit Developer Plugin for Solaris Firefox 3.6.x
Greetings. I am new to GWT and I need a Google Web Toolkit Developer Pluginfor Firefox 3.6.x running on a Solaris 10 (a.k.a., SunOS 5.10) machine. Is there such a plugin available? Thanks for any help you can provide. –Barry -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
I can not be able to get gwt visualization charts(LineChart ColumnChart) in History
Hi all, I am using google visualization LineChart and ColumnChart to show chart for dynamic values in a page. And I added those charts to a HorizontalPanel. I am providing a button to show the values which are caused for that chart. I am adding those values to the another HorizontalPanel, adding that HorizontalPanel to the RootPanel and I am maintaing the previous HorizontalPanel which is have charts in History. And now I am providing one more button to go back to see charts. When clicked on that button I am showing the HorizontalPanel which is in History and that HorizontalPanel is allocating the space but charts are not visible. I checked that by inspecting the view with firebug. It is showing the body empty. But remaining all Label and Buttons are visible Can anybody suggest the solution for this problem. Thanks, vara kumar -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Sort order is lost in CellTable
Hi, I'm using a CellTable (GWT 2.2) with some sortable column. When the user clics on sortable column header, the CellTable is sorted correctly, but if there's an update on some data, the updated row is moved to the end of the table. By update I mean refreshing data from server. To refresh data at index I'm using getDataProvider().getList().set(index, data). Is there something else to do ? 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
plugin IE
http://dl.google.com/dl/gwt/plugins/ie/1.0.7263.2009120800/gwt-dev-plugin.msi dosn't work would you like to help me please or tell if it dons't work for the moment please -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How can you get a Widget or Canvas in the DecoratedStackPanel header?
Hi, I'm interested in getting a Widget in the header of a DecoratedStackPanel. My goal is to put a horizontal Slider which has details about the changes show in the lower Widget. I realize it may not be possible, but the ability to treat the header as HTML suggests it may be capable of other things. Regards, Jacob -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT CellTable Reading Json Data.
Hi All, I am new to the GWT looking for some help in the following code. Basically want to iterate over some json data and display it in a cell Table. Here is how it looks like. (1) JsonIntegrate.gwt.xml ?xml version=1.0 encoding=UTF-8? module rename-to='jsonintegrate' !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ !-- Inherit the default GWT style sheet. You can change -- !-- the theme of your GWT application by uncommenting -- !-- any one of the following lines.-- inherits name='com.google.gwt.user.theme.standard.Standard'/ !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/ -- !-- inherits name='com.google.gwt.user.theme.dark.Dark'/ -- !-- Other module inherits -- inherits name=com.google.gwt.http.HTTP / !-- Specify the app entry point class. -- entry-point class='com.symantec.mmavis.gwt.client.JsonIntegrate'/ !-- Specify the paths for translatable code-- source path='client'/ source path='shared'/ /module (2) Client. JsonIntegrate.java package com.symantec.mmavis.gwt.client; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JsArray; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; import com.google.gwt.http.client.RequestCallback; import com.google.gwt.http.client.RequestException; import com.google.gwt.http.client.Response; import com.google.gwt.http.client.URL; import com.google.gwt.user.cellview.client.CellTable; import com.google.gwt.user.cellview.client.ColumnSortList; import com.google.gwt.user.cellview.client.TextColumn; import com.google.gwt.user.cellview.client.ColumnSortEvent.AsyncHandler; import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.view.client.AsyncDataProvider; import com.google.gwt.view.client.HasData; import com.google.gwt.view.client.ListDataProvider; import com.google.gwt.view.client.Range; /** * Entry point classes define codeonModuleLoad()/code. */ public class JsonIntegrate implements EntryPoint { // The list of data to display. //ResultData rs1 = new ResultData(); //private static ListContact CONTACTS = Arrays.asList(new Contact(John, 123 Fourth Road), new Contact(Mary, 222 Lancer Lane), new Contact(Zander, 94 Road Street)); private static final String JSON_URL = GWT.getModuleBaseURL() + search?q=5; private ListDataProviderSearchResult dataProvider = new ListDataProviderSearchResult(); private final ArrayListSearchResult contactList = new ArrayListSearchResult(); public void onModuleLoad() { // Create a CellTable. final CellTableSearchResult table = new CellTableSearchResult(); // Create ordernumber column. final TextColumnSearchResult orderColumn = new TextColumnSearchResult() { @Override public String getValue(final SearchResult contact) { return contact.getOrdernumber(); } }; // Make the name column sortable. orderColumn.setSortable(true); // Create status column. final TextColumnSearchResult statusColumn = new TextColumnSearchResult() { @Override public String getValue(final SearchResult contact) { return contact.getStatus(); } }; statusColumn.setSortable(true); // Create View Detail Column TextColumnSearchResult viewDetailColumn = new TextColumnSearchResult() { @Override public String getValue(SearchResult contact) { return contact.getDetail(); } }; viewDetailColumn.setSortable(true); // Add the columns. table.addColumn(orderColumn, Order Number); table.addColumn(statusColumn, Status); table.addColumn(viewDetailColumn, View Detail); this.getJsonData(); // Set the total row count. You might send an RPC request to determine the // total row count. table.setRowCount(contactList.size(), true); // Set the range to display. In this case, our visible range is smaller than // the data set. table.setVisibleRange(0, contactList.size()); // Create a data
Interface problem between GWT and C using JNI
Hi, I am planning to change the look and feel of the existing project. My current project has backend code in C, and JNI layer to interact with GUI(JAVA). Upon user actions in GUI, I transfer the information to backend using JNI calls. Recently I came across the GWT and impressed with it, thought of using it for current GUI, but am stuck in interfacing GWT JAVA code(server) making JNI call to C code. Just to test the GWT and JNI, i) I added a sample GWT web application(example provided by Google in GWT documentation) code to eclipse, where server and client code is in Java. It is working fine after compiling in eclipse. Later I added 'HelloWorld.c' file which just prints the 'Hello world' to standard output stream, and a Hello.java file at server side, which loads the native object file to Test.java file using inbuilt load library function call. Then I made a 'Test' class call in original GWT server JAVA file. NOTE: I've linked the jna.jar file to eclipse for this project as external jar file(as per GWT documentation), and placed the native library file of C along with the Original GWT server class file. Now when I try to compile the above code in eclipse, eclipse shows up the message stating : --- Starting Jetty on port [WARN] Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String com.mycompany.mywebapp.client.GreetingService.greetServer(java.lang.String) throws java.lang.IllegalArgumentException' threw an unexpected exception: java.lang.UnsatisfiedLinkError: com.mycompany.mywebapp.server.GreetingServiceImpl.sayHi(Ljava/lang/ String;)V --- Appreciate your help. Thank you, Ganny -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer
Hi, Before explain my problem, I have to say that my GWT version is 2.2.0 and the error only has place when I use Internet Explorer (in this case IE 8). I have a little GWT project which contains a button that throws the next method: private void expotarExpediente(VistaExpediente vista) { final String templateURL = GWT.getHostPageBaseURL() + exportar?id= + vista.getId(); Window.open( templateURL, Resultado de expotar el expediente: + vista.getNumeroExpediente(), ); } This method creates a template URL to call to a classic HTTPServlet (exportar) which generates a Zip File to download by users. The sentence Window.open(...) open a window in the browser that allows download the file. This works correctly in all browsers except Internet Explorer. The thrown exception is the next: The thrown exception is the next 10:08:31.208 [ERROR] [sistemadefiniciontramites] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Argumento no válido. number: -2147024809 description: Argumento no válido. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 129) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) I can´t find any decent solution searching by google. I would like if someone has had this problem before and if he or she could overcome it. Thanks and excusme for my poor English. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Help: How to refresh Button Text?
Hi All, I am new to GWT and was trying to create an horizontal panel with 5 Buttons on it. So far, so good. Point is that when I implemented the method that would define what to be written in each Button it did not work. Can anyone helpe me? Thanks, Rodrigo public void onModuleLoad() { hPanel.setSpacing(10); // Add some content to the panel hPanel.add(Stop1Button); Stop1Button.addStyleName(B1); hPanel.add(Stop2Button); Stop2Button.addStyleName(B2); hPanel.add(Stop3Button); Stop3Button.addStyleName(B3); hPanel.add(Stop4Button); Stop4Button.addStyleName(B2); hPanel.add(Stop5Button); Stop5Button.addStyleName(B1); // Associate the Main panel - hPanel - with the HTML host page. RootPanel.get(stopList).add(hPanel); // Setup timer to refresh list periodically. Timer refreshTimer = new Timer() { @Override public void run() { refreshStopList(); } }; refreshTimer.scheduleRepeating(REFRESH_INTERVAL); } private void refreshStopList() { // For testing purpose, generate a second screen with different text then the first one // hPanel is cleared hPanel.clear(); // I could do it altogether , but am testing if it is working step by step // Text generated in tester is associated with a variable textButton1 = Test 1; // Text received is attributed to a button Stop1Button.setText(textButton1); // Button is added to the Screen. hPanel.add(Stop1Button); // hPanel is associated with the screen RootPanel.get(stopList).add(hPanel); } -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
WidgetGallery link is broken
http://code.google.com/webtoolkit/doc/latest/tutorial/RefWidgetGallery.html -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problema de integracion con Eclipse
Dear Author and others: please, write in English! Because it is mentioned that this group is in English! I suppose i have same problem with Eclipse-GWT integration and i cant read your message!((( -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problema de integracion con Eclipse
Seguro has seguido todas las indicaciones, y agregaste el App Engine. Mira este link http://code.google.com/intl/es/eclipse/docs/install-eclipse-3.6.html On 25 mar, 13:13, David davidvarg...@gmail.com wrote: Hola: Quiero comenzar a utilizar el framework GWT y para esto quisiera integrarlo con Eclipse. Estoy usando ademas Windows XP. Ya me he bajado el Eclipse Helios Service Release 2. Y ademas tengo descargado el plugin: com.google.gdt.eclipse.suite.e36.update.site_2.2.0.v201102111811 He seguido las instrucciones para la instalacion local y me deja este mensaje de error: Cannot complete the install because one or more required items could not be found. Software being installed: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811 (com.google.appengine.eclipse.sdkbundle.e36.feature. 1.4.2.feature.group 1.4.2.v201102111811) Missing requirement: Google Plugin for Eclipse 3.6 2.2.0.v201102111811 (com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0.v201102111811) requires 'org.eclipse.pde.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811 (com.google.appengine.eclipse.sdkbundle.e36.feature. 1.4.2.feature.group 1.4.2.v201102111811) To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0 -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Error when installing GWT plugin for Eclipse 3.6
Hi all! When i'm installing and it is already half a progress bar i recieve following error message: An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.sdkbundle.2.2.0_2.2.0.v201102111811.jar. Read timed out King Google, do something! =) PS Please, do not post messages like check your internet connection -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT CellTable Reading Json Data.
some exception in stacktrace? 2011/3/25 Ankit shahan...@gmail.com Hi All, I am new to the GWT looking for some help in the following code. Basically want to iterate over some json data and display it in a cell Table. Here is how it looks like. (1) JsonIntegrate.gwt.xml ?xml version=1.0 encoding=UTF-8? module rename-to='jsonintegrate' !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ !-- Inherit the default GWT style sheet. You can change -- !-- the theme of your GWT application by uncommenting -- !-- any one of the following lines.-- inherits name='com.google.gwt.user.theme.standard.Standard'/ !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/ -- !-- inherits name='com.google.gwt.user.theme.dark.Dark'/ -- !-- Other module inherits -- inherits name=com.google.gwt.http.HTTP / !-- Specify the app entry point class. -- entry-point class='com.symantec.mmavis.gwt.client.JsonIntegrate'/ !-- Specify the paths for translatable code-- source path='client'/ source path='shared'/ /module (2) Client. JsonIntegrate.java package com.symantec.mmavis.gwt.client; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JsArray; import com.google.gwt.http.client.Request; import com.google.gwt.http.client.RequestBuilder; import com.google.gwt.http.client.RequestCallback; import com.google.gwt.http.client.RequestException; import com.google.gwt.http.client.Response; import com.google.gwt.http.client.URL; import com.google.gwt.user.cellview.client.CellTable; import com.google.gwt.user.cellview.client.ColumnSortList; import com.google.gwt.user.cellview.client.TextColumn; import com.google.gwt.user.cellview.client.ColumnSortEvent.AsyncHandler; import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.view.client.AsyncDataProvider; import com.google.gwt.view.client.HasData; import com.google.gwt.view.client.ListDataProvider; import com.google.gwt.view.client.Range; /** * Entry point classes define codeonModuleLoad()/code. */ public class JsonIntegrate implements EntryPoint { // The list of data to display. //ResultData rs1 = new ResultData(); //private static ListContact CONTACTS = Arrays.asList(new Contact(John, 123 Fourth Road), new Contact(Mary, 222 Lancer Lane), new Contact(Zander, 94 Road Street)); private static final String JSON_URL = GWT.getModuleBaseURL() + search?q=5; private ListDataProviderSearchResult dataProvider = new ListDataProviderSearchResult(); private final ArrayListSearchResult contactList = new ArrayListSearchResult(); public void onModuleLoad() { // Create a CellTable. final CellTableSearchResult table = new CellTableSearchResult(); // Create ordernumber column. final TextColumnSearchResult orderColumn = new TextColumnSearchResult() { @Override public String getValue(final SearchResult contact) { return contact.getOrdernumber(); } }; // Make the name column sortable. orderColumn.setSortable(true); // Create status column. final TextColumnSearchResult statusColumn = new TextColumnSearchResult() { @Override public String getValue(final SearchResult contact) { return contact.getStatus(); } }; statusColumn.setSortable(true); // Create View Detail Column TextColumnSearchResult viewDetailColumn = new TextColumnSearchResult() { @Override public String getValue(SearchResult contact) { return contact.getDetail(); } }; viewDetailColumn.setSortable(true); // Add the columns. table.addColumn(orderColumn, Order Number); table.addColumn(statusColumn, Status); table.addColumn(viewDetailColumn, View Detail); this.getJsonData(); // Set the total row count. You might send an RPC request to determine the // total row count. table.setRowCount(contactList.size(), true); // Set the range to display. In this case, our visible range is smaller than
Re: Error when installing GWT plugin for Eclipse 3.6
Try this: http://code.google.com/intl/es/eclipse/docs/install-from-zip.htmlhttp://www.google.com/url?sa=Dq=http://code.google.com/intl/es/eclipse/docs/install-from-zip.html 2011/3/26 Andrey metallal...@gmail.com Hi all! When i'm installing and it is already half a progress bar i recieve following error message: An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.sdkbundle.2.2.0_2.2.0.v201102111811.jar . Read timed out King Google, do something! =) PS Please, do not post messages like check your internet connection -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
IE v Firefox
So, I have a quirks mode web app using GWT 2.1.2. It runs just fine under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my iPhone). On IE, however, it pops up the password dialog box, accepts a user id and password, then gives a completely blank screen. On errors on the server side. How do I go about debugging this sort of problem? TIA, Greg -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer
+1 on this, I have the same error El 28 de marzo de 2011 06:04, Sergio García sergiotrapie...@gmail.comescribió: Hi, Before explain my problem, I have to say that my GWT version is 2.2.0 and the error only has place when I use Internet Explorer (in this case IE 8). I have a little GWT project which contains a button that throws the next method: private void expotarExpediente(VistaExpediente vista) { final String templateURL = GWT.getHostPageBaseURL() + exportar?id= + vista.getId(); Window.open( templateURL, Resultado de expotar el expediente: + vista.getNumeroExpediente(), ); } This method creates a template URL to call to a classic HTTPServlet (exportar) which generates a Zip File to download by users. The sentence Window.open(...) open a window in the browser that allows download the file. This works correctly in all browsers except Internet Explorer. The thrown exception is the next: The thrown exception is the next 10:08:31.208 [ERROR] [sistemadefiniciontramites] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Argumento no válido. number: -2147024809 description: Argumento no válido. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 129) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) I can´t find any decent solution searching by google. I would like if someone has had this problem before and if he or she could overcome it. Thanks and excusme for my poor English. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help: How to refresh Button Text?
Why you add again the button in refreshStopList()? // Button is added to the Screen. hPanel.add(Stop1Button); 2011/3/25 Rodrigo JS rjs_...@excite.com Hi All, I am new to GWT and was trying to create an horizontal panel with 5 Buttons on it. So far, so good. Point is that when I implemented the method that would define what to be written in each Button it did not work. Can anyone helpe me? Thanks, Rodrigo public void onModuleLoad() { hPanel.setSpacing(10); // Add some content to the panel hPanel.add(Stop1Button); Stop1Button.addStyleName(B1); hPanel.add(Stop2Button); Stop2Button.addStyleName(B2); hPanel.add(Stop3Button); Stop3Button.addStyleName(B3); hPanel.add(Stop4Button); Stop4Button.addStyleName(B2); hPanel.add(Stop5Button); Stop5Button.addStyleName(B1); // Associate the Main panel - hPanel - with the HTML host page. RootPanel.get(stopList).add(hPanel); // Setup timer to refresh list periodically. Timer refreshTimer = new Timer() { @Override public void run() { refreshStopList(); } }; refreshTimer.scheduleRepeating(REFRESH_INTERVAL); } private void refreshStopList() { // For testing purpose, generate a second screen with different text then the first one // hPanel is cleared hPanel.clear(); // I could do it altogether , but am testing if it is working step by step // Text generated in tester is associated with a variable textButton1 = Test 1; // Text received is attributed to a button Stop1Button.setText(textButton1); // Button is added to the Screen. hPanel.add(Stop1Button); // hPanel is associated with the screen RootPanel.get(stopList).add(hPanel); } -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt + spring + maven
I did recompile, but with no effect. I use gwt 2.2 and after updating the libraries (gin 1.5 and gwt-dispatch) it worked. Is treated as spring backing bean? Our existing project structure is: -jsf -backing bean -service -dao On Mon, Mar 28, 2011 at 5:24 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: The exception: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 7. ) Mean that you must recompile (I don't know why :( ), recompile and test again Juan 2011/3/28 mariyan nenchev nenchev.mari...@gmail.com Hi tried to run the sample gwt-spring example in dev mode, but i got: [WARN] dispatchServlet: An IncompatibleRemoteServiceException was thrown while processing this call. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 7. ) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:432) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:236) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: When is an object passed over RPC safe to modify?
On Mon, Mar 28, 2011 at 4:41 AM, Craig Mitchell craig...@gmail.com wrote: FYI: The project I'm on will also be saving in the background. However, we will just transfer all the data back to the server on save (there really isn't that much), so I don't have to worry about the object statuses on the client (the server can work them out). Thanks for the info. It seems you might get partially updated objects to the server then? If it is possible for the user to modify the objects in the client while the RPC- code is serializing, I mean. IOW. if I can run into trouble, so can you. Or maybe there is no problem? Would be nice to know for sure ... M. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Google Web Toolkit Developer Plugin for Solaris Firefox 3.6.x
On Sat, Mar 26, 2011 at 8:35 AM, Barry Astrow bast...@gmail.com wrote: Greetings. I am new to GWT and I need a Google Web Toolkit Developer Plugin for Firefox 3.6.x running on a Solaris 10 (a.k.a., SunOS 5.10) machine. Is there such a plugin available? Thanks for any help you can provide. –Barry http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html You get there automatically when your browser reaches the development mode URL and the browser plugin isn't installed. If a linux version doesn't work, it may be that you need to build from source http://code.google.com/p/google-web-toolkit/source/browse/#svn/trunk/plugins -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
See this thread http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c4c2e25bf0a2065f 2011/3/28 Greg Dougherty dougherty.greg...@mayo.edu So, I have a quirks mode web app using GWT 2.1.2. It runs just fine under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my iPhone). On IE, however, it pops up the password dialog box, accepts a user id and password, then gives a completely blank screen. On errors on the server side. How do I go about debugging this sort of problem? TIA, Greg -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No App Identifier is available
Trying to follow the instructions at http://code.google.com/webtoolkit/usingeclipse.html the last part, deploy to google app engine. I am an absolute newbe to GWT. Everything has worked fine up to here. But I cannot get an application identifier. Regardless of what i put in at https://appengine.google.com/start/createapp.do (got there by clicking on App Engine Administrative Console link in instructions above) in the Application Identifier field, it comes back and says that identifier is not available. I have tried very long random strings of numbers, everything. So I am stuck. Any ideas? Thanks, Bob -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: So, I have a quirks mode web app using GWT 2.1.2. It runs just fine under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my iPhone). On IE, however, it pops up the password dialog box, accepts a user id and password, then gives a completely blank screen. On errors on the server side. How do I go about debugging this sort of problem? A few ideas: - Install firebug-lite - Use development mode to step through your code after the login process completes. - Are you using Gin? If so, create a mock login authentication module to save yourself that step - Which version of IE? Six? Good luck. - JSNI code? I'd start there. - Custom attribute settings? element.setAttribute... Review those. - GWT.log or logger is your friend -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Need some help on Editors
hi Thomas thank you for the reply. After reading your email and the referenced examples, it makes much more sense now. I have one more question poped out. How does the editor framework work with inheritance? say I have interface Base { String getBaseProperty() } interface Child extends Base { String getChildProperty() } currently, without the editor framework, I have one view that displays both Base and Child. I do a check with instanceof with the object to be displayed and toggle visibilities of widgets accordingly. How might similar functionality be implemented with the editor framework? I poked around but had no luck. class View implements EditorBase did not work because the child property sub editor was complaining about no child property getter in Base class View implements EditorChild could work, but I have to wrap Base as a Child, which somewhat breaks the meaning of inheritance class ChildView extends View implements EditorChild doesn't work because java does not allow implementing the same interface twice thanks On Mar 24, 9:05 pm, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, March 24, 2011 9:21:00 PM UTC+1, Potate wrote: Hi everyone I'm having trouble understanding Editors introduced in GWT 2.1. It sounds like a nice feature to reduce boilerplate code. The Dev Guide is very very useful, but I couldn't get all the answers _ == my first question is about validation and error reporting. take the Dev Guide example, public class PersonEditor extends Dialog implements EditorPerson { Label nameEditor; ... } I wish to detect bad names, create a visual feedback upon error, and bubble this information up so the caller knows not to proceed further. I see there is recordError in EditorDelegate. Is it the right method to tackle this? Can I get an example please? Yes, have a look at the DynatableRf sample and its ZipPlusFourBox widget. It extends ValueBox, so actually, have a look at the ValueBoxEditor adapter from GWT. I have a lot fields to edit. I hope I don't have to create bunch delegates. The less code the better =) The delegate is provided to you by the editor framework, you have to implement HasEditorDelegate. == second question is about Q: How can I edit objects with a large number of properties? from the FAQ section It has the following example class BagOfStateBiographicalEditor implements EditorBagOfState { AddressEditor address; Label name; } class BagOfStateUserPreferencesEditor implements EditorBagOfState { CheckBox likesCats; CheckBox likesDogs; } How do I chain up the two editors? Should I use a CompositeEditor? or a list of drivers? What do you mean by chaining them? à la wizard? then either you use them as they do in the example and just adjust their visibility (use a DeckPanel or TabPanel/TabLayoutPanel?), or you use 2 drivers. I think you don't generally need 2 drivers; and you don't need a CompositeEditor here, CompositeEditor is for editing an object that's composed of zero or more other objects (zero or one = OptionalEditor, a List of objects = ListEditor) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
One more thing - why are you using quirks mode? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer
2011/3/28 Sergio García sergiotrapie...@gmail.com Hi, Before explain my problem, I have to say that my GWT version is 2.2.0 and the error only has place when I use Internet Explorer (in this case IE 8). I have a little GWT project which contains a button that throws the next method: private void expotarExpediente(VistaExpediente vista) { final String templateURL = GWT.getHostPageBaseURL() + exportar?id= + vista.getId(); Window.open( templateURL, Resultado de expotar el expediente: + vista.getNumeroExpediente(), ); } Are the arguments to Window.open() correct? http://msdn.microsoft.com/en-us/library/ms536651%28v=vs.85%29.aspx -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Part III of RequestFactory article
Hi, on our Google Tech User group blog: http://firenze-gtug.blogspot.com/2011/03/requestfactory-framework-parte-3.html Hope can be useful for someone. Ciao. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
One more thing - why are you using quirks mode? Because I'm utterly uninterested in trying to figure out what the dimensions of my panels should be, so I don't ever use any of the *LayoutPanels. Every web app I've ever written has had its size dependent upon the user's input. I can write a lot of code to try to figure out how big things should be, and then resize everything appropriately, or I can use Quirks mode and have the Panels do that for me, while I focus on the issues that are specific to my app. Which do you think is a better use of my time? I've never seen an explanation of why the *LayoutPanels are the way they are (just the bald statement can't give you Swing like sizing in Standards mode), but even if it's a really good reason, it wouldn't really matter. Because as long as I can simply focus my efforts on the problems important to me, that's what I'm going to do. Greg On Mar 28, 10:04 am, Jeff Chimene jchim...@gmail.com wrote: One more thing - why are you using quirks mode? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
- Install firebug-lite Well, I've taken a look at it, and maybe after I figure out what a bookmarklet is I might feel more comfortable using it. But thanks for the pointer. - Use development mode to step through your code after the login process completes. Yeah, 30 seconds after I posted this it occurred to me that I COULD test this under development mode, not just as a deployed app. :-( What's worse, is that I found the problem, and it's one I'd previously discovered on Dec 8: IE 7 throws an exception when you try to add something to a HorizontalPanel whose horizontal alignment is set to ALIGN_JUSTIFY. Ah, well, at least this time I submitted a bug report. Thanks Jeff, Greg On Mar 28, 10:03 am, Jeff Chimene jchim...@gmail.com wrote: On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: So, I have a quirks mode web app using GWT 2.1.2. It runs just fine under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my iPhone). On IE, however, it pops up the password dialog box, accepts a user id and password, then gives a completely blank screen. On errors on the server side. How do I go about debugging this sort of problem? A few ideas: - Install firebug-lite - Use development mode to step through your code after the login process completes. - Are you using Gin? If so, create a mock login authentication module to save yourself that step - Which version of IE? Six? Good luck. - JSNI code? I'd start there. - Custom attribute settings? element.setAttribute... Review those. - GWT.log or logger is your friend -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Part III of RequestFactory article
Would it really be too much to expect you to post what language the article is in (since, unlike the post announcing the article, the article's not in English)? Greg On Mar 28, 10:30 am, Luca luca.mas...@gmail.com wrote: Hi, on our Google Tech User group blog: http://firenze-gtug.blogspot.com/2011/03/requestfactory-framework-par... Hope can be useful for someone. Ciao. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Problem with HashMap containing ArrayList Value
Changing the value type to java.io.Serializable did the trick for me. Thanks! -- Richi On Mar 26, 8:20 am, SergeZ comp1...@gmail.com wrote: Based on my own experience of working with collections in GWTs RPC mechanism, I can suggest you to create a POJO (Plain Old Java Object) file in the *.shared package of your application, where you have to declare all possible combinations of types (arrays of them) that you are going to send to the server ( actually which you are going to serialize ). For Example: import java.io.Serializable; import java.util.HashMap; import java.util.ArrayList; import java.utils.LinkedList; Class DummyRPCData implements Serializable{ HashMapString, String[] foo1; HashMapString, ArrayListString[] foo2; HashMapString, LinkedListString[] foo3; HashMapString, ListString[] foo4; .. .. .. HashMapString, Boolean[] fooN; public Serializable[] fix025; public DummyPRCData() { foo1 = null; foo2 = null; fooN = null; } } You also will be able to use just Serializable identifier in your client side-code instead of defining the particular type at any particular place, for example: instead of: HashMapString, String map = new HashMapString, String(); map.put(KEY, VALUE); you can write the following: HashMapString, Serializable map = new HashMapString, Serializable(); map.put(KEY, VALUE); But flexibility comes up not in the case of String type, but, when you want to declare a hashmap of types String, and some triky LinkedListHashMapSttrig.. . In this case you just can write: HashMapString, Serializable map = new HashMapString, Serializable(); LinkedListHashMapString, Serializable list = new LinkedListHashMapString, Serializable(); map.put(KEY, list); //and then send map to the server. I home my post is quite clear. P.S.: The main idea is to declare all the types you are going to send to the server. On Mar 25, 6:59 pm, richip ric...@gmail.com wrote: I've an object which contains a HashMapLong, Object instance. I'm finding that when I put a value of type ArrayList, RPC calls fail with a SerializationException that starts with: com.google.gwt.user.client.rpc.SerializationException at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java: 148) ... Any ideas why and suggestions on what to do to get to my intended process? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Part III of RequestFactory article
Italian 2011/3/28 Greg Dougherty dougherty.greg...@mayo.edu Would it really be too much to expect you to post what language the article is in (since, unlike the post announcing the article, the article's not in English)? Greg On Mar 28, 10:30 am, Luca luca.mas...@gmail.com wrote: Hi, on our Google Tech User group blog: http://firenze-gtug.blogspot.com/2011/03/requestfactory-framework-par... Hope can be useful for someone. Ciao. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
The question is, why do you want to do it that way? You can develop separate modules, and include all those modules in one project / war file. You can build multiple libraries, and include them in multiple projects / war files. What are you doing that requires you to have multiple war files? Greg On Mar 28, 8:49 am, deejay j.plessm...@googlemail.com wrote: Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp server... On 28 Mrz., 15:39, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.2 and FocusWidget
Hey All, We recently upgraded to gwt 2.2 and one of our widgets that extends FocusWidget is no longer firing the onfocus and onblur events. Does anyone know why or how that could happen? If so, do you know a fix for it? 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
On Mon, Mar 28, 2011 at 8:33 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: One more thing - why are you using quirks mode? Because I'm utterly uninterested in trying to figure out what the dimensions of my panels should be, so I don't ever use any of the *LayoutPanels. Every web app I've ever written has had its size dependent upon the user's input. I can write a lot of code to try to figure out how big things should be, and then resize everything appropriately, or I can use Quirks mode and have the Panels do that for me, while I focus on the issues that are specific to my app. Which do you think is a better use of my time? I've never seen an explanation of why the *LayoutPanels are the way they are (just the bald statement can't give you Swing like sizing in Standards mode), but even if it's a really good reason, it wouldn't really matter. Because as long as I can simply focus my efforts on the problems important to me, that's what I'm going to do. Greg Any GWT widget should work in Standards mode. It may be interesting to see if the problem disappears in Standards mode. Also, there's the X-UA-Compatibility header for IE. Are you using that header? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE v Firefox
On Mon, Mar 28, 2011 at 8:43 AM, Greg Dougherty dougherty.greg...@mayo.eduwrote: - Install firebug-lite Well, I've taken a look at it, and maybe after I figure out what a bookmarklet is I might feel more comfortable using it. But thanks for the pointer. I don't remember the linkage between bookmarklet and the install. ISTR that the bookmarklet gives you on-demand access to FBL. But I could be wrong. When I'm using IE, it's always for testing, so FBL is always running. - Use development mode to step through your code after the login process completes. Yeah, 30 seconds after I posted this it occurred to me that I COULD test this under development mode, not just as a deployed app. :-( I hate it when that happens... -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
UIBinder doesn't consider new line as a space in IE?
I've remarked that if you have a new line between two elements (or widgets?) within a HTMLWidget in a UIBinder file, then Chrome and Firefox displays a space between them whereas Internet Explorer doesn't. This can cause some headaches when a seemingly stylistic reformatting of a .ui.xml file has visual impact on only some browsers. Is this a known bug? -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UIBinder doesn't consider new line as a space in IE?
In case anybody is interested, the fix (or, convention) we came up with was to put the two elements on the same line separated by an nbsp; just so that anybody refactoring the file is aware that the line should not be split in two. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Clickable image in a CellTable changing cell types
Hi, Is there an example out there I can look at for the following 2 cases: 1) A clickable image cell. On click of that image, I want to execute some functionality. 2) A textcell, when clicked becomes a drop-down (i.e., selection) cell. How do I accomplish those 2 tasks within the CellTable? -Yaakov. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
HTML widget takes too long to render
I have a gwt webapp that makes an rpc to the server, the server generates a report, then the report returns a string, which is just the html contents of the report, which contains a large amount of html. After timing the rpc and how long it takes for the html to be returned and a new html widget to be created and added to the panel, its about 1 minute. 27 seconds is spent running the report generation code. However, it takes really long for the html to render or to appear on the firefox page, about 2 minutes and 40 seconds and I am wondering why if all the code is completed in 58 seconds, why does it take so long for the html to display? It feels like it freezes up the computer for that time in between the 58 seconds and the 2 minutes and 40 seconds. Anyone have any insight? Also, any insights into how I can make my code more efficient or faster? Any links or info is greatly 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Designer Problem : « uibinder template should be in client package »
Greetings folks, I've tried to add UIBinder Composite widget in a project which was initiated without UiBinder using GWT plugin. So, when I tried to open xxx.ui.xml into the designer view, I've got the error « uibinder template should be in client package » You are attempting to use UiBinder for .../xxx.ui.xml however it is not in Java package. Did someone get this problem or have any idea? Thanks Claude -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Problem with HashMap containing ArrayList Value
Remember that gwt will create a serialization policy for all serializable types at compile time. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Designer Problem : « uibinder template should be in client package »
I supposed that you must put the file in client package. 2011/3/28 HommeDeJava claude.coulo...@gmail.com Greetings folks, I've tried to add UIBinder Composite widget in a project which was initiated without UiBinder using GWT plugin. So, when I tried to open xxx.ui.xml into the designer view, I've got the error « uibinder template should be in client package » You are attempting to use UiBinder for .../xxx.ui.xml however it is not in Java package. Did someone get this problem or have any idea? Thanks Claude -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Designer Problem : « uibinder template should be in client package »
Hi, I supposed that you must put the file in client package. Yes indeed I've put the myUIBinderComposite.ui.xml and myUIBinderComposite.java files into the client package It's when I try to use the GWT Designer opening the myUIBinderComposite.ui.xml file using the Design Tab that I've got the error. Anyway, thanks for your help. I've tried to add UIBinder Composite widget in a project which was initiated without UiBinder using GWT plugin. So, when I tried to open xxx.ui.xml into the designer view, I've got the error « uibinder template should be in client package » You are attempting to use UiBinder for .../xxx.ui.xml however it is not in Java package. Did someone get this problem or have any idea? Thanks Claude -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Clickable image in a CellTable changing cell types
Hi, I maybe have a solution for the first problem: You can set an image in a button. Another option is to just adjust the CSS of a specific button to have that image as a background. Best, Ale On Mon, Mar 28, 2011 at 7:25 PM, Yaakov yaakov.chai...@gmail.com wrote: Hi, Is there an example out there I can look at for the following 2 cases: 1) A clickable image cell. On click of that image, I want to execute some functionality. 2) A textcell, when clicked becomes a drop-down (i.e., selection) cell. How do I accomplish those 2 tasks within the CellTable? -Yaakov. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: One GWT WebApp but more than one WAR files
as far as I know, can only have one war file per application. If you want to split up your application into modules (which is an excellent idea if you're building a big application) I suggest you use Maven. There's an excelent guide here about building a war from multiple jar modules: sonatype.com/books/mvnex-book/reference/public-book.html Good luck, Alex On Mon, Mar 28, 2011 at 5:58 PM, Greg Dougherty dougherty.greg...@mayo.eduwrote: The question is, why do you want to do it that way? You can develop separate modules, and include all those modules in one project / war file. You can build multiple libraries, and include them in multiple projects / war files. What are you doing that requires you to have multiple war files? Greg On Mar 28, 8:49 am, deejay j.plessm...@googlemail.com wrote: Sorry i think the question was unclear. Of course, we need a shared repository. The main question was, how to develop a GWT application which is splitted in MULTIPLE war files which could be deployed separately in the webapp server... On 28 Mrz., 15:39, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: You can use a SCM repository, for ex. SVN, Mercurial Juan 2011/3/28 deejay j.plessm...@googlemail.com Is it possible to create one Webapp which is splitted into multiple WAR files (e.g. every module in one WAR file)? Is this a bad approach? How to develop a gwt application with more than one developer? Thanks, Jay -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
AutoBean and Generic types (Server-side)
I am trying to solve an issue with AutoBean and generics on the server side. When I run the test below I get the following output: {name:SomeName,version:1} But I did except to get the following: {name:SomeName,id:10,version:1} For some reason the AutoBean framework does not detect the generics DtoK that is used for the id (K id). The id property is resolved to a java.lang.Object in the com.google.gwt.autobean.server.ProxyAutoBean class static method calculateData(Class? beanType). I had hoped it would be more advanced and used something like this: http://stackoverflow.com/questions/182872/how-to-test-whether-method-return-type-matches-liststring Is the limitation by design or is it a bug. Is it maybe limited because of client-side constraints and java support? ## import org.junit.Test; import com.google.gwt.autobean.server.AutoBeanFactoryMagic; import com.google.gwt.autobean.shared.AutoBean; import com.google.gwt.autobean.shared.AutoBeanCodex; import com.google.gwt.autobean.shared.AutoBeanFactory; import com.google.gwt.autobean.shared.AutoBeanUtils; public class AutoBeanTest { public interface DtoK { public K getId(); public Long getVersion(); public void setId(K id); public void setVersion(Long version); } public interface MyDto extends DtoLong { public String getName(); public void setName(String name); } interface MyFactory extends AutoBeanFactory { AutoBeanMyDto myDto(); } @Test public void test() { final MyFactory factory = AutoBeanFactoryMagic.create(MyFactory.class); // Construct the AutoBean final AutoBeanMyDto myDto = factory.myDto(); final MyDto dto = myDto.as(); dto.setId(10L); dto.setVersion(1L); dto.setName(Steen); final AutoBeanMyDto bean = AutoBeanUtils.getAutoBean(dto); final String json = AutoBeanCodex.encode(bean).getPayload(); System.out.println(json); } } # -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HTML widget takes too long to render
The answer to where does the time go? is always to profile your code: Firefox: http://getfirebug.com/ Chrome: http://code.google.com/webtoolkit/speedtracer/ On Mar 28, 11:39 am, azuniga alessandro.zun...@gmail.com wrote: I have a gwt webapp that makes an rpc to the server, the server generates a report, then the report returns a string, which is just the html contents of the report, which contains a large amount of html. After timing the rpc and how long it takes for the html to be returned and a new html widget to be created and added to the panel, its about 1 minute. 27 seconds is spent running the report generation code. However, it takes really long for the html to render or to appear on the firefox page, about 2 minutes and 40 seconds and I am wondering why if all the code is completed in 58 seconds, why does it take so long for the html to display? It feels like it freezes up the computer for that time in between the 58 seconds and the 2 minutes and 40 seconds. Anyone have any insight? Also, any insights into how I can make my code more efficient or faster? Any links or info is greatly 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error when installing GWT plugin for Eclipse 3.6
Already used that variant (your links are equal) - it havn't helped: there is another kind of error like There is no repository in your archive file. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Problem with HashMap containing ArrayList Value
What it means ? Is it bad or not ? I see nothing bad or just nothing that takes my attention to that ! Can you explain your point about serialization policy in more details ? What did you mean ? On 28 мар, 22:56, ciosbel andrew...@gmail.com wrote: Remember that gwt will create a serialization policy for all serializable types at compile time. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problem with JSNI
I can't believe it yeah, you are absolutely right... I can't believe how I haven't realized about it... it's working... Anyway, although I knew it was wrong, I wouldnt have seen it if you wouldn't had told me, so thanks, thanks, thanks!! I will mention you in the gratitude of my project... :) On 28 mar, 07:15, A. Stevko andy.ste...@gmail.com wrote: It seems that you have crossed method names in your code. getElementsById() is not the same as getElementsByTagName() Also getElementsByTagName() returns an array so you would want to do something like elements = getElementsByTagName( 'embed' ); This is fromhttp://programming.top54u.com/post/Javascript-document-getElementsByT... *getElementsByTagName* method returns the node list array of HTML document elements present in the HTML web page. You can pass the name of the particular HTML tag such as *div*, *span*, *p* etc whose list of array you want to collect. On Sun, Mar 27, 2011 at 9:35 PM, Sabbia maestrosa...@gmail.com wrote: Hello!! It's been days trying to solve my problem, but I've got a great mess in my head... The thing I wanna do is integrate DivXPlus Web Player plugin in my GWT project. In order to get it, I must add these lines: String videoStr = object id='ie_plugin' name='ie_plugin' classid='clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616' width=636 height=380 codebase='http://go.divx.com/plugin/ DivXBrowserPlugin.cab'; videoStr = videoStr.concat(param name='src' value=\videos/ origen.avi\ /); videoStr = videoStr.concat(embed id='ff_plugin' name='ff_plugin' type='video/divx' src='videos/origen.avi' custommode='none' mode='mini' width='636' height='380' pluginspage='http://go.divx.com/ plugin/download/'); videoStr = videoStr.concat(/embed); videoStr = videoStr.concat(/object); HTML vid = new HTML(); vid.setHTML(videoStr); videoLabel.addChild(vid); resultsLayout.addMember(videoLabel); mute(); //here is the problem This is working. But the DivX plugin offers some Javascript methods to control the playing. It would with this script, for example, to make mute to the video: script function mute(){ plugin = document.getElementById('ff_plugin'); plugin.Mute(); } /script So, I've tried to convert these lines to JSNI: native void mute() /*-{ plugin = $doc.getElementsByTagName('ff_plugin'); plugin.Mute(); }-/*; But I get an UmbrellaException. So, no doubt my problem is with JSNI, but I'm reading thousands of documents but I can't still make it work. Please, I really beg your help, my time's ending and I can't find the solution. 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Problem with HashMap containing ArrayList Value
The more generic your remote interface, the more code the GWT compiler generates to try and handle all the possible values you may pass through it. Having a method that can take something of type Serializable would, I believe, make the GWT compiler generate code for all possible types, since you can't get any more generic than that. -Ben On Mar 28, 3:58 pm, SergeZ comp1...@gmail.com wrote: What it means ? Is it bad or not ? I see nothing bad or just nothing that takes my attention to that ! Can you explain your point about serialization policy in more details ? What did you mean ? On 28 мар, 22:56, ciosbel andrew...@gmail.com wrote: Remember that gwt will create a serialization policy for all serializable types at compile time. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Howto: Optimising RPC
Hello all, I've been spending some time with reducing RPC payload size and optimising the request pattern and thought I'd share my pain and wisdom with you :-) You can read the full story here [1], the main points I am discussing are: - rewriting RPC to use GET over POST for reduced network packet count - type name elision (and pitfalls) - packing variables (and when not to) - using higher gzip compression ratios - batching requests Please feel to post any comments G. [1] http://georgovassilis.blogspot.com/2011/03/squeezing-last-bit-out-of-rpc-gwt.html -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Howto: Optimising RPC
Nice post, thanks. I am having a problem code-splitting my rpc classes and dependencies when using the command pattern. Even if I only load the login screen, if it uses any command rpc it forces my apps to load all of them. I am testing some solutions at the moment, any thoughts on that? On Mon, Mar 28, 2011 at 7:18 PM, George Georgovassilis g.georgovassi...@gmail.com wrote: Hello all, I've been spending some time with reducing RPC payload size and optimising the request pattern and thought I'd share my pain and wisdom with you :-) You can read the full story here [1], the main points I am discussing are: - rewriting RPC to use GET over POST for reduced network packet count - type name elision (and pitfalls) - packing variables (and when not to) - using higher gzip compression ratios - batching requests Please feel to post any comments G. [1] http://georgovassilis.blogspot.com/2011/03/squeezing-last-bit-out-of-rpc-gwt.html -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Import GWT prj
I have a separate Eclipse Utils project, without importing jars for client side code. You will need to create a separate *.gwt.xml file in your utils project and inherit this in the gwt.xml file of projects that use your utils. This allows GWT to find the source and compile it in. Make your utils project a required project on the build path. Server side code for me is a bit of an issue. Some one else may have a better solution. At this stage I am restricted to making a jar of the server side code and including it in the war directory. Although, as I am using AppEngine, I suspect I may be able to change my appengine-web-xml file to include this code when deploying - not sure, haven't tried yet. Hope this helps, Geoff On Mar 28, 11:50 pm, Marco Gadaleta gadaleta.ma...@gmail.com wrote: Please.. On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta gadaleta.ma...@gmail.comwrote: Hello everyone, I'm trying to create a project of Utils for other GWT Project. In this Utils I can put some code so that does not duplicate it. There is a way to do this if considering that in Util Project could be GWT ui code (layoutpanel, button, etc..)? Thx -- Marco -- Marco -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC Problem with HashMap containing ArrayList Value
Not necessarily a problem, but the serialization file is bigger and compilation can take a while longer. When i faced that problem i also see plenty of warnings, but maybe recent releases are less verbose. I got to use an interface that extends Serializable, and then mark my DTOs used with generics with that. Hope that helps. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error when installing GWT plugin for Eclipse 3.6
Sorry for my last post: i've downloaded GWT from another link before and it didn't work. Now i tried your link and all is fine! At last i'm ready for tutorials and quick start! Hooray! =) -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
EditTextCell with Editor
Dear All, I would like to use EditTextCellhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/EditTextCell.htmlwith Editor framework. ie: I have defined View-View with all labels and Edit-View with all TextBox, now i would like to implement a common view, with edit capabilities using EditTextCell. Thanks in advance, -sowdri- -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Move com.google.gwt.requestfactory to com.google.requestfactory (issue1383808)
The move looks pretty straightforward. Just some thoughts that occurred to me while looking at this: - RequestFactoryMagic should be moved out of the testing sub-package. - Are we happy with the client, shared, server package naming scheme? - Should the GWT-specific code in the new packages, like RequestFactoryEditorDriver, be in a gwt subpackage like com.google.requestfactory.gwt? - If there are more Android-specific changes that need to be made, it might be worthwhile collecting those methods in a utility class. These are all things that can be fined-tuned later, since doing them in this CL would complicate the branch history unnecessarily. http://gwt-code-reviews.appspot.com/1383808/diff/1/build.xml File build.xml (right): http://gwt-code-reviews.appspot.com/1383808/diff/1/build.xml#newcode196 build.xml:196: !-- Build a jar file containing a subset of requestfactory -- In general, it seems like these targets should be in their own requestfactory/build.xml along the lines of servlet/build.xml. http://gwt-code-reviews.appspot.com/1383808/diff/1/build.xml#newcode226 build.xml:226: requestfactory-jar target=client-src/ client+src http://gwt-code-reviews.appspot.com/1383808/diff/1/build.xml#newcode252 build.xml:252: /classpath It should be possible to move these classpath elements into the first macrodef without changing anything, since the test-only code isn't reachable from the client seed classes. http://gwt-code-reviews.appspot.com/1383808/diff/1/build.xml#newcode259 build.xml:259: target name=requestfactory-jre-test depends=requestfactory-test+src description=Run RequestFactoryJreSuite This target should be added to the main test target. http://gwt-code-reviews.appspot.com/1383808/diff/1/user/src/com/google/gwt/autobean/server/impl/BeanMethod.java File user/src/com/google/gwt/autobean/server/impl/BeanMethod.java (right): http://gwt-code-reviews.appspot.com/1383808/diff/1/user/src/com/google/gwt/autobean/server/impl/BeanMethod.java#newcode208 user/src/com/google/gwt/autobean/server/impl/BeanMethod.java:208: // since java.beans.Introspector is not available in Android 2.2 Switch to javadoc comment. http://gwt-code-reviews.appspot.com/1383808/diff/1/user/src/com/google/gwt/autobean/server/impl/JsonSplittable.java File user/src/com/google/gwt/autobean/server/impl/JsonSplittable.java (right): http://gwt-code-reviews.appspot.com/1383808/diff/1/user/src/com/google/gwt/autobean/server/impl/JsonSplittable.java#newcode65 user/src/com/google/gwt/autobean/server/impl/JsonSplittable.java:65: // since that method is not available in Android 2.2 Javadoc comment. http://gwt-code-reviews.appspot.com/1383808/diff/1/user/src/com/google/requestfactory/server/RequestFactoryJarExtractor.java File user/src/com/google/requestfactory/server/RequestFactoryJarExtractor.java (right): http://gwt-code-reviews.appspot.com/1383808/diff/1/user/src/com/google/requestfactory/server/RequestFactoryJarExtractor.java#newcode466 user/src/com/google/requestfactory/server/RequestFactoryJarExtractor.java:466: for (Type t : Type.getArgumentTypes(desc)) { This can be numArgs += t.getSize() instead. http://gwt-code-reviews.appspot.com/1383808/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9902 committed - Removing a stray junit dep missed in r9870....
Revision: 9902 Author: fabb...@google.com Date: Mon Mar 28 04:59:34 2011 Log: Removing a stray junit dep missed in r9870. Continuing the old code review thread: http://gwt-code-reviews.appspot.com/1383804 Review by: sco...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9902 Modified: /trunk/dev/build.xml === --- /trunk/dev/build.xmlMon Mar 21 05:20:32 2011 +++ /trunk/dev/build.xmlMon Mar 28 04:59:34 2011 @@ -213,7 +213,6 @@ pathelement location=${gwt.tools.lib}/apache/ant-1.6.5.jar / pathelement location=${gwt.tools.lib}/eclipse/jdt-3.4.2.jar / pathelement location=${gwt.tools.lib}/tomcat/commons-collections-3.1.jar / - pathelement location=${gwt.tools.lib}/junit/junit-4.8.2.jar / pathelement location=${gwt.tools.lib}/guava/guava-r06/guava-r06-rebased-2.jar / /classpath /gwt.javac -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Supress errors when building the Type Oracle. (issue1385810)
Reviewers: scottb, jbrosenberg, tobyr, Description: Supress errors when building the Type Oracle. This patch supresses errors (turns them into TRACE and DEBUG level log messages) during the TypeOracle build. When building the AST, if an error is encountered, the CompilationState (or global CompilationStateBuilder cache) is consulted to find any errors in a type that has a problem, or any dependencies of that type. Please review this at http://gwt-code-reviews.appspot.com/1385810/ Affected files: M dev/core/src/com/google/gwt/dev/cfg/ConditionWhenTypeAssignableTo.java M dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java M dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java M dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java M dev/core/src/com/google/gwt/dev/javac/MemoryUnitCache.java A dev/core/src/com/google/gwt/dev/javac/ProblemReporter.java M dev/core/src/com/google/gwt/dev/javac/UnitCache.java M dev/core/src/com/google/gwt/dev/util/Util.java M dev/core/test/com/google/gwt/dev/javac/MemoryUnitCacheTest.java M dev/core/test/com/google/gwt/dev/javac/MockCompilationUnit.java M dev/core/test/com/google/gwt/dev/javac/TypeOracleTestingUtils.java M tools/api-checker/src/com/google/gwt/tools/apichecker/ApiContainer.java M user/src/com/google/gwt/http/client/RequestBuilder.java M user/src/com/google/gwt/junit/JUnitShell.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Operations like i += d where i is an int and d is a double are not properly (issue1385803)
http://gwt-code-reviews.appspot.com/1385803/diff/2002/dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java File dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java (right): http://gwt-code-reviews.appspot.com/1385803/diff/2002/dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java#newcode98 dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java:98: private JType widenType(JType lhsType, JType rhsType) { On 2011/03/25 23:05:07, scottb wrote: Please add that URL to a javadoc comment on this method. Done. http://gwt-code-reviews.appspot.com/1385803/diff/1009/dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java File dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java (right): http://gwt-code-reviews.appspot.com/1385803/diff/1009/dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java#newcode28 dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java:28: private final class Result { On 2011/03/25 23:05:07, scottb wrote: This is unused now, right? Since you're using the one in OptimizerTestBase Done. http://gwt-code-reviews.appspot.com/1385803/diff/1009/dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java#newcode70 dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java:70: // don't touch int op= in On 2011/03/25 23:05:07, scottb wrote: typo, int Done. http://gwt-code-reviews.appspot.com/1385803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9903 committed - Operations like i += d where i is an int and d is a double are not pro...
Revision: 9903 Author: cromwell...@google.com Date: Mon Mar 28 09:42:49 2011 Log: Operations like i += d where i is an int and d is a double are not properly truncated (narrowed) to the LHS type. This patch forces i += d to be written as i = i + d, and applies a narrowing cast as needed, e.g. i = (int)(i + d); Updated to fix String concat issue: Review at http://gwt-code-reviews.appspot.com/1385803 Review by: sco...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9903 Added: /trunk/dev/core/javatests /trunk/dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java Modified: /trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CompoundAssignmentNormalizer.java /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java === --- /dev/null +++ /trunk/dev/core/javatests Mon Mar 28 09:42:49 2011 @@ -0,0 +1,1 @@ +test === --- /dev/null +++ /trunk/dev/core/test/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizerTest.java Mon Mar 28 09:42:49 2011 @@ -0,0 +1,63 @@ +/* + * Copyright 2008 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.dev.jjs.impl; + +import com.google.gwt.core.ext.UnableToCompleteException; +import com.google.gwt.dev.jjs.ast.JMethod; +import com.google.gwt.dev.jjs.ast.JProgram; + +/** + * Tests {@link PostOptimizationCompoundAssignmentNormalizer}. + */ +public class PostOptimizationCompoundAssignmentNormalizerTest +extends OptimizerTestBase { + + public void testIntegralFloatCoercion() throws Exception { +// long op= float +optimize(void, long x=2L; float d=3; x += d;).into( +long x=2L; float d=3; x = (long)((float)x + d);); +// long op= long + optimize(void, long x=2L; long d=3L; x += d;).into( +long x=2L; long d=3L; x = x + d;); +// don't touch int op= int +optimize(void, int x=2; int d=3; x += d;).into( +int x=2; int d=3; x += d;); +// don't touch, integral types with lhs wider than rhs +optimize(void, int x=2; short d=3; x += d;).into( +int x=2; short d=3; x += d;); +// different integral types, but should narrow result +optimize(void, int x=2; short d=3; d += x;).into( +int x=2; short d=3; d = (short)(d + x);); +// integral with long, should break up +optimize(void, int x=2; long d=3L; x += d;).into( +int x=2; long d=3L; x = (int)((long)x + d);); +// integral with float +optimize(void, int x=2; float d=3.0f; x += d;).into( +int x=2; float d=3.0f; x = (int)(x + d);); +// integral with double +optimize(void, int x=2; double d=3.0; x += d;).into( +int x=2; double d=3.0; x = (int)(x + d);); +// float and double, don't touch +optimize(void, float x=2; double d=3.0; x += d;).into( +float x=2; double d=3.0; x += d;); + } + + protected boolean optimizeMethod(JProgram program, JMethod method) { +PostOptimizationCompoundAssignmentNormalizer.exec(program); +LongCastNormalizer.exec(program); +return true; + } +} === --- /trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java Fri Mar 25 12:11:48 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java Mon Mar 28 09:42:49 2011 @@ -292,10 +292,10 @@ // (5) Normalize the high-level Java tree into a lower-level tree more // suited for JavaScript code generation. Don't go reordering these // willy-nilly because there are some subtle interdependencies. - LongCastNormalizer.exec(jprogram); JsoDevirtualizer.exec(jprogram); CatchBlockNormalizer.exec(jprogram); PostOptimizationCompoundAssignmentNormalizer.exec(jprogram); + LongCastNormalizer.exec(jprogram); LongEmulationNormalizer.exec(jprogram); CastNormalizer.exec(jprogram, options.isCastCheckingDisabled()); ArrayNormalizer.exec(jprogram); === --- /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CompoundAssignmentNormalizer.java Fri May 28 06:43:34 2010 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CompoundAssignmentNormalizer.java Mon Mar 28 09:42:49 2011 @@ -161,8 +161,10 @@ new
[gwt-contrib] Add a buffered input stream when reading persistent unit cache (issue1386807)
Reviewers: scottb, Description: Add a buffered input stream when reading persistent unit cache Make -Dgwt.persistentunitcachedir override the default cache dir if set. Fail fast if we can't reate a file in the cache directory Better test to see if directory exists before trying to start the cache. Added a few more unit tests Please review this at http://gwt-code-reviews.appspot.com/1386807/ Affected files: M dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java M dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java M dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java Index: dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java === --- dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (revision 9902) +++ dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (working copy) @@ -22,6 +22,7 @@ import com.google.gwt.dev.util.log.speedtracer.SpeedTracerLogger.Event; import com.google.gwt.util.tools.Utility; +import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.EOFException; import java.io.File; @@ -43,13 +44,13 @@ * A class that manages a persistent cache of {@link CompilationUnit} instances. * Writes out {@CompilationUnit} instances to a cache in a * background thread. - * + * p * The persistent cache is implemented as a directory of log files with a date * timestamp. A new log file gets created each time a new PersistentUnitCache is * instantiated, (once per invocation of the compiler or DevMode). The design is * intended to support only a single PersistentUnitCache instance in the * compiler at a time. - * + * p * As new units are compiled, the cache data is appended to a log. This allows * Java serialization to efficiently store references. The next time the cache * is started, all logs are replayed and loaded into the cache in chronological @@ -59,7 +60,8 @@ * {@link PersistentUnitCache#CACHE_FILE_THRESHOLD} , the cache files are * consolidated back into a single file. * - * System Properties: + * p + * System Properties (see {@link UnitCacheFactory}). * * ul * ligwt.persistentunitcache : enables the persistent cache (eventually will @@ -67,6 +69,7 @@ * ligwt.persistentunitcachedir=dir: sets or overrides the cache directory/li * /ul * + * p * Known Issues: * * ul @@ -292,7 +295,7 @@ logger.log(TreeLogger.TRACE, Persistent unit cache dir set to: + this.cacheDirectory.getAbsolutePath()); -if (!cacheDirectory.exists() !cacheDirectory.mkdir()) { +if (!cacheDirectory.isDirectory() !cacheDirectory.mkdir()) { logger.log(TreeLogger.ERROR, Unable to initialize cache. Couldn't create directory + cacheDirectory.getAbsolutePath() + .); throw new UnableToCompleteException(); @@ -308,7 +311,9 @@ try { currentCacheFile.createNewFile(); } catch (IOException ex) { - // ignore, we'll try again later in the writer thread. + logger.log(TreeLogger.ERROR, Unable to create new cache log file + + currentCacheFile.getAbsolutePath() + ., ex); + throw new UnableToCompleteException(); } unitCacheMapLoader = new UnitCacheMapLoader(logger); @@ -444,17 +449,19 @@ File[] files = getCacheFiles(); for (File cacheFile : files) { FileInputStream fis = null; + BufferedInputStream bis = null; ObjectInputStream inputStream = null; if (cacheFile.equals(currentCacheFile)) { continue; } try { fis = new FileInputStream(cacheFile); +bis = new BufferedInputStream(fis); /* * It is possible for the next call to throw an exception, leaving * inputStream null and fis still live. */ -inputStream = new ObjectInputStream(fis); +inputStream = new ObjectInputStream(bis); while (true) { CompilationUnit unit = (CompilationUnit) inputStream.readObject(); if (unit == null) { @@ -481,6 +488,7 @@ + cacheFile.getAbsolutePath(), ex); } finally { Utility.close(inputStream); +Utility.close(bis); Utility.close(fis); logger.log(TreeLogger.TRACE, cacheFile.getName() + : Load complete); } Index: dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java === --- dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java (revision 9902) +++ dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java (working copy) @@ -45,15 +45,13 @@ assert logger != null; if (instance == null) { if (usePersistent) { -if (cacheDir == null) { - String dirProp = gwt.persistentunitcachedir; -
[gwt-contrib] Re: Better error handling when the cache is initialized with a directory (issue1380808)
followups to http://gwt-code-reviews.appspot.com/1386807 http://gwt-code-reviews.appspot.com/1380808/diff/1/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java File dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java (right): http://gwt-code-reviews.appspot.com/1380808/diff/1/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java#newcode295 dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java:295: if (!cacheDirectory.exists() !cacheDirectory.mkdir()) { On 2011/03/25 20:25:14, scottb wrote: Instead of exists(), isDirectory(). If an ordinary file happens to be in the way, you'll fall past this test and fail later. Done. see http://gwt-code-reviews.appspot.com/1386807 http://gwt-code-reviews.appspot.com/1380808/diff/1/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java#newcode311 dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java:311: // ignore, we'll try again later in the writer thread. On 2011/03/25 20:25:14, scottb wrote: Maybe we should go ahead and fail here. Done. see http://gwt-code-reviews.appspot.com/1386807 http://gwt-code-reviews.appspot.com/1380808/diff/1/dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java File dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java (right): http://gwt-code-reviews.appspot.com/1380808/diff/1/dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java#newcode178 dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java:178: } catch (UnableToCompleteException ex) { On 2011/03/25 20:25:14, scottb wrote: Typically, you'd put a fail() above this line, and rename 'ex' - 'expected'. Then you don't have to track via boolean. Done. see http://gwt-code-reviews.appspot.com/1386807 http://gwt-code-reviews.appspot.com/1380808/diff/1/dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java#newcode186 dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java:186: On 2011/03/25 20:25:14, scottb wrote: Would also be good to test what happens if you create an ordinary file in the way of the directory. Done. see http://gwt-code-reviews.appspot.com/1386807 http://gwt-code-reviews.appspot.com/1380808/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] RR: Promoting RequestFactory to a higher package
Yes, it's true, we spaced that EventBus is part of GWT's public API. We're now thinking that the new packages will be: com.google.bindery.event com.google.bindery.autobean com.google.bindery.requestfactory Patches should start appearing this week. Note that this is strictly a refactoring of code that is already JRE compatible. The i18n subthread is interesting, but out of scope for this effort. On Fri, Mar 25, 2011 at 2:53 PM, Stephen Haberman stephen.haber...@gmail.com wrote: Reactions? Having to change import statements sounds perfectly fine to me. Other misc comments from the peanut gallery, though likely nothing you guys haven't likely already figured out. Just curious. Should c.g.requestfactory have zero GWT dependencies? I.e. this non-GWT/pure JRE jar you spoke of would be everything in that package (without any build tricks to filter out GWT stuff)? Perhaps then GWT-specific RF code like any of the client/rebind code (and even GWT-coupled server code) should stay in c.g.g.requestfactory? Also, the new c.g.rf.shared.RequestFactory imports c.g.gwt's EventBus--no idea if that's a big deal or not, but seems odd if c.g.requestfactory is supposed to be reusable/non-GWT standalone (which, may very likely be a constraint I'm making up--it just seems elegant if non-GWT reuse is what you're after). - Stephen -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Add a buffered input stream when reading persistent unit cache (issue1386807)
LGTM, good cache on the BufferedInputStream http://gwt-code-reviews.appspot.com/1386807/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: LongLibBase improperly stomps on global 'a' variable. This patch reuses globalTemp (_) instead. (issue1389803)
LGTM, with stupid question. http://gwt-code-reviews.appspot.com/1389803/diff/1/dev/core/super/com/google/gwt/lang/LongLibBase.java File dev/core/super/com/google/gwt/lang/LongLibBase.java (right): http://gwt-code-reviews.appspot.com/1389803/diff/1/dev/core/super/com/google/gwt/lang/LongLibBase.java#newcode325 dev/core/super/com/google/gwt/lang/LongLibBase.java:325: _.l = l, _.m = m, _.h = h, _); Stupid question, but why can't we just return {l:l, m:m, h:h}? http://gwt-code-reviews.appspot.com/1389803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9904 committed - Add a buffered input stream when reading persistent unit cache...
Revision: 9904 Author: zun...@google.com Date: Mon Mar 28 11:28:56 2011 Log: Add a buffered input stream when reading persistent unit cache Make -Dgwt.persistentunitcachedir override the default cache dir if set. Fail fast if we can't reate a file in the cache directory Better test to see if directory exists before trying to start the cache. Added a few more unit tests Review at http://gwt-code-reviews.appspot.com/1386807 Review by: sco...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9904 Modified: /trunk/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java /trunk/dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java /trunk/dev/core/test/com/google/gwt/dev/javac/PersistentUnitCacheTest.java === --- /trunk/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java Fri Mar 25 11:27:04 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/PersistentUnitCache.java Mon Mar 28 11:28:56 2011 @@ -22,6 +22,7 @@ import com.google.gwt.dev.util.log.speedtracer.SpeedTracerLogger.Event; import com.google.gwt.util.tools.Utility; +import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.EOFException; import java.io.File; @@ -43,13 +44,13 @@ * A class that manages a persistent cache of {@link CompilationUnit} instances. * Writes out {@CompilationUnit} instances to a cache in a * background thread. - * + * p * The persistent cache is implemented as a directory of log files with a date * timestamp. A new log file gets created each time a new PersistentUnitCache is * instantiated, (once per invocation of the compiler or DevMode). The design is * intended to support only a single PersistentUnitCache instance in the * compiler at a time. - * + * p * As new units are compiled, the cache data is appended to a log. This allows * Java serialization to efficiently store references. The next time the cache * is started, all logs are replayed and loaded into the cache in chronological @@ -59,7 +60,8 @@ * {@link PersistentUnitCache#CACHE_FILE_THRESHOLD} , the cache files are * consolidated back into a single file. * - * System Properties: + * p + * System Properties (see {@link UnitCacheFactory}). * * ul * ligwt.persistentunitcache : enables the persistent cache (eventually will @@ -67,6 +69,7 @@ * ligwt.persistentunitcachedir=dir: sets or overrides the cache directory/li * /ul * + * p * Known Issues: * * ul @@ -292,7 +295,7 @@ logger.log(TreeLogger.TRACE, Persistent unit cache dir set to: + this.cacheDirectory.getAbsolutePath()); -if (!cacheDirectory.exists() !cacheDirectory.mkdir()) { +if (!cacheDirectory.isDirectory() !cacheDirectory.mkdir()) { logger.log(TreeLogger.ERROR, Unable to initialize cache. Couldn't create directory + cacheDirectory.getAbsolutePath() + .); throw new UnableToCompleteException(); @@ -308,7 +311,9 @@ try { currentCacheFile.createNewFile(); } catch (IOException ex) { - // ignore, we'll try again later in the writer thread. + logger.log(TreeLogger.ERROR, Unable to create new cache log file + + currentCacheFile.getAbsolutePath() + ., ex); + throw new UnableToCompleteException(); } unitCacheMapLoader = new UnitCacheMapLoader(logger); @@ -444,17 +449,19 @@ File[] files = getCacheFiles(); for (File cacheFile : files) { FileInputStream fis = null; + BufferedInputStream bis = null; ObjectInputStream inputStream = null; if (cacheFile.equals(currentCacheFile)) { continue; } try { fis = new FileInputStream(cacheFile); +bis = new BufferedInputStream(fis); /* * It is possible for the next call to throw an exception, leaving * inputStream null and fis still live. */ -inputStream = new ObjectInputStream(fis); +inputStream = new ObjectInputStream(bis); while (true) { CompilationUnit unit = (CompilationUnit) inputStream.readObject(); if (unit == null) { @@ -481,6 +488,7 @@ + cacheFile.getAbsolutePath(), ex); } finally { Utility.close(inputStream); +Utility.close(bis); Utility.close(fis); logger.log(TreeLogger.TRACE, cacheFile.getName() + : Load complete); } === --- /trunk/dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java Fri Mar 25 11:27:04 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java Mon Mar 28 11:28:56 2011 @@ -45,15 +45,13 @@ assert logger != null; if (instance == null) { if (usePersistent) { -if (cacheDir == null) { - String dirProp =
[gwt-contrib] Re: LongLibBase improperly stomps on global 'a' variable. This patch reuses globalTemp (_) instead. (issue1389803)
http://gwt-code-reviews.appspot.com/1389803/diff/1/dev/core/super/com/google/gwt/lang/LongLibBase.java File dev/core/super/com/google/gwt/lang/LongLibBase.java (right): http://gwt-code-reviews.appspot.com/1389803/diff/1/dev/core/super/com/google/gwt/lang/LongLibBase.java#newcode325 dev/core/super/com/google/gwt/lang/LongLibBase.java:325: _.l = l, _.m = m, _.h = h, _); On 2011/03/28 21:31:25, scottb wrote: Stupid question, but why can't we just return {l:l, m:m, h:h}? Good question. It looks like LongEmul is not a JSO, because they want to reuse it in both JVM and ProdMode, so it's a Java type. This code may have existed before @GwtScriptOnly or SingleJsoImpl. If I were during this today, I'd make LongEmul an interface, use JSO for ProdMode, and JRE impl for everything else. I guess we'll revisit it later. http://gwt-code-reviews.appspot.com/1389803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9905 committed - LongLibBase improperly stomps on global 'a' variable. This patch reuse...
Revision: 9905 Author: cromwell...@google.com Date: Mon Mar 28 11:37:42 2011 Log: LongLibBase improperly stomps on global 'a' variable. This patch reuses globalTemp (_) instead. Review at http://gwt-code-reviews.appspot.com/1389803 Review by: sco...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9905 Modified: /trunk/dev/core/super/com/google/gwt/lang/LongLibBase.java === --- /trunk/dev/core/super/com/google/gwt/lang/LongLibBase.java Thu Dec 16 11:33:51 2010 +++ /trunk/dev/core/super/com/google/gwt/lang/LongLibBase.java Mon Mar 28 11:37:42 2011 @@ -321,8 +321,8 @@ } private static native LongEmul create0(int l, int m, int h) /*-{ -return (a = @com.google.gwt.lang.LongLibBase$LongEmul::getInstance()(), -a.l = l, a.m = m, a.h = h, a); +return (_ = @com.google.gwt.lang.LongLibBase$LongEmul::getInstance()(), +_.l = l, _.m = m, _.h = h, _); }-*/; private static LongEmul divModByMinValue(LongEmul a, boolean computeRemainder) { -- http://groups.google.com/group/Google-Web-Toolkit-Contributors