Re: GWT 2.1.RC1 Expenses Sample Failure
wiped out Maven local repo and reran and it WORKED!!!...still CANNOT get it to run in eclipse, even after mvn eclipse:eclipse, importing and running as WebApplication get following error..tried jvm flag and that too didn't work. Your SDK: Release: 1.3.7 Timestamp: Wed Aug 25 12:40:01 EDT 2010 API versions: [1.0] --- Please visit http://code.google.com/appengine for the latest SDK. Unable to start embedded HTTP server java.lang.RuntimeException: Unable to locate the App Engine agent. Please use dev_appserver, KickStart, or set the jvm flag: "- javaagent:/lib/agent/appengine-agent.jar"[ERROR] shell failed in doStartupServer method at com.google.appengine.tools.development.DevAppServerFactory.testAgentIsInstalled(DevAppServerFactory.java: 102) at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java: 77) at com.google.appengine.tools.development.DevAppServerFactory.createDevAppServer(DevAppServerFactory.java: 38) at com.google.appengine.tools.development.gwt.AppEngineLauncher.start(AppEngineLauncher.java: 79) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:431) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1053) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) Caused by: java.lang.NoClassDefFoundError: com/google/appengine/tools/ development/agent/AppEngineDevAgent at com.google.appengine.tools.development.DevAppServerFactory.testAgentIsInstalled(DevAppServerFactory.java: 98) ... 7 more Caused by: java.lang.ClassNotFoundException: com.google.appengine.tools.development.agent.AppEngineDevAgent at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 8 more On Oct 15, 10:41 pm, coderinabstract wrote: > I am getting the following errors in eclipse..mac os10.6...java > version "1.6.0_20" > Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) > > This is with the updated pom on the gwt2.1RC1 package and updated > POM.xml and mvn eclipse:eclipse maven 2.2 > > Loading modules > com.google.gwt.sample.expenses.Expenses > Loading inherited module > 'com.google.gwt.sample.expenses.ExpensesCommon' > Loading inherited module 'com.google.gwt.app.App' > [ERROR] Unable to find 'com/google/gwt/app/App.gwt.xml' on > your classpath; could be a typo, or maybe you forgot to include a > classpath entry for source? > [ERROR] Line 4: Unexpected exception while processing element > 'inherits' > > Doing mvn gwt:compile in the shell > > [INFO] Preparing gwt:run > [INFO] [gae:unpack {execution: }] > [INFO] Extracting GAE SDK file: /Users/Cda/.m2/repository/com/google/ > appengine/appengine-java-sdk/1.3.7/appengine-java-sdk-1.3.7.zip > [INFO] To path: /Users/Cda/.m2/repository/com/google/appengine/ > appengine-java-sdk/1.3.7 > [INFO] [resources:resources {execution: default-resources}] > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory /Users/Cda/Downloads/ > gwt-2.1.0.RC1/samples/Expenses/src/main/resources > [INFO] [compiler:compile {execution: default-compile}] > [WARNING] File encoding has not been set, using platform encoding > MacRoman, i.e. build is platform dependent! > [INFO] Compiling 58 source files to /Users/Cda/Downloads/gwt-2.1.0.RC1/ > samples/Expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes > log4j:WARN No appenders could be found for logger > (DataNucleus.Enhancer). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN Seehttp://logging.apache.org/log4j/1.2/faq.html#noconfig > for more info. > [INFO] - > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ > java/com/google/gwt/sample/expenses/client/Expenses.java:[21,34] > cannot find symbol > symbol : class SimpleEventBus > location: package com.google.gwt.event.shared > > [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ > java/com/google/gwt/sample/expenses/client/Expenses.java:[24,43] > cannot find symbol > symbol : class UserInformationProxy > location: package com.google.gwt.requestfactory.shared > > [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ > java/com/google/gwt/sample/expenses/client/Expenses.java:
Re: Basic Auth with GWT
"pete" schrieb: >What I want is the browser standard basic-auth dialog popping up, >entering credentials (maybe saving them if wished), then sending the >data to the server, processing the login, and if successful to load >the module, otherwise ask again... >I found how to send a http request including basic-auth information, >but that doesn't take care of integrating the standard browser dialog >window. The dialog is shown (by the browser automatically), if the server answers with the HTTP response code for "unauthorized" and the HTTP response header informing about the available authentication types. I'm writing this mail from my mobile phone, so you need to check for the specific values for yourself. Keep in mind that basic authentication is sending username and password in quasi cleartext, so HTTPS should be used. Regards, Lothar -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
v.jegan waran wants to chat
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- v.jegan waran wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-387b308119-ffb2e09f28-1lkyrBFxWYH5Sq7qivoDtrPqKKQ You'll need to click this link to be able to chat with v.jegan waran. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with v.jegan waran, visit: http://mail.google.com/mail/a-387b308119-ffb2e09f28-1lkyrBFxWYH5Sq7qivoDtrPqKKQ Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into "conversations" - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Basic Auth with GWT
Hello! I have a running GWT-App, with a DialogBox as login box, sending login data via RPC to the server and performing the login process. Now it is requested, that the standard basic-auth of http is used. I found one tutorial how to upgrade the web.xml, but that didn't work with GWT 2.0 anymore... What I want is the browser standard basic-auth dialog popping up, entering credentials (maybe saving them if wished), then sending the data to the server, processing the login, and if successful to load the module, otherwise ask again... I found how to send a http request including basic-auth information, but that doesn't take care of integrating the standard browser dialog window. I also have a similar standard java servlet app, that performs all of these tasks as part of the servlet process, by performing the appropriate doGet() method and sending the respective response back... Does anyone know how to accomplish this? Maybe similar to the standard servlet app? (is there a way to not load the module immediately, but first do a GET-Request to a standard servlet and load the module appropriately afterwards?) Many thanks in advance :-) Greetz -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How can I create a CellTree of Anchor nodes?
I have a CellTree, I would like to add Anchor nodes to it. There is no AnchorCell available. What do I need to use in order to implement this functionality? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How can I programmatically move up and down a CellTree?
Let's say I have two buttons Up and Down. On clicking Up I want to programmatically select the node previous to the currently selected node, and on clicking Down I want to programmatically select the node after the selected node. How can I do this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.1.RC1 Expenses Sample Failure
I am getting the following errors in eclipse..mac os10.6...java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode) This is with the updated pom on the gwt2.1RC1 package and updated POM.xml and mvn eclipse:eclipse maven 2.2 Loading modules com.google.gwt.sample.expenses.Expenses Loading inherited module 'com.google.gwt.sample.expenses.ExpensesCommon' Loading inherited module 'com.google.gwt.app.App' [ERROR] Unable to find 'com/google/gwt/app/App.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 4: Unexpected exception while processing element 'inherits' Doing mvn gwt:compile in the shell [INFO] Preparing gwt:run [INFO] [gae:unpack {execution: }] [INFO] Extracting GAE SDK file: /Users/Cda/.m2/repository/com/google/ appengine/appengine-java-sdk/1.3.7/appengine-java-sdk-1.3.7.zip [INFO] To path: /Users/Cda/.m2/repository/com/google/appengine/ appengine-java-sdk/1.3.7 [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/Cda/Downloads/ gwt-2.1.0.RC1/samples/Expenses/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [WARNING] File encoding has not been set, using platform encoding MacRoman, i.e. build is platform dependent! [INFO] Compiling 58 source files to /Users/Cda/Downloads/gwt-2.1.0.RC1/ samples/Expenses/target/expenses-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes log4j:WARN No appenders could be found for logger (DataNucleus.Enhancer). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [INFO] - [ERROR] COMPILATION ERROR : [INFO] - [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ java/com/google/gwt/sample/expenses/client/Expenses.java:[21,34] cannot find symbol symbol : class SimpleEventBus location: package com.google.gwt.event.shared [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ java/com/google/gwt/sample/expenses/client/Expenses.java:[24,43] cannot find symbol symbol : class UserInformationProxy location: package com.google.gwt.requestfactory.shared [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ java/com/google/gwt/sample/expenses/client/Expenses.java:[25,46] package com.google.gwt.requestfactory.ui.client does not exist [ERROR] /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/ java/com/google/gwt/sample/expenses/client/Expenses.java:[26,46] package com.google.gwt.requestfactory.ui.client does not exist ..MANY MORE ERRORS..REMOVED FOR READABILITY /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/java/com/ google/gwt/sample/expenses/client/ExpenseDetails.java:[119,21] cannot find symbol symbol : class SafeHtml location: interface com.google.gwt.sample.expenses.client.ExpenseDetails.Template /Users/Cda/Downloads/gwt-2.1.0.RC1/samples/Expenses/src/main/java/com/ google/gwt/sample/expenses/client/ExpenseDetails.java:[119,46] cannot find symbol symbol : class SafeHtml location: interface com.google.gwt.sample.expenses.client.ExpenseDetails.Template [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Fri Oct 15 22:04:58 EDT 2010 [INFO] Final Memory: 65M/123M [INFO] Cda-MacBook-Pro:Expenses Cda$ any thoughts...thank you in advance On Oct 15, 1:53 pm, Esfand wrote: > Thnaks! This is going to be a very useful pom.xml file. > So long, greeting (sample.). > > Just a reminder, the three .txt files from src/main/webapp > folder still needs to be moved to the project's root folder > in order for the sample to work. > > By some minor change it even works with newly released > appengine-1.3.8 and Roo-1.1-RC1. > > It can even work with the gwt-2.1.0-SNAPSHT form the > maven central. I just wonder how often this snapshot is > going to be updated. Hopefully with every GWT build of > the Hudson CI server. > > On Oct 15, 7:19 pm, David Chandler wrote: > > > > > The Expenses pom.xml has been updated in > > trunk:http://code.google.com/p/google-web-toolkit/source/browse/trunk/sampl... > > > You should now be able to run "mvn gwt:run" to run in hosted mode or > > "mvn package gae:run" to run in production mode. Hit > > LoadExpensesDB.html first to load sample data, then Expenses.html to > > use the app. > > > The project will import into Eclipse using m2eclipse or "mvn > > eclipse
Re: How to hot fix a common GWT widget without recompiling the GWT module?
Hi Daniel! just fix the class and put the source code in your super-source folder then recompile your module. source-source has higher priority. Michael On Oct 15, 1:40 pm, Daniel wrote: > Hi Michael, > > Thanks for your reply. > Can you explain the super-source option? > > Thanks > Daniel > > On Oct 14, 1:55 pm, mmoossen wrote: > > > hi Daniel! > > > if the fix affects only non-private members, the best is to extend the > > widget by your own. > > if not possible, then one possibility i have been using is super- > > source. > > > hth > > Michael > > > On Oct 14, 2:35 pm, Daniel wrote: > > > > I have a common GWT widget and is used in many GWT modules. > > > Now I have fixed a bug in the GWT widget and needs to deploy for all > > > the GWT modules. > > > But I do not want to re-compile the GWT modules with the common GWT > > > widget fix. > > > My understanding is this can not be done in GWT and all the modules > > > have to be compiled with this new fix. > > > > I wonder is there a way to do this? I am using GWT v2.0.1. > > > Our product is already deployed on the customer site & just want to > > > hot fix their environment. > > > > I appreciate and thank you for your responses. > > > > Daniel- Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Canvas on HTML 4.01?
no way 'The canvas element is part of HTML5...'(c) http://en.wikipedia.org/wiki/Canvas_element only http://www.google.com/search?q=html5+canvas On Oct 14, 6:30 pm, "s.djukic" wrote: > Hi all, > > Does anyone know whether GWT Canvas will work on older browsers > (4.01)? Couldn't really find any explicit statement on the net. > > Thanks! > Sinisha -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Display the List
Hello, I am new in GWT. I wanna show the array list in table. Can anyone help me please? This is the Array list bellow. private List urunListesi = new ArrayList(); public List getUrunListesi() { return urunListesi; } public void setUrunListesi(List urunListesi) { this.urunListesi = urunListesi; } getUrunListesi().add(new UrunListesi("10001","Pierre Cardin PC100691F03 Erkek Kol Saati",350)); getUrunListesi().add(new UrunListesi("10002","Everest EWU-5DBN Wireless-G Usb Adaptor",750)); getUrunListesi().add(new UrunListesi("10003","Seagate 1TB 32MB 7200RPM Freeagent Desk 3.5",385)); getUrunListesi().add(new UrunListesi("10004","Casper Nirvana CN.HBI450A Intel Core i5 450M...",885)); getUrunListesi().add(new UrunListesi("10005","HP Deskjet 2050 Cok Fonksiyonlu Yazici CH350B",359)); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
newbie - unit test fails with: Resource not found: greet
hi, trying to add a test to my simple app - a hacked up greet server (please see test code below). error says: Starting HTTP on port 0 HTTP listening on port 3518 Starting http://192.168.1.105:3518/p.Rtecg2.JUnit/junit.html?gwt.codesvr=192.168.1.105:3516 on browser FF3 Module p.Rtecg2.JUnit has been loaded All clients connected (Limiting future permutations to: gecko1_8) [WARN] CSS error: null [485:24] Error in expression. Invalid token "=". Was expecting one of: , , "/", , ... (there is a buch of the above). then: The development shell servlet received a request for 'greet' in module 'p.Rtecg2.JUnit.gwt.xml' [WARN] Resource not found: greet; (could a file be missing from the public path or a tag misconfigured in module p.Rtecg2.JUnit.gwt.xml ?) (Rtecg2.java:105) 2010-10-15 14:56:35,937 [ERROR] clickhandler: An error occurred while attempting to contact the server. Please check your network connection and try again. this kind of error also happens if i add a test to the generated greet server code (but without the css errors - i did change the css stuff in my app). Starting HTTP on port 0 HTTP listening on port 3552 Starting http://192.168.1.105:3552/p.R.JUnit/junit.html?gwt.codesvr=192.168.1.105:3551 on browser FF3 Module p.R.JUnit has been loaded The development shell servlet received a request for 'greet' in module 'p.R.JUnit.gwt.xml' [WARN] Resource not found: greet; (could a file be missing from the public path or a tag misconfigured in module p.R.JUnit.gwt.xml ?) lose: com.google.gwt.user.client.rpc.StatusCodeException: Cannot find resource 'greet' in the public path of module 'p.R.JUnit' All clients connected (Limiting future permutations to: gecko1_8) this module name: p.Rtecg2.JUnit.gwt.xml - seems strange. also so does: p.R.JUnit.gwt.xml thanks package p.client; import com.google.gwt.junit.client.GWTTestCase; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.Timer; public class ATestCase extends GWTTestCase { public ATestCase(String name) { setName(name); } public ATestCase() { } protected void gwtSetUp() throws Exception { super.gwtSetUp(); } protected void gwrTearDown() throws Exception { super.gwtTearDown(); } @Override public String getModuleName() { return "p.Rtecg2"; } public void testAnRpc() throws Exception { Rtecg2 module = new Rtecg2(); final String id="xx"; final Label label=new Label(); module.oldSend(id, label); Timer timer = new Timer() { public void run() { System.out.println(label.getText()); finishTest(); } }; timer.schedule(200); delayTestFinish(500); }} --- co-chair http://ocjug.org/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Chrome / GWT Size limits
I seemed to have crossed a size threshhold for Chrome. My code runs fine in development mode. I can compile the code without any errors reported. Firefox runs the compiled code, but Chrome reports this error. "Uncaught RangeError: Maximum call stack size exceeded." The individual components of the web page run fine under chrome. Is there a way to avoid this error? Tim -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory and non-Java (non-GWT) backends
Johan, There is no documentation on the RequestFactory wire protocol. It is subject to change in future releases, so should not be relied upon for creating non-GWT back-ends. Better to use RequestBuilder with standard JSON for that. As for the service methods, yes, the RequestFactoryGenerator checks for their existence at compile time. -- David Chandler Developer Programs Engineer, GWT On Oct 15, 5:10 am, Johan Rydberg wrote: > I have yet to find any documentation on the on-wire protocol > that RequestFactory uses. Are there any, or does it have to > be reverse-engineered? > > Also, does GWT _require_ the "service methods" actually be > available in the entity class? > > RequestFactory being based on JSON makes it a better fit for > non-Java server-side code. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Defining an external API for a GWT application
See gwt-exporter: http://code.google.com/p/gwt-exporter/ On Fri, Oct 15, 2010 at 1:51 PM, Dan wrote: > Is there a way to externalize function names within the optimized > compiled code so that I can provide an api to those who may wish to > consume something I write in GWT? > > Similar to what @extern does for preventing obfuscation of css class > names. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.1.RC1 Expenses Sample Failure
Thnaks! This is going to be a very useful pom.xml file. So long, greeting (sample.). Just a reminder, the three .txt files from src/main/webapp folder still needs to be moved to the project's root folder in order for the sample to work. By some minor change it even works with newly released appengine-1.3.8 and Roo-1.1-RC1. It can even work with the gwt-2.1.0-SNAPSHT form the maven central. I just wonder how often this snapshot is going to be updated. Hopefully with every GWT build of the Hudson CI server. On Oct 15, 7:19 pm, David Chandler wrote: > The Expenses pom.xml has been updated in > trunk:http://code.google.com/p/google-web-toolkit/source/browse/trunk/sampl... > > You should now be able to run "mvn gwt:run" to run in hosted mode or > "mvn package gae:run" to run in production mode. Hit > LoadExpensesDB.html first to load sample data, then Expenses.html to > use the app. > > The project will import into Eclipse using m2eclipse or "mvn > eclipse:eclipse". To run from Eclipse with Run as | Web Application, > there's still a GPE fix coming... > > -- > David Chandler > Developer Programs Engineer, GWT > > On Oct 14, 4:30 pm, DataSurfer wrote: > > > I am getting a similar error with 1.3.2.google: > > > [INFO] [compiler:testCompile {execution: default-testCompile}] > > [INFO] Not compiling test sources > > [INFO] [surefire:test {execution: default-test}] > > [INFO] Tests are skipped. > > - > > this realm = app0.child-container[org.codehaus.mojo:gwt-maven-plugin: > > 1.3.2.google] > > urls[0] = file:/Users/datasurfer/.m2/repository/org/codehaus/mojo/gwt- > > maven-plugin/1.3.2.google/gwt-maven-plugin-1.3.2.google.jar > > urls[1] = file:/Users/datasurfer/.m2/repository/org/codehaus/plexus/ > > plexus-utils/1.1/plexus-utils-1.1.jar > > Number of imports: 10 > > import: org.codehaus.classworlds.en...@a6c57a42 > > import: org.codehaus.classworlds.en...@12f43f3b > > import: org.codehaus.classworlds.en...@20025374 > > import: org.codehaus.classworlds.en...@f8e44ca4 > > import: org.codehaus.classworlds.en...@92758522 > > import: org.codehaus.classworlds.en...@ebf2705b > > import: org.codehaus.classworlds.en...@bb25e54 > > import: org.codehaus.classworlds.en...@bece5185 > > import: org.codehaus.classworlds.en...@3fee8e37 > > import: org.codehaus.classworlds.en...@3fee19d8 > > > this realm = plexus.core > > urls[0] = file:/usr/local/apache-maven/lib/maven-2.2.1-uber.jar > > Number of imports: 10 > > import: org.codehaus.classworlds.en...@a6c57a42 > > import: org.codehaus.classworlds.en...@12f43f3b > > import: org.codehaus.classworlds.en...@20025374 > > import: org.codehaus.classworlds.en...@f8e44ca4 > > import: org.codehaus.classworlds.en...@92758522 > > import: org.codehaus.classworlds.en...@ebf2705b > > import: org.codehaus.classworlds.en...@bb25e54 > > import: org.codehaus.classworlds.en...@bece5185 > > import: org.codehaus.classworlds.en...@3fee8e37 > > import: org.codehaus.classworlds.en...@3fee19d8 > > - > > [INFO] > > > > [ERROR] BUILD ERROR > > [INFO] > > > > [INFO] Internal error in the plugin manager executing goal > > 'org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:compile': Unable to > > load the mojo 'org.codehaus.mojo:gwt-maven-plugin: > > 1.3.2.google:compile' in the plugin 'org.codehaus.mojo:gwt-maven- > > plugin'. A required class is missing: org/codehaus/plexus/util/xml/ > > XmlStreamReader > > org.codehaus.plexus.util.xml.XmlStreamReader > > [INFO] > > > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > > [INFO] Total time: 22 seconds > > [INFO] Finished at: Thu Oct 14 16:19:07 EDT 2010 > > [INFO] Final Memory: 64M/125M > > [INFO] > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT + App Engine + JSP (Eclipse IDE)
Hello I have plenty of experience with GWT, and my app works on App Engine, only I want to change it so that I can manipulate the page (the base html file) on the very first GET request. Thus, I want to use JSP. For starters my Eclipse (3.5.1) does not natively understand JSP files and I have no idea how to get App Engine to process JSP files, although that might simply be automatic. Can anyone help me get started? I don't need to have any kind of complicated server-side architecture like MVC, I just need to be able to insert some stuff into the JSP file based on some logic in a Java class. I imagine my Java class should go in the /server/ folder inside my /src/ folder. Can I simply change myapp.html to myapp.jsp and put some JSP that calls code from the server side Java class? How do I get Eclipse as well as App Engine to understand JSP files? I see mention of the Eclipse Web Tool Platform, but I don't know if that is a different version of Eclipse than my Eclipse for Java or what. I don't know if the GWT plugin will work for it or what. Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Defining an external API for a GWT application
Is there a way to externalize function names within the optimized compiled code so that I can provide an api to those who may wish to consume something I write in GWT? Similar to what @extern does for preventing obfuscation of css class names. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to hot fix a common GWT widget without recompiling the GWT module?
Hi Michael, Thanks for your reply. Can you explain the super-source option? Thanks Daniel On Oct 14, 1:55 pm, mmoossen wrote: > hi Daniel! > > if the fix affects only non-private members, the best is to extend the > widget by your own. > if not possible, then one possibility i have been using is super- > source. > > hth > Michael > > On Oct 14, 2:35 pm, Daniel wrote: > > > > > I have a common GWT widget and is used in many GWT modules. > > Now I have fixed a bug in the GWT widget and needs to deploy for all > > the GWT modules. > > But I do not want to re-compile the GWT modules with the common GWT > > widget fix. > > My understanding is this can not be done in GWT and all the modules > > have to be compiled with this new fix. > > > I wonder is there a way to do this? I am using GWT v2.0.1. > > Our product is already deployed on the customer site & just want to > > hot fix their environment. > > > I appreciate and thank you for your responses. > > > Daniel- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TabLayoutPanel : How to add a "Add tab" icon in tab bar
// Create a tab panel DecoratedTabPanel tabPanel = new DecoratedTabPanel(); tabPanel.setWidth("400px"); tabPanel.setAnimationEnabled(true); // Add a home tab HTML homeText = new HTML("home blabla"); tabPanel.add(homeText, "home"); // Add button Button normalButton = new Button( "add", new ClickHandler() { public void onClick(ClickEvent event) { // you might want to add fields for text and tabname tabPanel.add(text, tabName); } }); I did not test it but I think this should work. Best Regards, Fendy Tjin On Fri, Oct 15, 2010 at 3:56 PM, Christophe < christophe.march...@contactoffice.net> wrote: > I would like to add an icon/button to tab bar, at the right of the > last tab, like Firefox does. > > But, in TabLayoutPanel, tabBar is private with no accessor, and I > can't find a way to add this. > > Any suggestion ? > > Regards, > Crhistophe > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to import Expenses project into Eclipse?
See this thread for an update: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f166bf388068e0c -- David Chandler Developer Programs Engineer, GWT On Oct 14, 10:00 pm, superdama wrote: > I figure out to run gwt:expense sample via mvn command line > === > 1. checkout > svn checkouthttp://google-web-toolkit.googlecode.com/svn/trunk/ > trunk > svn checkouthttp://google-web-toolkit.googlecode.com/svn/tools/ > tools > > 2. compile gwt > ant buildonly > > 3. under the trunk directory, install gwt-xxx new jar > mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt- > dev -Dversion=2.1-SNAPSHOT -Dpackaging=jar -Dfile=build/lib/gwt- > dev.jar -DgeneratePom=true > mvn install:install-file -DgroupId=com.google.gwt - > DartifactId=gwt-user -Dversion=2.1-SNAPSHOT -Dpackaging=jar - > Dfile=build/lib/gwt-user.jar -DgeneratePom=true > mvn install:install-file -DgroupId=com.google.gwt - > DartifactId=gwt-servlet -Dversion=2.1-SNAPSHOT -Dpackaging=jar - > Dfile=build/lib/gwt-servlet.jar -DgeneratePom=true > > 4.change expenses\pox.xml > gae-version ==> 1.3.7 > reset -javaagent to : > -javaagent:C:\eclipse\plugins > \com.google.appengine.eclipse.sdkbundle. > 1.3.7_1.3.7.v201008311427\appengine-java-sdk-1.3.7\lib\agent\appengine- > agent.jar > *** make sure you point the -javaagent to the right directory, > mine is: C:\eclipse\plugins\com.google.appengine.eclipse.sdkbundle. > 1.3.7_1.3.7.v201008311427\appengine-java-sdk-1.3.7\lib\agent\appengine- > agent.jar > > 5. mvn package > 6. mvn gae:run > === > > On Sep 28, 4:39 am, hezjing wrote: > > > I got a little bit further with the following steps: > > > 1. Build the GWT source code: > > > >cd C:\gwt\trunk > > >ant > > > 2. Install the latest GWT JARs into local Maven repository:>mvn > > install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-servlet > > > ^ > > -Dversion=2.1-SNAPSHOT -Dpackaging=jar > > -Dfile=C:\gwt\trunk\build\staging\gwt-0.0.0\gwt-servlet.jar>mvn > > install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-user ^ > > > -Dversion=2.1-SNAPSHOT -Dpackaging=jar > > -Dfile=C:\gwt\trunk\build\staging\gwt-0.0.0\gwt-user.jar > > > 3. Import C:\gwt\trunk\samples\expenses to Eclipse as an existing Maven > > project. > > > Now I'm able to browse the project without any error. > > > How should I run the application from Eclipse? I tried: > > > 1. Project -> Properties -> Google -> App Engine Settings ... > > Check 'Use Google App Engine' > > Use specific SDK: 'C:\Documents and > > Settings\hezjing\.m2\repository\com\google\appengine - unknown version' > > > 2. Project -> Properties -> Google -> Web Toolkit > > Check 'Use Google Web Toolkit' > > Configure and use the SDK at C:\gwt\trunk\build\staging\gwt-0.0.0 > > > 3. Project -> Properties -> Google -> Web Application > > Check 'The project has a WAR directory' > > WAR directory: src/main/webapp > > Uncheck 'Launch and deploy from this directory' > > > With the above steps, I got an error that says: > > The App Engine SDK 'C:\Documents and > > Settings\cpt2t2o\.m2\repository\com\google\appengine' on the project's build > > path is not valid > > > I also failed to run the application from command line using gae:run: > > > C:\gwt\trunk\samples\expenses>mvn gae:run > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'gae'. > > [INFO] > > > > [ERROR] BUILD ERROR > > [INFO] > > > > [INFO] The plugin 'org.codehaus.mojo:google-app-engine-maven-plugin' does > > not exist or no valid version could be found > > > I definitely need more help from you :-) > > > On Tue, Sep 28, 2010 at 3:16 AM, Ed M wrote: > > > where are you supposed to run the 'mvn package' command from? > > > > If the answer is the command prompt. I'm assuming that this means one > > > has to actually download maven, not just the eclipse plugin > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to google-web-tool...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-web-toolkit+unsubscr...@googlegroups.com > > cr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > > Hez -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.1.RC1 Expenses Sample Failure
The Expenses pom.xml has been updated in trunk: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/expenses/pom.xml You should now be able to run "mvn gwt:run" to run in hosted mode or "mvn package gae:run" to run in production mode. Hit LoadExpensesDB.html first to load sample data, then Expenses.html to use the app. The project will import into Eclipse using m2eclipse or "mvn eclipse:eclipse". To run from Eclipse with Run as | Web Application, there's still a GPE fix coming... -- David Chandler Developer Programs Engineer, GWT On Oct 14, 4:30 pm, DataSurfer wrote: > I am getting a similar error with 1.3.2.google: > > [INFO] [compiler:testCompile {execution: default-testCompile}] > [INFO] Not compiling test sources > [INFO] [surefire:test {execution: default-test}] > [INFO] Tests are skipped. > - > this realm = app0.child-container[org.codehaus.mojo:gwt-maven-plugin: > 1.3.2.google] > urls[0] = file:/Users/datasurfer/.m2/repository/org/codehaus/mojo/gwt- > maven-plugin/1.3.2.google/gwt-maven-plugin-1.3.2.google.jar > urls[1] = file:/Users/datasurfer/.m2/repository/org/codehaus/plexus/ > plexus-utils/1.1/plexus-utils-1.1.jar > Number of imports: 10 > import: org.codehaus.classworlds.en...@a6c57a42 > import: org.codehaus.classworlds.en...@12f43f3b > import: org.codehaus.classworlds.en...@20025374 > import: org.codehaus.classworlds.en...@f8e44ca4 > import: org.codehaus.classworlds.en...@92758522 > import: org.codehaus.classworlds.en...@ebf2705b > import: org.codehaus.classworlds.en...@bb25e54 > import: org.codehaus.classworlds.en...@bece5185 > import: org.codehaus.classworlds.en...@3fee8e37 > import: org.codehaus.classworlds.en...@3fee19d8 > > this realm = plexus.core > urls[0] = file:/usr/local/apache-maven/lib/maven-2.2.1-uber.jar > Number of imports: 10 > import: org.codehaus.classworlds.en...@a6c57a42 > import: org.codehaus.classworlds.en...@12f43f3b > import: org.codehaus.classworlds.en...@20025374 > import: org.codehaus.classworlds.en...@f8e44ca4 > import: org.codehaus.classworlds.en...@92758522 > import: org.codehaus.classworlds.en...@ebf2705b > import: org.codehaus.classworlds.en...@bb25e54 > import: org.codehaus.classworlds.en...@bece5185 > import: org.codehaus.classworlds.en...@3fee8e37 > import: org.codehaus.classworlds.en...@3fee19d8 > - > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Internal error in the plugin manager executing goal > 'org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:compile': Unable to > load the mojo 'org.codehaus.mojo:gwt-maven-plugin: > 1.3.2.google:compile' in the plugin 'org.codehaus.mojo:gwt-maven- > plugin'. A required class is missing: org/codehaus/plexus/util/xml/ > XmlStreamReader > org.codehaus.plexus.util.xml.XmlStreamReader > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: 22 seconds > [INFO] Finished at: Thu Oct 14 16:19:07 EDT 2010 > [INFO] Final Memory: 64M/125M > [INFO] > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellList/CellBrowser and reload data (possible bug?)
Thanks for catching this. I submitted a fix for review: http://gwt-code-reviews.appspot.com/1012801/show On Oct 15, 9:16 am, Ümit wrote: > I have attached a Sample Application (used the CellBrowserExample2 > Code from the tutorial) with which one can reproduce the problem. > > http://rapidshare.com/files/425238420/CellBrowserSample.zip > > Uemit -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
StackLayoutPanel overlap widget when add more than the size of the panel that contains
Hi, I'm trying to get many widgets in my estacklayoutpanel but when I add a lot... not only does not generate the scroll, but it also increasingly opening the Son Header overlaps with other Headers. Anyone have any idea of how it could do to correct it? The estrucutura is: LayoutPanel (height: 100 %)--> StackLayoutPanel (height: 100%) Thank you very much! Jero. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Any plans for UIBinder to allow custom parsers?
@UiChild is exactly what I needed. I wouldn't have thought to look there. Thanks Thomas. On Oct 15, 8:36 am, Thomas Broyer wrote: > On 15 oct, 02:56, omsrobert wrote: > > > On Jun 4, 5:05 am, Blessed Geek wrote: > > > > There should be a plan and strategy, perhaps by programmers supplying > > > a DTD to signify the allowed nodes and the DTD is compiled with the > > > parser java code. i.e., a gwt element-parser compiler. So, any plans > > > for a gwt element-parser compiler? > > > Google needs to open this up soon. We would like to use it for GXT. > > Ideally, one could insert GWT widgets into a GWTDesigner application > > including ones from a GXT palette. The output of which would be UI > > binder xml. That would work similar to InterfaceBuilder on the Mac > > but for the web. That would be great! > > Have you seen @UiChild ? > You can see it in use in ValueBoxEditorDecorator. > Probably not perfect but better than nothing. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2 UI Binder Flex, Flash widgets
Hi there I have successfully used Flex integration into my GWT 2.0.4 application with this tutorial: http://lgrammel.blogspot.com/2010_02_01_archive.html I have now moved my interface using GWT-platform but the demos are using UIBinder. Is there any code examples or library projects that are updated to successfully integrate Flex widgets into the UIBinder. I also want to communicate with the Flex SWF with some parameters. I am looking forward to GWT 2.1 as well. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Developing an AppStore for a GWT / App Engine application?
hello Артём, thank you very much for your input! i kept on thinking about the idea. i had to realise that even if one could compile the plugin code (java) to javascript the _real_ problem still remains: - how can you load this plugin code at runtime? - what are the implications on the development process (i.e. the way plugins are developed/tested) when plugins are loaded dynamically? - what must (not) be part of the plugin javascript source (e.g. to avoid doing gwt initialisation twice (?))? i think there are two ways to build an appstore-ish application using gwt: (1) static plugins: plugins are part of the codebase i.e. they are already "installed". thus they are already part of the platform and users might (in-)activate them using the application itself. for more details about my idea see http://code.google.com/p/honeycrm/wiki/PluginsStaticApproach. (2) dynamic plugins: everyone can potentially create plugin files and publish them somewhere on the net. users will upload them to the (plugin-aware) application. this has to extract the plugin, put the js source into the database and perhaps has to update the configuration. from my point of view (1) is the preferred way of doing it because of the simplicity of a potential implementation. for some sample code see http://honeycrm.googlecode.com/svn/branches/PlatformTest/. (1) simplifies a lot of things - especially the live of the plugin developer. how should plugins be developed and _extracted_ from the development system (for publishing them)? if you want to create external repositories where people can download plugins, they have to be self- contained. how could this be achieved for (2)? however, the most important thing i would like to discuss is: what you think about (1) static plugins http://code.google.com/p/honeycrm/wiki/PluginsStaticApproach kind regards, ingo On 10 Okt., 10:14, Артём wrote: > The first problem I see is that the GWT compiler calls System.exit, > therefore you can't easily call it's "main" function from your > program. And you can't execute it as an external program via a command- > line either. I suppose you'll have to use a modified version of GWT to > do that. Then there's the question of GWT compiler execution time: it > usually takes 25-35 seconds to run GWT on my hardware, I doubt > AppEngine will allow the request to run this long. > > On Oct 4, 5:51 pm, Ingo Jaeckel wrote: > > > hello everyone, > > > i want to build an app store for a GWT application. users should open > > the app store from within the application, browse through apps and > > install them like they are used to it from other app stores e.g. apple > > app store or android market. i outlined my ideas about it in the wiki > > of my projecthttp://code.google.com/p/honeycrm/wiki/Plugins > > (including a more detailed description of the store, apps and sequence > > diagrams of the installation process). > > > - has something like this been done before? > > - are there any best practices on this topic? > > - is it realistically i.e. a good idea to put source code into the > > plugin package (e.g. a zip file) and do the transformations > > (compilation of .java -> .class using javac and .java -> .js using > > GWTs compiler)? > > seehttp://code.google.com/p/honeycrm/wiki/Plugins#installation_of_plugins > > - can i do this within google app engine or do i have to use another > > servlet container e.g. for compilation. > > > kind regards, > > ingo > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Any plans for UIBinder to allow custom parsers?
On 15 oct, 02:56, omsrobert wrote: > On Jun 4, 5:05 am, Blessed Geek wrote: > > > There should be a plan and strategy, perhaps by programmers supplying > > a DTD to signify the allowed nodes and the DTD is compiled with the > > parser java code. i.e., a gwt element-parser compiler. So, any plans > > for a gwt element-parser compiler? > > Google needs to open this up soon. We would like to use it for GXT. > Ideally, one could insert GWT widgets into a GWTDesigner application > including ones from a GXT palette. The output of which would be UI > binder xml. That would work similar to InterfaceBuilder on the Mac > but for the web. That would be great! Have you seen @UiChild ? You can see it in use in ValueBoxEditorDecorator. Probably not perfect but better than nothing. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + JQuery
Use gwtquery for the reasons explain by Falcon. If you need functionnalities present in jquery not yet implemented in gwtquery, feel free to open an issue on gwtquery website (http://code.google.com/ p/gwtquery/) although almost the jQuery API is written. On Oct 13, 4:53 pm, Falcon wrote: > If you use gwtquery, you can do all of your code directly in Java and > GWT will be able to compile it. > > If you use jQuery directly, you'll have to wrap the jQuery calls in > JSNI (although you can wrap them in GWT Java functions and use those > too in some cases), so GWT won't be able to optimize as well. However, > jQuery has probably advanced quite a bit since the last version of > gwtquery was released, plus gwtquery may not have had full feature > parity at the time either. The latest version (due this weekend, > October 16th) will have mobile web browser support (even for > Blackberry OS 4.6) which GWT does not have built-in. > > So to recap: if you use gwtquery you'll get the GWT compilation, code- > splitting, etc. benefits and the usual Java (e.g. debugging, etc.) > benefits but you'll be missing features. > > If you use jQuery you'll get all of the features but will lose the > compilation benefits (and won't be able to code-split the jQuery code, > of course, although code-splitting should still work for everything > else) and will need to make heavy use of JSNI to call the jQuery > functions. > > On Oct 13, 5:03 am, Ignasi wrote: > > > > > Hi all, > > > To develop a gwt application with jquery code embeded wich is the best > > option? and why? > > > a) Use gwtquery-1.0-SNAPSHOT.jar lib > > b) Use jquery.js directly > > > Thanks a lot! > > Ignasi- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Why can't see progress bar?
Hi all, I'm trying to put a progress bar but I just can see the values of progress counting, not the bar widget itself. I already tried with several progress bars, from different libraries, for example, gwtwidgets, gwtchismes, gwtext, and now I'm trying with gwtideias from incubator and no bar shows up: import com.google.gwt.widgetideas.client.ProgressBar; public class Exp implements EntryPoint { private ProgressBar pb2 = new ProgressBar(0.0, 100.0, 0.0); private HorizontalPanel pbPanel = new HorizontalPanel(); private Label pbLabel = new Label("Progress Bar: "); ... public void onModuleLoad() { ... pbPanel.add(pbLabel); pbPanel.add(pb2); form.setWidget(mainPanel); ... mainPanel.add(pbPanel); //pb.setText("gwt-file.jar"); pb2.addStyleName("progressbar-solid"); pb2.isVisible(); //pb.setProgress(50); // percent Timer t = new Timer() { public void run() { //int progress = pb2.getProgress()+4; double progress = pb2.getProgress()+4; if (progress>100) cancel(); //pb2.setProgress(progress); pb2.setProgress(progress); } }; t.scheduleRepeating(1000); What Am I doing wrong? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to use GWT Place?
Hi Guarav, If you haven't already, try out the sample app you can download from http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html. It's a trivial example, but when you click the link, you can see the GoodbyePlace appear on the URL. Try the back button, reload, bookmark, etc. from there to see why Places are useful. The HelloPlace does not appear on the URL because it's the default place. -- David Chandler Developer Programs Engineer, GWT On Oct 15, 8:51 am, Gaurav Jain wrote: > Please provide some example of how to use gwt place. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellList/CellBrowser and reload data (possible bug?)
I have attached a Sample Application (used the CellBrowserExample2 Code from the tutorial) with which one can reproduce the problem. http://rapidshare.com/files/425238420/CellBrowserSample.zip Uemit -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Load Test GWT application using JMeter
Hi, there's several challenges coming with it - but it's solveable: I used Tamper Data to get the requests going back and forth in a manual request. I then used the plain TCP connector to build the overall request. You have to extract at least the session ID to keep session over requests: false SESSIONCOOKIE Set-Cookie: (JSESSIONID=[0-9A-F]*).* $1$ 0 You can then insert it into a TCP-Statement like (in the TCP body): Cookie: ${SESSIONCOOKIE} You can do the same with values - BUT: you have to adjust the content length for the right number of bytes... Hope this helps Sebastian Rothbucher On 15 Okt., 09:25, aiya123 wrote: > Hi, > > Does anyone done load test successfully on a GWT developed system ? > I am studying ehow to achieve this, but got stucked on how to > parameterizes the requests. > > Any sample JMeter test plan here ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to use GWT Place?
Please provide some example of how to use gwt place. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Using setFocus(true) on a TextBox in onModuleLoad can cause layout problems
Hi, I have a basic login page with username and password fields, and a submit button. When you click submit a DialogBox displays with an appropriate message and a close button. The problem I have come across is that, if I add setFocus(true) for the username TextBox in onModuleLoad, after closing the DialogBox the objects shift slightly down and to the right. I noticed at the time that the panels, etc are not exactly on center when I first load the page. After they shift they have moved to center. The thing is, that if I do not add setFocus(true) in the onModuleLoad, the panels are all on center and I don't have the problem where things shift. Is this a known bug? Does anyone know a work-around? Please help. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Refresh and back button not working
Spot on. When you press Reload, you're just reloading the HTML host page and reloading the JS. This is a challenge with all JS apps. Fortunately, GWT solves it well with the History object and the various MVP frameworks (including Activities and Places in GWT 2.1) make it even easier. http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html -- David Chandler Developer Programs Engineer, GWT On Oct 15, 7:53 am, salk31 wrote: > Have you looked at the History class? GWT gets around the problem you > are talking about by using #foo stuck on the end of the URL (so will > work for reload and browser history). > > http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHist... > > Works really nicely. I've not played with it yet but higher level > support in 2.1 > > On Oct 15, 8:32 am, Vibhuti Gupta wrote: > > > > > Hi > > > When I refresh any page in my GWT application it loads the login page as the > > browser URL does not change. Also clicking back button of the browser loads > > the login page. I need a way to load the page i am currently on when user > > refreshes the page instead of login page getting loaded. > > > Anyone has any ideas how to achieve 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellList/CellBrowser and reload data (possible bug?)
I have been playing around with the new CellBrowser/CellTree Widgets of GWT 2.1RC. However I ran into a weird problem. I am not sure if that's a bug or maybe a mistake on my side. Basically I was followed this tutorial http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellBrowser I created a TreeViewModel and defined the required cells for all levels of the tree/browser respectively (in my case there are 3 levels) I pass a List of my DTOs into the constructor of my CustomTreeViewModel Class. In the constructor I create a ListDataProvider with the List of my DTO objects. At this step everything works just fine. The CellBrowser is populated with the first level and when I click of one entries the next level is shown. As a next step I created a button which should reload the CellBrowser with new data (actually it's the same data). I did this by calling setList(List) on my ListDataAdapter in my CustomTreeViewModel. The CellBrowser is reloaded with the new data and again only the root node/ elements are shown. Here I get a weird problem. If I previously opened an additional level of the CellBrowser (apart from the root level) and I reload the data so that again only the root node/elements are shown and I click on one of the root node elements to expand/display the second level I get following uncaught Exception: 14:00:51.322 [ERROR] [gwasclient] Uncaught exception escaped java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.google.gwt.user.cellview.client.CellBrowser.setChildState(CellBrowser.java: 1027) at com.google.gwt.user.cellview.client.CellBrowser.setChildState(CellBrowser.java: 990) at com.google.gwt.user.cellview.client.CellBrowser.access $7(CellBrowser.java:972) at com.google.gwt.user.cellview.client.CellBrowser $BrowserCellList.doKeyboardSelection(CellBrowser.java:325) at com.google.gwt.user.cellview.client.CellList.onBrowserEvent2(CellList.java: 389) at com.google.gwt.user.cellview.client.CellBrowser $BrowserCellList.onBrowserEvent2(CellBrowser.java:231) at com.google.gwt.user.cellview.client.AbstractHasData.onBrowserEvent(AbstractHasData.java: 454) at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308) This happens in the setChildState function of the CellBrowser where nodes get closed and opened. It seems that the when the new Data is set and the CellBrowser get redrawn it forgets to reset the nodes which are shown or hidden and when it tries to reset the collapse/open status of these nodes it throws this exception. So i am not sure if this is a bug or I choose the wrong approach to reload the data of the CellBrowser Maybe somebody has an idea what might be the problem here Uemit -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Refresh and back button not working
Have you looked at the History class? GWT gets around the problem you are talking about by using #foo stuck on the end of the URL (so will work for reload and browser history). http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html Works really nicely. I've not played with it yet but higher level support in 2.1 On Oct 15, 8:32 am, Vibhuti Gupta wrote: > Hi > > When I refresh any page in my GWT application it loads the login page as the > browser URL does not change. Also clicking back button of the browser loads > the login page. I need a way to load the page i am currently on when user > refreshes the page instead of login page getting loaded. > > Anyone has any ideas how to achieve 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Urbanspoon "like" slot machine widget
I had assumed he was talking about the one on the web: http://www.urbanspoon.com/spin-widget That one is done in flash -- It doesn't look too hard to do in javascript, except i'm not sure how to blur the text when the reels are spinning. On Oct 14, 11:21 pm, Jim Douglas wrote: > Short answer: You can't. > > This is a native iOS app, written in Objective C: > > http://www.urbanspoon.com/blog/27/Urbanspoon-on-the-iPhone.html > > It uses the iPhone's accelerometer, which cannot be accessed using > JavaScript. > > http://stackoverflow.com/questions/1273964/is-there-access-to-the-iph... > > On Oct 14, 4:08 pm, Ka Leo Web Developing > > > > > > > > wrote: > > I wanna make a slot machine widget identical to the one urbanspoon has > > created but i am unsure where to start if there is any examples i can > > base myself on, or what type of coding language to use! I am making a > > site that shows the restaurants in Oahu. I would like to start this > > widget and make it almost as efficient as urban-spoon's one (not > > trying to rival them, it's for my own site). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Refresh and back button not working
First of all,does ur login page has different module associated with it...? it is always a better GWT programming to have login module and other modules for post login functioning. It should be seperated. And for handelling back of ur browser u will need to maintain history using History class provided by GWT. -- Aditya On Fri, Oct 15, 2010 at 1:02 PM, Vibhuti Gupta wrote: > Hi > > When I refresh any page in my GWT application it loads the login page as > the browser URL does not change. Also clicking back button of the browser > loads the login page. I need a way to load the page i am currently on when > user refreshes the page instead of login page getting loaded. > > Anyone has any ideas how to achieve 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Is multiple ClientBundles sub-optimal?
I am wondering if having multiple client bundles is less then an optimal solution. If I have widgets that require a set of images and styles, is it ok to create 1 client bundle for each widget? Or is this suboptimal? I would figure that GWT would generate optimized JavaScript code that didn't really construct the ClientBundle object on each invocation, but rather had them all as static JavaScript variables. The only issue I see is that for older IE browsers GWT would have to generate multiple bundle images, rather than 1 large one. But once downloaded, those would be cached anyways. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to remove gwt development plugins from ie?
I'm not sure if I have upgrade the gwt plugins of 2.1 into ie9 and now I can't run hosted mode from ie anymore. Can someone tell how how to remove this plugin and install it? Thanks. Kevin -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Handling session timeout
There are many ways to handle it. You should decide what is important to your users and for your environment, and how you define a session expiration. In one GWT application, I use the Google UserService to get the current user on the server side. I make sure the user is logged in at the start, and I make sure that I handle expired sessions throughout the application when the user makes a new request to the server. It does nothing to detect session expiration on the client side, but the valid session duration is defined in days. Here's a link to a good starting point that uses a timer to detect and process inactivity on the client: http://gwt-ext.com/forum/viewtopic.php?t=1682 The code in the above link uses GWT-Ext widgets, but can be easily adapted to use standard GWT widgets. Keep in mind that there are many different variations of how you define inactivity... Some servers declare your session dead if you have not sent a message in some amount of time -- you could periodically send a "ping" message to insure your session does not go stale. BUT, that may cause you to exceed your request quotas on the Google servers. Then, consider the user experience. If your application is working correctly, your user may not know when messages are going between client/server. So, you may need to track something else to determine when the session is inactive. Lastly, consider how the users see the session expiration. In one GWT application, I did something similar to what is shown in the GWT-Ext link. Some folks using the app did not like the idea that they had been logged out without seeing where in the application they were. So, I changed my app to tell them they had been logged out (with a dialog box), and upon acknowledging the message they were sent to another page. I do not know your particular design constraints, but I think I have given you the highlights of things to consider. Best of luck, Rick -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Handling session timeout
There are many ways to handle it, but you need to consider how to present it to your users and other constraints specific to your environment. In one GWT app, I did nothing to detect client-side inactivity. I used the Google UserService to detect session expiration on the server side whenever there was a message from the client (and I wrote the code to handle those case). The Google UserService lets you see the policy on how long the sessions stay active, but it is often measured in days. So, it did not seem worthwhile to write code to handle the session expiration. Here's a link to a client-side that attempts to detect session expiration: http://gwt-ext.com/forum/viewtopic.php?t=1682 The code uses GWT-Ext widgets, but can be easily adapted to use standard GWT widgets. Some servers consider a client's session inactive if they have not received a message from the client in some period of time (as shown in the example). The example code can be adapted to periodically send a "ping" message to the server instead of just detecting messaging inactivity. You probably do NOT want clients sending "pings" to you application if it is deployed on Google's servers, since the pings will probably count against you request quota. Another thing to consider is that if your application is working correctly, the user may not even be aware when messages are exchanged between client/server. For this reason, you may want to introduce some other means of tracking inactivity. Lastly, you need to determine how you want session expiration presented to your user. My users did not care for the way the GWT-Ext example informed the user (particularly if they missed the refresh prompt). My solution was to keep the user at the same screen and present a dialog box informing them when their session timed out. Upon acknowledging the message, they were sent to another place. I tried to hit the highlights of things for you to consider regarding session expiration, but I think you need to tailor your solution for your environment. Regards, Rick -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Load Test GWT application using JMeter
Hi, Does anyone done load test successfully on a GWT developed system ? I am studying how to achieve this, but got stucked on how to parameterizes the requests. Any sample JMeter test plan here ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Wrapping data with spaces in table cell
Hello I am new to GWT. I am using CachedTableModel to render my table. And for rendering data in columns I am using AbstractColumnDefinition. I need to wrap the data in my table cell. Any ideas as to how to wrap data in table cell or to set column width in a way that it adjusts to the data size. Regards Vibhuti -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Refresh and back button not working
Hi When I refresh any page in my GWT application it loads the login page as the browser URL does not change. Also clicking back button of the browser loads the login page. I need a way to load the page i am currently on when user refreshes the page instead of login page getting loaded. Anyone has any ideas how to achieve 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
FormPanel.addSubmitHandler's onSubmit event fires two time
Hi, i have this problem when I submit the form using formpanel. The onSubmit event which is fired before submission of the form for doing validation did the validation for two times. Is there any way to handle this? Here is the code: fpLoginPanel.setAction("http://192.168.1.3/rajakumar/ logindemo/loginphp.php"); fpLoginPanel.setMethod(FormPanel.METHOD_POST); fpLoginPanel.setEncoding(FormPanel.ENCODING_URLENCODED); tbUsername.getElement().setId("tbUsername"); tbPassword.getElement().setId("tbPassword"); tbUsername.setName("tbUsername"); tbPassword.setName("tbPassword"); lblUserName.getElement().setId("lblUserName"); lblUserName.setText("User Name :"); lblPassword.getElement().setId("lblPassword"); lblPassword.setText("Password :"); butLogin.getElement().setId("butLogin"); butLogin.getElement().setPropertyString("name", "submit"); butLogin.setText("Submit"); butLogin.addClickHandler(new ClickHandler(){ public void onClick(ClickEvent click){ Window.alert("In submit"); fpLoginPanel.submit(); } }); ftFormElementContainer.getElement().setId("ftFormElementContainer"); Window.alert("tbUsername.getName()"+tbUsername.getName()); ftFormElementContainer.setWidget(0, 0, lblUserName); ftFormElementContainer.setWidget(0, 1, tbUsername); ftFormElementContainer.setWidget(1, 0, lblPassword); ftFormElementContainer.setWidget(1, 1, tbPassword); ftFormElementContainer.getCellFormatter().setHorizontalAlignment(2, 0, HasHorizontalAlignment.ALIGN_CENTER); ftFormElementContainer.setWidget(2, 0, butLogin); ftFormElementContainer.getFlexCellFormatter().setColSpan(2, 0, 2); fpLoginPanel.addSubmitHandler(new FormPanel.SubmitHandler() { public void onSubmit(SubmitEvent event) { // This event is fired just before the form is submitted. We can take // this opportunity to perform validation. Window.alert("Before the submission of the form"); } }); fpLoginPanel.addSubmitCompleteHandler(new FormPanel.SubmitCompleteHandler() { public void onSubmitComplete(SubmitCompleteEvent event) { Window.alert(event.getResults()); } }); fpLoginPanel.setWidget(ftFormElementContainer); RootPanel.get("nameFieldContainer").add(fpLoginPanel); } Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwt-dev mode
Please any one tell me what is gwt-dev mode. using NetBean. I am new to gwt and know how to place component but know what is gwt- dev mode. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
TabLayoutPanel : How to add a "Add tab" icon in tab bar
I would like to add an icon/button to tab bar, at the right of the last tab, like Firefox does. But, in TabLayoutPanel, tabBar is private with no accessor, and I can't find a way to add this. Any suggestion ? Regards, Crhistophe -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Enums in overlay types
According to this http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideMarshaling and this http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJavaFromJavaScript you need to do something like this: public final class DefaultLevelBean extends JavaScriptObject implements LevelBean { public static final LevelBean create() { final DefaultLevelBean level = (DefaultLevelBean) JavaScriptObject.createObject(); return level; } Level level; DefaultLevelBean() {} native Level getLevel() /*-{return th...@com.foo.bar.level.defaultlevelbean::level;}-*/; native void setLevel(final Level level) /*- {th...@com.foo.bar.level.defaultlevelbean::level = level;}-*/; } On Oct 13, 12:55 pm, Hilco Wijbenga wrote: > On 13 October 2010 05:30, Nathan Wells wrote: > > > This is just a idea, but you may need to do the following (note that I > > skip error checking for brevity here): > > > public Level getLevel() { > > return Level.valueOf(getNativeLevel()); > > } > > > public void setLevel(Level level) { > > setNativeLevel(level.name()); > > } > > > private native String getNativeLevel() /*-{return this.level;}-*/; > > private native void setNativeLevel(final String level) /*- > > {this.level = level;}-*/; > > Yeah, I'd been thinking along those lines too. It doesn't seem to make > any difference. :-( -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellTable sorting: roadmap?
In the bikeshed example, the CellTable support column sorting, by use of some custom classes called SortableColumn and SortableHeader. Is CellTable sorting support on the roadmap for gwt-user? What about CellTable filtering? -- With kind regards / Met vriendelijke groeten, Geoffrey De Smet -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: problem with asynchronism
One solution that i can suggest for this is keep that button in disable state until user fill up the form fields. and once all compulsory fields got filled properly make that button enable and will have seperate click handlers in that case. -- Aditya On Fri, Oct 15, 2010 at 3:32 PM, pepgrifell wrote: > hi, > > I have a window with some form fields and 2 buttons, "add" and > "cancel". One of the fields has a listener associated. The listener > does a RPC call to the server to do a validation and it can update the > value. The listener is fired when the field loses the focus. The > button "add" sends the data into the form fields to the server side > with another RPC call. > > The problem that I have is: > > If I change the value of the field, and, without losing the focus, I > click in the "add" button, then two RPC calls are done, the one inside > the listener and the one associated to the button. I would like that > the action associated with the button would be called after the > listener action (RPC call) has finished. Is there any way of doing > 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Inserting images in web page
Suppose I am serving a web page to a gwt client app. The web page html, at various places, has unique string segments which the client app will recognize. The client app should replace the strings with images on the rendered page, just as if the html had tags. Except the images already reside in the client app as Image instances and I don't want to fetch the images from the server. I expect I will need to use JSNI and document.write, or something like that. I am not experienced with Javascript, so I have some learning to do. Has anyone done something like this: a client app inserting its own images into a page? Thanks, Bob Woodbury -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Internal compiler error when upgrading vom 2.0.4 to 2.1.0.RC1
Sorry for posting this twice - haven't found the first post so I assumed it got lost somewhere. On 15 Okt., 11:58, wolfgang wrote: > I got this error message from the compiler when I tried an upgrade > from 2.0.4 to 2.1.0.RC1: > > [ERROR] Internal compiler error > java.lang.NoSuchMethodError: > com.google.gwt.uibinder.rebind.UiBinderWriter.(Lcom/google/gwt/ > core/ext/typeinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/ > google/gwt/core/ext/typeinfo/TypeOracle;Lcom/google/gwt/uibinder/ > rebind/MortalLogger;Lcom/google/gwt/uibinder/rebind/FieldManager;Lcom/ > google/gwt/uibinder/rebind/messages/MessagesWriter;Lcom/google/gwt/ > uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/rebind/ > UiBinderContext;)V > at > com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java: > 135) > at > com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java: > 119) > at > com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java: > 427) > at > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: > 39) > at com.google.gwt.dev.shell.StandardRebindOracle > $Rebinder.tryRebind(StandardRebindOracle.java:115) > at com.google.gwt.dev.shell.StandardRebindOracle > $Rebinder.rebind(StandardRebindOracle.java:58) > at > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: > 161) > at > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: > 150) > at com.google.gwt.dev.Precompile > $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java: > 345) > at > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: > 106) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > $CompilerImpl.process(AbstractCompiler.java:254) > at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: > 444) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > $CompilerImpl.compile(AbstractCompiler.java:175) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox > $CompilerImpl.compile(AbstractCompiler.java:288) > at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access > $400(AbstractCompiler.java:145) > at > com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: > 632) > at > com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: > 124) > at > com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: > 54) > at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: > 484) > at > com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: > 32) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:544) > at com.google.gwt.dev.Precompile.precompile(Precompile.java:465) > at com.google.gwt.dev.Compiler.run(Compiler.java:205) > at com.google.gwt.dev.Compiler.run(Compiler.java:177) > at com.google.gwt.dev.Compiler$1.run(Compiler.java:149) > at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: > 87) > at > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: > 81) > at com.google.gwt.dev.Compiler.main(Compiler.java:156) > > [ERROR] Unexpected > java.lang.NoSuchMethodError: > com.google.gwt.uibinder.rebind.UiBinderWriter.(Lcom/google/gwt/ > core/ext/typeinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/ > google/gwt/core/ext/typeinfo/TypeOracle;Lcom/google/gwt/uibinder/ > rebind/MortalLogger;Lcom/google/gwt/uibinder/rebind/FieldManager;Lcom/ > google/gwt/uibinder/rebind/messages/MessagesWriter;Lcom/google/gwt/ > uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/rebind/ > UiBinderContext;)V > at > com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java: > 135) > at > com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java: > 119) > at > com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java: > 427) > at > com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: > 39) > at com.google.gwt.dev.shell.StandardRebindOracle > $Rebinder.tryRebind(StandardRebindOracle.java:115) > at com.google.gwt.dev.shell.StandardRebindOracle > $Rebinder.rebind(StandardRebindOracle.java:58) > at > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: > 161) > at > com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: > 150) > at com.google.gwt.dev.Precompile > $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java:
problem with asynchronism
hi, I have a window with some form fields and 2 buttons, "add" and "cancel". One of the fields has a listener associated. The listener does a RPC call to the server to do a validation and it can update the value. The listener is fired when the field loses the focus. The button "add" sends the data into the form fields to the server side with another RPC call. The problem that I have is: If I change the value of the field, and, without losing the focus, I click in the "add" button, then two RPC calls are done, the one inside the listener and the one associated to the button. I would like that the action associated with the button would be called after the listener action (RPC call) has finished. Is there any way of doing 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Internal compiler error when upgrading vom 2.0.4 to 2.1.0.RC1
I got this error message from the compiler when I tried an upgrade from 2.0.4 to 2.1.0.RC1: [ERROR] Internal compiler error java.lang.NoSuchMethodError: com.google.gwt.uibinder.rebind.UiBinderWriter.(Lcom/google/gwt/ core/ext/typeinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/ google/gwt/core/ext/typeinfo/TypeOracle;Lcom/google/gwt/uibinder/ rebind/MortalLogger;Lcom/google/gwt/uibinder/rebind/FieldManager;Lcom/ google/gwt/uibinder/rebind/messages/MessagesWriter;Lcom/google/gwt/ uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/rebind/ UiBinderContext;)V at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java: 135) at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java: 119) at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java: 427) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 39) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.tryRebind(StandardRebindOracle.java:115) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:58) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 161) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 150) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java: 345) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:254) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:175) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.compile(AbstractCompiler.java:288) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access $400(AbstractCompiler.java:145) at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java: 632) at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java: 124) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java: 54) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java: 484) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java: 32) at com.google.gwt.dev.Precompile.precompile(Precompile.java:544) at com.google.gwt.dev.Precompile.precompile(Precompile.java:465) at com.google.gwt.dev.Compiler.run(Compiler.java:205) at com.google.gwt.dev.Compiler.run(Compiler.java:177) at com.google.gwt.dev.Compiler$1.run(Compiler.java:149) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:156) [ERROR] Unexpected java.lang.NoSuchMethodError: com.google.gwt.uibinder.rebind.UiBinderWriter.(Lcom/google/gwt/ core/ext/typeinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/ google/gwt/core/ext/typeinfo/TypeOracle;Lcom/google/gwt/uibinder/ rebind/MortalLogger;Lcom/google/gwt/uibinder/rebind/FieldManager;Lcom/ google/gwt/uibinder/rebind/messages/MessagesWriter;Lcom/google/gwt/ uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/rebind/ UiBinderContext;)V at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java: 135) at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java: 119) at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java: 427) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 39) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.tryRebind(StandardRebindOracle.java:115) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:58) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 161) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 150) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(Precompile.java: 345) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java: 106) at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox $CompilerImpl.process(AbstractCompiler.java:254) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java: 444) at com.google.gwt.de
Re: Can make the tree listener work
Thanks Brian, I will give this a try. But it make sense when I read your comment. On 15 okt, 00:52, Brian wrote: > aEvent.getSelectedItem() retuns a TreeItem, not a String. So in your > onSelection() method, you want to do something else than compare it > with a string literal. For instance.. > > aItem.addItem("Item 1"); > TreeItem cs = new TreeItem("Item 2"); > cs.setUserObject("Configured Solutions"); > aItem.addItem(cs); > ... > aTree.addSelectionHandler(new SelectionHandler() { > public void onSelection(SelectionEvent aEvent) { > String userObj = (String) aEvent.getSelectedItem().getUserObject(); > if (userObj != null && userObj.equals("Configured Solutions")){ > Window.alert("Hello Adis"); > } > > } > > On Oct 14, 5:27 pm, SeniorBeginner wrote: > > > Hi all, > > > I spend 2 hours searching for a way to get the SelectionHandler to > > work but it fails... > > Can you please help me out?? > > > Here is my code that I use: > > > @Override public void onModuleLoad() > > { > > // Create a tree with a few items in it. > > > aItem.addItem("Item 1"); > > aItem.addItem("Item 2"); > > aItem.addItem("Item 3"); > > > // define aTree and add the root item to it > > Tree aTree = new Tree(); > > aTree.addItem(aItem); > > > // create Split Layout > > SplitLayoutPanel p = new SplitLayoutPanel(); > > > // add SplitLayout to RootPanel > > RootLayoutPanel.get().add(p); > > > // define the SplitLayout components > > p.addWest(aTree, 200); > > p.addNorth(new HTML("list"), 384); > > p.add(new HTML("list")); > > > // add ItemListener > > aTree.addSelectionHandler(new SelectionHandler() > > { > > @Override public void onSelection(SelectionEvent > > aEvent) > > { > > if (aEvent.getSelectedItem().equals("Configured Solutions")) > > { > > Window.alert("Hello Adis"); > > } > > } > > }); > > > /* aTree.addSelectionHandler(new SelectionHandler() > > { > > @Override public void onSelection(SelectionEvent > > event) > > { > > Window.alert("Hello SB"); > > } > > });*/ > > } > > > Thanks for your input! > > Regards, > > SB -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory and non-Java (non-GWT) backends
I have yet to find any documentation on the on-wire protocol that RequestFactory uses. Are there any, or does it have to be reverse-engineered? Also, does GWT _require_ the "service methods" actually be available in the entity class? RequestFactory being based on JSON makes it a better fit for non-Java server-side code. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
getThreadLocalRequest().getSession().getId() confusion
Hi all, I have an application that does some simple login and session management. I'm not using any particular frameworks. Here are the basics of what I'm doing: 1) The user logs in via the front end 2) The credentials are authenticated on the server side using GWT-RPC 3a) The server side returns a dumbed down User POJO with the session ID set to the client 3b) The server side keeps a fully populated User POJO (including the session ID) using getThreadLocalRequest().getSession().setAttribute("user", userFromDB); 4) In each GWT-RPC, the client side sends the User POJO it has in the parameters (for any RPCs that require some authentication/access control) 5) The server side gets the session ID in the RPC param User POJO and compares it with the session ID stored in the User POJO from getThreadLocalRequest().getSession().getAttribute("user") If this checks out, the RPC is executed. (please also point out of this way of authenticating is not ideal/secure) This has worked for me fine, however I've found that when I'm testing and have multiple instances of the program open (one running on port and one 8889) some funny things start to happen: * Instance on starts, and user logs in: [18:06:46,026] DEBUG SessionManager:66 - User bob logged in with SID: 15vqhpc1r06yi * Instance on 8889 starts, and user logs in: [18:07:04,667] DEBUG SessionManager:66 - User bob logged in with SID: sd560k3liwvl Instance 's RPC fails: [18:07:06,230] ERROR SessionManager:110 - getSession has no user object: [18:07:06,230] ERROR SessionManager:111 - client sent: bob, sid: 15vqhpc1r06yi [18:07:06,230] ERROR SessionManager:112 - server session sid: 1pwzxs8dyzfbn Instance 8889's RPC also fails: [18:07:09,901] ERROR SessionManager:110 - getSession has no user object: [18:07:09,901] ERROR SessionManager:111 - client sent: bob, sid: sd560k3liwvl [18:07:09,901] ERROR SessionManager:112 - server session sid: nkiyx2iip6l6 This does NOT happen if the two instances are running on different servers, or I have two browsers both pointing to the same instance. I'm testing using the latest version of Chrome. Is there some gap in my understanding? It seems as though getSession isn't returning the session I expected when I have two instances running on the same server? public static User loginUser(User user, HttpServletRequest request) { user.setSessionId(request.getSession().getId()); user.setPassword(null); request.getSession().setMaxInactiveInterval(-1); request.getSession().setAttribute("user", user); log.debug("User "+user.getUsername()+" logged in with SID: "+user.getSessionId()); return user; } public static void checkUser(User user, HttpServletRequest request) throws AuthenticationException { String payloadSID = user.getSessionId(); User serverUser = (User)request.getSession().getAttribute("user"); if (serverUser == null) { log.error("getSession has no user object: "); log.error("\tclient sent: "+user.getUsername()+", sid: "+user.getSessionId()); log.error("\tserver session sid: "+request.getSession().getId()); throw new AuthenticationException(); } String serverUserSID = serverUser.getSessionId(); if (!serverUserSID.equals(payloadSID)) { log.error("Payload/Server SID mismatch for "+user.getUsername()); log.error("Payload SID: "+user.getSessionId()); log.error("Request SID: "+serverUserSID); throw new AuthenticationException(); } } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Cannot install GWT 2.1 - RC1 Eclipse plugin
While I am tryin to install the GWT 2.1 RC1 Eclipse plugin on: http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/eclipse/plugin/3.6 I got these two error messages into the "pending.." phase: HTTP Server 'Gateway Timeout': http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/eclipse/plugin/3.6/content.xml HTTP Server 'Gateway Timeout': http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/eclipse/plugin/3.6/content.xml General connection error with response code=504 Could not find http://google-web-toolkit.googlecode.com/svn/2.1.0.RC1/eclipse/plugin/3.6 For all the other features my network works fine. I already have installed other plugins with this method -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.