IndexedDb
Hello, I did some test with local and session storage with GWT but it's very limited in size. I'd like to use IndexedDb but there's no native API implemented in GWT. I've saw Elemental in GWT 2.5 but it seems to be experimental. Is there a mature project that wrap the IndexedDb API in GWT ? Thank's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4E0k4LR_d2MJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Call garbage collector
Hello, I'd like to call the browser's garbage collector. I did some tests with the inspect function in Chome and the button to call the gc but I'd like to do this automatically in my GWT application. I've seen in the JRE emulation reference that the System.gc() method was emulated, but after calling it in my GWT code nothing happened. Is there a way to call the browser's gc in my GWT code ? Thank's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Massive increase in compile time with GWT 2.3
Hello, In fact I have exactly the same problem than Dennis. We migrate our application from GWT 2.0 to 2.3 and th ecompilation time has increased about 40%. My problem is not how to optimize the compilation time but why this huge difference between GWT versions. Thank's On 19 mai, 18:30, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 19 May 2011 00:37, googelybear googelyb...@gmail.com wrote: This build I am trying to optimize is compiled on our build server by the continuous integration tool (hudson in our case triggered after every commit). It is mainly used to run unit tests and for general testing by the developers to get instant feedback (well, it used to do that when we started). It is not a production build. But I don't like to take too many things out, e.g. take out browsers then you can no longer test it on different browsers and your feedback cycle - the timeuntil you notice something doesn't work after you implemented it - gets longer). For the production build then it is absolutely OK to take longer. In general, I don't think it is a good idea to have one build for (many) different purposes. For unit tests you don't need all browsers so pick one and stick with it. In fact, for unit tests you don't need any browser. :-) Your unit test build can and should be very fast. This should be the most stripped down version you can think of. Mind you, it would be even better if you broke up your app into separate modules so that all the unit testing is done in the small, fast module builds. The second build would be for integration testing. For your automated integration testing you don't need more than one browser either. (Unless, of course, you have a very advanced setup testing multiple browsers.) Run this build once or twice a day at a specifictime(say lunchtimeand dinnertime). (The specifictimeis so that people know about it and can try to make sure their change is (or is not) included.) If the automated integration test build is successful then kick off the full build for all browsers. This need only happen once a day or even once a week. This build is then used for manual testing. It should be auto deployed to some QA/test environment. Most (test/QA) people don't like working with a moving target (for obvious reasons), hence the build once a week suggestion. Then, if QA says this build is good, promote it to production; no need for another build. I.e. assuming you follow the best practice of not including your environment configuration in the WAR. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.0 spring hibernate gilead
Hello, I'm using GWT 2.0, Spring, Hibernate and Gilead for some time now. Gilead allow me to use the DTO pattern and give me the availability to update my DTO's directly. But my problem is that I have a big apps and that the merge and clone are very expensive in cpu and in time. For now with GWT 2.0 could I use directly the entity bean from Hibernate (the lazyinitializationexception is not a preoblem for me) ? I know that Hibernate has his own List implementation could I have some problems with that ? Thank's by 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.
Profiling memory usage
Hello, We're developing a very big application using GWT and we're facing big memory usage by the browser (sometime 2 Gb on Chrome). How could I profile/monitor the use of monitor and determine what are the composite who take the memory ? thank's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Profiling memory usage
In fact my problem is not due to the size of the js generated (even if it's quite big). I tried the developer tool from chrome but it's that when I do a head snapshot the result is unreadable. Do you mean that if I compile with the -pretty option, the snapshot will be readable ? Could it have a link betwwen the size of the js file and the memory took by the browser ? On May 28, 8:22 pm, kozura koz...@gmail.com wrote: You might want to generate a compile report and check memory size for the compiled code:http://code.google.com/webtoolkit/doc/latest/DevGuideCompileReport.html. As for the actual data, any javascript profiler will work, you will want to compile with the -pretty option to get legible function names. On May 28, 11:12 am, Twentyseven ebarthel...@gmail.com wrote: Hello, We're developing a very big application using GWT and we're facing big memory usage by the browser (sometime 2 Gb on Chrome). How could I profile/monitor the use of monitor and determine what are the composite who take the memory ? thank's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
javax.servlet.ServletException: Content-Type was '(null)'. Expected 'text/x-gwt-rpc'.
Hello, We're using GWT 2.0, Spring 2.5. On our production server we have sometime this error : SEVERE: Exception while dispatching incoming RPC call javax.servlet.ServletException: Content-Type was '(null)'. Expected 'text/x-gwt-rpc'. at com.google.gwt.user.server.rpc.RPCServletUtils.checkContentType(RPCServletUtils.java: 366) at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8(RPCServletUtils.java: 172) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java: 179) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 215) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 637) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 206) at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java: 109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java: 83) ... I really don't know what happens and what cause this error. Thank's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Menubar, menuitem show on the left
Hello, we're using menubar and menuitem for ou application's menu. The menu takes the entire screen width, so when when we have submenus on the right side of the menu they open on the right, but the user doesn't see them. Is it possible to open them on the left ? Thank's, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
compileReport out of memory
Hello, I migrated my project from GWT 1.7 to 2.0RC2 without problem. I use Eclipse and GWT Eclipse plugin and I was able to compile my project with and without the -compileReport option. Then I migrated to GWT 2.0 final version and I'm only able to compile without the -compileReport option. When I put compileReport I have an out of memory error : [ERROR] OutOfMemoryError: Increase heap size or lower gwt.jjs.maxThreads [ERROR] Unrecoverable exception, shutting down com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.ThreadedPermutationWorkerFactory $ThreadedPermutationWorker.compile (ThreadedPermutationWorkerFactory.java:56) at com.google.gwt.dev.PermutationWorkerFactory$Manager $WorkerThread.run(PermutationWorkerFactory.java:70) at java.lang.Thread.run(Thread.java:619) My problem is that I increase the Xmx option from 512m to 1024m and 1500m but without change. But I don't have another idea... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post 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.
Disable the TAB key effect on a SuggestBox
Hello, I'd like to know if it's possible to disable the TAB key effect on a SuggestBox : by default the TAB key select the suggestion and go to the next field. I'd like to go to the next field without selecting the suggestion and keeping what the user entried. Thank's, 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Compilation Time
But how can I delete the default locale to set just the one I need ? On 9 avr, 18:35, Vitali Lovich vlov...@gmail.com wrote: To force the supported user agents: set-property name=user.agent value=ie6 set-property name=user.agent value=gecko1_8 set-property name=user.agent value=safari You can only pick one at a time - you can't do all at once. extend-property is for locales and means exactly what it says - you are adding a locale, not setting it. So you actually have two - default fr. Remove it, the number of permutations will go down. You see 10 because you don't actually set the user.agent you add an extra locale (5 user agents * 2 locales = 10 permutations) On Thu, Apr 9, 2009 at 12:00 PM, Twentyseven ebarthel...@gmail.com wrote: Hello, My application beginning to be important, the compilation time is very important (about 3 hours). I tried to reduce it by adding the following lines in my Main.gwt.xml module file : extend-property name=locale values=fr/ extend-property name=user.agent values=ie6,gecko1_8,safari / As I understand, I should only have 3 .cache.html files. But at the end of the compilation process, I have ten of these files, as if the compilation took the 5 browser and 2 language. What is wrong in my config 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Compilation Time
Hello, My application beginning to be important, the compilation time is very important (about 3 hours). I tried to reduce it by adding the following lines in my Main.gwt.xml module file : extend-property name=locale values=fr/ extend-property name=user.agent values=ie6,gecko1_8,safari / As I understand, I should only have 3 .cache.html files. But at the end of the compilation process, I have ten of these files, as if the compilation took the 5 browser and 2 language. What is wrong in my config 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-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: permutations
Hi, Do you have two languages ? On Apr 3, 6:55 pm, Alejandro D. Garin aga...@gmail.com wrote: Hi, I have a xml module just to compile only for Firefox. I override the following directive: set-property name=user.agent value=gecko1_8/ Why the compiler say: Compiling 2 permutations ? The same for happend for set-property name=user.agent value=safari/ I don't have an extra locate, just the default. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Currency Formatting
Hi, You can use the NumberFormat class like this : NumberFormat fmt = NumberFormat.getCurrencyFormat(your currency code); TextBox currencyBox = new TextBox(); currencyBox.setText(fmt.format(double)); Eric On Mar 25, 12:20 am, fatjack1...@googlemail.com fatjack1...@googlemail.com wrote: Hi, Can someone please tell me a way to correctly format currency in pounds? Jack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Incubator: ScrollTable, hide and sort column
Hello, I'm using Scrolltable from the incubator without problem, untill I tried to hide a column (not the last one but one at the beginning). When I tried to sort the visible columns, I found that by clicking on a header cell, it was sorting the previous column and not the good one. Is it a bug from the scrolltable ? Thank's --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
No result message for Suggest Box
Hello, I'm using SuggestBox and I have no problem with this composite. I'd just know if there's a way to display a No result message when the query return no result. Thank's, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Severe performance problem after upgrading to GWT 1.5.2 (final)
Hi, We have the same problem on FF3 on Windows ; it seems that with the 1.5.2 the RPC calls are very slow on FF3. On Chrome, the application run normally. Eric On 7 oct, 16:59, Manuel [EMAIL PROTECTED] wrote: Actually yes. This seems to be slow down in FF3 on my mac. I have asked people to test using ff3 on Windows and they say its slower but not as sever as on the mac. Thanks, Manuel On Oct 6, 5:51 am, Sumit Chandel [EMAIL PROTECTED] wrote: Hi Manuel, Thanks for the follow-up. As far as I can tell, there isn't anything introduced between 1.5 RC2 and 1.5.2 that would cause slowdowns on RPC calls in FF. I noticed you mentioned this is especially prevalent in Firefox 3. Do the RPC calls also slowdown in Firefox 2? It would be good to know if this is a problem related to changes in FF rather than in GWT. Cheers, -Sumit Chandel On Fri, Oct 3, 2008 at 4:09 PM, Manuel [EMAIL PROTECTED] wrote: We noticed a slow down by just switching from 1.5RC2 to 1.5.2 more specifically on FireFox 3. I recently tested on Chrome and Safari 3 and the performance there is significantly better it seems to be well over 10x faster. I think there might be a bug using the scripting engine on FireFox and also IE. Or it could be the java scripting engine on Safari is really that much better. The overall app is much faster on Safari, but i would say the biggest issue is with RPC calls. On Oct 3, 7:22 am, Sumit Chandel [EMAIL PROTECTED] wrote: Hi Manuel, It seems hbatista's slowdown in performance was related to a database change. In your case, are you still experiencing slowdowns on your RPC calls? Also, did these slowdowns occur when you went from 1.4.x to 1.5.2, or were you always facing slow RPC calls in your GWT application? Thanks, -Sumit Chandel On Tue, Sep 30, 2008 at 8:26 PM, Manuel [EMAIL PROTECTED] wrote: Has anyone figgured this out. I am having sever performance problems with this. accross the board all 1.5.2 compiled apps are a lot slower On Sep 18, 4:59 am, hbatista [EMAIL PROTECTED] wrote: Thanks for the suggestion, but changing data types didn't help. I did not profile my code, but the observed behavior is: 1. RPC call is made 2. server side method runs and returns (quickly!) 3. ... huge delay with no CPU activity ... 4. finally client side onSuccess() RPC callback runs What could be happening on step 3 ? I took a quick look at the serializer source code, but it's too different from 1.4.60 to compare side by side. On Sep 18, 2:06 am, Tim [EMAIL PROTECTED] wrote: not sure, but maybe there are some datatype penalty issues (long vs double etc). Did you profile your server side code? On Sep 17, 10:28 am, hbatista [EMAIL PROTECTED] wrote: Hi, I've just upgraded one of my projects from 1.4.60 to1.5.2, and everything went very smoothly, but... when my application tries to fetch a large number of objects from the server (via RPC, returns HashMapInteger,xxx, about 6000 entries) it takes a very very long time! Before the upgrade this was very fast (at least in Firefox and Chrome, not in IE). Strangely, while waiting for the RPC call to return there is NO cpu activity... For me this seems related to some deep changes in the serialization code (taking a guess here), before the upgrade trying to fetch so many records from the server would crash IE with 'JavaScript SyntaxError exception: Out of memory', while now it works (good!) but is veryslow in all browsers (bad!). Can someone help me debug this problem?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
TreeSet SerializationException
Hello, I'm using GWT 1.5.2, with Spring 2.5.2 and Hibernate 3.2.6. I'm using the TreeSet class in GWT on the client side with a custom comparator and I have no problem. But I tried to use the sort attribute of set in the Hibernate mapping (Hibernate return a TreeSet with a custom Comparator) and I get this exception : com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.TreeSet' 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. What's wrong with my code ? Is it a GWT bug ? Thank's, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---