Upload Maximum Size file giving Memory Out of rage error
Hi All, I am uploading more than 500MB file it is giving this exception [ERROR] Error for /com.winfoware.voxforce.Index/services java.lang.OutOfMemoryError: Java heap space at org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java: 329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) [ERROR] Out of memory; to increase the amount of memory, use the - Xmx flag at startup (java -Xmx128M ...) [ERROR] 500 - POST /com.mycomp.xxx.Index/services?method=fileupload (127.0.0.1) 3302 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.1.10) Gecko/20100504 Firefox/3.5.10 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=1c875d6p9xi9v Referer: http://127.0.0.1:/Index.html?gwt.codesvr=127.0.0.1:9997 Content-Type: multipart/form-data; boundary=---6410314616234 Content-Length: 730633459 Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 3302 Even I am setting Java heap memory size to 1028MB in eclipse for my testing in development mode i am not able to upload a file. i was saw some forums setting java heap size java -Xms5m -Xmx1028m MyApp can you please give me suggetions how to resolve this problem using eclipse and tomcat. Thanks in advance , Raj, INDIA -- You received 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: Upload Maximum Size file giving Memory Out of rage error
This was nothing to do with GWT, try to add more memory to your servlet container JVM. On Tue, Jul 20, 2010 at 10:04 AM, raj rajendra.a...@gmail.com wrote: Hi All, I am uploading more than 500MB file it is giving this exception [ERROR] Error for /com.winfoware.voxforce.Index/services java.lang.OutOfMemoryError: Java heap space at org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java: 329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) [ERROR] Out of memory; to increase the amount of memory, use the - Xmx flag at startup (java -Xmx128M ...) [ERROR] 500 - POST /com.mycomp.xxx.Index/services?method=fileupload (127.0.0.1) 3302 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.1.10) Gecko/20100504 Firefox/3.5.10 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=1c875d6p9xi9v Referer: http://127.0.0.1:/Index.html?gwt.codesvr=127.0.0.1:9997 Content-Type: multipart/form-data; boundary=---6410314616234 Content-Length: 730633459 Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 3302 Even I am setting Java heap memory size to 1028MB in eclipse for my testing in development mode i am not able to upload a file. i was saw some forums setting java heap size java -Xms5m -Xmx1028m MyApp can you please give me suggetions how to resolve this problem using eclipse and tomcat. Thanks in advance , Raj, INDIA -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Docklayout / Fixed size
Hello, Is there a way to have a kind of Docklayout with a north zone adjusted to its content size (i.e. the size is not hardcoded on the ui.xml file) ? Regards, Julien -- You received 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.
UTF-8 Encoding Problem
Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received 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: New Java Documentation Tool from Sencha
Because i like to have the bought libs used, GWT and GXT for my projects... and to be open on what future to use I create one abstract class extending one of the gxt widgets ...usually ContentPanel..because is the most rich one..and in this class I add all the gwt future I like to have. Just implement some interfaces and so on... copying the code from the gwt implementation will pass ok normally. If somewhere I have problems implementing something with this class...i need some more specific one...then i do the same with that one.. Its yours very fest implementation..but you have to be at list advance in programming On Mon, Jul 19, 2010 at 2:43 PM, Peter Simun si...@seges.sk wrote: Are there any plans when will sencha use standard GWT APIs ? Like HasText, HasValue, HasWidgets interfaces? For example, TextArea does not implements any of interfaces above but the widgets itself should hasve such an implementations. Thanks, Peter On 19. Júl, 14:17 h., Brian Reilly brian.irei...@gmail.com wrote: It looks like some doc content isn't being displayed. I happened to go to com.extjs.gxt.ui.client.widget.Label and viewed the source and say a dl block. However it's not showing up in the app anywhere that I could see. -Brian On Jul 16, 3:17 am, Abraham Elias abraham.el...@gmail.com wrote: We're very excited to share the release of Sencha Docs built using GWT and Sencha. http://www.sencha.com/blog/2010/07/15/sencha-docs-gives-javadoc-a-fac. .. For the last 15 years, java developers have have used JavaDoc to create API documentation. We're all familiar with JavaDoc's dated interface, but we're giving it a major face lift and hope you like the results. We'd love to know what the GWT community thinks and what other javadocs you'd like to see in this format. (hint: GWT docs coming soon!) Abe -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UTF-8 Encoding Problem
AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received 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: UTF-8 Encoding Problem
what do you mean can you explain it ?? On Jul 20, 11:09 am, olivier nouguier olivier.nougu...@gmail.com wrote: AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received 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: UTF-8 Encoding Problem
You need to make sure that the String that you are returning from the server is UTF8 Encoded. Since GWT by default supports UTF8 encoding, then you need to make sure that what ever value you are returning from the server/db is encoded properly. best regards, Rudolf Michael On Tue, Jul 20, 2010 at 11:39 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: what do you mean can you explain it ?? On Jul 20, 11:09 am, olivier nouguier olivier.nougu...@gmail.com wrote: AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How can multiple tabs in the same browser can share the same session?
Can you give me an code example for this? On Jul 17, 8:22 am, lineman78 linema...@gmail.com wrote: Depends on your definition of session and if you are using container managed security and if that is the case it can depend on your server. The default session manager for glassfish uses cookies, therefore as long as the user has cookies enabled they will be able to maintain a session as long as that cookie is alive. The problem is that IE and Firefox treat session cookies differently. FF will share session cookies across tabs while IE = 7 will not. There are reports that IE8 will share session cookies across tabs. As we have seen with v8 of IE they are conforming to the rest of the browsers as long as they don't have to maintain bugs from IE6 due to compatibility(the box model bug comes to mind). On Jul 16, 5:40 am, cooolcat coolcat_y...@hotmail.com wrote: Hey, I just started reading about GWT. It is really amazing and the documentation is pretty good. But I still didn't find something useful how GWT works with multiple tabs in the same browser. I guess, when I call the same application in two different tabs, I will have two different sessions. I would like to use the same session, expecially when a user logged in. How can I do this? Can I check in a new tab if a user already logged in, and how can I access this data? Any help is greatly appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
support F5 to load current page
Welcome all , i face a problem with pressing F5 button to load current page i use history manager to make next back in my project now after pressing the f5 button it return to the first page in my projects how to fix this problem -- You received 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: UTF-8 Encoding Problem
what about on the client side how to make this cause when adding new one how to make the added value in UTF-8 format On Jul 20, 11:43 am, rudolf michael roud...@gmail.com wrote: You need to make sure that the String that you are returning from the server is UTF8 Encoded. Since GWT by default supports UTF8 encoding, then you need to make sure that what ever value you are returning from the server/db is encoded properly. best regards, Rudolf Michael On Tue, Jul 20, 2010 at 11:39 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: what do you mean can you explain it ?? On Jul 20, 11:09 am, olivier nouguier olivier.nougu...@gmail.com wrote: AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Eclipse - Google Addons are gone after update
I had the same problem on Windows 7 and after struggling for several hours i had to restore Windows to a previous check point, it worked like a charm. dunno if the problems is an eclipse updates, a plugin updates or a windows update. On Tue, Jul 20, 2010 at 1:58 AM, Rajeev Dayal rda...@google.com wrote: As an FYI, this issue is being tracked here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5080 On Mon, Jul 19, 2010 at 5:57 PM, Jeff Chimene jchim...@gmail.com wrote: On 07/19/2010 07:44 AM, Magnus wrote: Well, I just found that tar tvfz eclipse-archive shows tomcat/ users as the owner of the files. I think that this UID corresponds to my Debian-exim id. However, I extract the tar files with tar xvfz. Magnus OK. I can reproduce what you're seeing. I cannot explain, even when you install the GPE into the archive, it doesn't work. When you install as root, it does (did I get that right?) One further question (I think the answer to this is yes) do you delete the eclipse directory before installing? That's one of the reasons I use update-alternatives. After extracting the archive, I move the directory to the specific version: mv eclipse eclipse-3.6 and use update-alternatives to point to that directory. In this way, I can be sure of a clean installation, and I also have a backup version in case things go sideways. Anyway, after extracting the archive as tar xvzf archive the directory is owned by root:root, but the ownership of files in that hasn't changed (still tomcat/users). So, I used the following tar command tar --owner=root --no-same-owner -vxzf /tmp/eclipse-jee-helios-linux-gtk.tar.gz On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote: On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com wrote: On 07/17/2010 08:23 PM, Magnus wrote: Hi Rajeev! I always installed eclipse as root, i. e. extracting the tar archive as root into /usr/local/eclipse and changing the ownership of all files and folders to root. You shouldn't need to change the ownership. If you're really extracting the files as root, then they are already owned by root. No: drwxr-sr-x 3 rootroot 4096 2010-07-18 05:07 . drwxr-sr-x 12 rootroot 4096 2010-07-12 19:10 .. drwxrwsr-x 9 Debian-exim users 4096 2010-06-17 17:15 eclipse Do you remember the tar command you use to extract the files? I'm wondering if you're preserving the owner specified in the ** archive. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received 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: support F5 to load current page
pls use Window.addWindowCloseHandler( new WindowCloseHandler(event) { event.setMessage(your message here); } ); in your onModuleLoad() function. when F5 button is pressed then custom message will be displayed if you press OK button then reloads but if you press the cancel then no reload. OK and cancel is by default to the browser. hope this will help. pls use eclipse and press ctrl+ space then addWindowCloseHandler will be shown and fix any class name if i mistook. thanks On Tue, Jul 20, 2010 at 6:30 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , i face a problem with pressing F5 button to load current page i use history manager to make next back in my project now after pressing the f5 button it return to the first page in my projects how to fix this problem -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Compiler Bug in 2.1.0.m2
Hi, I've updated the issue with a more specific test case and a possible workaround. Olivier On 19 juil, 15:09, Björn bjoernham...@web.de wrote: Hi George, hi Gal, thanks for you help! The Resymbolization did the trick. After having two days of real fun with compiled javascript I think I found a bug in the gwt compiler. If your interested take a look athttp://code.google.com/p/google-web-toolkit/issues/detail?id=5133. Hope it will be fixed soon... cheers, Björn -- You received 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: support F5 to load current page
i want to reload current page only without pressing any other button On Jul 20, 12:48 pm, Muhammad Saifullah msaif.muham...@gmail.com wrote: pls use Window.addWindowCloseHandler( new WindowCloseHandler(event) { event.setMessage(your message here); } ); in your onModuleLoad() function. when F5 button is pressed then custom message will be displayed if you press OK button then reloads but if you press the cancel then no reload. OK and cancel is by default to the browser. hope this will help. pls use eclipse and press ctrl+ space then addWindowCloseHandler will be shown and fix any class name if i mistook. thanks On Tue, Jul 20, 2010 at 6:30 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , i face a problem with pressing F5 button to load current page i use history manager to make next back in my project now after pressing the f5 button it return to the first page in my projects how to fix this problem -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Create WRT widgets with MS Visual Studio Plug-in
All Web developers who have chosen Microsoft Visual Studio 2008 as their development platform can now plug in features that dramatically simplify the process of creating applications with WRT!! The Nokia WRT Plug-in for Visual Studio provides features that enables the creation, editing, testing, and deployment of WRT widgets from within Visual Studio. With WRT widgets websites or web services can be optimised for use on Symbian devices easily. Because they’re easy to develop and use, WRT widgets are ideal for driving traffic to your website from Symbian devices. Download the plug-in here http://bit.ly/9Pf2qI -- You received 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.
Password Strength Widget?
Anyone have a password strength widget for either GWT or GXT? Client side or better client w/server side validation would be great. -- You received 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.
Serialization - interface TypeFilter
Hello all, I wonder if there is any reason to let the interface TypeFilter protected, whereas the public class SerializableTypeOracleBuilder has a public method setTypeFilter(TypeFilter) ? Actually, I'm particularly interested to make this interface public. Best regards, Thierry Boileau -- You received 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: $_POST is empty when request made using RequestBuilder
Thanks Rob, The problem was because I wasn't encoding the URL. Wired, I would expect the whole request to fail if I don't encode the URL. Another thing, I received 0 (zero) as status code, i checked the forums and it seems that it is related to SOP as you suspected. Would having the PHP files in the same www folder as the GWT application solve this issue? Are there any workarounds to SOP? Apologies if my post is a duplicate but I am facing what Rob faced, the thread is not updated. Thanks again Musab On Jul 19, 5:09 pm, RPB robbol...@gmail.com wrote: Apologies if this is a double-post, the thread didn't seem to update the first time. I don't see anything in particular that is wrong with your code, but the following works for me if you want to give it a try: public void postPHPRequest(String url, String postData){ url = URL.encode(url); RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); try { builder.setHeader(Content-Type, application/x-www-form- urlencoded); @SuppressWarnings(unused) Requestreq = builder.sendRequest(postData, new RequestCallback() { public void onError(Requestrequest, Throwable exception) { fireErrorEvent(Failed to send therequest: + exception.getMessage()); } public void onResponseReceived(Requestrequest, Response response) { String output = response.getText(); } }); } catch (RequestException e) { fireErrorEvent(Failed to send therequest: + e.getMessage()); } } You can look at 'output' which should display any echos you have in your PHP. Hopefully this will help you debug out what is happening. If this doesn't work check that you are not violating the SOP (same origin policy). There are other threads on this forum with more info on this. Good luck, Rob On Jul 18, 1:44 pm, malrawi musab.alr...@gmail.com wrote: Hi, I am really new to GWT, I tried searching the net for hours to get an answer to my problem with no luck. Here is what I am doing: I am creating a simple EntryPoint which shows some text fields, when the user clicks on a button I want to send aPOSTrequestto a php page. The PHP page says that myrequestparameters are not set. Right before I send therequestI display therequestdata and they look right. As the code shows, I am setting the content type, I am appending the parameters properly, I don't know what is wrong. I didn't want to use FormPanel because it seemed like I wouldn't be able to send arequestasynchronously (correct me if I am wrong, my conclusion was based on Javadoc's examples also some examples on the net) Here is the code: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); builder.setHeader(Content-type, application/x-www-form- urlencoded); StringBuffer requestData = new StringBuffer(); // parameters is a HashMap if (parameters != null ){ requestData.append(?); SetString keys = parameters.keySet(); for (String key : keys ){ requestData.append(URL.encode(key)); requestData.append(=); requestData.append(URL.encode(parameters.get(key))); requestData.append(); } } try { Window.alert(requestData.toString()); builder.sendRequest(requestData.toString(), handler);} catch ( Exception e){ Window.alert(e.getMessage()); } 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: Serialization - interface TypeFilter
hello, by protected, I mean package-private. Best regards, Thierry Boileau Hello all, I wonder if there is any reason to let the interface TypeFilter protected, whereas the public class SerializableTypeOracleBuilder has a public method setTypeFilter(TypeFilter) ? Actually, I'm particularly interested to make this interface public. Best regards, Thierry Boileau -- You received 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: Password Strength Widget?
well you just need to have a server script that do that for you, as for the client side you just need a PasswordTextField Widget with a validator that display the messages back from the server. On Tue, Jul 20, 2010 at 2:30 PM, omsrobert omsrob...@gmail.com wrote: Anyone have a password strength widget for either GWT or GXT? Client side or better client w/server side validation would be great. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Share user input data within MVP + Lady_Gaga
No, they should all use the same single event. -- Arthur Kalmenson On Mon, Jul 19, 2010 at 9:04 PM, mk munna.kaka.ch...@gmail.com wrote: Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event with all the appro. values required by 2a,2b,2c presenters? Plz respond. On Jul 19, 3:59 pm, Arthur Kalmenson arthur.k...@gmail.com wrote: Isn't the second presenter setting the value in the second view based on the event it just caught? You're describing the interaction right there. -- Arthur Kalmenson On Mon, Jul 19, 2010 at 5:54 PM, mk munna.kaka.ch...@gmail.com wrote: How to share user input data within MVP. Following is one of MVP sequence for TWO widgets 1) 1st VIEW has a simple textbox and submit button, wherein use enters her name Lady_Gaga and click submit. 2) 1st PRESENTER fires an event ( cuz of button click). 3) 2nd PRESENTER catches that event and displays 2nd VIEW as dialog box with user entered name Lady_Gaga Question) How user entered name Lady_Gaga be passed from 1st VIEW to 2nd VIEW ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.- 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. -- You received 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: Upload Maximum Size file giving Memory Out of rage error
As Rudolf said, this has nothing to do with GWT. Perhaps you should look at apache commons upload Streaming API: http://commons.apache.org/fileupload/streaming.html -- Arthur Kalmenson On Tue, Jul 20, 2010 at 3:04 AM, raj rajendra.a...@gmail.com wrote: Hi All, I am uploading more than 500MB file it is giving this exception [ERROR] Error for /com.winfoware.voxforce.Index/services java.lang.OutOfMemoryError: Java heap space at org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java: 329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) [ERROR] Out of memory; to increase the amount of memory, use the - Xmx flag at startup (java -Xmx128M ...) [ERROR] 500 - POST /com.mycomp.xxx.Index/services?method=fileupload (127.0.0.1) 3302 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.1.10) Gecko/20100504 Firefox/3.5.10 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=1c875d6p9xi9v Referer: http://127.0.0.1:/Index.html?gwt.codesvr=127.0.0.1:9997 Content-Type: multipart/form-data; boundary=---6410314616234 Content-Length: 730633459 Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 3302 Even I am setting Java heap memory size to 1028MB in eclipse for my testing in development mode i am not able to upload a file. i was saw some forums setting java heap size java -Xms5m -Xmx1028m MyApp can you please give me suggetions how to resolve this problem using eclipse and tomcat. Thanks in advance , Raj, INDIA -- You received 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: Password Strength Widget?
If you want to enforce a particular password policy, you'll have to check with the server. But for visualizing the password strength, you can check for particular characters (lower case, upper case, password length, numbers, etc) on the client side without checking with the server. -- Arthur Kalmenson On Tue, Jul 20, 2010 at 8:16 AM, rudolf michael roud...@gmail.com wrote: well you just need to have a server script that do that for you, as for the client side you just need a PasswordTextField Widget with a validator that display the messages back from the server. On Tue, Jul 20, 2010 at 2:30 PM, omsrobert omsrob...@gmail.com wrote: Anyone have a password strength widget for either GWT or GXT? Client side or better client w/server side validation would be great. -- You received 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. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How can multiple tabs in the same browser can share the same session?
I will rephrase a bit... By default each browser tab shares same session if you are using Cookie based sessions (which are in turn default on most of the Web containers). In IE6 there where no tabs to my knowledge and that's why it is impossible to implement session sharing for this browser. One important thing is that not only Tabs, but also windows spawned with Ctrl+N in IE will also share the cookies and therefore session. You should not program anything to achieve this behavior, simply try that out. Dmitry On Jul 16, 2:40 pm, cooolcat coolcat_y...@hotmail.com wrote: Hey, I just started reading about GWT. It is really amazing and the documentation is pretty good. But I still didn't find something useful how GWT works with multiple tabs in the same browser. I guess, when I call the same application in two different tabs, I will have two different sessions. I would like to use the same session, expecially when a user logged in. How can I do this? Can I check in a new tab if a user already logged in, and how can I access this data? Any help is greatly appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Paging ScrollTable Implementation and New Table Model
Hi Guys We currently use a widget from GWT mosaic which is called LiveTable but is basically a rework of the Paging ScrollTable. We are also tied to GWT 1.7. The problem I face with this table is that the user has the ability to completely rework the table and then re-render it, but the only feasible way to do this I have found is to create an entirely new tablemodel and tabledefinitions, and then create a new table, clear the layoutpanel add the new table and refresh. But this is a nasty process and gives FF issues with the jscript rendering and causes script timeouts. I asked the guy who wrote the Table if he knew of a better way, but he said he had to do similar to me in another project, so my question to you guys... is it possible? Or is there a way to get the layouting done without upsetting Firefox? final TableModelAbstractBaseCell[] tableModel = new IterableTableModelAbstractBaseCell[]( data) { @Override public int getRowCount() { return data.size(); } @SuppressWarnings(unchecked) @Override public void requestRows(final Request request, final CallbackAbstractBaseCell[] callback) { final int numRows = Math.min(request.getNumRows(), data.size() - request.getStartRow()); final ListAbstractBaseCell[] list = new ArrayListAbstractBaseCell[](); for (int i = 0, n = numRows; i n; i++) { list.add(data.get(request.getStartRow() + i)); } final SerializableResponse response = new SerializableResponse( list); callback.onRowsReady(request, response); } }; table = new LiveTableAbstractBaseCell[](tableModel, createTableDefinition()); layoutPanel.add(table); //table.fillWidth(); layoutPanel.layout(); Thanks Tom -- You received 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: Upload Maximum Size file giving Memory Out of rage error
Hi , Thanks for giving suggetion, this is not related to GWT, but i am facing when i set upload maximum file size to(1024MB - 2GB), but it is giving same error, i am using the what ever you sent URL only i used. --- Raj On Tue, Jul 20, 2010 at 6:27 PM, Arthur Kalmenson arthur.k...@gmail.comwrote: As Rudolf said, this has nothing to do with GWT. Perhaps you should look at apache commons upload Streaming API: http://commons.apache.org/fileupload/streaming.html -- Arthur Kalmenson On Tue, Jul 20, 2010 at 3:04 AM, raj rajendra.a...@gmail.com wrote: Hi All, I am uploading more than 500MB file it is giving this exception [ERROR] Error for /com.winfoware.voxforce.Index/services java.lang.OutOfMemoryError: Java heap space at org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java: 329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) [ERROR] Out of memory; to increase the amount of memory, use the - Xmx flag at startup (java -Xmx128M ...) [ERROR] 500 - POST /com.mycomp.xxx.Index/services?method=fileupload (127.0.0.1) 3302 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.1.10) Gecko/20100504 Firefox/3.5.10 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/ *;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=1c875d6p9xi9v Referer: http://127.0.0.1:/Index.html?gwt.codesvr=127.0.0.1:9997 Content-Type: multipart/form-data; boundary=---6410314616234 Content-Length: 730633459 Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 3302 Even I am setting Java heap memory size to 1028MB in eclipse for my testing in development mode i am not able to upload a file. i was saw some forums setting java heap size java -Xms5m -Xmx1028m MyApp can you please give me suggetions how to resolve this problem using eclipse and tomcat. Thanks in advance , Raj, INDIA -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received 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
Re: Compiler Bug in 2.1.0.m2
The GWT team needs to be all over issues like this. Nothing will put people off GWT quicker than a flaky compiler you cannot depend on. On Jul 20, 5:53 am, Olivier Monaco olivier.mon...@free.fr wrote: Hi, I've updated the issue with a more specific test case and a possible workaround. Olivier On 19 juil, 15:09, Björn bjoernham...@web.de wrote: Hi George, hi Gal, thanks for you help! The Resymbolization did the trick. After having two days of real fun with compiled javascript I think I found a bug in the gwt compiler. If your interested take a look athttp://code.google.com/p/google-web-toolkit/issues/detail?id=5133. Hope it will be fixed soon... cheers, Björn -- You received 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: Password Strength Widget?
Here is the code I use, you can tweak it to fit with your standards. public class ValidationUtils { private final static String EMAIL_VALIDATION_REGEX = [a-zA-Z0-9!#$ %'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%'*+/=?^_`{|}~-]+)*@(?:[a-zA- Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a- zA-Z0-9])?; private static final int PASSWORD_LEVEL_VERYWEAK = 0; private static final int PASSWORD_LEVEL_WEAK = 1; private static final int PASSWORD_LEVEL_MEDIOCRE = 2; private static final int PASSWORD_LEVEL_STRONG = 3; private static final int PASSWORD_LEVEL_VERYSTRONG = 4; public ValidationUtils(){ } public static boolean validateEmail(String text) { if (text.matches(EMAIL_VALIDATION_REGEX)) { return true; } else return false; } public static int CheckPasswordStrength(String passwd) { boolean upper = false, lower = false, numbers = false, special = false; int intScore = 0, length = 0; if (passwd == null) return PASSWORD_LEVEL_VERYWEAK; // PASSWORD LENGTH length = passwd.length(); if (length 5) // length 4 or less { intScore = (intScore + 3); } else if (length 4 passwd.length() 8) // length between 5 and 7 { intScore = (intScore + 6); } else if ( length 7 passwd.length() 16) // length between 8 and 15 { intScore = (intScore + 12); } else if (length 15) // length 16 or more { intScore = (intScore + 18); } // LETTERS if (passwd.matches(.*[a-z]+.*)) { intScore = (intScore + 1); lower=true; } if (passwd.matches(.*[A-Z]+.*)) { intScore = (intScore + 5); upper=true; } // NUMBERS if (passwd.matches(.*[0-9]+.*)) { intScore = (intScore + 5); numbers=true; } if (passwd.matches(.*[0-9].*[0-9].*[0-9].*)) intScore = (intScore + 3); // SPECIAL CHAR if (passwd.matches(.*[:,!,@,#,$,%,^,,*,?,_,~]+.*)) { intScore = (intScore + 5); special=true; } if (passwd.matches(.*[:,!,@,#,$,%,^,,*,?,_,~].*[:,!,@,#, $,%,^,,*,?,_,~].*)) intScore = (intScore + 3); // COMBOS if (upper lower ) // [verified] both upper and lower case { intScore = (intScore + 2); } if ((upper || lower ) numbers ) // [verified] both letters and numbers { intScore = (intScore + 2); } if ((upper || lower ) numbers special) // [verified] letters, numbers, and special characters { intScore = (intScore + 2); } if (upper lower numbers special ) // [verified] upper, lower, numbers, and special characters { intScore = (intScore + 2); } //System.out.println(Mdp: +passwd+ Score : +intScore); if (intScore 16) return PASSWORD_LEVEL_VERYWEAK; else if (intScore 15 intScore 25) return PASSWORD_LEVEL_WEAK; else if (intScore 24 intScore 35) return PASSWORD_LEVEL_MEDIOCRE; else if (intScore 34 intScore 45) return PASSWORD_LEVEL_STRONG; else return PASSWORD_LEVEL_VERYSTRONG; } } On Jul 20, 12:30 pm, omsrobert omsrob...@gmail.com wrote: Anyone have a password strength widget for either GWT or GXT? Client side or better client w/server side validation would be great. -- You received 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: Reusability of GWT UI
any one on this plz... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Tue, Jul 13, 2010 at 7:32 PM, Vik vik@gmail.com wrote: hie Thanks but i have following doubt: Since i need two different handlers for two search panels then where will be the deciding logic ? and how exactly i will call this addClickHandler method? 1. How will i call it Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Jul 12, 2010 at 10:28 PM, Gal Dolber gal.dol...@gmail.com wrote: class YourSearchPanel extends Composite *implements HasClickHandlers {* * * *...* *public HandlerRegistration addClickHandler(ClickHandler handler) {* *yourSearchButton.addClickHandler(handler);* *}* * * *}* * * *And move the rpc logic out of your widget * 2010/7/12 Vik vik@gmail.com Hie I have a UI which shows a search panel having 3 list boxes to select from and a search button. I have two different pages where this UI has to be exactly same except the search button needs to call different rpc services. How should I write the code once and resue it both the places? Please advise... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://gwtupdates.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
problem in storing data in sessions
sir, um working on a project and actually needs to maintain a user session when he logs in. i am not getting the proper commands to use sessions in gwt. can u please tell me the proper steps and commands of how to use sessions in gwt and how i can maintain a user login for it. i will be thankful to you. krati -- You received 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.
Used to be a C++ developer, want to move the front end client to GWT, need a step by step example/tutorial for GWT and mysql database. Appreciate for your help!
Hi: I am experienced C++ developer and want to migrate UI client (using for app configuration and control) to GWT. Currently, finished the stock price tutorial. Need a similar detail oriented tutorial for working with mysql DB. Please help. Thanks lot, Allen -- You received 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: $_POST is empty when request made using RequestBuilder
Do you need the ? ? Maybe worth using firebug to look at what the browser is actually sending? On Jul 18, 1:44 pm, malrawi musab.alr...@gmail.com wrote: Hi, I am really new to GWT, I tried searching the net for hours to get an answer to my problem with no luck. Here is what I am doing: I am creating a simple EntryPoint which shows some text fields, when the user clicks on a button I want to send a POST request to a php page. The PHP page says that my request parameters are not set. Right before I send the request I display the request data and they look right. As the code shows, I am setting the content type, I am appending the parameters properly, I don't know what is wrong. I didn't want to use FormPanel because it seemed like I wouldn't be able to send a request asynchronously (correct me if I am wrong, my conclusion was based on Javadoc's examples also some examples on the net) Here is the code: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); builder.setHeader(Content-type, application/x-www-form- urlencoded); StringBuffer requestData = new StringBuffer(); // parameters is a HashMap if (parameters != null ){ requestData.append(?); SetString keys = parameters.keySet(); for (String key : keys ){ requestData.append(URL.encode(key)); requestData.append(=); requestData.append(URL.encode(parameters.get(key))); requestData.append(); } } try { Window.alert(requestData.toString()); builder.sendRequest(requestData.toString(), handler);} catch ( Exception e){ Window.alert(e.getMessage()); } 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.
BUG: EditTextCell.render fails when viewdata contains a quote
Hi I'm using GWT-2.1.0-M2 and have encountered a bug. When editing a cell using the EditTextCell, the input field fails to show the correct content when the value contains a quote. The value is trimmed after the first occuring quote. The problem is the render method in the EditTextCell class. As this method takes the value as clear html, this also enables cross site scripting. regards Roald -- You received 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.
DockLayoutPanel inside custom DecoratorPanel
Hi all, I'm getting the same behavior, only the north part of the DockLayoutPanel is displayed. Need to set DockLayoutPanel's height in pixel to make it work. Running gwt 2.1.0 M2, here is the structure: Menu extends Composite Menu() { panel = new FlowPanel(); panel.add( new HTML( menu ) ); initWidget( panel ); } Application extends Composite Application() { indexPanel = new DockLayoutPanel( PX ); indexPanel.addNorth( new HTML(north blah), 50 ); indexPanel.addWest( new HTML(west blah), 50 ); indexPanel.addEast( new HTML(east blah), 50 ); indexPanel.add( new Menu() ); appDecorator = new DecoratorPanel(); appDecorator.setWidget( indexPanel ); appDecorator.setStylePrimaryName( custom_decorator ); initWidget( appDecorator ); } RootLayoutPanel.get().add( new Application() ); Few tests: 1) this code, not more: the custom_decorator is displayed, without center, with north overwriting in the borders. 2) adding: appDecorator.setSize( 100%, 100% ); the decorator is properly rendered, and the center is 100%,100%, but, only north is displayed from the DockLayoutPanel 3) adding: indexPanel.setSize( 100%, 100% ); AND appDecorator.setSize( 100%, 100% ); = same as (2) 4) adding: indexPanel.setHeight( 100%); AND appDecorator.setSize( 100%, 100% ); = same as (2) 5) adding: indexPanel.setSize( 300px, 300px ); AND appDecorator.setSize( 100%, 100% ); finally! DockLayoutPanel is rendered! Conclusion: Need to fix the height in PIXEL to get it work properly. GWT team? -- Jeanluc -- You received 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: need best GWT book for a begginner to start career
You can check the links at the GWT website, there you will find good startup tutorials and available books: http://code.google.com/webtoolkit/doc/latest/tutorial/index.html http://code.google.com/webtoolkit/books.html hth On Jul 19, 3:43 pm, Santosh kumar kopp@gmail.com wrote: hi, this is santosh, i got a job on java platform, so here im working on eclipse environment also im using GOOFLE WEB TOOLKIT .. but im facing difficulty in understanding the concept of GWT so please will u suggest me the best GWT book or send me the link where i can download book for free of cost !! -- Thanks Regards S a n t o s h k u m a r . k -- You received 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: $_POST is empty when request made using RequestBuilder
Do you need that ? at the start? Just guessing. Maybe debug with firebug? Very nice HTTP snooping... On Jul 18, 1:44 pm, malrawi musab.alr...@gmail.com wrote: Hi, I am really new to GWT, I tried searching the net for hours to get an answer to my problem with no luck. Here is what I am doing: I am creating a simple EntryPoint which shows some text fields, when the user clicks on a button I want to send a POST request to a php page. The PHP page says that my request parameters are not set. Right before I send the request I display the request data and they look right. As the code shows, I am setting the content type, I am appending the parameters properly, I don't know what is wrong. I didn't want to use FormPanel because it seemed like I wouldn't be able to send a request asynchronously (correct me if I am wrong, my conclusion was based on Javadoc's examples also some examples on the net) Here is the code: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); builder.setHeader(Content-type, application/x-www-form- urlencoded); StringBuffer requestData = new StringBuffer(); // parameters is a HashMap if (parameters != null ){ requestData.append(?); SetString keys = parameters.keySet(); for (String key : keys ){ requestData.append(URL.encode(key)); requestData.append(=); requestData.append(URL.encode(parameters.get(key))); requestData.append(); } } try { Window.alert(requestData.toString()); builder.sendRequest(requestData.toString(), handler);} catch ( Exception e){ Window.alert(e.getMessage()); } 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.
gwt upload
i use gwtupload to upload files on the server and it works fine. Question: How Check if the file exists before uploading? if the file exists, how can we give for user the permission to replace or rename or override the file Thx for your 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.
Issue GWT module 'abc' may need to be (re)compiled only with Firefox
Hi, I just compiled my application (using the Compile button provided by Google) and I've found a really strange issue... If I run my application in Compiled mode under Chrome or IE, it works fine, but as soon as I try under Firefox, I have the following issue: GWT module 'abc' may need to be (re)compiled. Everything works fine in Hosted mode. Any idea what could cause this difference ? Cheers, Christophe -- You received 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: $_POST is empty when request made using RequestBuilder
Thanks Rob, The problem was because I wasn't encoding the URL, Now when I think about it, it is kind of strange because the logs show that a request was sent but the only problem was with the $_POST, You would expect not being able to send the request if you don't encode the url and not send a request with no parameters. What was interesting too, the fact that getStatusCode() returned 0. I checked the group and it seems that it has something to do with SOP (correct me please if I am wrong). Would having the GWT application in the same folder as the PHP project solve this issue? Please, are there any other work arounds to the SOP issue? Thanks again Musab On Jul 19, 5:09 pm, RPB robbol...@gmail.com wrote: Apologies if this is a double-post, the thread didn't seem to update the first time. I don't see anything in particular that is wrong with your code, but the following works for me if you want to give it a try: public void postPHPRequest(String url, String postData){ url = URL.encode(url); RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); try { builder.setHeader(Content-Type, application/x-www-form- urlencoded); @SuppressWarnings(unused) Requestreq = builder.sendRequest(postData, new RequestCallback() { public void onError(Requestrequest, Throwable exception) { fireErrorEvent(Failed to send therequest: + exception.getMessage()); } public void onResponseReceived(Requestrequest, Response response) { String output = response.getText(); } }); } catch (RequestException e) { fireErrorEvent(Failed to send therequest: + e.getMessage()); } } You can look at 'output' which should display any echos you have in your PHP. Hopefully this will help you debug out what is happening. If this doesn't work check that you are not violating the SOP (same origin policy). There are other threads on this forum with more info on this. Good luck, Rob On Jul 18, 1:44 pm, malrawi musab.alr...@gmail.com wrote: Hi, I am really new to GWT, I tried searching the net for hours to get an answer to my problem with no luck. Here is what I am doing: I am creating a simple EntryPoint which shows some text fields, when the user clicks on a button I want to send aPOSTrequestto a php page. The PHP page says that myrequestparameters are not set. Right before I send therequestI display therequestdata and they look right. As the code shows, I am setting the content type, I am appending the parameters properly, I don't know what is wrong. I didn't want to use FormPanel because it seemed like I wouldn't be able to send arequestasynchronously (correct me if I am wrong, my conclusion was based on Javadoc's examples also some examples on the net) Here is the code: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); builder.setHeader(Content-type, application/x-www-form- urlencoded); StringBuffer requestData = new StringBuffer(); // parameters is a HashMap if (parameters != null ){ requestData.append(?); SetString keys = parameters.keySet(); for (String key : keys ){ requestData.append(URL.encode(key)); requestData.append(=); requestData.append(URL.encode(parameters.get(key))); requestData.append(); } } try { Window.alert(requestData.toString()); builder.sendRequest(requestData.toString(), handler);} catch ( Exception e){ Window.alert(e.getMessage()); } 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: support F5 to load current page
Hi Ahmed, try Window.location.reload() Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 06:13, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: i want to reload current page only without pressing any other button On Jul 20, 12:48 pm, Muhammad Saifullah msaif.muham...@gmail.com wrote: pls use Window.addWindowCloseHandler( new WindowCloseHandler(event) { event.setMessage(your message here); } ); in your onModuleLoad() function. when F5 button is pressed then custom message will be displayed if you press OK button then reloads but if you press the cancel then no reload. OK and cancel is by default to the browser. hope this will help. pls use eclipse and press ctrl+ space then addWindowCloseHandler will be shown and fix any class name if i mistook. thanks On Tue, Jul 20, 2010 at 6:30 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , i face a problem with pressing F5 button to load current page i use history manager to make next back in my project now after pressing the f5 button it return to the first page in my projects how to fix this problem -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Java 7 And Closures
Hi, well, without wanting to be destructive: where is the big difference compared to the command pattern? I really like GWT's stability and maturity. I'd like to keep it as simple and straightforward as possible. It would be great if that stays as the design goal - and whether or not J7 closures come in, I still like the command pattern... Regards Sebastian On Jul 19, 8:15 pm, dolcra...@gmail.com dolcra...@gmail.com wrote: I think GWT should refrain from including Java 7 features until it is released at least... On Jul 19, 1:48 pm, Daniel Simons daniel.simo...@gmail.com wrote: Hey Guys, I was wondering if there have been plans centered around including Java 7 features such as closures to future versions of GWT. Thanks, Daniel -- You received 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: Docklayout / Fixed size
Hi Julien, there are at least two ways. a) use the old DockPanel b) Measure the size of your content before adding to DockLayoutPanel. Measuring is somewhat tricky. You have to put the testee in an already attached element. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 09:26, julien devn...@ac-rennes.fr wrote: Hello, Is there a way to have a kind of Docklayout with a north zone adjusted to its content size (i.e. the size is not hardcoded on the ui.xml file) ? Regards, Julien -- You received 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 upload
Actually for normal applications we have to make one serial number for storing the files, because with the same file name having different data. So we have to rename file to some serial number, then you can store your actual name in database, map those two columns. As per your concern if you want delete those files or override those existing file there is file checking code is there in using java.io. package. -- Raj, INDIA. On Mon, Jul 19, 2010 at 7:40 PM, ibouakl imad.bou...@gmail.com wrote: i use gwtupload to upload files on the server and it works fine. Question: How Check if the file exists before uploading? if the file exists, how can we give for user the permission to replace or rename or override the file Thx for your help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT response is allowing only boolean value in IE
Hi Raj, this does not look like GWT. Do you use GXT (GWT-Ext)? Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 07:24, raj rajendra.a...@gmail.com wrote: Hi All, I am new to GWT, when i am passing GWT response from server as String value, it is going to infinite state in IE. But in Mozilla String response is getting well with html tag pSuccess/p . Here is the code what i am doing is At client request: save.addListener(new ButtonListenerAdapter() { @Override public void onClick(com.gwtext.client.widgets.Button button, EventObject e) { String strLoadMsg = Saving...; strURL = strSericeURL + method=saveCameraSession; formPanelList.getForm().submit(strURL, null, Connection.POST,strLoadMsg, true); formPanelList.getForm().addListener(new FormListener() { @Override public void onActionFailed(Form form, int httpStatus, String responseText) { } @Override public void onActionComplete(Form form, int httpStatus, String responseText) { Window.alert(responseText); //here is the response Success should come } @Override public boolean doBeforeAction(Form form) { // TODO Auto-generated method stub return true; } }); } }); At server response: String resp = Success; response.getWriter().print(resp); After completion of request, the response is going to infinite loop in IE. If you found any solution please share it. Thanks in Advance, Raj. -- You received 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: Cache static data?
Hi, Html5 supports caching and databases. However, only modern browsers support Html5 When this data changes for all users, consider to recompile your app bi-weekly with new datas. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 04:52, mk munna.kaka.ch...@gmail.com wrote: How to cache data in browser. I want to cache data which changes infrequently (thus static common data changing bi-weekly and NOT html, js, css etc). -- You received 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: Share user input data within MVP + Lady_Gaga
On Jul 19, 9:04 pm, mk munna.kaka.ch...@gmail.com wrote: Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event with all the appro. values required by 2a,2b,2c presenters? In fact, you shouldn't be thinking about presenters 2a, 2b, or 2c when writing presenter 1. Presenter 1 should just fire change events when its data changes. Presenters 2a, 2b, 2c, and future presenters 3q and 7f should simply add event handlers to presenter 1 and pick out the information they need. Eric -- You received 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: Used to be a C++ developer, want to move the front end client to GWT, need a step by step example/tutorial for GWT and mysql database. Appreciate for your help!
GWT is a browser client-side technology and cannot access a mysql database directly. Your GWT code can be given data by your server, and it's your server that connects to mysql. GWT is server-technology agnostic, though it includes some tools to be used with java based servers. So, how you do your mysql access depends on what technology you want to use for your server. If you use java, then you might like to look at hibernate (and then possibly Gilead). Alternatively, quite a few people here use php. Paul Allen wrote: Hi: I am experienced C++ developer and want to migrate UI client (using for app configuration and control) to GWT. Currently, finished the stock price tutorial. Need a similar detail oriented tutorial for working with mysql DB. Please help. Thanks lot, Allen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Java 7 And Closures
from what I read about Closures, it won't change the way you use command pattern at all, it'll simplify greatly the way you write nested classes. ex: Before closure command.execute(new myasynccallback() { void onSuccess(Result result) { doSomething } } With closure command.execute(new myasynccallback() { doSomething() } Thus removing some boiler plate. If you asking me about onFail... I usually have MyAsyncCallback extends AsyncCallback and deal with errors here. There's a lot more to Closure than this, but at least, you'll know that it'll change nothing to the way you use command pattern, it'll only simplify it. Cheers, On Tue, Jul 20, 2010 at 10:03 AM, Sebastian Rothbucher sebastian.rothbuc...@clarities.de wrote: Hi, well, without wanting to be destructive: where is the big difference compared to the command pattern? I really like GWT's stability and maturity. I'd like to keep it as simple and straightforward as possible. It would be great if that stays as the design goal - and whether or not J7 closures come in, I still like the command pattern... Regards Sebastian On Jul 19, 8:15 pm, dolcra...@gmail.com dolcra...@gmail.com wrote: I think GWT should refrain from including Java 7 features until it is released at least... On Jul 19, 1:48 pm, Daniel Simons daniel.simo...@gmail.com wrote: Hey Guys, I was wondering if there have been plans centered around including Java 7 features such as closures to future versions of GWT. Thanks, Daniel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received 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 UI spacing issue
Hi, I guess this is an firefox issue not an GWT issue. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 03:30, vbhansaly vbhans...@gmail.com wrote: Hi, I have designed a GWT based form in my webapp. It looks fine in firefox at normal zoom level (ctrl + 0). However with each zoom in (ctrl + -) the spacing between the form fields tends to decrease. Which layout should be layout used to prevent the above issue. 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.
Best way to chain callbacks?
OK I am sure all of you have come up against this beast at some time during your development process. In order to get results from a backend server you have to make a series of calls to fetch data. And to make it worse the subsequent calls are based on data collected at the previous steps of this calls sequence. So chaining these calls is what one has to do to achieve his goal. From my understanding the command pattern has been proposed to mitigate this problem. I have seen some libraries (gwt-dispatch namely) that implement this pattern, but, unless I am mistaken, they are only doing so for the GWT-RPC mechanism. For the case of using the RequestBuilter and HTTP however I couldn't find out a good chaining example that uses the command pattern. So far I have had some good results using the Chain of Responsibility pattern. However the solution - at least as I implemented it - is not as well formated as I would have hoped for. The problem is that I need to be aware of the paths my chain takes. For example lets assume that at a step of the chain I need to branch towards more leaves rather than having only one leaf. My solution has been to keep track, by a counter, the number of paths my chain follows and at the end collect them to a single point and when all have been collected to send the results for processing to the other elements of the UI. I feel though that I am doing too many stuff the wrong way and there is a better way to organise my code to achieve the above functionality. So my question is, do you know a better way to chain the numerous callbacks that are needed to process a series of asynch HTTP calls? Is there a library that implements the command pattern for HTTP calls as well - not only the GWT-RPC mechanism? Any good examples I could look into? Thx in advance for your replies! -- You received 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 response is allowing only boolean value in IE
Hi Stefan Bachert, You are correct, I am using both GWT and GWT-Ext, but i don't know why it is working in FireFox fine, and in IE it is going to infinite loop(i.e. it is not at all send back to the response to client side), --- Raj, INDIA. On Tue, Jul 20, 2010 at 7:44 PM, Stefan Bachert stefanbach...@yahoo.dewrote: Hi Raj, this does not look like GWT. Do you use GXT (GWT-Ext)? Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 07:24, raj rajendra.a...@gmail.com wrote: Hi All, I am new to GWT, when i am passing GWT response from server as String value, it is going to infinite state in IE. But in Mozilla String response is getting well with html tag pSuccess/p . Here is the code what i am doing is At client request: save.addListener(new ButtonListenerAdapter() { @Override public void onClick(com.gwtext.client.widgets.Button button, EventObject e) { String strLoadMsg = Saving...; strURL = strSericeURL + method=saveCameraSession; formPanelList.getForm().submit(strURL, null, Connection.POST,strLoadMsg, true); formPanelList.getForm().addListener(new FormListener() { @Override public void onActionFailed(Form form, int httpStatus, String responseText) { } @Override public void onActionComplete(Form form, int httpStatus, String responseText) { Window.alert(responseText); //here is the response Success should come } @Override public boolean doBeforeAction(Form form) { // TODO Auto-generated method stub return true; } }); } }); At server response: String resp = Success; response.getWriter().print(resp); After completion of request, the response is going to infinite loop in IE. If you found any solution please share it. Thanks in Advance, Raj. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Reusability of GWT UI
Please do not bump threads like this. It's disrespectful, adds unnecessary noise to the list, and it won't get your question answered faster. On Tue, Jul 20, 2010 at 9:47 AM, Vik vik@gmail.com wrote: any one on this plz... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Tue, Jul 13, 2010 at 7:32 PM, Vik vik@gmail.com wrote: hie Thanks but i have following doubt: Since i need two different handlers for two search panels then where will be the deciding logic ? and how exactly i will call this addClickHandler method? 1. How will i call it Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Jul 12, 2010 at 10:28 PM, Gal Dolber gal.dol...@gmail.comwrote: class YourSearchPanel extends Composite *implements HasClickHandlers {* * * *...* *public HandlerRegistration addClickHandler(ClickHandler handler) {* *yourSearchButton.addClickHandler(handler);* *}* * * *}* * * *And move the rpc logic out of your widget * 2010/7/12 Vik vik@gmail.com Hie I have a UI which shows a search panel having 3 list boxes to select from and a search button. I have two different pages where this UI has to be exactly same except the search button needs to call different rpc services. How should I write the code once and resue it both the places? Please advise... Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://gwtupdates.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Chris Conroy Software Engineer Google, Atlanta -- You received 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: Cache static data?
Thanks. However, I am looking for non-HTML5 solution. Is there a better solution to cache than recompiling whole app? Static data may be weekly tips, monthly discounts etc which are applicable for all users. (This is kind of data which changes infrequently) On Jul 20, 8:17 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, Html5 supports caching and databases. However, only modern browsers support Html5 When this data changes for all users, consider to recompile your app bi-weekly with new datas. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 04:52, mk munna.kaka.ch...@gmail.com wrote: How to cache data in browser. I want to cache data which changes infrequently (thus static common data changing bi-weekly and NOT html, js, css etc).- 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: Cache static data?
GWT is not responsible for setting cache headers, you have to set them through your HTTP server. -- Arthur Kalmenson On Tue, Jul 20, 2010 at 11:46 AM, mk munna.kaka.ch...@gmail.com wrote: Thanks. However, I am looking for non-HTML5 solution. Is there a better solution to cache than recompiling whole app? Static data may be weekly tips, monthly discounts etc which are applicable for all users. (This is kind of data which changes infrequently) On Jul 20, 8:17 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, Html5 supports caching and databases. However, only modern browsers support Html5 When this data changes for all users, consider to recompile your app bi-weekly with new datas. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 04:52, mk munna.kaka.ch...@gmail.com wrote: How to cache data in browser. I want to cache data which changes infrequently (thus static common data changing bi-weekly and NOT html, js, css etc).- 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. -- You received 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: Serializable vs IsSerialisable
Originally, back with GWT 1.1 and 1.2, objects that could be serialized across GWT's RPC layer had to implement com.google.gwt.user.client.rpc.IsSerializable. This interface had no methods, it just had to be implemented. Implementing IsSerializable vs java.io.Serializable was a hassle for those of us with large Java libraries which were used in non-GWT projects. It meant keeping two versions of the code, one implementing IsSerializable, the other Serializable. As I understand, java.io.Serializable carries a lot more baggage than IsSerializable, but for GWT, the extra doesn't matter. GWT programmers just need a way to flag a class as serializable. Thus with 1.3 (I think), the GWT team was good enough to change things so that implementing java.io.Serializable would give us the same result as com.google.gwt.user.client.rpc.IsSerializable. Just use java.io.Serializable. On Jul 20, 11:18 am, Magnus alpineblas...@googlemail.com wrote: Hi, what's the difference between implements IsSerializable and implements Serializable? If I have a class that should be used both on the client side and on the server side, which interface should be used? Thanks Magnus -- You received 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.
Serialization policy file found in production mode, but not in hosted mode
Hi All, I am get the following error in hosted mode only (production mode works fine): 2010-07-20 08:59:22,114 INFO [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: ERROR: The serialization policy file '[module url]/ 1FCC98CB4966784C26CF80A5A6A52E81.gwt.rpc' was not found; did you forget to include it in this deployment? 2010-07-20 08:59:23,520 ERROR [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: WARNING: Failed to get the SerializationPolicy '1FCC98CB4966784C26CF80A5A6A52E81' for module [module name]. You may experience SerializationExceptions as a result. When I debug the com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead method on the server: strongName is 1FCC98CB4966784C26CF80A5A6A52E81 in hosted mode and strongName is C8410282FFAF2310BDB57F00F8142C6A in production mode The strongName in production mode aligns with the gwt.rpc file I see on the web server. I'm still trying to find what's going on, but maybe someone else has experienced this and can point me to a solution/work-around? Thanks, Eric -- You received 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: Cache static data?
hmm... we do have HTTP servers which set headers to cache forever. Do anybody uses solution to cache static data (like GWT uses for js files which cache forever and file name is equal to hashmap to prevent 304 calls). Again a solution wherein there is network call to load static data only when it's modifed at server. On Jul 20, 9:55 am, Arthur Kalmenson arthur.k...@gmail.com wrote: GWT is not responsible for setting cache headers, you have to set them through your HTTP server. -- Arthur Kalmenson On Tue, Jul 20, 2010 at 11:46 AM, mk munna.kaka.ch...@gmail.com wrote: Thanks. However, I am looking for non-HTML5 solution. Is there a better solution to cache than recompiling whole app? Static data may be weekly tips, monthly discounts etc which are applicable for all users. (This is kind of data which changes infrequently) On Jul 20, 8:17 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, Html5 supports caching and databases. However, only modern browsers support Html5 When this data changes for all users, consider to recompile your app bi-weekly with new datas. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 04:52, mk munna.kaka.ch...@gmail.com wrote: How to cache data in browser. I want to cache data which changes infrequently (thus static common data changing bi-weekly and NOT html, js, css etc).- 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 athttp://groups.google.com/group/google-web-toolkit?hl=en.- 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: Eclipse - Google Addons are gone after update
See the bug details for a workaround. On Tue, Jul 20, 2010 at 5:39 AM, rudolf michael roud...@gmail.com wrote: I had the same problem on Windows 7 and after struggling for several hours i had to restore Windows to a previous check point, it worked like a charm. dunno if the problems is an eclipse updates, a plugin updates or a windows update. On Tue, Jul 20, 2010 at 1:58 AM, Rajeev Dayal rda...@google.com wrote: As an FYI, this issue is being tracked here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5080 On Mon, Jul 19, 2010 at 5:57 PM, Jeff Chimene jchim...@gmail.com wrote: On 07/19/2010 07:44 AM, Magnus wrote: Well, I just found that tar tvfz eclipse-archive shows tomcat/ users as the owner of the files. I think that this UID corresponds to my Debian-exim id. However, I extract the tar files with tar xvfz. Magnus OK. I can reproduce what you're seeing. I cannot explain, even when you install the GPE into the archive, it doesn't work. When you install as root, it does (did I get that right?) One further question (I think the answer to this is yes) do you delete the eclipse directory before installing? That's one of the reasons I use update-alternatives. After extracting the archive, I move the directory to the specific version: mv eclipse eclipse-3.6 and use update-alternatives to point to that directory. In this way, I can be sure of a clean installation, and I also have a backup version in case things go sideways. Anyway, after extracting the archive as tar xvzf archive the directory is owned by root:root, but the ownership of files in that hasn't changed (still tomcat/users). So, I used the following tar command tar --owner=root --no-same-owner -vxzf /tmp/eclipse-jee-helios-linux-gtk.tar.gz On Jul 18, 7:12 am, Jeff Chimene jchim...@gmail.com wrote: On Sat, Jul 17, 2010 at 8:53 PM, Jeff Chimene jchim...@gmail.com wrote: On 07/17/2010 08:23 PM, Magnus wrote: Hi Rajeev! I always installed eclipse as root, i. e. extracting the tar archive as root into /usr/local/eclipse and changing the ownership of all files and folders to root. You shouldn't need to change the ownership. If you're really extracting the files as root, then they are already owned by root. No: drwxr-sr-x 3 rootroot 4096 2010-07-18 05:07 . drwxr-sr-x 12 rootroot 4096 2010-07-12 19:10 .. drwxrwsr-x 9 Debian-exim users 4096 2010-06-17 17:15 eclipse Do you remember the tar command you use to extract the files? I'm wondering if you're preserving the owner specified in the ** archive. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Serialization policy file found in production mode, but not in hosted mode
Maybe getting closer? I found this ProxyCreator.writeSerializationPolicyFile() method is responsible for determining the serialization policy file name. And it is being called in hosted mode. Is it possible this would generate different file names in hosted vs. production modes? com.google.gwt.user.rebind.rpc.ProxyCreator.writeSerializationPolicyFile() ... byte[] serializationPolicyFileContents = baos.toByteArray(); String serializationPolicyName = Util.computeStrongName(serializationPolicyFileContents); On Jul 20, 9:08 am, Eric ebatz...@gmail.com wrote: Hi All, I am get the following error in hosted mode only (production mode works fine): 2010-07-20 08:59:22,114 INFO [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: ERROR: The serialization policy file '[module url]/ 1FCC98CB4966784C26CF80A5A6A52E81.gwt.rpc' was not found; did you forget to include it in this deployment? 2010-07-20 08:59:23,520 ERROR [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: WARNING: Failed to get the SerializationPolicy '1FCC98CB4966784C26CF80A5A6A52E81' for module [module name]. You may experience SerializationExceptions as a result. When I debug the com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead method on the server: strongName is 1FCC98CB4966784C26CF80A5A6A52E81 in hosted mode and strongName is C8410282FFAF2310BDB57F00F8142C6A in production mode The strongName in production mode aligns with the gwt.rpc file I see on the web server. I'm still trying to find what's going on, but maybe someone else has experienced this and can point me to a solution/work-around? Thanks, Eric -- You received 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: Serialization policy file found in production mode, but not in hosted mode
After much debugging, I saw that the serialization policy file name is based on the full set of serializable types. My gwt-compile ant task has a certain classpath which includes only production source. However, in Eclipse, my classpath includes test source, also. This meant that, running a Gwt Code server in Eclipse, GWT could find a different set of serialization classes. That's exactly what happened. When I changed my GWT Code Server's classpath to only include the production source, my issue was resolved and the serialization policy file name generated in hosted mode was the same as in production mode. Not sure if that's all working as designed, but this was a pain to track down... :-). -Eric On Jul 20, 9:57 am, Eric ebatz...@gmail.com wrote: Maybe getting closer? I found this ProxyCreator.writeSerializationPolicyFile() method is responsible for determining the serialization policy file name. And it is being called in hosted mode. Is it possible this would generate different file names in hosted vs. production modes? com.google.gwt.user.rebind.rpc.ProxyCreator.writeSerializationPolicyFile() ... byte[] serializationPolicyFileContents = baos.toByteArray(); String serializationPolicyName = Util.computeStrongName(serializationPolicyFileContents); On Jul 20, 9:08 am, Eric ebatz...@gmail.com wrote: Hi All, I am get the following error in hosted mode only (production mode works fine): 2010-07-20 08:59:22,114 INFO [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: ERROR: The serialization policy file '[module url]/ 1FCC98CB4966784C26CF80A5A6A52E81.gwt.rpc' was not found; did you forget to include it in this deployment? 2010-07-20 08:59:23,520 ERROR [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/]](http-0.0.0.0-8001-2) spring-mvc: WARNING: Failed to get the SerializationPolicy '1FCC98CB4966784C26CF80A5A6A52E81' for module [module name]. You may experience SerializationExceptions as a result. When I debug the com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead method on the server: strongName is 1FCC98CB4966784C26CF80A5A6A52E81 in hosted mode and strongName is C8410282FFAF2310BDB57F00F8142C6A in production mode The strongName in production mode aligns with the gwt.rpc file I see on the web server. I'm still trying to find what's going on, but maybe someone else has experienced this and can point me to a solution/work-around? Thanks, Eric- 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: Serializable vs IsSerialisable
Also, If you use IsSerializable is easier to control the rpc serializers explotion 2010/7/20 Thad thad.humphr...@gmail.com Originally, back with GWT 1.1 and 1.2, objects that could be serialized across GWT's RPC layer had to implement com.google.gwt.user.client.rpc.IsSerializable. This interface had no methods, it just had to be implemented. Implementing IsSerializable vs java.io.Serializable was a hassle for those of us with large Java libraries which were used in non-GWT projects. It meant keeping two versions of the code, one implementing IsSerializable, the other Serializable. As I understand, java.io.Serializable carries a lot more baggage than IsSerializable, but for GWT, the extra doesn't matter. GWT programmers just need a way to flag a class as serializable. Thus with 1.3 (I think), the GWT team was good enough to change things so that implementing java.io.Serializable would give us the same result as com.google.gwt.user.client.rpc.IsSerializable. Just use java.io.Serializable. On Jul 20, 11:18 am, Magnus alpineblas...@googlemail.com wrote: Hi, what's the difference between implements IsSerializable and implements Serializable? If I have a class that should be used both on the client side and on the server side, which interface should be used? Thanks Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://ajax-development.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
th vs td elements (assistive technology)
Calling HTMLTable.setText or .setWidget always creates a td element. ALWAYS. I cannot find a way to create within a FlexTable a th element. There's com.google.gwt.user.client.DOM.createTH() but I don't see how to get it into a FlexTable. True, to most people, there's no difference between th and td except in how you write your CSS. However the difference is critical to assistive technologies. See http://html.cita.illinois.edu/nav/dtable/ and you'll see what I mean. From what I read, one cannot have a table that complies with either Section 508 or W3C Web Content Accessibility Guidelines without th elements. This seems to me a critical shortcoming in using GWT. Am I missing something? Can you tell that I'm catching hell on this sort of thing? (Those of you who may be writing for a government or public entity may find yourself in a similar fix.) I'd already extended FlexTable to handle double clicks, so I tried adding setHeaderText() method. By copying and modifying some HTMLTable methods, I can make setHeaderText() work, but I can't make a setHeaderWidget() method work because I need to modify HTMLTable's widgetMap, and that member is private. I see this issue is already listed as an enhancement (http:// code.google.com/p/google-web-toolkit/issues/detail?id=2956), and I've added my vote. However it seems that I'm gonna have to modify quite a bit of GWT source, or toss our 3+ years of work and switch to Dojo or some other kit. -- You received 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 find correctly the client's locale?
@Glimpse Thank you for the idea. I've tried myself something similar, but getting the request header Accept-Language and I get the browser language ... but this isn't exactly what I want ... For example, I have set my systems locale to France, but the browser (FF Chrome) have English previously set, and of course, I get the English language in the request header. My need would be to return the system locale not that setting of the browser language. Thanks anyways, that solution is patial good ! ... assuming that the people in France have browser settings for France, the one from Canada the same Canada (english or french) and so on Cheers! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Send String from GWT TO PHP
Hi all, I need to send a string from my gwt platform on glassfish to a website running(using php) on apache server. I know that i need to use JSONP . Is there any tutorial which can provide me a good idea on how to use json in gwt to send a string variable to another server? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Serialization policy is driving me crazy
I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received 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: Share user input data within MVP + Lady_Gaga
Well, I pretty much agree with Eric. I believe the event should'nt depend on the listeners, rather it should be defined in consideration of the presenter that fires it. The attributes stored in the event are the ones that make sense in its own context (that helps a lot I know ^^). In your registration example, I'd fire a RegistrationSubmittedEvent that holds all the details of the registration. No need to create a data object, your event is your data object. However, you can instantiate model objects in the presenter and hold these objects in the event instead of duplicating instantiation code all over the listeners. But in that case, be careful, your model objects are shared and shouldn't be edited (consider making them immutable). I hope that helps ! On 20 juil, 18:07, mk munna.kaka.ch...@gmail.com wrote: In case future presenter 3q requires a specific information which is not sent in the old event thrown by presenter 1. Than in future, we have to add that specific information in the event thrown by presenter 1 .. right ? I mean information passed in the event is limited by what is required by listening presenters?. For eg a registration view may have different textboxes for first name, address etc and the intial event may only be thrown with the information that submit button is clicked. And later on for future presenter 3q we may have to add first name in the event thrown by presenter 1. Do you create event in the first place with all the information available to accomodate all future presenters? Do you create a Value object to pass this heavy weight information from one presenter to another? Thanks in advPlz respond On Jul 20, 8:21 am, Eric erjab...@gmail.com wrote: On Jul 19, 9:04 pm, mk munna.kaka.ch...@gmail.com wrote: Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event with all the appro. values required by 2a,2b,2c presenters? In fact, you shouldn't be thinking about presenters 2a, 2b, or 2c when writing presenter 1. Presenter 1 should just fire change events when its data changes. Presenters 2a, 2b, 2c, and future presenters 3q and 7f should simply add event handlers to presenter 1 and pick out the information they need. Eric -- You received 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: Remove event handlers or not?
Urgh. Sorry...never should have mentioned listeners. (Old habits die hard. ) I *should* have written, it seems like you may still need to manually remove handlers of logical events. jay On Jul 19, 4:32 pm, jay jay.gin...@gmail.com wrote: Ah, so that's good for handlers of *DOM* events [e.g., using addDomHandler()]. For logical events [those added via addHandler()], however, it seems like you may still need to manuallyremove listeners. Is that correct? thanks! jay On Jul 19, 3:23 pm, Thomas Broyer t.bro...@gmail.com wrote: On 19 juil, 23:15, jay jay.gin...@gmail.com wrote: Where do you see the automatic removal of handlers? There's nothing when a widget is unloaded, and I can't find anything that would do any cleanup. Maybe there's some code somewhere to do cleanup as the app is shutting down? onDetach calls setEventListener(getElement(), null) which is enough to mitigate memory leaks:http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks And on window.onunload, all RootPanels and wrap()ed widgets are detached, so their onDetach method is called (which recursively detach their children). -- You received 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: Cache static data?
So the HTTP server is setting a cache forever on every resource? I think you might get better answers if you ask on the mailing list of whatever HTTP server you're using. The only way GWT is related to this in any way, is that you can cache the .cache files forever. But this setting is done through the HTTP server. -- Arthur Kalmenson On Tue, Jul 20, 2010 at 12:43 PM, mk munna.kaka.ch...@gmail.com wrote: hmm... we do have HTTP servers which set headers to cache forever. Do anybody uses solution to cache static data (like GWT uses for js files which cache forever and file name is equal to hashmap to prevent 304 calls). Again a solution wherein there is network call to load static data only when it's modifed at server. On Jul 20, 9:55 am, Arthur Kalmenson arthur.k...@gmail.com wrote: GWT is not responsible for setting cache headers, you have to set them through your HTTP server. -- Arthur Kalmenson On Tue, Jul 20, 2010 at 11:46 AM, mk munna.kaka.ch...@gmail.com wrote: Thanks. However, I am looking for non-HTML5 solution. Is there a better solution to cache than recompiling whole app? Static data may be weekly tips, monthly discounts etc which are applicable for all users. (This is kind of data which changes infrequently) On Jul 20, 8:17 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, Html5 supports caching and databases. However, only modern browsers support Html5 When this data changes for all users, consider to recompile your app bi-weekly with new datas. Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 04:52, mk munna.kaka.ch...@gmail.com wrote: How to cache data in browser. I want to cache data which changes infrequently (thus static common data changing bi-weekly and NOT html, js, css etc).- 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 athttp://groups.google.com/group/google-web-toolkit?hl=en.- 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. -- You received 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: th vs td elements (assistive technology)
On 07/20/2010 10:51 AM, Thad wrote: Calling HTMLTable.setText or .setWidget always creates a td element. ALWAYS. I cannot find a way to create within a FlexTable a th element. There's com.google.gwt.user.client.DOM.createTH() but I don't see how to get it into a FlexTable. What's the use case for FlexTable? -- You received 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: Serialization policy is driving me crazy
Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received 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: Serialization policy is driving me crazy
I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received 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: Serialization policy is driving me crazy
Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received 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: Serialization policy is driving me crazy
Yes they are... public class GetCountries extends ActionImplGetResultsCountry { public GetCountries() {} } public class GetDepartments extends ActionImplGetResultsDepartment { public GetDepartments() {} } Exact sane declaration. public class GetResultsT implements Result { private ListT results; public ListT getResults() { return results; } @SuppressWarnings(unused) private GetResults() {} public GetResults(final ListT results) { this.results = results; } } This is for the result. On Tue, Jul 20, 2010 at 2:56 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,
Re: Serialization policy is driving me crazy
Ok it work now... While pasting the code here I saw a little something... public class GetResultsT implements Result { I changed this line for : public class GetResultsT extends DTO implements Result { And now it works... what I still don't understand is why some were working and others were not ! Cheers, On Tue, Jul 20, 2010 at 3:00 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Yes they are... public class GetCountries extends ActionImplGetResultsCountry { public GetCountries() {} } public class GetDepartments extends ActionImplGetResultsDepartment { public GetDepartments() {} } Exact sane declaration. public class GetResultsT implements Result { private ListT results; public ListT getResults() { return results; } @SuppressWarnings(unused) private GetResults() {} public GetResults(final ListT results) { this.results = results; } } This is for the result. On Tue, Jul 20, 2010 at 2:56 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to
Re: Sync AJAX ( instead of async)
Its not possible with GWT. refer below link. http://code.google.com/webtoolkit/doc/latest/FAQ_Server.html Regards, Prakash M. On Jul 20, 10:06 am, mk munna.kaka.ch...@gmail.com wrote: How to make an GWT AJAX call Sync (instead of async) billion years back we used to use a flag as below. how to do it from GWT. AJAX.open(GET, url, false); It's just that for a particular requirement we have to have call sync -- You received 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: th vs td elements (assistive technology)
My application uses FlexTables mostly to present database records of one sort or another: Query a table on the server, get back a list of records, and select a row to edit a record or to open a file indexed to that record via a document management system. The tables are not fixed; they are whatever the user finds when he logs into a particular server. On Jul 20, 2:37 pm, Jeff Chimene jchim...@gmail.com wrote: On 07/20/2010 10:51 AM, Thad wrote: Calling HTMLTable.setText or .setWidget always creates a td element. ALWAYS. I cannot find a way to create within a FlexTable a th element. There's com.google.gwt.user.client.DOM.createTH() but I don't see how to get it into a FlexTable. What's the use case for FlexTable? -- You received 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: Serialization policy is driving me crazy
There is no magic ;) GWT compiler must find working dto implied in some serialization (service interface). Perhaps a cache issues :-/ but I don't really think it is :) Best regard, Olivier. On Tue, Jul 20, 2010 at 9:02 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok it work now... While pasting the code here I saw a little something... public class GetResultsT implements Result { I changed this line for : public class GetResultsT extends DTO implements Result { And now it works... what I still don't understand is why some were working and others were not ! Cheers, On Tue, Jul 20, 2010 at 3:00 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Yes they are... public class GetCountries extends ActionImplGetResultsCountry { public GetCountries() {} } public class GetDepartments extends ActionImplGetResultsDepartment { public GetDepartments() {} } Exact sane declaration. public class GetResultsT implements Result { private ListT results; public ListT getResults() { return results; } @SuppressWarnings(unused) private GetResults() {} public GetResults(final ListT results) { this.results = results; } } This is for the result. On Tue, Jul 20, 2010 at 2:56 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group
Re: Serialization policy is driving me crazy
Anyway the main problem is that I overlooked the need to force generic to extends IsSerializable or Serializable even if I knew it ! For those who read this while searching, don't forget this ! :) Another something to help for whom who have problems like this : http://turbomanage.wordpress.com/2009/11/23/gwt-rpc-serialization-gotchas/ Cheers, On Tue, Jul 20, 2010 at 3:24 PM, olivier nouguier olivier.nougu...@gmail.com wrote: There is no magic ;) GWT compiler must find working dto implied in some serialization (service interface). Perhaps a cache issues :-/ but I don't really think it is :) Best regard, Olivier. On Tue, Jul 20, 2010 at 9:02 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok it work now... While pasting the code here I saw a little something... public class GetResultsT implements Result { I changed this line for : public class GetResultsT extends DTO implements Result { And now it works... what I still don't understand is why some were working and others were not ! Cheers, On Tue, Jul 20, 2010 at 3:00 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Yes they are... public class GetCountries extends ActionImplGetResultsCountry { public GetCountries() {} } public class GetDepartments extends ActionImplGetResultsDepartment { public GetDepartments() {} } Exact sane declaration. public class GetResultsT implements Result { private ListT results; public ListT getResults() { return results; } @SuppressWarnings(unused) private GetResults() {} public GetResults(final ListT results) { this.results = results; } } This is for the result. On Tue, Jul 20, 2010 at 2:56 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at
Re: th vs td elements (assistive technology)
On 07/20/2010 12:19 PM, Thad wrote: My application uses FlexTables mostly to present database records of one sort or another: Query a table on the server, get back a list of records, and select a row to edit a record or to open a file indexed to that record via a document management system. The tables are not fixed; they are whatever the user finds when he logs into a particular server. OK. Thanks for the reply. I have some familiarity w/ Dojo. I think you'll have to decide whether you want: o the advanced data handling and widget capability of Dojo, or o the capability of using a Java development environment, debugging, code optimization, server side support (and other stuff I'm leaving out) of GWT. If you want to stay w/ GWT, I think you'll want some kind of custom widget framework. No doubt there will be other assistive technology issues that you'll have to solve by rolling your own widget. My prejudice is against tables. I've never found them particularly useful, and often they inhibit useful, user-driven solutions. For what it's worth (free), my advice is to build your UI out of basic DIV blocks, formatted via CSS, esp. as the data source is ... whatever the user finds when he logs into a particular server. You can trap click events on a particular cell (expressed as a div) and dispatch appropriately. If you want a row select, implement a column containing a CheckBox that selects the row. You might also want a open the associated document checkbox at the head of each row. On Jul 20, 2:37 pm, Jeff Chimene jchim...@gmail.com wrote: On 07/20/2010 10:51 AM, Thad wrote: Calling HTMLTable.setText or .setWidget always creates a td element. ALWAYS. I cannot find a way to create within a FlexTable a th element. There's com.google.gwt.user.client.DOM.createTH() but I don't see how to get it into a FlexTable. What's the use case for FlexTable? -- You received 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: file upload set filter
http://www.w3schools.com/TAGS/att_input_accept.asp On Jul 20, 2:01 pm, Paachu binu...@gmail.com wrote: Hi, I need to upload one csv file into my application. I am using FileUpload compontent to upload the File. But when I use FileUpload, the FileUploadDialog displayed All files.. I need to set it only for csv files . How can I set filter for that? thanks Paachu. -- You received 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/iphone/phonegap server communication
Thanks, it match to my needs. I'll make it works Regards, Youen Chéné On 15 juil, 16:13, Arthur Kalmenson arthur.k...@gmail.com wrote: We also ran into this issue while building a GWT based iPhone app using phonegap. We also didn't want to use JSONp as our servers were Java based and GWT-RPC makes life easier. The solution lay in a blog post by Ray Cromwell:http://timepedia.blogspot.com/2009/04/gwt-rpc-over-arbitrary-transpor... The post describes a way to do GWT-RPC over any arbitrary transport protocol. The two solutions for the phonegap case is to use JSONp as the underlying protocol or the window.name hack. We went with JSONp and the code is open sourced. You can find the classes here:http://code.google.com/p/gwt-app-framework/source/browse/#svn/trunk/g... and the GWT module file configurations here:http://code.google.com/p/gwt-app-framework/source/browse/trunk/gwt-af... Be for warned, JSONp is transported using GET, so make sure that your requests will fit within the maximum GET length limit:http://www.boutell.com/newfaq/misc/urllength.html Hope that helps, -- Arthur Kalmenson On Sat, Jun 12, 2010 at 10:02 AM, rhodebump rhodeb...@gmail.com wrote: All, I am building an iphone app using GWT/phonegap, so my GWT application will be running from the filesystem in Safari. Given this, would it make sense for me to use RPC to communicate with remote server? My assumption here is that running from the filesystem will allow me to do this. I have been going down the road with JsonpRequestBuilder, but as I think about it, am I making things harder for myself using JsonpRequestBuilder when I could be using RPC? Any thoughts? Phillip This is for my personal projecthttp://www.spotmouth.coma grails/ drupal based backend. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
iframe JS code linker
Hi! Commonly JS frameworks' .js files are simply added to the .html file as script tags. GWT linker by default creates an iframe that contains all the JS code script tags inside kept separate from the rest of the application page markup. I have been searching for the reason that led to having that separate iframe for the generated JavaScript application code and found no answer for on the web. I can imagine it is useful for modularization reasons... basically to simplify the application linker and HTML generation process. I fail to see any other reason for this. Is it just the linker reason or is there some other e.g. performance benefit or something that would be further motivation to have the JS code in a separate iframe? Thanks! Standa -- You received 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.
Invocation Exception at Run time
Hi, Actually our application deals with monitoring the websites. when we make the request through our application we start storing all the resources required by the site (like jpeg,png,hlp,html,js etc) sent the by the webiste in the DB. and then subsequently store all the responses until the request is completed. just like recording all the steps required to access the url that can be played back.. Note : Requesting site comprises of GWT,JSON,Ajax,JSNI scripts. And our Application environment : Eclipse 3.2.2 jdk 1.4.2 ( we may not support higher version of JDK) Now the issue is 1. Normal browser opens the site without any problem 2. through our application the same browser is experiencing Technical Error. Our investigation through firebug(Mozilla) reveals that when opening to the normal browser its giving error while loading the a. a = Type Error: null has no properties { message=null has no properties, more...} after that its is resolving a object is a=haf([object Object] XX. But when the browser opened through our application its giving a =TypeError: null has no properties { message=null has no properties, more...} after that it is continuously giving exception like. a=com.google.gwt.user.client.rpc.Invocation Exception at the end its throwing Technical exception. 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.
Event Handler Registrations
What is the purpose of registering event handlers? I originally thought it was to avoid memory leaks, but that doesn't seem to be true, given that the whole point of the handler API was to avoid accidental memory leaks, making so that developers didn't have to worry about it. Is it just to allow the code that is registering the handler to later de-register it? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Compiler Bug in 2.1.0.m2
If you think so, star the issue On 20 juil, 15:46, Paul Stockley pstockl...@gmail.com wrote: The GWT team needs to be all over issues like this. Nothing will put people off GWT quicker than a flaky compiler you cannot depend on. On Jul 20, 5:53 am, Olivier Monaco olivier.mon...@free.fr wrote: Hi, I've updated the issue with a more specific test case and a possible workaround. Olivier On 19 juil, 15:09, Björn bjoernham...@web.de wrote: Hi George, hi Gal, thanks for you help! The Resymbolization did the trick. After having two days of real fun with compiled javascript I think I found a bug in the gwt compiler. If your interested take a look athttp://code.google.com/p/google-web-toolkit/issues/detail?id=5133. Hope it will be fixed soon... cheers, Björn -- You received 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: remove old javascript file
I found a number of conflicting comments concerning this. And, even if they are in sync, I have questions on how to set cache control. 1. you stated - *Never Cache* - The bootstrap module- name.nocache.js, and your host html/jsp page falls under this category. The browser should never cache. but the first reference above says (2) Changing occasionally (public / equal for all users) Examples: index.html, mymodule.nocache.js which sounds like you should cache for short time. I am unsure how I would set the cache control for the module.nocache.js. The js file is cotained in the app.hmtl. do I set meta http-equiv=Cache-Control content=no-store in the header of that page? should I use no-store or no-cache? 2. you stated - *Cache for sometime* - Every other file falls under this category. In general, you should use ClientBundle so that files don't end in this category. GWT generated js/html files will never come under this category. You can choose to set an expires header ranging from a few hours to a few days, depending on how frequently you change your code. I can be sure whether you are saying to use client bundle so that nothing ever get cached for sometime. if so, why do you also specify set an expires header ranging from a few hours to a few days? -- You received 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: Share user input data within MVP + Lady_Gaga
Another approach that wasn't mentioned but that I use quite frequently is to use the history and pass the information as parameters in the history token. This is made really easy in frameworks like gwt- presenter and gwt-platform and has a number of advantages provided the parameter is serializable (and small enough). For example, it could let the user bookmark the detail page of Lady_Gaga. A bit trickier when the presenter is a dialog box, but totally doable. On Jul 20, 11:34 am, Mikael Couzic mikaelcou...@gmail.com wrote: Well, I pretty much agree with Eric. I believe the event should'nt depend on the listeners, rather it should be defined in consideration of the presenter that fires it. The attributes stored in the event are the ones that make sense in its own context (that helps a lot I know ^^). In your registration example, I'd fire a RegistrationSubmittedEvent that holds all the details of the registration. No need to create a data object, your event is your data object. However, you can instantiate model objects in the presenter and hold these objects in the event instead of duplicating instantiation code all over the listeners. But in that case, be careful, your model objects are shared and shouldn't be edited (consider making them immutable). I hope that helps ! On 20 juil, 18:07, mk munna.kaka.ch...@gmail.com wrote: In case future presenter 3q requires a specific information which is not sent in the old event thrown by presenter 1. Than in future, we have to add that specific information in the event thrown by presenter 1 .. right ? I mean information passed in the event is limited by what is required by listening presenters?. For eg a registration view may have different textboxes for first name, address etc and the intial event may only be thrown with the information that submit button is clicked. And later on for future presenter 3q we may have to add first name in the event thrown by presenter 1. Do you create event in the first place with all the information available to accomodate all future presenters? Do you create a Value object to pass this heavy weight information from one presenter to another? Thanks in advPlz respond On Jul 20, 8:21 am, Eric erjab...@gmail.com wrote: On Jul 19, 9:04 pm, mk munna.kaka.ch...@gmail.com wrote: Thanks a lot. Now if there are three DIFFERENT presenters (say 2a,2b,2c) listening event from 1st presenter. Than do 1st presenter has to create event with all the appro. values required by 2a,2b,2c presenters? In fact, you shouldn't be thinking about presenters 2a, 2b, or 2c when writing presenter 1. Presenter 1 should just fire change events when its data changes. Presenters 2a, 2b, 2c, and future presenters 3q and 7f should simply add event handlers to presenter 1 and pick out the information they need. Eric -- You received 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.
VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?
Hi, I want to show the contents of a log file inside a StackPanel. The log file itself is a class LogPanel based on a VerticalPanel. Because the log file grows, I added an intermediate ScrollPanel (see code below). The problem: The ScrollPanel never shows scrollbars. Instead, it grows as the LogPanel grows, beyond the size of the containing StackPanel. I would like the ScrollPanel to occupy all available space within the StackPanel and to show scrollbars, when the inner LogPanel gets bigger. The demo of the StackPanel class in the GWT showcase application assumes that there is enough room for the contents. Can you help? Thanks! Magnus - public class MyStackPanel extends StackPanel { public MyStackPanel () { super (); setSize(100%,100%); // we are in the west edge of a DockLayoutPanel } public void add (LogPanel log) { ScrollPanel p = new ScrollPanel (); p.add(log); add (p,Log); p.setSize (100%,100%); } } -- You received 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 adding a MenuItemSeparator in the UiBinder
Hi all, Want to add a Menu Item Separator to a Menu Bar using the UiBinder? Here is a workaround. It is not possible to do this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItemSeparator/g:MenuItemSeparator g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar As only MenuItems are allowed in the MenuBar, however, a cheeky workaround is to make a MenuItem look like a MenuItemSeparator, like this: g:MenuItem styleName=gwt-MenuItemSeparatordiv class=menuSeparatorInner/div/g:MenuItem So your code will be this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItem styleName=gwt-MenuItemSeparatordiv class=menuSeparatorInner/div/g:MenuItem g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar If anyone has a better way, please post. 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.
How to add a MenuItemSeparator using the UiBinder
Hi all, Only MenuItems are allowed in the MenuBar, so it is not possible to do this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItemSeparator/g:MenuItemSeparator g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar However, a cheeky workaround is to make a MenuItem look like a MenuItemSeparator, like this: g:MenuItem styleName=gwt-MenuItemSeparatordiv class=menuSeparatorInner/div/g:MenuItem So your code will be this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItem styleName=gwt-MenuItemSeparatordiv class=menuSeparatorInner/div/g:MenuItem g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar If anyone has a better way, please post. 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.
CellTree problem/question
It seems CellTrees are 'collapsed' by default when they are created. Though inspection of the source code indicates they should be open be default. Is there any way to programatically expand a cell tree node? -- You received 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: create hyperlink using GWT
How about using Anchor widget? Prashant On 21-07-2010 07:25, Lu wrote: Hi, After getting a bunch of urls from the sever side, I want to dispay them in the format of hyperlinks on the client side. In this case, I didn't use history at all so I choose to use 'new HTML()'. tableLeft.setWidget(index, 0, new HTML(a href='www.google.com'text/ a)); If I do like this, the address of url will become 'http:// 127.0.0.1:/www.google.com' rather than the one i want. How can I fix that? Thanks, Lu -- You received 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: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?
The way I would go about doing this is as follows, see if this works for you or gives any hints: 0. Make sure you are in STANDARDS mode. 1. Use StackLayoutPanel and add it to your parent LayoutPanel ( mixing StackPanel with a DockLayoutPanel gives unpredictable results - so some one has said I have found out the hard way ) 2. Set the width and height to 100% 3. For the container widget ( FlowPanel / HTMLPanel ) you add to the StackLayoutPanel, put a CSS overflow: auto. This indicates that if whatever the container contains grows beyond the container then a scroll bar is shown. If you have a container within a container, and overflow setting should be on the right container - just above the element whose overflow you want to control. Firebug usually helps me figure out this. Review the container hierarchy using Firebug to make sure that there are no intermediate containers which makes your setting ineffective. Hope this helps. On 21-07-2010 05:34, Magnus wrote: Hi, I want to show the contents of a log file inside a StackPanel. The log file itself is a class LogPanel based on a VerticalPanel. Because the log file grows, I added an intermediate ScrollPanel (see code below). The problem: The ScrollPanel never shows scrollbars. Instead, it grows as the LogPanel grows, beyond the size of the containing StackPanel. I would like the ScrollPanel to occupy all available space within the StackPanel and to show scrollbars, when the inner LogPanel gets bigger. The demo of the StackPanel class in the GWT showcase application assumes that there is enough room for the contents. Can you help? Thanks! Magnus - public class MyStackPanel extends StackPanel { public MyStackPanel () { super (); setSize(100%,100%); // we are in the west edge of a DockLayoutPanel } public void add (LogPanel log) { ScrollPanel p = new ScrollPanel (); p.add(log); add (p,Log); p.setSize (100%,100%); } } -- You received 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: file upload set filter
how to embed form input type=file name=pic id=pic accept=image/gif, image/jpeg / /form into gwt file upload...? -- Aditya On Wed, Jul 21, 2010 at 2:00 AM, lineman78 linema...@gmail.com wrote: http://www.w3schools.com/TAGS/att_input_accept.asp On Jul 20, 2:01 pm, Paachu binu...@gmail.com wrote: Hi, I need to upload one csv file into my application. I am using FileUpload compontent to upload the File. But when I use FileUpload, the FileUploadDialog displayed All files.. I need to set it only for csv files . How can I set filter for that? thanks Paachu. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: getting date/time on client?
Hi, works thanks! Magnus -- You received 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: VerticalPanel inside ScrollPanel inside StackPanel - no scrollbars?
Hi Prashant, I have done everything you said, with some losings, but also without success (scrollbars): - I changed the StackPanel into a StackLayoutPanel - then, the CSS padding (10px) has no effect anymore (the stack is aligned directly at the left edge, without space, but ok) - I added overflow:auto to the inner CSS container, which is a VerticalPanel - but there is no scrollbar... Why doesn't ScrollPanel work here? Magnus On Jul 21, 5:32 am, Prashant Hegde prashant.he...@gmail.com wrote: The way I would go about doing this is as follows, see if this works for you or gives any hints: 0. Make sure you are in STANDARDS mode. 1. Use StackLayoutPanel and add it to your parent LayoutPanel ( mixing StackPanel with a DockLayoutPanel gives unpredictable results - so some one has said I have found out the hard way ) 2. Set the width and height to 100% 3. For the container widget ( FlowPanel / HTMLPanel ) you add to the StackLayoutPanel, put a CSS overflow: auto. This indicates that if whatever the container contains grows beyond the container then a scroll bar is shown. If you have a container within a container, and overflow setting should be on the right container - just above the element whose overflow you want to control. Firebug usually helps me figure out this. Review the container hierarchy using Firebug to make sure that there are no intermediate containers which makes your setting ineffective. Hope this helps. On 21-07-2010 05:34, Magnus wrote: Hi, I want to show the contents of a log file inside a StackPanel. The log file itself is a class LogPanel based on a VerticalPanel. Because the log file grows, I added an intermediate ScrollPanel (see code below). The problem: The ScrollPanel never shows scrollbars. Instead, it grows as the LogPanel grows, beyond the size of the containing StackPanel. I would like the ScrollPanel to occupy all available space within the StackPanel and to show scrollbars, when the inner LogPanel gets bigger. The demo of the StackPanel class in the GWT showcase application assumes that there is enough room for the contents. Can you help? Thanks! Magnus - public class MyStackPanel extends StackPanel { public MyStackPanel () { super (); setSize(100%,100%); // we are in the west edge of a DockLayoutPanel } public void add (LogPanel log) { ScrollPanel p = new ScrollPanel (); p.add(log); add (p,Log); p.setSize (100%,100%); } } -- You received 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.
Opening a file
I am trying to read an excel file as follows: public class LMSServiceImpl extends RemoteServiceServlet implements LMSService{ public String getExcel(String path) { String r=null; try { File file = new File(D:/q.xls); FileInputStream is = new FileInputStream(file); Workbook workBook = Workbook.getWorkbook(is); Sheet sheet = workBook.getSheet(0); System.out.println(No of sheets=+workBook.getNumberOfSheets()); r=+sheet.getRows(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } return r; } } I am getting an exception : java.security.AccessControlException: access denied (java.io.FilePermission D:\q.xls read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) at java.lang.SecurityManager.checkRead(Unknown Source) at java.io.FileInputStream.init(Unknown Source) at com.cummins.lms.server.LMSServiceImpl.getExcel(LMSServiceImpl.java: 29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 562) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) Can someone please help in how to access a local file. 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
Re: How to add a MenuItemSeparator using the UiBinder
FYI: The GWT menus don't seem to work on Android phones (and possibly others). Probably better to go with standard CSS menus like these ones: http://www.lwis.net/free-css-drop-down-menu/ On Jul 21, 10:14 am, Craigo craig...@gmail.com wrote: Hi all, Only MenuItems are allowed in the MenuBar, so it is not possible to do this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItemSeparator/g:MenuItemSeparator g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar However, a cheeky workaround is to make a MenuItem look like a MenuItemSeparator, like this: g:MenuItem styleName=gwt-MenuItemSeparatordiv class=menuSeparatorInner/div/g:MenuItem So your code will be this: g:MenuBar vertical=true g:MenuItemFirst Menu Bar Item/g:MenuItem g:MenuItem styleName=gwt-MenuItemSeparatordiv class=menuSeparatorInner/div/g:MenuItem g:MenuItemLast Menu Bar Item/g:MenuItem /g:MenuBar If anyone has a better way, please post. 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.
[gwt-contrib] Re: Moving the Cookbook examples into Showcase. Also updates a few examples in Showcase that used de... (issue704801)
http://gwt-code-reviews.appspot.com/704801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors