Re: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Hi Joe, I am trying to add the same functionality to my window widget . can u kindly suggest me the code details . Hoping for your positive reply :) my mail id is rapport...@gmail.com On Thursday, December 3, 2009 3:32:37 PM UTC+5:30, Joe wrote: Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's in advance! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: How to add dynamic colums to celltable
Juan, Have you figured out a way to include column sorting with this example. I tried to use ListHandler but had no luck . Thanks. On Friday, 24 August 2012 09:30:57 UTC-4, Juan Pablo Gardella wrote: Hi, I show my code where use it. CellTableListString table = new CellTableListString(); ListListString rows = ... for (int column = 0; columna columnCount; column++) { table.addColumn(new IndexedColumn(column), new TextHeader(columnsArray[column])); } final ListDataProviderListString provider = new ListDataProviderListString(rows); for (String[] row: rowsArray) { rows.add(Arrays.asList(row)); } 2012/8/24 lucky lucky.b...@gmail.com javascript: if possible could you please provide me the brief sample example (like in the showcase). Thanks On Fri, Aug 24, 2012 at 6:40 PM, Juan Pablo Gardella gardella...@gmail.com javascript: wrote: See http://stackoverflow.com/questions/7172262/create-gwt-celltable-dynamically 2012/8/24 lucky lucky.b...@gmail.com javascript: Hi, i have a requirement that i need to add dynamic columns to cell table. i Google it but didn't find proper solution. Please provide me some sample to add dynamic columns to cell table Thanks in advance -- 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/-/qBLc060as0IJ. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: MySQL Database Connection
Hi All, I have the same problem Could not initialize class 'com.mysql.jdbc. ConnectionImpl' while working with Google app engine in the Dev mode. Any leads on the solution? Thanks On Monday, June 20, 2011 5:59:35 PM UTC+5:30, Aryan wrote: Hi all, I have an application using RequestFactory. Its a small application for the purpose of practice. Here is the problem that when I run the application ( in eclipse with Google App Engine ) it says Could not initialize class 'com.mysql.jdbc.ConnectionImpl'. However on compiling and deploying over Tomcat 7.0 container it runs fine and run as expected. Now this kind of behavior is a bit uncomfortable for development. Any Idea how it can be resolved within Dev mode. The Exception stack trace is as following : com.google.web.bindery.requestfactory.server.ReportableException: Server Error: Could not initialize class com.mysql.jdbc.ConnectionImpl at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.report(ServiceLayerDecorator.java: 238) at com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.invoke(ReflectiveServiceLayer.java: 191) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java: 110) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java: 110) at com.google.web.bindery.requestfactory.server.ReflectiveServiceLayer.isLive(ReflectiveServiceLayer.java: 202) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.isLive(ServiceLayerDecorator.java: 115) at com.google.web.bindery.requestfactory.server.LocatorServiceLayer.doIsLive(LocatorServiceLayer.java: 198) at com.google.web.bindery.requestfactory.server.LocatorServiceLayer.isLive(LocatorServiceLayer.java: 90) at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.isLive(ServiceLayerDecorator.java: 115) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.createReturnOperations(SimpleRequestProcessor.java: 268) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 225) at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 125) at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: 118) 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: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java: 35) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 58) 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 com.google.appengine.tools.development.BackendServersFilter.doFilter(BackendServersFilter.java: 94) 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:351) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at
Re: [gwt-contrib] GWT SerialisationPolicy Error
*In a distinct difference from regular Java, GWT usually rewards you for being more specific about classes: if you are specific that you return ArrayList only, then GWT only makes a serializer for that, and you save client size. But if you return List..., and your classpath for the GWT compile includes all 8 of the vanilla Java List types, then GWT has to generate code to handle all of them, leading to code bloat * * * Does this have any run-time slow-ness is it just a compile-time slowness ? Also, does it increase the ultimate size of the generated javascript? On Wednesday, May 2, 2012 7:35:36 AM UTC-7, Freeland Abbott wrote: Roughly speaking, the GWT serialization code---specifically, the part of the generated server stub that serializes your response to send to the client---is getting a type of object (PersistentBag) that it knows the client code won't be able to decode, and is stopping as a result. In this case, PersistentBag is a List, and your interface says it might return any kind of List known to the system. Either the compile of your GWT app didn't know about the hibernate classes, to include a deserializer for PersistentBag, or (perhaps at least as likely), the hibernate class is using some of the features that GWT forbids (e.g. it may be reflective), and so we can't generate a deserializer for it. You can compile with DEBUG messages and search for the class name to see what the exact problem is. But one of those two explains why it's not included in the set. In a distinct difference from regular Java, GWT usually rewards you for being more specific about classes: if you are specific that you return ArrayList only, then GWT only makes a serializer for that, and you save client size. But if you return List..., and your classpath for the GWT compile includes all 8 of the vanilla Java List types, then GWT has to generate code to handle all of them, leading to code bloat because, in fact, you probably don't actually touch CopyOnWriteArrayList, for example. And, to your problem, the server runtime may have List types that the client didn't know about to generate code for, or list types that GWT just can't handle (but it could handle many others, and doesn't know which concrete types you might see). Since GWT can't prove there *is* an error at compile time, it won't whine. But, using an interface type in your serialization, there *might* be a runtime problem, and that's the error message you are seeing. You might do better to translate the persisted list into a vanilla ArrayList, and express your RPC in those terms. Or you might use something other than RPC as a transport, looking at JSON or RequestFactory as a way to make the wire protocol lose the detailed Java type and just have a JavaScript array as the underlying base. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: how to configure apache log4j for gwt application
hi tong look at this may be it was useful for you http://whatwouldnickdo.com/wordpress/186/gwt-hosted-mode-and-log4j/ On Fri, Feb 10, 2012 at 2:51 PM, tong123123 tong123...@gmail.com wrote: I placed the log4j-1.2.16.jar under WEB-INF\llib\ in server code, I write the following class DBConnection{ private static Logger logger = Logger.getLogger(DBConnection.class); public static Connection getConnection(){ PropertyConfigurator.configure(server_resources/log4j.properties); then the console show error: java.io.FileNotFoundException: server_resources\log4j.properties (the system cannot find the path specified) how to make it found the log4j.properties? I try to copy the server_resources/log4j.properties under web-inf and placed inside war, it is ok and no error, but I want it placed under WEB-inf, no method if placed under web-inf? -- You received 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. -- Regards, v.karthik, +919967930663. -- You received 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: How to hide a column in CellTable
http://stackoverflow.com/questions/7116758/how-to-hide-column-in-cell-table-gwt watch this it might be useful for you On Wed, Feb 8, 2012 at 2:53 PM, Vibhas Zanpure vibhas.zanp...@gmail.comwrote: Hello, I tried using setColumnWidth to 0px and also tried clearColumnWidth... But its not working... Any suggestions? I am using IE8 in quirks mode...Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Regards, v.karthik, +919967930663. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how should i read my styles applied
i have a css where i placed my styles,and i wanted to read the styles from my program,is there any way to read them. thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Date Formatting
I have a customized GWT Date -Time widget which is a combination of two text boxes, one to hold the date and one to hold time. When I enter the date 04/09/1956 12:00 AM (in the Date widget), internally in the ValueChangeHandler for my widget I run it through the GWT's DateTimeFormat class' format() method which takes in the date and time zone information and gives me a formatted Date String that is User friendly when displayed and then based on the date in that widget, I set the time in the Time part of it. The issue is when I put in dates not too old (my observation was dates not older than those in the year 1981), there seems to be no problem at all. When I put in dates older than that say 1956 in my case, there is some weird Daylight savings logic that messes my format of my string by adjusting it back by 1 hour and gives me 04/08/1956 11:00 PM instead of 04/09/1956 12:00 AM. This is issue is reproducible only when I run the app in production mode. When I run it locally on my machine in the hosted mode, I do not see this problem at all. That is the worst part. I understand that GWT reads from a javascript file called noCache.js when we run in production mode as opposed to the Web-INF/lib folder in hosted mode. Also, I run the java.util.Date object through GWT's formatter in several other places where I have a date in hand but never have this issue. It comes when I run it in a ValueChangeHandler. Did any one encounter this weird behavior before? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Just wondering about the protocol for code commits.....
I have tacitly presumed that a LGTM from the reviewers is kinda mandatory for a commit to be made. However, I have just noticed a commit made today without a explicit LGTM. http://code.google.com/p/google-web-toolkit/source/detail?r=10780 http://gwt-code-reviews.appspot.com/1506802 -- Karthik Reddy https://plus.google.com/103243388366746199136 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Just wondering about the protocol for code commits.....
I see. Thanks for clarifying, John. -- Karthik Reddy https://plus.google.com/103243388366746199136 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: how to sink a custom defined event class ?
* In modern GWT development you shouldn't have to ever call sinkEvents (use addDomHandler).* * * CellTable and other Cell based widgets use the sinkEvents approach. Am I missing something? Is that just an anomaly because of the ultra-high-performance expected off of huge-data-rendering Cell based widgets? -- 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/-/piKyXugrpfwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT in Google Products
Adding on to Thomas' list: Google Offers https://www.google.com/offers/home#!details/c652fabcb4d6c381/IHN0D24723PKOO8X Google Takeout https://www.google.com/takeout/#custom Google Pagespeed https://developers.google.com/pagespeed/ Google WebFonts http://www.google.com/webfonts I would say the forecast for GWT is: 70 degrees (F) and Sunny. -- Karthik Reddy https://plus.google.com/103243388366746199136 -- 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/-/XrN6bSwDkr4J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT in Google Products
[Google Groups really needs a edit answer feature like the way stack overflow does. Or am I missing something?] Anyways, adding one more to the list: Google Tables https://www.google.com/fusiontables/DataSource?dsrcid=2049253 a table of countries and their citizens' wealth. (One could create a table from within Google docs) -- Karthik Reddy https://plus.google.com/103243388366746199136 -- 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/-/LeQz8uK_nJ0J. 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: Activities and Places - Ant compilation
*Classes referenced from annotations have to be compiled for GWT to be able to process them from within generators (as is the case for @WithTokenizers on a PlaceHistoryMapper).* See http://groups.google.com/group/google-web-toolkit/browse_thread/thread/e0209e0e57e1152b -- Karthik Reddy https://plus.google.com/103243388366746199136 -- 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/-/7i7qRxE42hYJ. 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.
Problem running mobilewebapp sample in 2.4
I am following the instructions as documented at: http://google-web-toolkit.googlecode.com/svn/trunk/samples/mobilewebapp/README-MAVEN.txt (OptionA) I am able to build the application but as I try to run it in hosted mode (using AppEngine) I get the following error on the browser : *Http Error 500* *No realm* *RequestURI=/MobileWebApp.html* I suspect this has to do with access privileges and so forth. Did anyone else run into this issue ? Any pointers/thoughts on what might be going on would be much appreciated. -- 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/-/rPlS41ZJ1TYJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Address RunStyle TODO (issue1529805)
I do not think *amitmanjhi *works at Google anymore: http://www.linkedin.com/profile/view?id=10952047http://www.linkedin.com/profile/view?id=10952047authType=nameauthToken=PFFTlocale=en_USpvs=pptrk=ppro_viewmore -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Simple JSNI code snippet: Not able to invoke a method on a static variable ......
public native void myJSNITest() /*-{ var stringLength =@mypkg.MyClass::myStaticStringVariable.length()(); alert(stringLength); }-*/; As I run the above code, I get the following error: * com.google.gwt.core.client.JavaScriptException: (TypeError): __static[1310776].length is not a function* I would appreciate any help in pointing out what could be going on here. thanks a lot.for your time. -- 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/-/rIuazVwfABoJ. 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: Simple JSNI code snippet: Not able to invoke a method on a static variable ......
This has been bugging me for a while now. Any thoughts or pointers would be much appreciated. -- 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/-/xGTSMSKcln4J. 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.
Implementing Cut, Copy Paste in a page having 70 odd widgets
Hi, I am trying to implement the cut, copy and paste functionality for a page that has around 70 widgets including text boxes, list boxes, labels, containers, panels and so on. The cut, copy and paste buttons are part of these. When a User selects text in some text box in the page and clicks on copy, the text box loses focus and the copy button now has it. I need the text to call a method that has some Javascript call in it like: $wnd.window.clipboardData.setData(Text,text); In order for me to do that I need text from the text box and because the copy button now has it, I do not know where it has been selected from. Can anyone let me know if they have done anything similar before using GWT? -- You received 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: Is it ever possible for an asynchronous service method's callback to get called without yielding to the browser's event loop?
See the example under *Non-Blocking / Asynchronous:* and it gives a clear example addressing Tad's question: http://quickleft.com/blog/142 -- 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/-/0bs5XTEIFt4J. 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: Implementing Cut, Copy Paste in a page having 70 odd widgets
Yup... Thanks.. That's what I was thinking too... I should use the Blur handler now since we no longer use listeners Regards, Karthik Vemuri On Aug 12, 2011, at 6:25 PM, mP miroslav.poko...@gmail.com wrote: Suggestion: what about registering a lost focus listener that sets some global variable when it loses fcous. Your cut/copy/paste buttons could thencheck the glboal to figure out the last target the user actually had. On Aug 13, 7:40 am, Vemuri Karthik karthik...@gmail.com wrote: Hi, I am trying to implement the cut, copy and paste functionality for a page that has around 70 widgets including text boxes, list boxes, labels, containers, panels and so on. The cut, copy and paste buttons are part of these. When a User selects text in some text box in the page and clicks on copy, the text box loses focus and the copy button now has it. I need the text to call a method that has some Javascript call in it like: $wnd.window.clipboardData.setData(Text,text); In order for me to do that I need text from the text box and because the copy button now has it, I do not know where it has been selected from. Can anyone let me know if they have done anything similar before using GWT? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RIP (Rich Internet Pages) instead RIA
Or you could wait for server-side rendering to be supported by GWT. The GWT team has dropped few hints in a couple of threads indicating that the day could not be very far off when GWT does support server-side rendering. See the following threads: https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/-bNJVWM3k28 * ...It allows us to optimize for different browsers, and it even opens the door for server side rendering. * * * * https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/8SgzuCsZGbQ * *The latter can be user in a regular JVM to create an HTML string, which will hopefully help with server side rendering in the future. * * * Another relevant thread I have started regarding GWT, Closure, server-side rendering* : * https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/u4fn7zZYmD4 -- 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/-/hl3tirUz2u0J. 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: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?
Thanks for the helpful info. I will go ahead and build the DynatableRF sample in 2.4 and try it out . Hopefully, in 2.4's DynatableRF, I could witness the fruits of the marriage between client-side validation and editor framework. -- 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/-/p9JDcU2Dwq8J. 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: Отг: Do Beanvalidation(JSR-303) and editor framework play along well ?
First bump in the road. As I try to run my DynatableRF sample (2.4 ) I run into the following exception: * * *Caused by: java.lang.NoClassDefFoundError: org/json/JSONException * *at com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58) * * * Caused by: java.lang.ClassNotFoundException: null at com.google.gwt.dev.shell.CompilingClassLoader$MultiParentClassLoader.findClass(CompilingClassLoader.java:365) I did make sure I have json-20090211.jar(this is the jar that contains the class org.json.JSONException) in my server's classpath. -- 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/-/ii0WkGooOpoJ. 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.
Running DynaTableRF sample from the 2.4 RC release....
As I try to run my DynatableRF sample (2.4 ) I run into the following exception: * * *Caused by: java.lang.NoClassDefFoundError: org/json/JSONException * *at com.google.web.bindery.autobean.shared.impl.StringQuoter.createSplittable(StringQuoter.java:58) * * * Caused by: java.lang.ClassNotFoundException: null at com.google.gwt.dev.shell.CompilingClassLoader$MultiParentClassLoader.findClass(CompilingClassLoader.java:365) I did make sure I have json-20090211.jar(this is the jar that contains the class org.json.JSONException) in my server's classpath. -- 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/-/OJdT9DrmtXwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT is for apps — right? But what's about static pages? (GWT's Future Plans...)
I would like to make a related observation although, only tangentially related to the initial poster's questions and grievances: Even though GWT started off as a toolkit for developing desktop-style applications for the web, I think it has slowly transformed beyond the said scope. As an example consider, google hotel search at http://www.google.com/hotelfinder/. Evidently, this has been built using GWT and evidently it is closer to a web-style application than a desktop-style application. -- 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/-/s6C_kGBy96UJ. 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.
Do Beanvalidation(JSR-303) and editor framework play along well ?
In other words does a call like SimpleBeanEditorDriver.getErrors() give me a list of errors. I am trying this in 2.3 and I do not seem to be able to retrieve the errors via SimpleBeanEditorDriver.getErrors() . -- 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/-/-6kbyKDXOp4J. 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: http://www.google.com/hotelfinder
The feedback widget seems identical to the one used in google plus. -- 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/-/_9l2ocSOyxgJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Google Products using GWT
Just did a cursory inspection of the new Google Offers application and it looks like an application built using GWT. https://www.google.com/offers/home -- 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/-/bF9oB8W1bNoJ. 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: MVP best practices, how to expose a view to a presenter?
@Thomas When you say cached for a while could you give an example how this can be achieved. (For example: Do you maintain the time it needs to be cached for, in a separate variable. ) In concept, I am able to understand but the execution details are kinda teasing my mind. -- 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/-/-FQBR0HgrTEJ. 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: MVP best practices, how to expose a view to a presenter?
Great answer. Made my day. I wish there was a way to rate answers in google groups. (just like stackoverflow). @Thomas You are being a real asset to the community and to also to the product. Just curious. Were you approached by the GWT team with an offer to join their team. Just a rhetorical question. You do not have to answer. -- 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/-/Wy3A-E1Iru0J. 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: Disposable activities
...then it's better to dispose it to free some memory. I guess, this means, explicitly invoking removeFromParent() on the view class. Am I right in this assertion??? -- 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/-/cLZu1fPInU0J. 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: Disposable activities
@Thomas *...then it's better to dispose it to free some memory. * I guess, this means, explicitly invoking removeFromParent() on the view class. Do you agree with my statement??? -- 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/-/CvWPMkoU95gJ. 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.
Was the lack of server side templating in GWT one of the reasons why Google+ team did NOT choose GWT ?
As few of you might already know, Google plus team did not choose GWT but rather a differnt library, called Closure. The following were two direct quotes from Joseph Smarr (tech lead of google plus -- plus.google.com): (FYI: The full Q A with the Google+ Tech Lead can be found at: http://anyasq.com/79-im-a-technical-lead-on-the-google+-team) *we often render our Closure templates server-side so the page renders before any JavaScript is loaded, then the JavaScript finds the right DOM nodes and hooks up event handlers, etc. to make it responsive (as a result, if you're on a slow connection and you click on stuff really fast, you may notice a lag before it does anything, but luckily most people don't run into this in practice).* *The cool thing about Closure templates is they can be compiled into both Java and JavaScript. So we use Java server-side to turn the templates into HTML, but we can also do the same in JavaScript client-side for dynamic rendering. For instance, if you type in a profile page URL directly, we'll render it server-side, but if you go to the stream say and navigate to someone's profile page, we do it with AJAX and render it client-side using the same exact template. * Going from the tone of the above two quotes, it seems to me that the lack of server-side templating system in GWT (GWT has client-side templating in the form of UiBinder but not server-side templating) , could have been *one of the reasons* for not choosing GWT for the Google+ project. What do you guys think?? Was the lack of server side templating in GWT one of the reasons why Google+ team did not choose GWT ?? PS: If you guys haven't tried Google+ yet, I would recommend you try it. Setting aside how good of a social network/social collaboration tool it is, I suggest you guys try it just to get a feel of its UI architecture. Every once in a while, an application comes along and raises the bar(eg., Gmail in 2004) in the area of UI design/UI development and I think Google plus has done it this time around.im -- 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/-/-wi_amJTgBEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Was the lack of server side templating in GWT one of the reasons why Google+ team did NOT choose GWT ?
* Note: I am cross-posting this on GWT-contributors group to solicit the responses of the GWT team. The original post on the GWT group is at : https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/CnjBcJsknS0 * The following were two direct quotes from Joseph Smarr (tech lead of google plus -- plus.google.com): (FYI: The full Q A with the Google+ Tech Lead can be found at: http://anyasq.com/79-im-a-technical-lead-on-the-google+-team) *we often render our Closure templates server-side so the page renders before any JavaScript is loaded, then the JavaScript finds the right DOM nodes and hooks up event handlers, etc. to make it responsive (as a result, if you're on a slow connection and you click on stuff really fast, you may notice a lag before it does anything, but luckily most people don't run into this in practice).* *The cool thing about Closure templates is they can be compiled into both Java and JavaScript. So we use Java server-side to turn the templates into HTML, but we can also do the same in JavaScript client-side for dynamic rendering. For instance, if you type in a profile page URL directly, we'll render it server-side, but if you go to the stream say and navigate to someone's profile page, we do it with AJAX and render it client-side using the same exact template. * Going from the tone of the above two quotes, it seems to me that the lack of server-side templating system in GWT (GWT has client-side templating in the form of UiBinder but not server-side templating) , could have been *one of the reasons* for not choosing GWT for the Google+ project. What do you guys think?? Was the lack of server side templating in GWT one of the reasons why Google+ team did not choose GWT ?? PS: If you guys haven't tried Google+ yet, I would recommend you try it. Setting aside how good of a social network/social collaboration tool it is, I suggest you guys try it just to get a feel of its UI architecture. Every once in a while, an application comes along and raises the bar(eg., Gmail in 2004) in the area of UI design/UI development and I think Google plus has done it this time around. Also, I really appreciate the fact that GWT is an exceptional work of engineering. My desire is to just provoke discussion in a direction that hopefully leads to making the product even more better and increases its technological moat (Warren Buffet lingo: http://37signals.com/svn/posts/333-warren-buffett-on-castles-and-moats) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Was the lack of server side templating in GWT one of the reasons why Google+ team did not choose GWT ?
* Note: I am cross-posting this on GWT-contributors group to solicit the responses of the GWT team. The original post on the GWT group is at : https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/CnjBcJsknS0 * The following were two direct quotes from Joseph Smarr (tech lead of google plus -- plus.google.com): (FYI: The full Q A with the Google+ Tech Lead can be found at: http://anyasq.com/79-im-a-technical-lead-on-the-google+-team) *we often render our Closure templates server-side so the page renders before any JavaScript is loaded, then the JavaScript finds the right DOM nodes and hooks up event handlers, etc. to make it responsive (as a result, if you're on a slow connection and you click on stuff really fast, you may notice a lag before it does anything, but luckily most people don't run into this in practice).* *The cool thing about Closure templates is they can be compiled into both Java and JavaScript. So we use Java server-side to turn the templates into HTML, but we can also do the same in JavaScript client-side for dynamic rendering. For instance, if you type in a profile page URL directly, we'll render it server-side, but if you go to the stream say and navigate to someone's profile page, we do it with AJAX and render it client-side using the same exact template. * Going from the tone of the above two quotes, it seems to me that the lack of server-side templating system in GWT (GWT has client-side templating in the form of UiBinder but not server-side templating) , could have been *one of the reasons* for not choosing GWT for the Google+ project. What do you guys think?? Was the lack of server side templating in GWT one of the reasons why Google+ team did not choose GWT ?? PS: If you guys haven't tried Google+ yet, I would recommend you try it. Setting aside how good of a social network/social collaboration tool it is, I suggest you guys try it just to get a feel of its UI architecture. Every once in a while, an application comes along and raises the bar(eg., Gmail in 2004) in the area of UI design/UI development and I think Google plus has done it this time around. *Also, I really appreciate the fact that GWT is an exceptional work of engineering. My desire is to just provoke discussion in a direction that hopefully leads to making the product even more better and increases its technological moat (Warren Buffet lingo: http://37signals.com/svn/posts/333-warren-buffett-on-castles-and-moats) * -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Any experience with GWT and JRebel
and the name of the alternative is ... ? -- 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/-/IzALEa8IbGEJ. 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: Any experience with GWT and JRebel
Kind of a digression but could benefit the community. Is there a free alternative to JRebel on the server side ?? -- 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/-/9ARgn2nNPbAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: RFC: Breaking change to CellTable
John/GWT Team As I understand, one of the important assumptions behind cell widgets(CellTable, CellTree etc) is that innerHTML is fundamentally faster than DOM manipulation. * We've found that on some browsers, DOM manipulation is getting faster than innerHTML (due to the cost of actually building the HTML string). * * * Could you elaborate a bit more on this statement and also how it impacts the direction future enhancements for cell widgets in general. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Yes or No: Will Singleton-izing my Resources offer tangible performance gains??
I use my Resources.java (it extends ClientBundle and holds references to images etc) in multiple classes and in each class I would create an instance of it class using GWT.create(Resources.class) Would making this class a singleton offer me tangible performance gains or is it not worth the engineering effort ?? I am not looking for a quantified answer necessarily but even something of a gut check would suffice. -- 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/-/WRE3Jx1rph0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: When using HistoryTokens with Activities and Places can you remove the (:) colon?
You might find the following links helpful: http://stackoverflow.com/questions/5000520/gwt-replace-abstractplacehistorymapper-with-a-custom-mapper-using-deferred-bindi http://stackoverflow.com/questions/5579916/how-to-change-gwt-place-url-from-the-default-to -- 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/-/68gK2loNgz8J. 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: Disable/Enable CSS obfuscating in gwt.xml ?
Not to revive a old thread but wanted to add some relevant info to the discussion. In the case of set-configuration-property name=CssResource.style value=pretty/, the code that generates the aforementioned very long class names is present in the computeObfuscatedNames method of com.google.gwt.resources.rg.CssResourceGenerator class: if (prettyOutput) { obfuscatedClassName += - + type.getQualifiedSourceName().replaceAll([.$], -) + - + name; } Retaining the original class names is a very useful tool while development. (obfuscation is ideal for only production) Unfortunately, you can not override the above method which means we are stuck with these long names. I wish there was a way to have GWT just retain the class names as they are. (using @external for each and every class is cumbersome and cant be used for styles within widgets) -- 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/-/KTar1HlqmBUJ. 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: customize animation effect of Tree/TreeItem
Any pointers on this would be much appreciated.. -- 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/-/gWRFf4r4Oq8J. 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.
customize animation effect of Tree/TreeItem
I went through the code in Tree/TreeItem and seems like the animation duration( I think this governs how slow/fast the the tree collapses with the slide down effect) is hard-coded and set to private: private static final int ANIMATION_DURATION = 200; Hoping against hope: Is there any other way this duration be customized??? FYI:I still have not taken the plunge into Cell-based widgets yet. So, CellTree is offlimits to me. thanks -- 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/-/MJT1z55Yt84J. 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.
Mixing Autobean with JSONP
Can AutoBean used to bind the response of a JSONP request ?? I tried but with no success. For example: JsonpRequestBuilder jsonp = new JsonpRequestBuilder(); jsonp.requestObject(url, new AsyncCallbackT() { public void onFailure(Throwable throwable) { } public void onSuccess(T mybean) { // Success! } } ); Can T be a AutoBean or some variant of a autobean. 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.
Is restricting user.agent values gonna improve the speed of hosted mode ?
I have modified my module xml file by introducing the following, with the expectation that it would speed up my hosted mode: set-property name=user.agent value=gecko1_8 / No luck, though. My hosted mode is still as sluggish as before. Any opinions ? -- You received 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: Is restricting user.agent values gonna improve the speed of hosted mode ?
It decreases my compile-time significantly (rightly so because of the decreased permutations) but not the speed of the hosted mode. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is restricting user.agent values gonna improve the speed of hosted mode ?
It decreases my compile-time significantly ( because of the decreased permutations) but does not improve the speed of the hosted mode. The hosted mode is as sluggish as before. -- You received 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: How to speed up Hosted mode
As bizzare as it sounds, try IE 9 - seems to run faster than FF in dev mode. On Tue, Apr 19, 2011 at 8:06 PM, Aladdin alaamu...@gmail.com wrote: I know that you can use cluster to compile your app So , 2000$ can build you 6 diskless computers :) Look that up in youtube or google On Apr 18, 2:49 pm, maticpetek maticpe...@gmail.com wrote: Hello, We are developing our app in GWT now for a couple of years. And code base is becoming bigger every day And hosted mode is also become very slow. Refresh in browser takes around 1 minute. Forms opening a couple of seconds. All this time my CPU is on around 160% (if I look Activity monitor). This happend in FF. Chrome is not useful because it takes too much time (I gave up after 10 minutes). Any idea how could we speed up hosted mode? Would code split with GWT.runAsync do any help? Or on the end you just must have very fast CPU? Thank you for help. My environment : - OS X Show Leopard - JDK 1.6 - GWT 2.2 - GXT 2.2.3 - Firefox 3.6 Regards, Matic -- GWT stuff twitter -http://twitter.com/#!/gwtstuff -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.1 MVP Multiple activities clarification help
I have ran into a interesting situation using Mauro's example[A hit tip to Mauro in helping the community to navigate the waters of Activities and Places]: Lets say, I first access http://95.110.143.4/layoutmvp/layoutmvp.html#inbox:list As expected, it shows me the Inbox. Then, lets say, I access http://95.110.143.4/layoutmvp/layoutmvp.html#contacts:list As expected, it shows me the contacts. Then, lets say, I change the url to http://95.110.143.4/layoutmvp/layoutmvp.html#contacts:XYZ and hit Enter (XYZ is a deliberately typed in bad token) As expected, it does a redirect(client-side redirect) to http://95.110.143.4/layoutmvp/layoutmvp.html#contacts:list and shows me the contacts again. So, far so good. Now, as I hit the back button once, twice, thrice and so on I am just stuck at the Contacts. I can never go back to the Inbox. Is this expected behavior. Any thoughts or even brief pointers as to might be going on would appreciated. thanks a lot. On Dec 23 2010, 9:29 am, Mauro Bertapelle mauro.bertape...@gmail.com wrote: As an exercise I've build a little POC based on the concepts expressed by Thomas in his article. If someone is interested, the sources are here:http://95.110.143.4/layoutmvp/layoutmvp.tar.gz and here you can find a live demo:http://95.110.143.4/layoutmvp/layoutmvp.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Grid + UiBinder : Setting row level styles
... . g:row addStyleNames=OddNumberRow /g:row g:row addStyleNames=EvenNumberRow /g:row ... ... The above approach is not working. In other words, the tr elements in the generated html do not have any class names at all. A back up option would be to inject styles into these rows from the UiBinder's constructors (using getRowFormatter.addStyleName) but I do not want to take that route for now.(I wanna try to reserve the code that goes into the UiBinder java class for event handling purposes only. ) Any thoughts/pointers would be much appreciated. Note:Cross posted at http://stackoverflow.com/questions/5864348/grid-uibinder-setting-row-level-styles 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: Grid + UiBinder : Setting row level styles
I tried both approaches: g:row styleName=OddNumberRow and g:row class={OddNumberRow} using ui:style declarations for the latter. Neither of them work. -- You received 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: Grid + UiBinder : Setting row level styles
I tried both approaches: g:row styleName=OddNumberRow and g:row class={style.OddNumberRow} using ui:style declarations for the latter. Neither of them work. -- You received 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.
Radiobuttons and UiBinder
Lets say I have three radio buttons belonging to a group. Upon some event, I would like to retrieve the value of the radio button selected in my UiBInder class. One possible approach, I guess, is to declare a ui:field for each of the radio buttons(like in the example below) and thus retrieve the selected value in the UiBInder class. g:RadioButton ui:field=value1 value=value1 ui:name=rbnamevalue1/g:RadioButton g:RadioButton ui:field=value2 value=value2 ui:name=rbnamevalue2/g:RadioButton g:RadioButton ui:field=value3 value=value3 ui:name=rbnamevalue3/g:RadioButton Is there any other way to achieve this without having to declare a ui:filed for each and every radio button of a group. Note: I would like a solution that does NOT involve form or FormPanel. -- You received 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: KeyPressevent is being called twice for suggest box - Please help!!!!!
Is the real culprit for this behavior the following lines in the addEventsToTextBox() method of SuggestBox class: *delegateEvent(SuggestBox.this, event);* I think there are about 4 occurrences of this in the addEventsToTextBox() method: http://code.google.com/p/google-web-toolkit/issues/detail?id=3533#c9 Joel's comment seems to indicate the same. Do you guys agree ?? -- You received 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: seemingly misleading verbiage in the documentation...
Any thoughts on this would be much appreciated. I am trying to validate my understanding of JSONParser class and also highlight the misleading verbiage in the documentation. -- You received 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: seemingly misleading verbiage in the documentation...
Thanks Thomas. In fact, I did look at the javadoc, and even the javadoc has kinda ambiguous verbiage . More precisely, parseStrict's description is right on : Evaluates a JSON string and returns its JSONValue representation. Where possible, the browser's JSON.parse function is used. For older browsers including IE6 and IE7 that lack a JSON.parse function, the input is validated as described in RFC 4627 for safety and passed to eval(). whereas parseLenient's description does not explicitly state the fact that eval() is used only as fallback option: Evaluates a trusted JSON string and returns its JSONValue representation. CAUTION! This method calls the JavaScript eval() function, which can execute arbitrary script. DO NOT pass an untrusted string into this method. I will see if I can create a issue(towards the documentation at http://code.google.com/webtoolkit/doc/latest/tutorial/JSON.htmland the javadoc of parseLenient ) on the issue tracker and assign it to the category of nitpicking. -- You received 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.
parseLenient and parseStrict on newer browsers [was Re: seemingly misleading verbiage in the documentation...]
parseLenient *only* uses eval(), not only as a fallback. . I went into the source code and took a look at the parseLenient method. You are correct. parseLenient always uses eval(). The following is the code snippet that confirmed this fact for me: @com.google.gwt.core.client.JsonUtils::escapeJsonForEval(Ljava/lang/String;)(json). Thanks for correcting my premise. Now, the natural question that popped in my mind is: Lets say there is a scenario where* the JSON to be parsed is totally trusted * . In such a case , I am trying to find out how parseLenient compares with parseStrict( *in terms of raw speed*) for new browsers that have native JSON support(IE8+, FF4 etc) Going by the following posts by Mozilla and Microsoft, it seems like native JSON would be the way to go because they claim that the native JSON is much faster and it sounds like it is only gonna improve over time: http://blog.mozilla.com/webdev/2009/02/12/native-json-in-firefox-31/ http://blogs.msdn.com/b/ie/archive/2008/09/10/native-json-in-ie8.aspx Any thoughts are much appreciated. thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
seemingly misleading verbiage in the documentation...
There seems to be some mis-leading verbiage at the link http://code.google.com/webtoolkit/doc/latest/tutorial/JSON.html : Another technique for a converting a JSON string into something you can work with is to use the static JSONParser.parse(String) method. GWT contains a full set of JSON types for manipulating JSON data in the com.google.gwt.json.client package. If you prefer to parse the JSON data, see the Developer's Guide, Working with JSON. Ultimately both techniques rely on the JavaScript eval() function; so you are still responsible for ensuring that you are using a trusted source of JSON data. The above quote from the documentation gives an impression that JSONParser.parse(String) always makes use of eval() function . My understanding has been that JSONParser uses the browser's native json parser( i.e., window.JSON.parse()) where available(IE 8+, FF 3.5 +, not sure about the exact version on Chrome after which the native parsing is supported), and resorts to eval() only in the remaining situations. I hope my understanding is accurate; if not please feel free to correct me. If, in fact my understanding is correct the aforementioned verbiage from the documentation is, I am afraid, misleading and might have to changed. Feedback welcome. -- You received 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.
Unable to run GWTP app after migration to 2.2
I need a solution to the following problem : I am running eclispe 3.6, GWT 2.2, Guice 3.0 rc2, gin 10 r137 and gwt- p 0.5, the code compiles fine but when I try to run the app i end up with the following error : 13:40:24.062 [ERROR] [gwtphplacesample] Failed to create an instance of 'com.gwtplatform.samples.hplace.client.Gwtphplacesample' via deferred binding java.lang.RuntimeException: Deferred binding failed for 'com.gwtplatform.samples.hplace.client.gin.ClientGinjector' (did you forget to inherit a required module?) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) at com.google.gwt.core.client.GWT.create(GWT.java:98) at com.gwtplatform.samples.hplace.client.Gwtphplacesample.lt;initgt; (Gwtphplacesample.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 465) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 375) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/google/inject/ assistedinject/FactoryModuleBuilder at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java: 74) at com.google.inject.AbstractModule.configure(AbstractModule.java: 59) at com.google.inject.spi.Elements $RecordingBinder.install(Elements.java:223) at com.google.inject.spi.Elements.getElements(Elements.java:101) at com.google.inject.internal.InjectorShell $Builder.build(InjectorShell.java:132) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java: 103) at com.google.inject.Guice.createInjector(Guice.java:95) at com.google.inject.Guice.createInjector(Guice.java:72) at com.google.inject.Guice.createInjector(Guice.java:62) at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java: 66) at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java: 48) at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java: 60) at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java: 662) at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java: 41) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:74) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 259) at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java: 141) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java: 585) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 455) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at com.google.gwt.core.client.GWT.create(GWT.java:98) at com.gwtplatform.samples.hplace.client.Gwtphplacesample.lt;initgt; (Gwtphplacesample.java:29) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 465) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 375) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) -- You received 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 RPC Serialization - circular references not allowed?
I'm serializing to the client from Java using the standard GWT RPC mechanism (using Async Service, not the factory introduced in 2.1). I'm seeing an issue with deserialization at the client when my serialized object has circular references. This is what I see: Serializing a Result object that has a Fund object reference. This fund has a reference to a Distributor object that contains a list of Funds, one of which is the same as the Fund that result references. So it is a two-hop circular reference. The Fund object's hashCode method is overridden to use the fund-id's hashcode (fund-id is a string). The error I get is that the hashcode threw a NullPointerException. Here is the stacktrace: at com.foo.dm.fund.Fund.hashCode(Fund.java:709) at java.util.HashMap.put(HashMap.java:372) at java.util.HashSet.add(HashSet.java:200) at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.deserialize(Collection_CustomFieldSerializerBase.java:35) at com.google.gwt.user.client.rpc.core.java.util.HashSet_CustomFieldSerializer.deserialize(HashSet_CustomFieldSerializer.java:32) at com.google.gwt.user.client.rpc.core.java.util.HashSet_FieldSerializer$Handler.deserialize(HashSet_FieldSerializer.java:11) at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:91) at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:108) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119) at com.foo.dm.user.Distributor_FieldSerializer.deserialize(Distributor_FieldSerializer.java:42) Are circular references not allowed? I can't believe this is the first time I'm running across this in 2 years! -- You received 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: has this patch made it to 2.2
thanks Thomas. Just wondering: this is a vary valid case and the patch seems to have been submitted by you well ahead of the 2.2 release(thanks to you once again). Are you aware of any reason why this has not made it to the 2.2 release. -- You received 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: has this patch made it to 2.2
thanks for the clarification David. -- You received 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.
Replace AbstractPlaceHistoryMapper with a custom mapper using deferred binding
Looks like the class that is generated for PlaceHistoryMapper is hard-coded to used AbstractPlaceHistoryMapper as the super class. So, I am trying to work around this by trying to replace this AbstractPlaceHistoryMapper with a custom mapper of mine using deferred binding . I am using the following rule in my *.gwt.xml: replace-with class=com.google.gwt.place.impl.AbstractPlaceHistoryMapper when-type-is class=com.test.sampleapp.CustomPlaceHistoryMapper / /replace-with But for some reason the replace does not seem to be happening. CustomPlaceHistoryMapper is not getting kicked in and the generated class still uses AbstractPlaceHistoryMapper. Any thoughts/pointers as to what might be resulting this behavior are much appreciated. thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
has this patch made it to 2.2
http://gwt-code-reviews.appspot.com/1316801/patch/9001/10001 -- You received 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: Is there a way to retrieve the prefix of a Place
I just discovered the following method PrefixAndToken *getPrefixAndToken*(Place newPlace) in the class AbstractPlaceHistoryMapper but the method is declared abstract and hence not implemented. So, it does not help ; but this is the kind of functionality I am looking for. Any thoughts ? -- You received 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.
Is there a way to retrieve the prefix of a Place
I was wondering if there is a way to retrieve the prefix corresponding to a place ??? For example lets say I have the following Place class: public class HomePlace extends Place { @Prefix(/home) public static class Tokenizer implements PlaceTokenizerHomePlace { @Override public HomePlace getPlace(String token) { return new HomePlace (); } @Override public String getToken(HomePlace place) { return home; } } } Now, lets say I want to retrieve the Prefix corresponding to HomePlace, in some other part of my code(say some Activity class) . Is there a way to do it ??? I know I could retrieve the token but am kinda clueless about being able to retrieve the prefix. Any thoughts/pointers are much appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT DevMode : logging to a log file
By default all the GWT.log(.) statements log to the console . (this is not desirable for me because there is no way for me to do a Clear on the logs periodically and that affects my capability to debug). So, I am trying to direct all my GWT.log(...) messages to a file which I can constantly clean up and start with a clean slate. I figured a way to do it: use the *-logdir *option of the GWT compiler and pass the logging directory. But the one issue i have with this is , the logs are scattered across multiple files. (a new log file with a slightly different name gets created each time you re-load the application ). So, in essence I am NOT able to get the messages to be directed to a SINGLE file. Is there a way to do it ?? Any thoughts/pointers would are much appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT DevMode : logging to a log file
I just took a look at the documentation at http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html and it seems like FileHandler is not supported . There is a line in the documentation that seems to indicate this: The following classes are not emulated at all: ErrorManager and LoggingPermission (not currently an issue in client logging) FileHandler -- You received 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: Is there a way to avoid the colon(:) sign in a Place's prefix ???
Thanks Martin for opening an issue. Also, please feel to share with us any code related to implementing your own PlaceHistoryMapper, Tokenizers , to circumvent this issue. This is an issue a lot of developers would eventually face . I would encourage developers to star this issue in the aforementioned location. Hopefully, the GWT team will pick it up for 2.3. -- You received 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: Attn::Unix Administrator Requirement in Framingham, MA::Please respond back at di...@abacuscs.com::
Doesn't Report abuse automatically take care of such spam ?? -- You received 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: using new 2.1.1rc RequestFactory AutoBean in RESTful Architecture
very valid questions. A good number of gwt developers at some stage will face similar questions. I would appreciate if someone could share their experiences and findings pertaining to the questions zixzigma has brought up. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory integration with Activities and Places
Is there any nice post (blog, articles etc) that sheds some light on integrating RequestFactory with Activities, Places, Eventbus. Even code snippets/samples would be fine. thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.1 MVP Multiple activities clarification help
Hi Mauro Your example is turning out to be very helpful. I ran into one issue I thought I might communicate to you. When you click the Mail activites button, and then select the first entry of the mail list (i.e., viva...@seddiamlorem.ca) the details are populated in Mail Details. Similary if you select the second entry of the mail list (i.e., fauci...@sit.com) the corresponding details are populated in Mail Details . The urls for the above two events are http://95.110.143.4/layoutmvp/layoutmvp.html#mail:1 and http://95.110.143.4/layoutmvp/layoutmvp.html#mail:2 respectively . So far so good. When you hit the back button now , the url is changed from http://95.110.143.4/layoutmvp/layoutmvp.html#mail:2 to http://95.110.143.4/layoutmvp/layoutmvp.html#mail:1 and the contents of Mail Details change as well. But, the selected email on the list(highlighted with blue background) is not changing from the second entry to the first entry. Any thoughts on this would be much appreciated. On Dec 23 2010, 8:29 am, Mauro Bertapelle mauro.bertape...@gmail.com wrote: As an exercise I've build a little POC based on the concepts expressed by Thomas in his article. If someone is interested, the sources are here:http://95.110.143.4/layoutmvp/layoutmvp.tar.gz and here you can find a live demo:http://95.110.143.4/layoutmvp/layoutmvp.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Is there a way to avoid the colon(:) sign in a Place's prefix ???
I do not want to re-invent the wheel here if someone has already customized the behavior of the prefix by implementing the PlaceHistoryMapper interface, as Thomas mentioned. If someone has already done it , would appreciate if you could provide the code samples. Thomas I see that you have submitted related to this. http://gwt-code-reviews.appspot.com/824801/show http://gwt-code-reviews.appspot.com/824801/show*Then, the empty-prefix (@Prefix()) is special-cased to: - not insert the : separator when generating tokens * I guess, the patch has not made it to 2.1.1. 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.
Is there a way to avoid the colon(:) sign in a Place's prefix ???
.#prefix:token Vs ...#prefix I am trying to achieve the latter. Is there a way to do it??? Making prefix empty using @Prefix() does not seem to cut it. FYI: The new google groups UI which seems to have to been built using GWT, is successfully able to do this but am not able to figure out how. https://groups.google.com/forum/?fromgroups#!forum/google-web-toolkit Would appreciate any thoughts/ideas 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.
Activity automatically stopping
I am developing a sample application using Activities and Places, based on GWT team's basic Hello, goodbye example. I have a first place(the default place) and a second place. On user click, the place is changed from first place to the second place and the activity corresponding to the second place is invoked. The start method of this activity is executed and immediately(within a fraction of a second) the onStop method of this activity is being executed and the application is going back to the first place and the activity corresponding to the first place is being executed. Any thoughts on what might be going wrong , would be much appreciated. thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.1.1 , HelloMVP (Google provide example illustrating Activities Places) : Compile error. Stacktrace enclosed.
I am trying to compile the HelloMVP application available at http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html . I did not make any changes to the code and just tried to compile it and was met with the following error. It basically says it cannot resolve com.hellomvp.client.place.HelloPlace$Tokenizer. I double checked if the HelloPlace is indeed at the right location. Would appreciate your thoughts as I am kinda stonewalled by this error. thanks Compiling module com.hellomvp.HelloMVP Resolving com.hellomvp.client.mvp.AppPlaceHistoryMapper Found type 'com.hellomvp.client.mvp.AppPlaceHistoryMapper' [ERROR] Annotation error: cannot resolve com.hellomvp.client.place.HelloPlace$Tokenizer java.lang.ClassNotFoundException: com.hellomvp.client.place.HelloPlace$Tokenizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:710) at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:649) . . -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.1.1 , HelloMVP (Google provided example illustrating Activities Places) : Compile error. Stacktrace enclosed.
I am trying to compile the HelloMVP application available at http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html . I did not make any changes to the code and just tried to compile it and was met with the following error. It basically says it cannot resolve com.hellomvp.client.place.HelloPlace$Tokenizer. I double checked if the HelloPlace is indeed at the right location. Would appreciate your thoughts as I am kinda stonewalled by this error. thanks Compiling module com.hellomvp.HelloMVP Resolving com.hellomvp.client.mvp.AppPlaceHistoryMapper Found type 'com.hellomvp.client.mvp.AppPlaceHistoryMapper' [ERROR] Annotation error: cannot resolve com.hellomvp.client.place.HelloPlace$Tokenizer java.lang.ClassNotFoundException: com.hellomvp.client.place.HelloPlace$Tokenizer at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:710) at com.google.gwt.dev.javac.TypeOracleMediator.resolveAnnotationValue(TypeOracleMediator.java:649) . . -- You received 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 UIBinder example using multiple composite
this might help http://davidmaddison.blogspot.com/2010/03/building-gwt-declarative-interface.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory without creating proxies? Anyone else reminded of J2EE early days?
We have a significant sized app built using GWT 2.0 and we have simple Command pattern based abstraction for sending entities back and forth between the server and client. The new RequestFactory while interesting seems to require too much scaffolding interfaces and classes. - Why should I create duplicate proxy interfaces? Can't I just reuse the entity? - The requirement that the service implement the RequestContext interface but not really - leads to poor code maintainability as one cannot simply rename methods taking advantage of IDE features. - The 2.1 idea of have DAO methods in entities? What was the thinking here? Seems 2.1.1 is addressing it. - The requirement to have findEntity() on the entity itself - leads to very poor separation of concerns. - The requirement to have getVersion() - well, what if I don't want my entity to be versionable? Why am I being forced here? This is another example of forcing the framework user to write code to make the framework do its work. - The requirement to explicitly edit() an entity (again, just so the framework can figure out changes) is burdensome. My concern now is that other libraries (e.g. Ext GWT) will adopt this forcing theRequestFactory upon everyone. How far does 2.1.1 go in alleviating the above? I think I'm going to stick with the simple GWT-RPC. Hopefully that is not going away anytime soon. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory without creating proxies? Anyone else reminded of J2EE early days?
Thomas, Thanks for your response. Here are a few follow ups: 1) The idea of forcing separation between client and server code so that GWT can generate client code is perhaps too restrictive. We have a lot of getter methods with intelligence or decoration of the returned value. Currently, we know this will work on the client and server side. But with RF, I have to move that logic elsewhere. Keeping the entities common and forcing them to be GWT actually has a nice side-effect - it forces you to keep your entities clear of useless dependencies. 2) Its nice that a command line validator is provided, but that just means more build time checks for something that Java could natively do. So the advantages of incremental compilation via Eclipse/IDEA etc are gone. Also, there will be additional delays before this trickles down to maven plugins and other artifacts. Note: With the command pattern, my async interface only has one method - Result execute(Action a); that is generified so I never have to worry about it (and it is burried in common-library). Actions and Results get associated by simply being defined as spring beans and everything works like magic. On Tue, Dec 14, 2010 at 9:18 AM, Daniel Simons daniel.simo...@gmail.com wrote: I have a project that utilizes RequestFactory and works in 2.1 but not in 2.1.1. Is there an example out there making use of the 2.1.1 RequestFactory improvements? On Tue, Dec 14, 2010 at 8:05 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, December 14, 2010 1:14:30 PM UTC+1, kabram wrote: We have a significant sized app built using GWT 2.0 and we have simple Command pattern based abstraction for sending entities back and forth between the server and client. The new RequestFactory while interesting seems to require too much scaffolding interfaces and classes. - Why should I create duplicate proxy interfaces? Can't I just reuse the entity? No. One of the goal of RF is to completely separate server code from client code, so that a) you can use whatever you want on the server side (including directly in your entities) and b) the client-side can be optimized at will because it's enterily generated by GWT. See https://wave.google.com/wave/waveref/googlewave.com/w+WU4iAICkI - The requirement that the service implement the RequestContext interface but not really - leads to poor code maintainability as one cannot simply rename methods taking advantage of IDE features. See http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/requestfactory/server/RequestFactoryInterfaceValidator.html You can use it as a command-line tool to validate your client-side interface against your server-side implementations. I believe the next version of the Google Plugin for Eclipse (or at least a future version) will integrate it, just like it validates the sync and async interfaces of GWT-RPC (which suffer from the exact same issue). - The 2.1 idea of have DAO methods in entities? Not necessarily. But then methods *have* to be static. What was the thinking here? AFAIK, Spring Roo generating static methods on entities, similar to Rails' ActiveRecord and the like (but Ruby allows monkey patching which makes testing and mocks possible, something that a statically typed language like Java cannot do) Seems 2.1.1 is addressing it. Yes! - The requirement to have findEntity() on the entity itself - leads to very poor separation of concerns. See above, but 2.1.1 addresses that one too. - The requirement to have getVersion() - well, what if I don't want my entity to be versionable? Why am I being forced here? This is another example of forcing the framework user to write code to make the framework do its work. Versions are necessary for the update mechanism. The constraint was initially relaxed in 2.1.1 but re-added last week: http://code.google.com/p/google-web-toolkit/source/detail?r=9381 - The requirement to explicitly edit() an entity (again, just so the framework can figure out changes) is burdensome. It makes you intents clear. Your proxies are there so you can communicate with the server, so edit()ing a proxy is kind of like creating a request builder. You then add an invocation (service method call) and fire() the request. And everything is magically replayed on the server. My concern now is that other libraries (e.g. Ext GWT) will adopt this forcing theRequestFactory upon everyone. How far does 2.1.1 go in alleviating the above? I think I'm going to stick with the simple GWT-RPC. Hopefully that is not going away anytime soon. The new Google Groups is using GWT-RPC, so I believe it's there to stay! -- You received 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
Re: [gwt-contrib] New Google Groups apparent with GWT ?
Are there any code samples/documentation of integrating Closure Library widgets (like rich text editor etc) with GWT. if this integration can be done seamlessly with no performance hit this would help GWT developers get the best of both worlds(GWT and Closure Library) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Using Google Closure Library within GWT JSNI .....
http://closure-library.googlecode.com/svn/docs/index.html this link shows an exhaustive list of UI elements available within closure library -- You received 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 Google groups in GWT
..You can expect to see a steady stream of announcements regarding Google products being written or rewritten in GWT. good to hear. GWT has the community, the tools and now the adoption. If you build they will come. Indeed. BTW, I read somewhere that google buzz, google profile were built on GWT too. True? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Using Google Closure Library within GWT JSNI .....
Given than closure library has a plethora of UI elements(all the nice UI elements one could see across various google products like Google docs, maps, gmail etc), would it not be worthwhile to use them in GWT using JSNI. Has anyone tried this ?? Any performance implications ??? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.
I'm running into this problem on XP with Maven 2.2.1, STS 2.5.1 Release. Interesting enough if I run Maven gwt:run everything seems to work fine. Which suggests there is a bug within GPE as opposed to maven gwt plugin. I also don't remember this bug occurring with last milestone release of STS. Karthik On Thu, Nov 18, 2010 at 7:13 PM, Chris crehb...@gmail.com wrote: On Nov 18, 6:03 pm, Rajeev Dayal rda...@google.com wrote: Hey Chris, A few questions: -what operating system are you on? -I noticed that you have the gwt-user.jar and gwt-dev.jar explicitly on your build classpath. Did you add those entries? If you navigate over to the Project Properties - Google - Web Toolkit page, what SDK is selected? I'm working in Windows XP. The gwt-*.jar dependencies were automatically added after - to answer your last question - I configured the 2.1.0 SDK in project properties after upgrading the SDK/ plugin. I'm fairly certain gwt-dev.jar shouldn't be a compile-time dependency, right? In any event, building/GWT-compiling work just fine, the only problem is starting up dev mode. I think I can reconfigure maven to explode the resources zip file to src/main/webapp instead of target/module name before compilation so this likely won't be a long-term problem, but its still a change from the behavior using the 1.3.3 plugin. Many thanks, - C -- You received 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.
Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.
Hi all, I playing around with STS, Roo, Maven and GWT. When I go to run a Roo project from inside STS, STS seems to wipe out the entire project. Anyone else playing with this particular combo of technologies and running into issues? Karthik -- You received 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: Does anyone know of some example code to traverse the DOM tree in GWT?
In therory you could use the Javascript native mode and manipulate the dom. On Thu, Nov 18, 2010 at 10:26 AM, Blackberet ramonjsanti...@gmail.comwrote: I really need a pure GWT solution. I was hoping someone would point me out to a code example, maybe in the GWT source tree. On Nov 17, 8:37 pm, zixzigma zixzi...@gmail.com wrote: GQuery: Manipulating the DOM and CSS http://code.google.com/p/gwtquery/wiki/GettingStarted#Manipulating_th... -- You received 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: Insertion cursor disappears on IE RichTextArea before I can grab it
Hi Kozuru, I have the simiar problem and I'm a newbie, could you please gimme the NativePreviewHandler fix for this. Thank You. -Karthik -- You received 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: Anyaware of Hadoop/HBase/BigTables
Is there anything specific you wanted to know ? On Thu, Mar 25, 2010 at 8:56 PM, sridevi macherla sridevimache...@gmail.com wrote: Hi, Anyone aware of Hadoop/HBase/BigTables, did anyone working on this modules. please let me know. Thanks Sri -- You received 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 2.0.3 + Maven2 + Eclipse
Use the gwt-maven-plugin version 1.2-SNAPSHOT to have your project work with GWT 2.x -- You received 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: Anyaware of Hadoop/HBase/BigTables
On Fri, Mar 26, 2010 at 1:35 AM, sridevi macherla sridevimache...@gmail.com wrote: Hi Karthik, I would like to know how to implement or the usage of BigTable From an academic perspective, the paper would give a good idea and of course, app engine being the closest in terms of access to the infrastructure. /Hbase? which one would be best fit to hold the data around 5 TB in compressed manner. A good start would be to go through the C(onsistency)A(vailability)P theorem , and make a call on what you need. currently ia m evulating the frameworks and would like to know what are the other frameworks and which one will be best suited if anyone used it. other candidates - cassandra / hypertable/ riak / scalaris / mongoDB etc. And also any docs are available on any of these? Google is your friend ! Thanks Sri On Fri, Mar 26, 2010 at 12:45 PM, naga vinod kumar vinodkumark...@gmail.com wrote: Are there any opensource projects with respect to AppEngine or hadoop..? -- You received 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.
gwt 2.0.3 - Uibinder for Grid
I am looking for a uibinder example for the grid element . Searched through the archives before and came across a solution involving , g:HTMLPanel table ... /table /g:HTMLPanel. Is there a cleaner / out-of-the-box solution towards that other than hardcoding html by ourselves ? -- You received 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: frustrated with Google Eclipse Plugin and Maven gwt-maven-plugin integration
I don't have it working with the Google eclipse plugin ... but I did get it working where compilation is no slower than the Google Eclipse plugin and debugging is just as fast (using maven compile target and java app launch config for debugging). I did have to get gwt-maven-plugin 1.2-SNAPSHOT to get it going. I don't have a ready-to-share version ... just as yet. Give me a few days and I can perhaps share the code with you. On Wed, Dec 2, 2009 at 4:04 PM, bkbonner brian.bon...@paraware.com wrote: Does anyone have this working well and can share a decent archetype for 2.0 RC2 that works with maven and google eclipse plugin? Does anyone have google eclipse plugin and maven working well together and can generate an archetype (it's a simple command) that can be shared? Brian -- You received 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.
GWT 2.0.0 rc2 - failing to compile annotation (when used with Maven plugin 1.2-SNAPSHOT)
I have a class in the client subpackage (lets call it Foo) that has an annotation (say @Bar) that is in a client.gwt.rpc sub-package. This construct compiles fine with GWT eclipse plugin (1.2 rc2, eclipse galileo) but when I compile using the maven plugin, I get a ClassNotFoundException in the compile phase and the compiler says [WARN] Ignoring unresolvable annotation type ... Has anyone run into a similar problem or does anyone have a workaround? Thanks 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: EXCEPTION_ACCESS_VIOLATION in HotSpot Virtual Machine:
I had the same issue with GWT 2.0.0-rc1 and rc2 with JDK1.5 update 22. I switched to JDK 1.6 and the problem went away. I only had this happen in development mode, and consistently so. On Tue, Dec 1, 2009 at 1:47 PM, Bruce Petro brucepe...@gmail.com wrote: I'm hitting the error shown below in my code in the following manner... Working with a fairly complex object composed of several component objects - so quite a bit of memory probably... a) Editing an object, saving the results, then without clearing the screen, request the another object via RPC with the intention of refilling the screen with the new fresh values for the new object. When the RPC send attempts to happen, the browser (IE or hosted) vanishes. If I'm in hosted mode then Eclipse console contains the error and reference to a detailed error file. (attached). b) Interesting! If instead of requesting a new object to edit, I instead go to the menu and re-draw the screen from scratch - then no error occurs. Theories: a) We're running out of memory and I need to up the memory (can that be done in IE browser running javascript?) b) The UI and its ties to the data module object is getting totally confused by swapping the model out from under it. The detail file included seems to be hinting at memory, but I may be reading it wrong. Any ideas from anyone out there? If it is memory, how does one go about increasing memory in a running javascript application? # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x420c87ea, pid=1552, tid=5616 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_18-b02 mixed mode) # Problematic frame: # C [Dxtrans.dll+0x87ea] # # An error report file with more information is saved as hs_err_pid1552.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # -- You received 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.
Hosted Browser problem
I am using GWT 1.6 with Eclipse 3.4.0 i am getting this wired issue. I tired to do the workaround mentioned in http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8811c8d9fb471193 but the problem is not resolved. [SPAM] fields=Accept: image/gif, image/x-xbitmap, image/jpeg, image/ pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x- ms-application, application/vnd.ms-excel, application/vnd.ms- powerpoint, application/msword, application/x-silverlight, */* Accept-Language: en-us UA-CPU: x86 Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.5.21022; OfficeLiveConnector. 1.3; OfficeLivePatch.0.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8) Host: localhost:1675 Connection: Keep-Alive Referer: http://localhost:1675/h/index.jsp [SPAM] EXCEPTION org.mortbay.jetty.HttpException: null at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run (QueuedThreadPool.java:488) [SPAM] BAD [SPAM] EXCEPTION java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.SocketChannelImpl.read(Unknown Source) at org.mortbay.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:122) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:281) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run (QueuedThreadPool.java:488) [SPAM] EOF Any suggestions would be greatly appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
getting 404 error when I call a RPC service from an inherited module... local module's path seems to always appended to all the RPC services
I thought it's possible to inherit different GWT modules and re-use their RPC services. Is n't it possible? A common utility GWT module - com.packA.moduleA has some re-usable RPC services, and is inherited by another module com.packB.moduleB. Now, when I try to call a moduleA's RPC service 'svcA' from module B, somehow the path shows as /com.packB.svcA where as I expected /com.packA.svcA and this leads to HTTP 404 error for RPC service call. Am I missing something fundamental? Hope my question is clear. ~ regards, Karthik Karuppannan Java Developer, EPA - Endagered Species Guident Technologies --~--~-~--~~~---~--~~ You received 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 -~--~~~~--~~--~--~---
issues when reusing HTML mock-ups with external css and third-party styles like ext-all.css from ExtJS,
We have HTML mockups that have their own custom css style sheets. We are trying to reuse them as much as we can. Wherever there is dynamic data, we replace them with div tags, and the GWT service onModule() would push dynamic content into these div tags. Is this a normal approach? I am a newbie to GWT and want to make sure I am not doing something terribly bad. Some of the issue that I am facing - For the page xyz.html, we have xyz.css (as external style sheet). Somehow this css is always pushed back in priority and other style sheets (like Standard.css from GWT, ext-all.css from GwtExt+ExtJS, etc) always get higher priority. How do I make sure xyz.css to have the highest priority ? Or, is it riskier to override third party style sheets like ext-all.css? They define some styles at elements like body which creates undesirable effects in the look and feel. - there is option to call .setStyle() on each GWT widget, but then our style sheet that came with mockup is so huge and most of the styles do not have class ids, they are just defined for HTML elements like BODY, select, etc and we do not want to override those default settings. It would be cleaner if we can avoid calling individual setStyle on each components.. - Is there any good article that discusses about css issues with GWT? Can somebody please point out any web link? - ExtJS seems to override the HTML body tag with their css styles like ext-gecko. How do I deal with this? Strangely, I could not find much info by googling. Any help is highly appreciated. ~ regards, Karthik Karuppannan --~--~-~--~~~---~--~~ You received 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 -~--~~~~--~~--~--~---