Re: RPC stubbing
Hi srepmas, Let's say your RPC serivice is calld Connector. Then you have Connector and ConnectorAsync in your client. You can make testclass that implements ConnectorAsync (like ConnectorAsyncStub) and there you can call the onSucces and onFailure on the AsyncCallback object that get's provided to you by the client. Good luck! Alex On Sat, Feb 5, 2011 at 11:04 PM, srepmas rsa...@gmail.com wrote: Hi All, i'm wondering if there is a way of a clean way of stubbing an RPC implementation: Given this setup: 1) A project with GWT production code and a RPC implementation. 2) A Concrete Server Test implementation in a separate project. Is there a way of doing so? How to use this in eclipse? Thx. -- You received 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.
i18nCreator
project i18nCreator -eclipse project com.google.gwt.i18n.client.LocalizableResource will create 3 files LocalizableResource.properties , LocalizableResource-i18n.launch and LocalizableResource-i18n .may i know let say i want to create one interface class that using multiple properties files LocalizableResource_en.properties and LocalizableResource_fr.properties . How to do this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RPC stubbing
See also http://googletesting.blogspot.com/2009/08/tott-testing-gwt-without-gwttest.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellList with ListDataProvider does not get redrawn on data change
OK got it working. It works as documented. I just got error in my TextColumns which silently resulted in no data displayed. Watch for nulls! -- You received 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: Force render of CellBrowser cell(s)
Thanks Y2i but I'm trying your approach but unfortunately it only seems to update the current 'column' in the CellBrowser, i.e. the column of the cell that triggers the valueUpdater.update(). I need to trigger a full tree refresh of the CellBrowser. I want to call render() on all cells in the CellBrowser. This is triggered by an update on a leaf cells. -- You received 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: ActivityManager and TabLayoutPanel
Well, my experience could be useful for you. I've been working in a project with GWT 2.1 MVP, where I need to have a main menu which triggers tabs when user clicks on a option. What I did was develop a simple class that works as an Activity Manager but with concurrent activities, passing the panel of the new tab as an AcceptsOneWidget to activities. It's not dificult to do. And the class is an implementation of Activity too, so I am able to re use it as an simple activity in many other contexts. It will be great if GWT provides us something like that out of the box. Salud! Ezequiel.- -- You received 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 Entity validation.
Hello group. I use GWT RequestFactory and Hibernate validation to make syntactic validation. I have one object who need to be validated, but in different cases I need validation on different fields. Short example: class User { @NotNull private String name; @NotNull private String nickName; } In one case I want to load User by name, and want to perform syntactic validation only by name field. In other case validation need to be performed by nickname. Is there any way to use Validating Groups? any other solution? -- You received 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: History.replaceItem?
That makes a lot of sense -- never thought of the page number not being really relevant in a bookmark. Thanks On Feb 6, 3:16 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: @zixzigma: stateful in the sense that the view (or the presenter if you're using MVP) has a private variable that keeps the last page seen and is only initialized on a new search. As a consequence, it would show the exact same page if you navigate back to it. On Feb 4, 2:08 pm, Jason jason.siem...@namsys.com wrote: Good suggestions, the reason that I've been using the URL to rewrite the list page parameters (rather than having a stateful page) is that I'm using it for both paging and the query parameters. For example, if the user is searching for customers where the name starts with 'ABC' then the URL is rewritten as something like 'list#customerNameStartsWith=ABCpage=2'. This allows the user to easily bookmark a query or page of results. You could still use the stateful view approach with the query string in the URL, letting the user bookmark the query. With that approach, the only thing you can't do is let him bookmark the page number. IMHO bookmarking a page often does not make sense, especially if you have a dynamic database where the search results change through time. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is it possible to convert ImageResource to ImageElement?
I'll admit to knowing nothing about canvas work, but is it possible you have to wait for the image to load using a LoadHandler before you can display it in the Canvas? On Feb 6, 10:46 am, Jambi michael.lukaszc...@googlemail.com wrote: Hej Thomas, it´s the same with your solution. The Image won´t appear on the canvas. Maybe it is a bug since the canvas api is still experimental? Maybe I should try a different approach to implement an image preloader. On Feb 6, 11:50 am, Thomas Broyer t.bro...@gmail.com wrote: Or, without creating an Image widget: AbstractImagePrototype.create(imageResource).createElement() -- You received 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: CellList with ListDataProvider does not get redrawn on data change
I also solved my problem, thanks to the mvp4g group. It was an mvp4g related issue. I was doing something wrong causing to have two different instances of the view. I was updating the CellList on the view that wasn't been showed. On 7 feb, 12:14, Peter Ondruška peter.ondru...@gmail.com wrote: OK got it working. It works as documented. I just got error in my TextColumns which silently resulted in no data displayed. Watch for nulls! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Help: Reusing RPC serialization between GWT and Java Applet
Hi. Im contributing to gwtai which is an Applet-wrapper for GWT. Because of the nature of applets it is only possible to use String as parameters when calling methods on an applet from javascript. Therefore im trying to reuse GWT-RPC's serialization when calling Applet-methods from GWT. It looks like I can use com.google.gwt.user.server.rpc.RPC on the applet-side to decode requests and encode responses. But Im a bit lost on the client side. I think I may be able to hack the RequestBuilder enough to make calls go to the applet instead of a server, but that really would be an ugly hack. Do you have a better solution? - Michael -- You received 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.
Method overloads found in type
Hi, I am trying to use RequestFactory with http://hades.synyx.org for services on server side. All CRUD method are implemented in GenericDao?, ? interface so I don't need to repeat them. Ugly code for service locator: public class RamusServiceLocator implements ServiceLocator { Logger logger = LoggerFactory.getLogger(RamusServiceLocator.class); @SuppressWarnings(unchecked) @Override public Object getInstance(Class? clazz) { if (!org.synyx.hades.dao.GenericDao.class.isAssignableFrom(clazz)) { throw new IllegalArgumentException(); } ClassGenericDao?, ? castClazz = null; try { castClazz = (ClassGenericDao?, ?) Class .forName(clazz.getName()); } catch (ClassNotFoundException e) { logger.error(Could not load service., e); } EntityManager em = EMF.get().createEntityManager(); em.getTransaction().begin(); GenericDaoFactory factory = GenericDaoFactory.create(em); return factory.getDao(castClazz); } } Service: public interface CurrencyDao extends GenericDaoCurrency, Long { } Request: @Service(value = CurrencyDao.class, locator = RamusServiceLocator.class) public interface CurrencyRequest extends RequestContext { RequestLong count(); } This code results in such error: SEVERE: Method overloads found in type server.service.CurrencyDao named count: java.lang.Long count(org.synyx.hades.domain.Specification ) java.lang.Long count() In http://code.google.com/webtoolkit/doc/trunk/DevGuideRequestFactory.html isn't mentioned such restriction. How to overcome this problem? Suggestions on design decisions also are welcome. Ābele -- You received 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.
Developing a large scale GWT app and MVP
Hi, I'm currently developing my second GWT-based site and trying to fit the Activity/Place style of MVP this time around. But at the moment, I'm struggling a bit thinking how can a popup widget be achieve with the said approach. Well, basically, I have this main page which I call Home (with matching HomeView, HomePlace and so on), and then I've got this Login link on which popups (using a PopupPanel) LoginViewImp. At the moment, the most straight forward idea I've got to make this happen is to embed the LoginView interface in HomeView interface (via getLoginView). That said the login panel's view gets setup (with all the click handlers and stuffs) at HomeActivity rather than LoginActivity if I am to carry out the Activity/Place concept all the way through. However, I do not want to end up doing similar thing for every composite/popup that I'm going to include in my Home place as it is going to be a bad looking MVP implementation and kinda defeat the purpose if I'm going to stuck everything in one Activity. So, I'm curious to know whether there's a more proper way or popups are actually an exception to the rule and must be treated as part of the whole activity. Or if there's any large scale example for this large scale solution. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to add scroll bar in flowpanel ?
i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- You received 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 dev. mode Plugin Irresponsive
I downloaded a StockWatcher tutorial and when I debug it iEclipse throws a window named Plug-in Unresponsive. With a text The following plug-in is unresponsive: Unknown Would you likde to stop it?: Options Yes and No Could please someone explaing what da hell is gooing down here. And how to get rid of it it shows up periodicali some every 30 seconds or so. Thanx Sztranyo -- You received 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.
Keyboard event issue with Minefield 4.0b10pre
Hi all, I have started two weeks ago to use GWT 2.1.1 and so have some newbie issues, but i havnt found any answer in FAQs and tutotials so i m there ! Well, actually my web application is pretty simple, it contains only one html5 canvas which contains 3D features thanks to WebGL. I'm trying to get all mouse and keyboard events on this canvas. So for mouse events i simply do : canvas.addMouseWheelHandler(this); canvas.addMouseDownHandler(this); canvas.addMouseUpHandler(this); canvas.addMouseMoveHandler(this); canvas.addMouseOutHandler(this); where this is a class impletenting all mouse handlers. For keyboard events, correct me if i'm wrong, as we cant determine if the canvas has focus, any canvas.addKeyDownHandler(this) wont work. So i try to get the keyboard events on the whole page with RootPanel.get().addDomHandler(this, KeyDownEvent.getType()); RootPanel.get().addDomHandler(this, KeyUpEvent.getType()); And finaly mouse and keyboard events are well received using chrome 9, but keyboard events are not received using minefield 4.0b10pre ( firefox nightly build ). So i guess i m doing anything wrong with keyboard events but i didnt found what =/ Any guess ? :) Thanks for your attention, Regards, Harold -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how to add scroll bar in flowpanel ?
i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- You received 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: Label Click Handler Problem
I've got the same problem in: getFlexCellFormatter().setWidth(0,0,0px); Exception is: Caused by: com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument. number: -2147024809 description: Invalid argument. On Jan 4, 10:17 pm, A. Stevko andy.ste...@gmail.com wrote: That is the nature of writing cross browser web applications. Chrome and Firefox share the WebKit engine. Find the source of that value -2147024809 and you will see how the different JS engines differ. On Mon, Jan 3, 2011 at 9:35 PM, Noor baken...@gmail.com wrote: if the error is in my application, how is it that everything is fine in chrome and firefox -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
gwt-diagrams, can't draw connector properly
Hi, i am using gwt-diagrams to draw connection between two widgets. But the connections are not drawn at proper positions. i have verified the postion of connectors to be correct. but the connections are not being drawn on correct postion what could be the problem? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Compilation exception with bitwise and(?)
Hi, I am having a problem with compiling the following code: public class Utils { private static final char[] HEX_CHARS = 0123456789abcdef.toCharArray(); public static String toHex(byte[] buf) { char[] chars = new char[2 * buf.length]; for (int i = 0; i buf.length; ++i) { chars[2 * i] = HEX_CHARS[(buf[i] 0xF0) 4]; chars[2 * i + 1] = HEX_CHARS[buf[i] 0x0F]; } return new String(chars); } } It results in the following Exception: [java] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. [java] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java: 108) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:287) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:275) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:115) [java] at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java: 80) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:283) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:275) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:115) [java] at com.google.gwt.dev.jjs.ast.JArrayRef.traverse(JArrayRef.java:66) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:283) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:275) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:115) [java] at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java: 82) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:283) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:275) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:115) [java] at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java: 41) [java] at com.google.gwt.dev.jjs.ast.JModVisitor $ListContextImmutable.traverse(JModVisitor.java:171) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java: 350) [java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java: 83) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:283) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:136) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132) [java] at com.google.gwt.dev.jjs.ast.JForStatement.traverse(JForStatement.java: 67) [java] at com.google.gwt.dev.jjs.ast.JModVisitor $ListContextImmutable.traverse(JModVisitor.java:171) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java: 350) [java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java: 83) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:283) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:136) [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:132) [java] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:283) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:275) [java] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:329) [java] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:297) [java] at com.google.gwt.dev.jjs.ast.JModVisitor $ListContextImmutable.traverse(JModVisitor.java:171) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java: 350) [java] at com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:63) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:298) [java] at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1264) [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:383) [java] at
Re: Is it possible to convert ImageResource to ImageElement?
I've been looking into this same problem and what I've found is a couple of issues. First being that you are not loading the image (ie. not pulling the image from the server), only setting the image properties (eg. url, width, height, etc), so in order to do what you want you would have to call the drawImage in a LoadHandler event: final Image image = new Image(mapResources.map()); image.addLoadHandler(new LoadHandler() { @Override public void onLoad(LoadEvent event) { final ImageElement e = ImageElement.as(image.getElement()); contextMap.drawImage(e, x, y); } }); But this now leads to the second problem - what's going to call the load? The only solution I've come up with thus far is subsequently adding a RootPanel.get().add(image) which adds the image to the DOM which in turns loads up the image. From there I simply added an 'image.removeFromParent' line in the onLoad method. final Image image = new Image(mapResources.map()); image.addLoadHandler(new LoadHandler() { @Override public void onLoad(LoadEvent event) { final ImageElement e = ImageElement.as(image.getElement()); contextMap.drawImage(e, x, y); image.removeFromParent(); } }); RootPanel.get().add(image); // triggers the image load But this solution is hardly ideal. I understand that unless the image is part of the DOM, the image isn't technically part of the hosting page, which is why it will not load/show. The idea of an image preloader is probably the way to go, I'm going to look into this myself. There was the ImageLoader helper class from the gwt incubator that I had previously used, but it didn't fit well with the ClientBundle concept, and I don't think it survived the move into the 2.2 branch. On Feb 6, 10:46 am, Jambi michael.lukaszc...@googlemail.com wrote: Hej Thomas, it´s the same with your solution. The Image won´t appear on the canvas. Maybe it is a bug since the canvas api is still experimental? Maybe I should try a different approach to implement an image preloader. On Feb 6, 11:50 am, Thomas Broyer t.bro...@gmail.com wrote: Or, without creating an Image widget: AbstractImagePrototype.create(imageResource).createElement() -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No Source code is available for type client.Utilityt, did you forget to inherit a required module?
Hi, i am new to GWT so need help please. I'm am not able to compile my code due to below error. Here are my project details, I have added a new class Utility.java which is out side of Client package. I have instantiae the Utiltity object inside cliant code and imported the class. So I am not sure how to fix this could you please advise me on this?. How to use my Utility class in side client code? [INFO] [ERROR] Errors in 'file:/C:/projects/client/Utility.java' [INFO] [ERROR] Line 206: No source code is available for type client.Utility; did you forget to inherit a required module? [INFO] org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding [INFO] [ERROR] at PagePanel.java(206): Client cl ient = Utility.getInstance(); [INFO] org.eclipse.jdt.internal.compiler.ast.LocalDeclaration Thank you, Dallas007 -- You received 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 add scroll bar in flowpanel ?
Most mobile web browsers do not support inline scrolling, only page level scrolling. If you really need inline scrolling, you can take a look at the MobileScrollPanel we created for a demo a while back. It scrolls in response to TouchEvents. http://code.google.com/p/google-web-toolkit/source/browse/?#svn%2Ftrunk%2Fsamples%2Fexpenses%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fgwt%2Fmobile%2Fclient Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 12:48 AM, harry hemangsha...@gmail.com wrote: i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- You received 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: Developing a large scale GWT app and MVP
I have an application factory that gets passed into all of my presenters. This factory has methods on it for creating the various kinds of popups that will occur in the application, and covers them all in a nice clean interface. Seems to work quite well. -Ben On Feb 5, 10:57 pm, TigerFox harold.alc...@gmail.com wrote: Hi, I'm currently developing my second GWT-based site and trying to fit the Activity/Place style of MVP this time around. But at the moment, I'm struggling a bit thinking how can a popup widget be achieve with the said approach. Well, basically, I have this main page which I call Home (with matching HomeView, HomePlace and so on), and then I've got this Login link on which popups (using a PopupPanel) LoginViewImp. At the moment, the most straight forward idea I've got to make this happen is to embed the LoginView interface in HomeView interface (via getLoginView). That said the login panel's view gets setup (with all the click handlers and stuffs) at HomeActivity rather than LoginActivity if I am to carry out the Activity/Place concept all the way through. However, I do not want to end up doing similar thing for every composite/popup that I'm going to include in my Home place as it is going to be a bad looking MVP implementation and kinda defeat the purpose if I'm going to stuck everything in one Activity. So, I'm curious to know whether there's a more proper way or popups are actually an exception to the rule and must be treated as part of the whole activity. Or if there's any large scale example for this large scale solution. -- You received 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: No Source code is available for type client.Utilityt, did you forget to inherit a required module?
On 5 February 2011 21:14, Dallas007 nandigam...@gmail.com wrote: Hi, i am new to GWT so need help please. I'm am not able to compile my code due to below error. Here are my project details, I have added a new class Utility.java which is out side of Client package. I have instantiae the Utiltity object inside cliant code and imported the class. So I am not sure how to fix this could you please advise me on this?. How to use my Utility class in side client code? See http://www.gwtapps.com/doc/html/com.google.gwt.doc.DeveloperGuide.Fundamentals.Modules.ModuleXml.html, specifically the source tag. I would suggest you create a separate module for your utility code. The generated JAR should contain: org/example/utils/Code.java org/example/utils/Code.class org/example/Utilities.gwt.xml Where Utilities.gwt.xml has ?xml version=1.0 encoding=UTF-8? !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.0.1//EN http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd; module rename-to=Utilities inherits name=com.google.gwt.core.Core/ source path=utils/ /module Then you can use inherits name=org.example.Utilities/ to use your utility code in other modules. -- You received 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: Considering using Google Accounts for authentication. Good idea?
To tidy up this thread I'd like to report that I have successfully implemented Google Accounts authentication in Love My Vehicle On The Web at http://lovemyvehicle.appspot.com/. I am sorry to say, though, that I had to completely purge the datastore at the same time (the requirements for my previous home grown approach were much different than what was needed by using Google Accounts so it really required new schemas to match the use case) so anyone who had previously registered to to check out the progress I am making on the application's development will have to register again but this time with Google Accounts. I apologize but I think you will agree that using the secure services of Google Accounts going forward greatly outweighs this minor inconvenience. BTW, I implemented Google Accounts without resorting to using JSP and HttpServlet. Instead, I was able to implement the service using RPC and RemoteServiceServlet. If anyone is interested in getting more details on this please let me know and if there are enough requests I will contribute an article covering the subject on my Blog at http://lovemyvehicle.blogspot.com/. Jeff On Tue, Feb 1, 2011 at 9:08 AM, Jeff Schwartz jefftschwa...@gmail.comwrote: Hi all, I hope you don't mind me cross posting this to both the gwt and app engine groups since I'd really like to get the opinions of users on both platforms. I'm in the middle of developing a gwt application on app engine. The application's security requirements are that non members, meaning those that haven't registered, are restricted to viewing only the application's public 'page'. What I developed for authentication is home grown using my own login form, client side cookies and a User entity with password and email address stored in the application's data store. While my home grown implementation works perfectly I am not comfortable with the security implications of cookies and passing raw passwords to the server to authenticate my users. I also can not use SSL at this time as financial constraints unfortunately prohibit any expenditures on this project. As I place my users' privacy and security above all else I am therefore looking to implement a better solution; one that would if possible eliminate my responsibility altogether of having to store cookies and passwords and transport them via HTTP when authenticating. One alternative that I am currently considering is using Google Accounts to authenticate my users along with my own User entity that would store the additional information users must provide when registering to use the services of my application. My User entity (not to be confused with the User object provided by the User API) would store the user's Google Account ID and would provide the ability to determine if a user is registered simply by querying for their Google Accounts ID in my datastore. It would eliminate having to store client side cookies and sending raw passwords to the server. So far it seems like a win-win proposition as it appears to satisfy all my use cases. For those who already use Google Accounts for user authentication are you happy with the service? How about the services' availability track record and does it provide the security you had hoped it would? For those using Google Accounts along with GWT have you found any specific issues related to using it with GWT (I am using RPC BTW) that you can relate? I am looking forward to reading your feedback and responses and thanks in advance. Jeff -- *Jeff Schwartz* -- *Jeff Schwartz* -- You received 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: Developing a large scale GWT app and MVP
Popups are indeed an exception to the rule: they appear above the current screen, i.e. you're still at the same place (and same place means same activity). Activities have all to do with navigation (a high-level API on top of Places) and actually nothing to do with MVP. -- You received 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: Considering using Google Accounts for authentication. Good idea?
Just to drop a question about this topic that was not solved in another post I began... Is there any way to implement custom authentication (i. e. you provide username´s and passwords to users. Not using third party accounts like Google ones) and run this application in GAE? Thank you. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Compilation exception with bitwise and(?)
This issues was worked out in ##gwt - had to do with a class that was not available to the GWT compiler. Still, the error reported is less than helpful. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help: Reusing RPC serialization between GWT and Java Applet
Every Async impl on the client gets a serializer instance to go with it - crack open the generated code to see what it comes up with. It is possible to subclass the ServiceInterfaceProxyGenerator to provide your own custom subclass of ProxyCreator which instead of setting the impl's superclass as RemoteServiceProxy would use some other impl of your devising. If I remember correctly, doInvoke can be overridden to pass off to some other class of your choosing, instead of sending data through the RequestBuilder. This is pretty easy to do, once you see how it all wires together, but it can take some time to learn. Additionally, this is something the GWT app would need to initiate – the RPC stuff doesn't work for the server to call the client. Another option you might look into would be the AutoBeanCodex, used in AutoBean and RequestFactory stuff. -Colin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help: Reusing RPC serialization between GWT and Java Applet
Cool. Before your reply I prototyped a hack on the requestbuilder and it kinda works - but its totally hacked. :) I think Im getting the hang of how it all adds up in GWT-RPC, and your suggestion really makes sense. Im gonna give the extendes ProxyGenerator a try. On 7 Feb., 20:26, Colin Alworth niloc...@gmail.com wrote: Every Async impl on the client gets a serializer instance to go with it - crack open the generated code to see what it comes up with. It is possible to subclass the ServiceInterfaceProxyGenerator to provide your own custom subclass of ProxyCreator which instead of setting the impl's superclass as RemoteServiceProxy would use some other impl of your devising. If I remember correctly, doInvoke can be overridden to pass off to some other class of your choosing, instead of sending data through the RequestBuilder. This is pretty easy to do, once you see how it all wires together, but it can take some time to learn. Additionally, this is something the GWT app would need to initiate – the RPC stuff doesn't work for the server to call the client. Another option you might look into would be the AutoBeanCodex, used in AutoBean and RequestFactory stuff. -Colin -- You received 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.
To Google Team: Re: Celltable rows selection with focus
Hello Team@google, I could not find any solution to implement this feature but i need this anyhow. Can you guys give some solution to this. I am using GWT 2.1.1. Hope the google team finds out some way out. Thanks Deepak On Tue, Feb 1, 2011 at 12:39 AM, Zak zakn...@gmail.com wrote: These docs should help you: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection On Jan 31, 11:42 am, Deepak Singh deepaksingh...@gmail.com wrote: Any suggestion pls... On Sun, Jan 30, 2011 at 4:00 PM, Deepak Singh deepaksingh...@gmail.com wrote: Hi, I am using GWT 2.1.1 and have one celltable working fine. I want to provide better user experience so i need to implement the following feature, I want the rows to be selected with focus and then get the selected object for further action. when the table is created and appeared first time, the focus should automatically go to first row and the row should automatically be selected and as focus moves through rows by using arrow keys, corresponding rows should be selected and i should be able to get the selected object with focus moving on. I tried to add FocusHandler to celltable but could not find any suitable API for this. Suggest some ways to acheive this. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received 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: Considering using Google Accounts for authentication. Good idea?
It's always possible if you do it using servlet filters, similar to Spring Security. What you cannot use (judging from the docs only) is container based security: App Engine does not support custom security roles (security-role) or alternate authentication mechanisms (login-config) in the deployment descriptor. — Source: http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication -- You received 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: To Google Team: Re: Celltable rows selection with focus
I created an issue to track this: http://code.google.com/p/google-web-toolkit/issues/detail?id=5990 Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 4:24 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hello Team@google, I could not find any solution to implement this feature but i need this anyhow. Can you guys give some solution to this. I am using GWT 2.1.1. Hope the google team finds out some way out. Thanks Deepak On Tue, Feb 1, 2011 at 12:39 AM, Zak zakn...@gmail.com wrote: These docs should help you: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection On Jan 31, 11:42 am, Deepak Singh deepaksingh...@gmail.com wrote: Any suggestion pls... On Sun, Jan 30, 2011 at 4:00 PM, Deepak Singh deepaksingh...@gmail.com wrote: Hi, I am using GWT 2.1.1 and have one celltable working fine. I want to provide better user experience so i need to implement the following feature, I want the rows to be selected with focus and then get the selected object for further action. when the table is created and appeared first time, the focus should automatically go to first row and the row should automatically be selected and as focus moves through rows by using arrow keys, corresponding rows should be selected and i should be able to get the selected object with focus moving on. I tried to add FocusHandler to celltable but could not find any suitable API for this. Suggest some ways to acheive this. Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received 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: To Google Team: Re: Celltable rows selection with focus
don't you think this can be achieved by using selectionModel.setSelection and selecting the first item from the current range ? -- You received 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.
Associating editor errors with source widgets
Hello everyone, Is there a recommended way to find and highlight a widget that is a source of an editor errorhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/editor/client/EditorError.html? It is possible to get the absolute pathhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/editor/client/EditorError.html#getAbsolutePath() within the edited object, but what is the recommended way to find a corresponding widget? Thank you 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.
Re: To Google Team: Re: Celltable rows selection with focus
I think deepak wants to set native focus on the table so the user can use keyboard navigation without having to click on a cell first. Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 5:50 PM, zixzigma zixzi...@gmail.com wrote: don't you think this can be achieved by using selectionModel.setSelection and selecting the first item from the current range ? -- You received 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: Force render of CellBrowser cell(s)
What kind of data editing do you perform? If you change the name of a node do you need to redraw its ancestors and descendants? If you delete a node, you probably only need to delete columns on the right without re-drawing columns on the left. But may be I'm just missing something... -- You received 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 Compilation Failed
I know this post is a bit old, but I recently came across the same compilation problem and the problem/soln is I had an annotated class like: @SuppressWarnings({}) public class LeftPanel my fix was to take out the @SuppressWarnings({}) -- You received 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: No Source code is available for type client.Utilityt, did you forget to inherit a required module?
Thank you. I have another requirement.. I have two buttons with same name validate. I need to identify which button is clicked when I user click on any one of validate buttton. I thought i can use button.getText but both buttons has the same name so not sure what to do. Could you please advise me on this? Thanks in advance, On Mon, Feb 7, 2011 at 9:09 AM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote: On 5 February 2011 21:14, Dallas007 nandigam...@gmail.com wrote: Hi, i am new to GWT so need help please. I'm am not able to compile my code due to below error. Here are my project details, I have added a new class Utility.java which is out side of Client package. I have instantiae the Utiltity object inside cliant code and imported the class. So I am not sure how to fix this could you please advise me on this?. How to use my Utility class in side client code? See http://www.gwtapps.com/doc/html/com.google.gwt.doc.DeveloperGuide.Fundamentals.Modules.ModuleXml.html , specifically the source tag. I would suggest you create a separate module for your utility code. The generated JAR should contain: org/example/utils/Code.java org/example/utils/Code.class org/example/Utilities.gwt.xml Where Utilities.gwt.xml has ?xml version=1.0 encoding=UTF-8? !DOCTYPE module PUBLIC -//Google Inc.//DTD Google Web Toolkit 2.0.1//EN http://google-web-toolkit.googlecode.com/svn/tags/2.0.1/distro-source/core/src/gwt-module.dtd module rename-to=Utilities inherits name=com.google.gwt.core.Core/ source path=utils/ /module Then you can use inherits name=org.example.Utilities/ to use your utility code in other modules. -- You received 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: BestPractice : Use of the Editor Framework with MVP (Place, Activity) and RequestFactory
Thomas (and GWT team) If a view is a singleton (as recommended by MVP), are there potential memory leaks with this approach? When a second driver is created and initialized, does the first driver become completely detached from the view/editor? Thanks for the advice. -- You received 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: No Source code is available for type client.Utilityt, did you forget to inherit a required module?
On 7 February 2011 17:41, NAARAYANA REDDY NANDIGAMA nandigam...@gmail.com wrote: I have another requirement.. I have two buttons with same name validate. I need to identify which button is clicked when I user click on any one of validate buttton. I thought i can use button.getText but both buttons has the same name so not sure what to do. Could you please advise me on this? I'm not sure what you mean by the same name. You can't have the same id twice and I don't see why you would want that either. Just do something like g:Button ui:field=validateOneValidate/g:Button g:Button ui:field=validateTwoValidate/g:Button and in Java (if you want to do something with the buttons themselves) @UiField Button validateOne; @UiField Button validateTwo; (if you want to respond to clicks) @UiHandler(validateOne) void onClickValidateOne(ClickEvent event) {...} @UiHandler(validateTwo) void onClickValidateTwo(ClickEvent event) {...} -- You received 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.
Do ValueProxies require EntityLocator ?
Do ValueProxies require EntityLocator ? EntityProxies require EntityLocator, but what about ValueProxies ? Thank You -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Associating editor errors with source widgets
What about getting the editor out of the EditorError by calling EditorError.getEditor()? I know it doesn't get a widget per se, but there seems to be a good reason for that - not all editors are also widgets, so you may need to deal differently with each type of editor's error. My understanding was that it was up to the editor itself to say that it wants to hear about errors by implementing HasEditorErrorsT, and then processing its own (or its children's unconsumed) errors. Of course, you could do this at any level of the editor hierarchy, and then get the editor, and try to do something with that. Hope this helps push you in the right direction, Colin -- You received 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: BestPractice : Use of the Editor Framework with MVP (Place, Activity) and RequestFactory
For my part, I've not been creating a 'createEditorDriver()' method, but instead 'getEditorDriver()'. This way, there is no concern about binding and traversing the tree more than once. Am I in error with this approach? Each time my presenters get a ref to the driver and have finished loading data, they call driver.edit (or .display) which should get rid of the old requestcontext, set up a new editor delegate, etc. The existing eventbus/factory should still be good. The only concerns I had were for events that might have already been wired up, say from something implementing HasEditorDelegate, but it should be the implementing class's responsibility to clear out old registrations... Okay, so when (in either case) should those be cleared out? When setDelegate is called again? But what if it isn't called again – then do those subscribed events just keep going off? Or maybe take them out on .flush(), since you know then that the Editor cycle is finished? -- You received 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.
Announcing GPE/GWT 2.2 RC1
Today we're one step closer to shipping the Google Plugin for Eclipse and GWT SDK 2.2. The first release candidates of both of these products are ready for use, and can be installed and/or download via the links below. Google Plugin for Eclipse 2.2 RC1 (including the GWT SDK) Eclipse 3.6 http://dl.google.com/eclipse/plugin/beta/e36 Eclipse 3.5 http://dl.google.com/eclipse/plugin/beta/e35 Eclipse 3.4 http://dl.google.com/eclipse/plugin/beta/e34 GWT SDK 2.2 RC1 (standalone) http://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.2-RC1.zip This release includes fixes and updates for the following items: - Fixed bad date formats in Swedish and others - Added initial version of HTML5 Audio and Video support - Added JRE 1.5 deprecation warning (see note below) - Fixed bad gwt-servlet dep in samples/expenses/pom.xml, per http://code.google.com/p/google-web-toolkit/issues/detail?id=5918 - Fixed Javadoc: http://code.google.com/p/google-web-toolkit/issues/detail?q=5615 - Fixed DynaTableRf paging infinite loop - Fixed CellBrowser hard to focus in IE - Bumped pom.xml version, and fix NPE in samples/expenses - Improved canvas for browsers (and permutations) with partial canvas support. - Updated DTRF to show the use of ServiceLocators and Locators - Fixed Showcase locales GPE 2.2 RC1 - Fixed Widget is disposed errors that occur when editing Launch Configurations - Fixed NullPointerException that occurs when deleting a launch configuration that has been launched Version 2.2 will only have deprecated support for Java 1.5, resulting in warnings when building applications. While Java 1.5 will still work for at least the next release of GWT, developers should upgrade their version of Java to correct these warnings and ensure compatibility with future versions of GWT. -- Chris, on behalf of the GWT, App Engine, and Google Plugin teams -- You received 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.
Calling Window.getClientHeight() from Iframe returns wrong value
Hey, I'm using GWT to write a simple FB canvas app. I noticed all my centered dialogs are way off in terms of vertical placement. Digging deeper I learned that Window.getClientHeight() returns the iframe height and not the visible area's height and thus the dialogs are not centered properly. Does anyone know how I can overcome this issue and get my dialogs centered properly? Didn't find much about it browsing through the group discussions... Thanks, Oren. -- You received 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+SpringSecurity - handling session-timeout
Hi, we are implementing an application using GWT2.1 + Spring security 3.0. We use a SSO Kerberos authentication, if this fails, user can still log in through a login page. Our basic configuration is something like this: sec:http entry-point-ref=entryPoint sec:session-management invalid-session-url=/login.jsp / sec:intercept-url pattern=/login.jsp* filters=none / sec:intercept-url pattern=/images/* filters=none / sec:intercept-url pattern=/css/* filters=none / sec:intercept-url pattern=/* access=IS_AUTHENTICATED_FULLY / sec:custom-filter ref=spnegoProcessingFilter position=BASIC_AUTH_FILTER / sec:form-login login-page=/login.jsp default-target-url=/ Portal.html always-use-default-target=false authentication-failure- url=/login.jsp?login_error / sec:logout logout-success-url=/login.jsp?logout invalidate- session=true / /sec:http The authentication process works fine. Our problem is, how to deal with the session time-out. SpringSecurity recognizes the the session is invalid and calls in the filter chain a DefaultRedirectStrategy- response.redirect(/login.jsp), how expected. But the redirect gets lost and nothing happens. The user has to restart the browser or recall the login URL by him self. I read somewhere, that redirects are ignored by the GWT client, but I'm not sure with this. Any idea how to handle session-timeouts in GWT or how to make filter redirects work for GWT clients? Thanks for any advice, Andrej -- You received 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 + Google Spreadsheet Visualization API = Messed-up Data (Limit on size of JSON output?)
... and the answer is: When you want to increment the amount of length(ROWS), don't put as the upper limit of length(COLUMNS). It now seems to be grabbing all the data I'm looking for. -- You received 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 + Google Spreadsheet Visualization API = Messed-up Data (Limit on size of JSON output?)
I used to get my JSON data for my Web App using Google/alt-json-in-script, using the native method specified in the original documentation to do so. This worked well... until I wanted to use the new method, JsonpRequestBuilder and the Visualization API instead, for an application where I was making up to twelve different requests from the same spreadsheet - querying the spreadsheet to limit the amount of data returned. I thought: what better than to just grab the data only twice in one gigantic chunk, and then manipulate it in Java GWT where I'm supposed to? (Plus, it would make my code easier to read, debug, and reuse.) The problem is that the Google spreadsheet I'm using is quite large - 27 columns across, and around 1,000 rows. After creating a new JsonpRequestBuilder, using a callback hack, and grabbing the data... it craps out after processing 26 rows successfully. *java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method '@collegesportssource.client.SchedSpreadsheetResponseJso$JsonSchedEntry::getTixlink()': JS value of type int, expected java.lang.Object* In the spreadsheet, getTixLink is a valid value, not an integer like it says here. I made sure of this by adding a row in the spreadsheet before the error. Sure enough, after 26 rows, same place, one row up, it gets the same error. Looking at the URL from the Visualization API, it brings back all the data successfully. So it's not a problem with the API, it's a problem within GWT. So, my questions are: * Is there a limit to the amount of JSON data transported by a singular JavaScriptObject via the JsonpRequestBuilder? * Is there a way I can increase the size of this limit? (Is it worth it?) * If I can't, what sort of workaround can I use? If I have to I could go back to my old, hard-to-debug-but-works version of native Javascript calls, but I would prefer not to. Background: SchedSpreadsheetResponseJso is an overlay type that contains my Spreadsheet record. private void loadSchedule() { requestJsonSchedData(new AsyncCallbackSchedSpreadsheetResponseJso() { @Override public void onFailure(Throwable caught) { Window.alert(Failure: + caught.getMessage()); } @Override public void onSuccess(SchedSpreadsheetResponseJso result) { for( int count = 0; count result.getColumns().length(); count++) { JsonSchedEntry jsonSchedEntry = result.getRows().get(count); addToSchedArray(field1, field2, field3.. field27); } } }); } private static void requestJsonSchedData(AsyncCallbackSchedSpreadsheetResponseJso callback) { JsonpRequestBuilder jsonp = new JsonpRequestBuilder(); jsonp.setTimeout(1000); jsonp.requestObject(TEAM_SCHED, callback); registerGoogleVisualizationAPICallbackMethod(); } private static native void registerGoogleVisualizationAPICallbackMethod() /*-{ $wnd.google = new Object(); var google = $wnd.google; google.visualization = new Object(); var query = google.visualization.Query = new Object(); var counter = $wnd['__gwt_jsonp__']['__gwt_jsonp_counter__']-1; query.setResponse = function(param) { $wnd['__gwt_jsonp__']['I'+counter].onSuccess(param); }; }-*/; -- You received 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.
setting debugId on nested menu item (UI Binder)
Is there a way to set a debugId (for selenium testing) on a nested menu item in UI binder? I have a setup similar to a typical menubar such as: g:MenuBar ui:field=topMenu g:MenuItem ui:field=file bFile/b g:MenuBar g:MenuItem ui:field=saveSave/g:MenuItem g:MenuItem ui:field=printPrint/g:MenuItem ...(closing tags for everything) If I set a debugId on all menuItems, only the top level menu item is visible, and the rest are just indexed items (i.e. gwt-debug-file for the top level, and gwt-debug-file-item0 is save, gwt-debug-file-item1 is print, etc.). There is a way to set this up in the Java code using a base id: ensureDebugId(file, file); ensureDebugId(save, file, save) (file is the baseId argument) this produces debugId's: gwt-debug-file, and gwt-debug-file-save. Cant this baseId be set from UI binder? -- You received 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: Associating editor errors with source widgets
Thanks Colin, HasEditorErrorsT makes sense. Just to recap this approach: Every editor knows the primitive fields it's editing. If the editor implements HadEditorErrors.showErrors(), it can simply compare primitiveField.asEditor() with error.getEditor() and highlight the erroneous primitiveField. As an alternative, a wrapper around a primitive field, like ValueBoxEditorDecoratorT, can deal with the highlighting. Thanks again! -- You received 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 add scroll bar in flowpanel ?
hey thanks but i can't find anything from this will u please elaborate? i used scrollpanel in gwt it work nicely in desktop browser but it doesn't even apear in mobile browser. it display some of the content only but not appear scrollbar.. pls if u know than help On Feb 7, 9:40 pm, John LaBanca jlaba...@google.com wrote: Most mobile web browsers do not support inline scrolling, only page level scrolling. If you really need inline scrolling, you can take a look at the MobileScrollPanel we created for a demo a while back. It scrolls in response to TouchEvents.http://code.google.com/p/google-web-toolkit/source/browse/?#svn%2Ftru... Thanks, John LaBanca jlaba...@google.com On Mon, Feb 7, 2011 at 12:48 AM, harry hemangsha...@gmail.com wrote: i am developing an mobile application and i have a problem that i can not add scrollbar in it. i want to add scroll bar in my flow panel and i also want to fix my flowpanel's size fit to screen size. if anyone knows the solution pls tell me thanks in adv -- You received 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.
Implementing Contacts List with 'mark as favorite' checkbox
Hello, I am working on a contacts list application for which I am using CellList with a custom ContactCell. I need to have a checkbox against each contact in the list to tell if the contact is the favorite one. Now, I want to capture 2 types of events on the contact cell: 1. clicking on the checkbox must toggle the contact's favorite status 2. clicking elsewhere on the contact cell must select the contact I have not been able to differentiate these 2 events. If I add a SelectionModel to the CellList, it fires even if I am clicking on the checkbox. Any suggestions please.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Are user defined Serilizable objects supported as Request parameters?
Hi Thomas, Do you know if there is an update on this? I saw on another post https://jira.springsource.org/browse/ROO-936 that you were exchanging notes with Ray Ryan on this. You have mentioned a wrapper. Can you sketch a rough outline for the wrapper? Do you serialize to whole thing to a string and rebuild it back? Thanks in advance for all your help -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Announcing GPE/GWT 2.2 RC1
What features in Java 6 would be so fundamental to GWT that 1.5 becomes deprecated ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Introduces SkipInterfaceValidation annotation. (issue1338807)
http://code.google.com/p/google-web-toolkit/issues/detail?id=5988 Since you have a set of clearly-articulated reasons, I think this is a good idea. http://gwt-code-reviews.appspot.com/1338807/diff/1/4 File user/src/com/google/gwt/requestfactory/shared/SkipInterfaceValidation.java (right): http://gwt-code-reviews.appspot.com/1338807/diff/1/4#newcode33 user/src/com/google/gwt/requestfactory/shared/SkipInterfaceValidation.java:33: * When applied to an interface, the validator doesn't mandate the presence of a Is the interface-skipping implemented? http://gwt-code-reviews.appspot.com/1338807/diff/1/5 File user/test/com/google/gwt/requestfactory/server/RequestFactoryInterfaceValidatorTest.java (left): http://gwt-code-reviews.appspot.com/1338807/diff/1/5#oldcode98 user/test/com/google/gwt/requestfactory/server/RequestFactoryInterfaceValidatorTest.java:98: interface DomainProxy extends EntityProxy { These are supposed to be EntityProxy. This test class was rushed and doesn't actually check for particular error messages. This type is used by testMissingIdAndVersion(), which is now not failing for the wrong reason. http://gwt-code-reviews.appspot.com/1338807/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Handle Validation of Cascaded Generic properties. (issue1343801)
LGTM, with nits http://gwt-code-reviews.appspot.com/1343801/diff/1/8 File user/src/com/google/gwt/validation/rebind/Util.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/8#newcode93 user/src/com/google/gwt/validation/rebind/Util.java:93: * @return Remove empty tags http://gwt-code-reviews.appspot.com/1343801/diff/1/12 File user/test/org/hibernate/jsr303/tck/tests/constraints/constraintcomposition/ConstraintCompositionGwtTest.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/12#newcode46 user/test/org/hibernate/jsr303/tck/tests/constraints/constraintcomposition/ConstraintCompositionGwtTest.java:46: fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See Issie 5882.); Issie - Issue http://gwt-code-reviews.appspot.com/1343801/diff/1/12#newcode52 user/test/org/hibernate/jsr303/tck/tests/constraints/constraintcomposition/ConstraintCompositionGwtTest.java:52: fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See Issie 5882.); Idem http://gwt-code-reviews.appspot.com/1343801/diff/1/13 File user/test/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorGwtTest.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/13#newcode36 user/test/org/hibernate/jsr303/tck/tests/constraints/customconstraint/CustomConstraintValidatorGwtTest.java:36: fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See Issie 5882.); Idem http://gwt-code-reviews.appspot.com/1343801/diff/1/14 File user/test/org/hibernate/jsr303/tck/tests/constraints/validatorresolution/ValidatorResolutionGwtTest.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/14#newcode40 user/test/org/hibernate/jsr303/tck/tests/constraints/validatorresolution/ValidatorResolutionGwtTest.java:40: fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See Issie 5882.); Idem http://gwt-code-reviews.appspot.com/1343801/diff/1/17 File user/test/org/hibernate/jsr303/tck/tests/validation/ValidatePropertyGwtTest.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/17#newcode52 user/test/org/hibernate/jsr303/tck/tests/validation/ValidatePropertyGwtTest.java:52: fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See Issie 5882.); Idem http://gwt-code-reviews.appspot.com/1343801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Generator Result Caching implementation for ClientBundle (issue1236801)
http://gwt-code-reviews.appspot.com/1236801/diff/110014/111010 File user/src/com/google/gwt/resources/ext/ClientBundleRequirements.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111010#newcode66 user/src/com/google/gwt/resources/ext/ClientBundleRequirements.java:66: * resolvedResourceUrl has changed. This last sentence isn't clear. Is the point of the extra resourceName parameter to handle the automatically-generated resource types from UiBinder? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111010#newcode72 user/src/com/google/gwt/resources/ext/ClientBundleRequirements.java:72: * @param resolvedResourceUrl Parameter descriptions. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111011 File user/src/com/google/gwt/resources/ext/ResourceContext.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111011#newcode158 user/src/com/google/gwt/resources/ext/ResourceContext.java:158: URL[] getResourcesForMethod(JMethod method); This is no longer used in this patch. Any reason to keep it, since RGU.findResources() can handle caching of JMethod-URL resolution? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014 File user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode201 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:201: private final SetString axes; Sort fields alphabetically unless there's a reason to do otherwise. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode211 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:211: this.axesLocked = false; Unnecessary. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode231 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:231: if (!canBeCacheable) { With the if call before getConfigurationPropertyName(), this method will have different error behavior if caching is or is not enabled. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode306 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:306: if (!(type instanceof JRealClassType)) { Reverse the then-else clauses to avoid a negative test. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode318 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:318: // no further permutation axes can be added after this is called Make javadoc. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode649 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:649: } catch (RuntimeException ruEx) { Why? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode668 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:668: /*checkDependentResource Old comment? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111015 File user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111015#newcode57 user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java:57: private MapJMethod, URL[] foundResourceMap = new HashMapJMethod, URL[](); Still needed? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111015#newcode58 user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java:58: private ClientBundleRequirements requirements = null; Sort. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111017 File user/src/com/google/gwt/resources/rg/BundleResourceGenerator.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111017#newcode41 user/src/com/google/gwt/resources/rg/BundleResourceGenerator.java:41: + method.getReturnType().getQualifiedSourceName() + .class); Does this need to add a requirement on the sub-bundle type, or is that an implicit dependency of the top-level bundle? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111018 File user/src/com/google/gwt/resources/rg/CssResourceGenerator.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111018#newcode134 user/src/com/google/gwt/resources/rg/CssResourceGenerator.java:134: private static final String KEY_OBFUSCATION_PREFIX = CssResource.obfuscationPrefix; Sort. http://gwt-code-reviews.appspot.com/1236801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] RequestFactory - EntityProxy AutoBean Category
Hi, Does RequestFactory EntityProxy supports AutoBean Category (http:// code.google.com/p/google-web-toolkit/wiki/AutoBean#Categories) ? i. e. Can I define a Category for an EnitityProxy? If yes, how can I do that? It would be nice to define a category direct as an annotated Entity method... If the method requires only getters/setters and other category methods. I know its not easy to restrict. Is it hard to allow Proxy as an abstract class? Thanks! Krishna Caldas -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] RequestFactory - EntityProxy AutoBean Category
You can't do these things yet, but we've been discussing them. On Thu, Feb 3, 2011 at 5:08 AM, Krishna krishnacal...@gmail.com wrote: Hi, Does RequestFactory EntityProxy supports AutoBean Category (http:// code.google.com/p/google-web-toolkit/wiki/AutoBean#Categories) ? i. e. Can I define a Category for an EnitityProxy? If yes, how can I do that? It would be nice to define a category direct as an annotated Entity method... If the method requires only getters/setters and other category methods. I know its not easy to restrict. Is it hard to allow Proxy as an abstract class? Thanks! Krishna Caldas -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Introduces SkipInterfaceValidation annotation. (issue1338807)
I think I'll revert the changes to the existing tests (keeping only the changes introducing the new ones exercizing SkipInterfaceValidation), and make a second patch about fixing them. http://gwt-code-reviews.appspot.com/1338807/diff/1/4 File user/src/com/google/gwt/requestfactory/shared/SkipInterfaceValidation.java (right): http://gwt-code-reviews.appspot.com/1338807/diff/1/4#newcode33 user/src/com/google/gwt/requestfactory/shared/SkipInterfaceValidation.java:33: * When applied to an interface, the validator doesn't mandate the presence of a On 2011/02/07 14:42:55, bobv wrote: Is the interface-skipping implemented? Er, oops! I initially implemented it before deciding that it probably wasn't a good idea (as I said before: it's a very advanced feature, so you have to pay a bit for using it). I then removed the ElementType.TYPE from the @Target but forgot to update the javadoc. http://gwt-code-reviews.appspot.com/1338807/diff/1/5 File user/test/com/google/gwt/requestfactory/server/RequestFactoryInterfaceValidatorTest.java (left): http://gwt-code-reviews.appspot.com/1338807/diff/1/5#oldcode98 user/test/com/google/gwt/requestfactory/server/RequestFactoryInterfaceValidatorTest.java:98: interface DomainProxy extends EntityProxy { On 2011/02/07 14:42:55, bobv wrote: These are supposed to be EntityProxy. This test class was rushed and doesn't actually check for particular error messages. This type is used by testMissingIdAndVersion(), which is now not failing for the wrong reason. Or actually, it is *passing* for the wrong reason (not an EntityProxy instead of missing Id and Version). But testDateSubclass, for instance, could pass for the wrong reason if you make DomainWithSqlDateProxy an EntityProxy (missing id and version in addition to the expected not a transferable type) (but in the current state of the patch, it's still passing for the wrong reason: not an EntityProxy). I think the proper fix is to add a new EntityProxy for testMissingIdAndVersion; or to check that the errors.logs.contains() the expected error (like the testBadLocatorName and testBadServiceName tests). Note that testUnexpectedIdAndVersion is probably passing for wrong reasons: it's missing a findUnexpectedIdAndVersionDomain method, which I don't think was what the method tried to test. I manually checked every assertTrue(v.isPoisoned()) to make sure the errors matched the test name, and it's the only one I found (DomainWithOverloads is also missing the findDomainWithOverloads static method, but once fixed or changed to a ValueProxy, the test passes for the good reason; testUnexpectedIdAndVersion on the other hand fails once you fix the missing finder method) Also note that RFIV.getEntityProxyTypeName works equally well for ValueProxy, so maybe it should be renamed? http://gwt-code-reviews.appspot.com/1338807/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Handle Validation of Cascaded Generic properties. (issue1343801)
http://gwt-code-reviews.appspot.com/1343801/diff/1/8 File user/src/com/google/gwt/validation/rebind/Util.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/8#newcode93 user/src/com/google/gwt/validation/rebind/Util.java:93: * @return On 2011/02/07 15:33:16, rchandia wrote: Remove empty tags Done. http://gwt-code-reviews.appspot.com/1343801/diff/1/12 File user/test/org/hibernate/jsr303/tck/tests/constraints/constraintcomposition/ConstraintCompositionGwtTest.java (right): http://gwt-code-reviews.appspot.com/1343801/diff/1/12#newcode46 user/test/org/hibernate/jsr303/tck/tests/constraints/constraintcomposition/ConstraintCompositionGwtTest.java:46: fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See Issie 5882.); On 2011/02/07 15:33:16, rchandia wrote: Issie - Issue Done. and the rest also. http://gwt-code-reviews.appspot.com/1343801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Modifies CompiledClass to be serializable (issue1329802)
http://gwt-code-reviews.appspot.com/1329802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Modifies CompiledClass to be serializable (issue1329802)
updated patch http://gwt-code-reviews.appspot.com/1329802/diff/1/2 File dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1/2#newcode1 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:1: package com.google.gwt.dev.javac; On 2011/02/05 00:09:44, scottb wrote: Need header comment. Oops, this file snuck in by mistake. http://gwt-code-reviews.appspot.com/1329802/diff/1/3 File dev/core/src/com/google/gwt/dev/javac/CompiledClass.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1/3#newcode64 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:64: private final String binaryName; On 2011/02/05 00:09:44, scottb wrote: Please don't change this terminology. Binary name generally means something like com.google.Foo$Impl whereas internal name means com/google/Foo$Impl. Done. http://gwt-code-reviews.appspot.com/1329802/diff/1/3#newcode76 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:76: */ On 2011/02/05 00:09:44, scottb wrote: nameEnvironmentAnswer is just a cached thing that can be recreated, but I do wonder how the unit gets setup. Yes, I was thinking that initUnit would need to be called to re-initialize the unit variable. I was considering CompiledClass in a vacuum. Removed transient to just let Java do its thing. http://gwt-code-reviews.appspot.com/1329802/diff/1/3#newcode102 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:102: CompiledClass(ClassFile classFile, CompiledClass enclosingClass) { I moved this constructor logic all into JdtCompiler. http://gwt-code-reviews.appspot.com/1329802/diff/1/3#newcode177 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:177: int length = inputStream.readInt(); On 2011/02/05 00:09:44, scottb wrote: Just use token = diskCache.transferFromStream(stream); (See SyntheticArtifact.readObject). Done. http://gwt-code-reviews.appspot.com/1329802/diff/1/3#newcode185 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:185: byte[] byteCode = diskCache.readByteArray(cacheToken); On 2011/02/05 00:09:44, scottb wrote: Just use diskCache.transferToStream(token, stream); (See SyntheticArtifact.writeObject). Done. http://gwt-code-reviews.appspot.com/1329802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Removes @Override annotation from implemented interface methods. (issue1343802)
Reviewers: jbrosenberg, Description: Removes @Override annotation from implemented interface methods. Please review this at http://gwt-code-reviews.appspot.com/1343802/show Affected files: M dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java M dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java M user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java M user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java M user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java Index: dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java === --- dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java (revision 9677) +++ dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java (working copy) @@ -88,7 +88,6 @@ return false; } - @Override public boolean isProdMode() { throw new UnsupportedOperationException( isProdMode is only available from GeneratorContextExt.); Index: dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java === --- dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java (revision 9677) +++ dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java (working copy) @@ -567,7 +567,6 @@ return generatorResultCachingEnabled; } - @Override public boolean isProdMode() { return isProdMode; } Index: user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java === --- user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java (revision 9677) +++ user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java (working copy) @@ -132,7 +132,6 @@ visitor.endVisit(this); } - @Override public void traverseSyntheticCompositeEditor(EditorVisitor visitor) { if (asCompositeEditor() == null) { throw new IllegalStateException(); Index: user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java === --- user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java (revision 9677) +++ user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java (working copy) @@ -126,7 +126,6 @@ /** * No-op. */ - @Override public void traverseSyntheticCompositeEditor(EditorVisitor visitor) { } } Index: user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java === --- user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java (revision 9677) +++ user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java (working copy) @@ -56,7 +56,6 @@ protected final SimpleEditorString userName = SimpleEditor.of(); RequestContext ctx; -@Override public void setRequestContext(RequestContext ctx) { this.ctx = ctx; } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Modifies CompiledClass to be serializable (issue1329802)
LGTM http://gwt-code-reviews.appspot.com/1329802/diff/1004/6 File dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1004/6#newcode267 dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java:267: String internalName = CharOperation.charToString(binding.constantPoolName()); Funny, but I was playing with this exact code for a different reason, and ClassFile.fileName()) actually gives the right answer, too. http://gwt-code-reviews.appspot.com/1329802/diff/1004/7 File dev/core/test/com/google/gwt/dev/javac/CompiledClassTest.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1004/7#newcode33 dev/core/test/com/google/gwt/dev/javac/CompiledClassTest.java:33: File f = File.createTempFile(tCCS, .object); Delete on exit? Actually, the test is probably cleaner if you just write/read with BAOS/BAIS and don't hit the disk at all, it's just an unnecessary failure point. http://gwt-code-reviews.appspot.com/1329802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Update getGeckoVersion() to support beta versions of Firefox. (issue1343803)
Reviewers: jlabanca, Description: Update getGeckoVersion() to support beta versions of Firefox. Previously, gecko versions of the form 2.0b10 would cause the regex to get mad because it is missing a second period. This change updates the gecko version detector to support gecko versions such as 1.2.3, 1.2, and 2.0b10. Please review this at http://gwt-code-reviews.appspot.com/1343803/show Affected files: M user/src/com/google/gwt/dom/client/DOMImplMozilla.java Index: user/src/com/google/gwt/dom/client/DOMImplMozilla.java === --- user/src/com/google/gwt/dom/client/DOMImplMozilla.java (revision 9677) +++ user/src/com/google/gwt/dom/client/DOMImplMozilla.java (working copy) @@ -19,12 +19,12 @@ * Mozilla implementation of StandardBrowser. */ class DOMImplMozilla extends DOMImplStandard { - + private static native int getGeckoVersion() /*-{ -var result = /rv:([0-9]+)\.([0-9]+)\.([0-9]+)?/.exec(navigator.userAgent.toLowerCase()); +var result = /rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase()); if (result result.length = 3) { - var version = (parseInt(result[1]) * 100) + (parseInt(result[2]) * 1000) + -parseInt(result.length == 4 ? result[3] : 0); + var version = (parseInt(result[1]) * 100) + (parseInt(result[2]) * 1000) + +parseInt(result.length = 5 !isNaN(result[4]) ? result[4] : 0); return version; } return -1; // not gecko @@ -40,7 +40,7 @@ int geckoVersion = getGeckoVersion(); return (geckoVersion != -1) (geckoVersion = 1009000); } - + /** * Return true if using Gecko 1.9.1 (Firefox 3.5) or earlier. * -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Removes @Override annotation from implemented interface methods. (issue1343802)
LGTM http://gwt-code-reviews.appspot.com/1343802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Modifies CompiledClass to be serializable (issue1329802)
http://gwt-code-reviews.appspot.com/1329802/diff/1004/5 File dev/core/src/com/google/gwt/dev/javac/CompiledClass.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1004/5#newcode47 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:47: private transient long cacheToken; I'm just going to echo our face to face discussion which is that disk caching this stuff seems strange. It's not particularly large and we know we access it several times. Throwing in intervening disk accesses can't help. Can we see if just keeping the bytes in memory improves things? http://gwt-code-reviews.appspot.com/1329802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Generator Result Caching implementation for ClientBundle (issue1236801)
http://gwt-code-reviews.appspot.com/1236801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Modifies CompiledClass to be serializable (issue1329802)
(as submitted) http://gwt-code-reviews.appspot.com/1329802/diff/1004/6 File dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1004/6#newcode267 dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java:267: String internalName = CharOperation.charToString(binding.constantPoolName()); On 2011/02/07 18:19:30, scottb wrote: Funny, but I was playing with this exact code for a different reason, and ClassFile.fileName()) actually gives the right answer, too. Done. http://gwt-code-reviews.appspot.com/1329802/diff/1004/7 File dev/core/test/com/google/gwt/dev/javac/CompiledClassTest.java (right): http://gwt-code-reviews.appspot.com/1329802/diff/1004/7#newcode33 dev/core/test/com/google/gwt/dev/javac/CompiledClassTest.java:33: File f = File.createTempFile(tCCS, .object); On 2011/02/07 18:19:30, scottb wrote: Delete on exit? Actually, the test is probably cleaner if you just write/read with BAOS/BAIS and don't hit the disk at all, it's just an unnecessary failure point. Done. http://gwt-code-reviews.appspot.com/1329802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Generator Result Caching implementation for ClientBundle (issue1236801)
http://gwt-code-reviews.appspot.com/1236801/diff/110014/111010 File user/src/com/google/gwt/resources/ext/ClientBundleRequirements.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111010#newcode66 user/src/com/google/gwt/resources/ext/ClientBundleRequirements.java:66: * resolvedResourceUrl has changed. On 2011/02/07 15:55:23, bobv wrote: This last sentence isn't clear. Is the point of the extra resourceName parameter to handle the automatically-generated resource types from UiBinder? Done. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111010#newcode72 user/src/com/google/gwt/resources/ext/ClientBundleRequirements.java:72: * @param resolvedResourceUrl On 2011/02/07 15:55:23, bobv wrote: Parameter descriptions. Done. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111011 File user/src/com/google/gwt/resources/ext/ResourceContext.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111011#newcode158 user/src/com/google/gwt/resources/ext/ResourceContext.java:158: URL[] getResourcesForMethod(JMethod method); removed http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014 File user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode201 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:201: private final SetString axes; On 2011/02/07 15:55:23, bobv wrote: Sort fields alphabetically unless there's a reason to do otherwise. Done. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode211 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:211: this.axesLocked = false; On 2011/02/07 15:55:23, bobv wrote: Unnecessary. Done. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode231 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:231: if (!canBeCacheable) { We don't want to change the behavior, or incur unnecessary overhead, if caching is not enabled or available. One would expect different exception behavior when different code paths are taken, no? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode306 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:306: if (!(type instanceof JRealClassType)) { On 2011/02/07 15:55:23, bobv wrote: Reverse the then-else clauses to avoid a negative test. Done. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode318 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:318: // no further permutation axes can be added after this is called I made it a comment above the method http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode649 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:649: } catch (RuntimeException ruEx) { Added explanation http://gwt-code-reviews.appspot.com/1236801/diff/110014/111014#newcode668 user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java:668: /*checkDependentResource Removed http://gwt-code-reviews.appspot.com/1236801/diff/110014/111015 File user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111015#newcode57 user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java:57: private MapJMethod, URL[] foundResourceMap = new HashMapJMethod, URL[](); Removed http://gwt-code-reviews.appspot.com/1236801/diff/110014/111015#newcode58 user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java:58: private ClientBundleRequirements requirements = null; On 2011/02/07 15:55:23, bobv wrote: Sort. Done. http://gwt-code-reviews.appspot.com/1236801/diff/110014/111017 File user/src/com/google/gwt/resources/rg/BundleResourceGenerator.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111017#newcode41 user/src/com/google/gwt/resources/rg/BundleResourceGenerator.java:41: + method.getReturnType().getQualifiedSourceName() + .class); I'm not sure I understand completely. The top-level bundle type (and it's type hierarchy) will be added as a dependency. Sub-bundle types (which will get separately generated via the subsequent GWT.create call), will get addressed at the time that their generators run. Is there something else I'm not thinking of here? http://gwt-code-reviews.appspot.com/1236801/diff/110014/111018 File user/src/com/google/gwt/resources/rg/CssResourceGenerator.java (right): http://gwt-code-reviews.appspot.com/1236801/diff/110014/111018#newcode134 user/src/com/google/gwt/resources/rg/CssResourceGenerator.java:134: private static final String KEY_OBFUSCATION_PREFIX = CssResource.obfuscationPrefix; On 2011/02/07 15:55:23, bobv wrote: Sort. Done. http://gwt-code-reviews.appspot.com/1236801/show --
[gwt-contrib] Added validation jars to all calls to GWTC to provide classes rquired by (issue1342803)
Reviewers: rjrjr, Nick Chalko, drfibonacci, Description: Added validation jars to all calls to GWTC to provide classes rquired by client-side validation. Fixes Issue 5950. Please review this at http://gwt-code-reviews.appspot.com/1342803/show Affected files: M distro-source/build.xml M samples/common.ant.xml M tools/benchmark-viewer/build.xml M user/src/com/google/gwt/user/tools/.classpathsrc M user/src/com/google/gwt/user/tools/WebAppCreator.java M user/src/com/google/gwt/user/tools/project.ant.xmlsrc Index: distro-source/build.xml === --- distro-source/build.xml (revision 9650) +++ distro-source/build.xml (working copy) @@ -29,6 +29,10 @@ !-- jni libs-- zipfileset dir=${gwt.build.jni}/windows prefix=${project.distname} / + + !-- external libs -- + zipfileset file=${gwt.tools}/lib/javax/validation/validation-api-1.0.0.GA.jar prefix=${project.distname} / + zipfileset file=${gwt.tools}/lib/javax/validation/validation-api-1.0.0.GA-sources.jar prefix=${project.distname} / !-- raw files -- zipfileset dir=${dist.resources} prefix=${project.distname} / Index: samples/common.ant.xml === --- samples/common.ant.xml (revision 9650) +++ samples/common.ant.xml (working copy) @@ -103,6 +103,8 @@ pathelement location=${sample.build}/war/WEB-INF/classes / pathelement location=${gwt.user.jar} / pathelement location=${gwt.dev.jar} / + pathelement location=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA.jar / + pathelement location=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA-sources.jar / /classpath jvmarg value=-Xmx256M / arg value=-localWorkers / Index: tools/benchmark-viewer/build.xml === --- tools/benchmark-viewer/build.xml(revision 9650) +++ tools/benchmark-viewer/build.xml(working copy) @@ -60,6 +60,8 @@ classpath pathelement location=src/ path refid=project.class.path/ +pathelement location=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA.jar/ +pathelement location=${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA-sources.jar/ /classpath jvmarg value=-Xmx256M/ arg value=-war/ Index: user/src/com/google/gwt/user/tools/.classpathsrc === --- user/src/com/google/gwt/user/tools/.classpathsrc(revision 9650) +++ user/src/com/google/gwt/user/tools/.classpathsrc(working copy) @@ -3,6 +3,8 @@ classpathentry kind=src path=@srcFolder/@eclipseTestDir classpathentry kind=lib path=@gwtUserPath/ classpathentry kind=lib path=@gwtDevPath/ + classpathentry kind=lib path=@gwtValidationPath/ + classpathentry kind=lib path=@gwtValidationSourcesPath/ classpathentry kind=con path=org.eclipse.jdt.launching.JRE_CONTAINER/ classpathentry kind=con path=org.eclipse.jdt.junit.JUNIT_CONTAINER/3/ classpathentry kind=output path=@warFolder/WEB-INF/classes/ Index: user/src/com/google/gwt/user/tools/WebAppCreator.java === --- user/src/com/google/gwt/user/tools/WebAppCreator.java (revision 9650) +++ user/src/com/google/gwt/user/tools/WebAppCreator.java (working copy) @@ -308,6 +308,8 @@ // GWT libraries String gwtUserPath = installPath + '/' + gwt-user.jar; String gwtDevPath = installPath + '/' + gwt-dev.jar; +String gwtValidationPath = installPath + '/' + validation-api-1.0.0.GA.jar; +String gwtValidationSourcesPath = installPath + '/' + validation-api-1.0.0.GA-sources.jar; // Public builds generate a DTD reference. String gwtModuleDtd = ; @@ -358,6 +360,8 @@ replacements.put(@gwtSdk, installPath); replacements.put(@gwtUserPath, gwtUserPath); replacements.put(@gwtDevPath, gwtDevPath); +replacements.put(@gwtValidationPath, gwtValidationPath); +replacements.put(@gwtValidationSourcesPath, gwtValidationSourcesPath); replacements.put(@gwtVersion, About.getGwtVersionNum()); replacements.put(@gwtModuleDtd, gwtModuleDtd); replacements.put(@shellClass, DevMode.class.getName()); Index: user/src/com/google/gwt/user/tools/project.ant.xmlsrc === --- user/src/com/google/gwt/user/tools/project.ant.xmlsrc (revision 9650) +++ user/src/com/google/gwt/user/tools/project.ant.xmlsrc (working copy) @@ -39,6 +39,8 @@ classpath pathelement location=@srcFolder/ path refid=project.class.path/ +pathelement location=@gwtValidationPath / +pathelement
[gwt-contrib] Re: Make SOYC produce consistent output (issue1338805)
LGTM, just change Range - JsName in the javadoc. http://gwt-code-reviews.appspot.com/1338805/diff/1/2 File dev/core/src/com/google/gwt/core/ext/soyc/impl/SizeMapRecorder.java (right): http://gwt-code-reviews.appspot.com/1338805/diff/1/2#newcode45 dev/core/src/com/google/gwt/core/ext/soyc/impl/SizeMapRecorder.java:45: * Sorts Ranges so that a Range will be preceeded by any Ranges that enclose Update JavaDoc. http://gwt-code-reviews.appspot.com/1338805/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Turn off a test because of issue 5882. (issue1344801)
Reviewers: rchandia, Description: Turn off a test because of issue 5882. Please review this at http://gwt-code-reviews.appspot.com/1344801/show Affected files: M user/test/org/hibernate/jsr303/tck/tests/validation/ValidateGwtTest.java Index: user/test/org/hibernate/jsr303/tck/tests/validation/ValidateGwtTest.java === --- user/test/org/hibernate/jsr303/tck/tests/validation/ValidateGwtTest.java (revision 9678) +++ user/test/org/hibernate/jsr303/tck/tests/validation/ValidateGwtTest.java (working copy) @@ -30,8 +30,10 @@ delegate.testConstraintDescriptorWithoutExplicitGroup(); } + @Failing(issue = 5882) public void testConstraintViolation() { delegate.testConstraintViolation(); +fail(This test only fails on IE. Forcing it to fail here to keep the counts even. See issue 5882.); } @Failing(issue = 5982) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Turn off a test because of issue 5882. (issue1344801)
On 2011/02/07 21:04:43, rchandia wrote: LGTM On 2011/02/07 21:03:48, Nick Chalko wrote: LGTM http://gwt-code-reviews.appspot.com/1344801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Turn off a test because of issue 5882. (issue1344801)
LGTM On 2011/02/07 21:03:48, Nick Chalko wrote: http://gwt-code-reviews.appspot.com/1344801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9679 committed - Removes @Override annotation from implemented interface methods....
Revision: 9679 Author: zun...@google.com Date: Mon Feb 7 09:56:00 2011 Log: Removes @Override annotation from implemented interface methods. Review at http://gwt-code-reviews.appspot.com/1343802 Review by: jbrosenb...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9679 Modified: /trunk/dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java /trunk/dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java /trunk/user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java /trunk/user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java /trunk/user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java === --- /trunk/dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java Fri Feb 4 09:24:25 2011 +++ /trunk/dev/core/src/com/google/gwt/core/ext/GeneratorContextExtWrapper.java Mon Feb 7 09:56:00 2011 @@ -88,7 +88,6 @@ return false; } - @Override public boolean isProdMode() { throw new UnsupportedOperationException( isProdMode is only available from GeneratorContextExt.); === --- /trunk/dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java Fri Feb 4 09:24:25 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java Mon Feb 7 09:56:00 2011 @@ -567,7 +567,6 @@ return generatorResultCachingEnabled; } - @Override public boolean isProdMode() { return isProdMode; } === --- /trunk/user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java Wed Feb 2 03:25:11 2011 +++ /trunk/user/src/com/google/gwt/editor/client/impl/AbstractEditorContext.java Mon Feb 7 09:56:00 2011 @@ -132,7 +132,6 @@ visitor.endVisit(this); } - @Override public void traverseSyntheticCompositeEditor(EditorVisitor visitor) { if (asCompositeEditor() == null) { throw new IllegalStateException(); === --- /trunk/user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java Wed Feb 2 03:25:11 2011 +++ /trunk/user/src/com/google/gwt/editor/client/testing/FakeEditorContext.java Mon Feb 7 09:56:00 2011 @@ -126,7 +126,6 @@ /** * No-op. */ - @Override public void traverseSyntheticCompositeEditor(EditorVisitor visitor) { } } === --- /trunk/user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java Wed Feb 2 03:25:11 2011 +++ /trunk/user/test/com/google/gwt/requestfactory/client/ui/EditorTest.java Mon Feb 7 09:56:00 2011 @@ -56,7 +56,6 @@ protected final SimpleEditorString userName = SimpleEditor.of(); RequestContext ctx; -@Override public void setRequestContext(RequestContext ctx) { this.ctx = ctx; } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Re: Decouple JsProgram; this allows the JS AST to serialize in pieces. (issue1342801)
LGTM On Mon, Feb 7, 2011 at 12:15 PM, Eric Ayers zun...@google.com wrote: I don't have anything else. On Mon, Feb 7, 2011 at 2:24 PM, sco...@google.com wrote: Did you guys want to re-review, or having fixed the things you mentioned, is this LGTM? http://gwt-code-reviews.appspot.com/1342801/show -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Added validation jars to all calls to GWTC to provide classes rquired by (issue1342803)
LGTM http://gwt-code-reviews.appspot.com/1342803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Added validation jars to all calls to GWTC to provide classes rquired by (issue1342803)
From a maven perspective, this is a much better solution than bundling validation classes in gwt-user.jar. However, will the changes to .classpathsrc and/or the gwtc ant target affect the GWT compiler when called from the maven plugin? http://gwt-code-reviews.appspot.com/1342803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Only intern strings on non-IE browsers when they occur 2 or more times. (issue1336802)
Should be fixed now (weird it didn't pick up changes) http://gwt-code-reviews.appspot.com/1336802/diff/1/4 File dev/core/src/com/google/gwt/dev/js/JsStringInterner.java (right): http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode48 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:48: /** On 2011/02/03 18:25:40, jbrosenberg wrote: Should this comment be changed, to indicate that it can conditionally intern strings, based on occurrence count etc.? Done. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode69 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:69: * Prevents 'fixing' an otherwise illegal operation. On 2011/02/03 02:34:05, scottb wrote: Are these actually useful in practice? Dunno, they are copied from Bob's code below, so I assume he must have added them for good reason. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode74 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:74: || !(x.getArg1() instanceof JsStringLiteral); On 2011/02/03 02:34:05, scottb wrote: You still need to visit the RHS. (You can do so explicitly.) Bob's visitor below that does the replacement has the same logic, so I was trying to make my counter mirror existing the string literals he was visiting, so if I change this, I'll have to change that logic below, and that'll require some tests :) Leaving it as it is in the counter won't cause any harm. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode93 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:93: /** On 2011/02/03 18:25:40, jbrosenberg wrote: Keep comment within 80 chars? Here and elsewhere... Done. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode99 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:99: return false; On 2011/02/03 02:34:05, scottb wrote: Visit the RHS? Done. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode102 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:102: /** On 2011/02/03 18:25:40, jbrosenberg wrote: Is this the right comment here? Done. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode232 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:232: Integer occurences = occurenceMap.get(x.getValue()); On 2011/02/03 18:25:40, jbrosenberg wrote: Should the number '2' be a configurable number, instead of hard-coded here? What's special about 2? Done. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode233 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:233: if (occurences != null occurences 2) { On 2011/02/03 02:34:05, scottb wrote: assert occurrences != null (something is broken if it is) Done. http://gwt-code-reviews.appspot.com/1336802/diff/1/4#newcode362 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:362: private static MapString, Integer getOccurenceMap(JsNode node) { On 2011/02/03 02:34:05, scottb wrote: How about make or build since it's an expensive op? Done. http://gwt-code-reviews.appspot.com/1336802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Only intern strings on non-IE browsers when they occur 2 or more times. (issue1336802)
http://gwt-code-reviews.appspot.com/1336802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Only intern strings on non-IE browsers when they occur 2 or more times. (issue1336802)
LGTM except for property name. http://gwt-code-reviews.appspot.com/1336802/diff/8001/1009 File dev/core/src/com/google/gwt/dev/js/JsStringInterner.java (right): http://gwt-code-reviews.appspot.com/1336802/diff/8001/1009#newcode150 dev/core/src/com/google/gwt/dev/js/JsStringInterner.java:150: System.getProperty(gwt.stringInternerThreshold, 2)); gwt.jjs.stringInternerThreshold http://gwt-code-reviews.appspot.com/1336802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Adding a LoadingStateEvent to CellList and CellTable so users can receive an event when the data... (issue1338809)
Reviewers: pdr, Description: Adding a LoadingStateEvent to CellList and CellTable so users can receive an event when the data is loaded. Previously, LoadingState was a package protected enum used to show the loading indicator in CellTable and empty list message in CellList. Now, LoadingState is a first class citizen (an interface so users can define their own loading state). Both CellList and CellTable now support setting a custom loading indicator Widget and a custom Widget to display when the table is empty. Please review this at http://gwt-code-reviews.appspot.com/1338809/show Affected files: M user/src/com/google/gwt/user/cellview/client/AbstractHasData.java M user/src/com/google/gwt/user/cellview/client/CellList.java M user/src/com/google/gwt/user/cellview/client/CellTable.css M user/src/com/google/gwt/user/cellview/client/CellTable.java M user/src/com/google/gwt/user/cellview/client/CellTableBasic.css M user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java M user/src/com/google/gwt/user/cellview/client/HasDataPresenter.java A user/src/com/google/gwt/user/cellview/client/LoadingStateChangeEvent.java M user/test/com/google/gwt/user/cellview/client/CellListTest.java M user/test/com/google/gwt/user/cellview/client/CellTableTest.java M user/test/com/google/gwt/user/cellview/client/HasDataPresenterTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9682 committed - Make SOYC produce consistent output....
Revision: 9682 Author: sco...@google.com Date: Mon Feb 7 12:59:41 2011 Log: Make SOYC produce consistent output. http://gwt-code-reviews.appspot.com/1338805/show Review by: robertvaw...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9682 Modified: /trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/SizeMapRecorder.java /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/Pruner.java === --- /trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/SizeMapRecorder.java Tue Jun 22 06:26:45 2010 +++ /trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/SizeMapRecorder.java Mon Feb 7 12:59:41 2011 @@ -29,8 +29,10 @@ import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; +import java.util.Comparator; import java.util.Map; import java.util.Map.Entry; +import java.util.TreeMap; import java.util.zip.GZIPOutputStream; /** @@ -38,6 +40,16 @@ * then read to produce a Story of Your Compile. */ public class SizeMapRecorder { + + /** + * Sorts by JsName.getIdent(). + */ + private static final ComparatorJsName JSNAME_SORT = new ComparatorJsName() { +public int compare(JsName o1, JsName o2) { + return o1.getIdent().compareTo(o2.getIdent()); +} + }; + /** * A human-accessible type and description of a program reference. These are * produced by @@ -72,7 +84,7 @@ return toReturn; } - /** +/** * Escapes '', '', '', '', and '\'' to their XML entity equivalents. */ public static String escapeXml(String unescaped) { @@ -81,7 +93,7 @@ return builder.toString(); } - /** +/** * Escapes '', '', '', '', and optionally ''' to their XML entity * equivalents. The portion of the input string between start (inclusive) and * end (exclusive) is scanned. The output is appended to the given @@ -95,7 +107,7 @@ * @param builder a StringBuilder to be appended with the output. */ public static void escapeXml(String code, int start, int end, -boolean quoteApostrophe, StringBuilder builder) { + boolean quoteApostrophe, StringBuilder builder) { // See http://www.w3.org/TR/2006/REC-xml11-20060816/#charsets. int lastIndex = 0; int len = end - start; @@ -156,7 +168,7 @@ } builder.append(c, lastIndex, len - lastIndex); } - + /** * @param logger a TreeLogger */ @@ -172,7 +184,9 @@ for (int i = 0; i sizeBreakdowns.length; i++) { writer.append(sizemap fragment=\ + i + \ + size=\ + sizeBreakdowns[i].getSize() + \\n); - for (EntryJsName, Integer sizeMapEntry : sizeBreakdowns[i].getSizeMap().entrySet()) { + MapJsName, Integer sizeMap = new TreeMapJsName, Integer(JSNAME_SORT); + sizeMap.putAll(sizeBreakdowns[i].getSizeMap()); + for (EntryJsName, Integer sizeMapEntry : sizeMap.entrySet()) { JsName name = sizeMapEntry.getKey(); int size = sizeMapEntry.getValue(); TypedProgramReference typedRef = typedProgramReference(name, jjsmap, === --- /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java Sat Jan 22 17:19:44 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java Mon Feb 7 12:59:41 2011 @@ -16,9 +16,11 @@ package com.google.gwt.dev.jjs.ast; import com.google.gwt.dev.jjs.ast.js.JMultiExpression; +import com.google.gwt.dev.jjs.impl.HasNameSort; import com.google.gwt.dev.util.collect.IdentityHashMap; import com.google.gwt.dev.util.collect.IdentityHashSet; import com.google.gwt.dev.util.collect.IdentitySets; +import com.google.gwt.dev.util.collect.Lists; import java.io.Serializable; import java.util.ArrayList; @@ -462,10 +464,11 @@ * building the full maps. */ JClassType jsoType = program.getJavaScriptObject(); -SetJClassType jsoSubTypes = Collections.emptySet(); +ListJClassType jsoSubTypes = Lists.create(); if (jsoType != null) { assert jsoType.getImplements().size() == 0; - jsoSubTypes = get(subClassMap, jsoType); + jsoSubTypes = new ArrayListJClassType(get(subClassMap, jsoType)); + Collections.sort(jsoSubTypes, new HasNameSort()); for (JClassType jsoSubType : jsoSubTypes) { for (JInterfaceType intf : jsoSubType.getImplements()) { jsoType.addImplements(intf); === --- /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java Wed Feb 2 13:13:58 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java Mon Feb 7 12:59:41 2011 @@ -205,7 +205,9 @@ rescue(type.getSuperClass(), true, isInstantiated); // Rescue my clinit (it won't ever be explicitly referenced) - rescue(type.getMethods().get(0)); + if (type.hasClinit()) { +
[gwt-contrib] Bump samples/expenses/pom.xml version number (issue1329803)
Reviewers: drfibonacci, Description: Bump samples/expenses/pom.xml version number Please review this at http://gwt-code-reviews.appspot.com/1329803/show Affected files: M samples/expenses/pom.xml M tools/scripts/maven_script.sh Index: samples/expenses/pom.xml === --- samples/expenses/pom.xml(revision 9683) +++ samples/expenses/pom.xml(working copy) @@ -7,7 +7,7 @@ version0.1.0.BUILD-SNAPSHOT/version nameexpenses/name properties -gwt.version2.2-rc1/gwt.version +gwt.version2.2.0/gwt.version roo.version1.1.0.RELEASE/roo.version spring.version3.0.3.RELEASE/spring.version slf4j.version1.6.1/slf4j.version Index: tools/scripts/maven_script.sh === --- tools/scripts/maven_script.sh (revision 9683) +++ tools/scripts/maven_script.sh (working copy) @@ -15,7 +15,7 @@ # the License. MAVEN_REPO=${MAVEN_REPO:-~/.m2/repository} -GWT_VERSION=${GWT_VERSION:-2.2-rc1} +GWT_VERSION=${GWT_VERSION:-2.2.0} GWT_DIR=${GWT_DIR:-build/lib} echo Pushing GWT jars from ${GWT_DIR} into local maven repo with version ${GWT_VERSION}. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Announcing GPE/GWT 2.2 RC1
Today we're one step closer to shipping the Google Plugin for Eclipse and GWT SDK 2.2. The first release candidates of both of these products are ready for use, and can be installed and/or download via the links below. Google Plugin for Eclipse 2.2 RC1 (including the GWT SDK) Eclipse 3.6 http://dl.google.com/eclipse/plugin/beta/e36 Eclipse 3.5 http://dl.google.com/eclipse/plugin/beta/e35 Eclipse 3.4 http://dl.google.com/eclipse/plugin/beta/e34 GWT SDK 2.2 RC1 (standalone) http://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.2-RC1.zip This release includes fixes and updates for the following items: - Fixed bad date formats in Swedish and others - Added initial version of HTML5 Audio and Video support - Added JRE 1.5 deprecation warning (see note below) - Fixed bad gwt-servlet dep in samples/expenses/pom.xml, per http://code.google.com/p/google-web-toolkit/issues/detail?id=5918 - Fixed Javadoc: http://code.google.com/p/google-web-toolkit/issues/detail?q=5615 - Fixed DynaTableRf paging infinite loop - Fixed CellBrowser hard to focus in IE - Bumped pom.xml version, and fix NPE in samples/expenses - Improved canvas for browsers (and permutations) with partial canvas support. - Updated DTRF to show the use of ServiceLocators and Locators - Fixed Showcase locales GPE 2.2 RC1 - Fixed Widget is disposed errors that occur when editing Launch Configurations - Fixed NullPointerException that occurs when deleting a launch configuration that has been launched Version 2.2 will only have deprecated support for Java 1.5, resulting in warnings when building applications. While Java 1.5 will still work for at least the next release of GWT, developers should upgrade their version of Java to correct these warnings and ensure compatibility with future versions of GWT. -- Chris, on behalf of the GWT, App Engine, and Google Plugin teams -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Announcing GPE/GWT 2.2 RC1
What features in Java 6 would be so fundamental to GWT that 1.5 becomes deprecated ? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors