Re: Unable to deploy GWT updates
Yes, there was an issue with Google Apps accounts in GPE 2.3.0. Can you update the plugin and try again? It should be fixed in 2.3.1, but some folks are still reporting problems. Thanks, /dmc On Wed, May 11, 2011 at 10:46 PM, Owen Ilagan oila...@systemacorp.comwrote: I just had a thought, would this have anything to do with the latest changes with google accounts? I've been using an account created through my company's domain (o...@mycompany.com) on google before to update GWT apps before as well as access the appengine dashboard portal. But I tried using another account on google (my personal gmail) and added it as a developer and I could update again. - Owen -- You received 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received 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.
Using servlet with GWT application in eclipse designer
I have a gwt client app that need to call a servlet to get the data. The call to the servlet need to be inside the same server because of browsers security feature. I can figure out how to do it in production mode, but I want to do it also in development mode to avoid compiling the app for every change I make. With the Eclipse designer, when you run the application, it start an embedded Jetty server, that defaults to http://localhost:/myapp.html. In my app I want to make call to my servlet, but the servlet would need to run under the same domain (for example, http://localhost:/servlet/myServlet). Is there a way to deploy my servlet under this embedded Jetty server ? If no, is there another way to do 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.
Re: Workaround for Embedded objects
I am not sure, but try: public enum PermissionEnum implements Serializable{ ... On May 11, 5:23 pm, Jerome Thoma thoma...@googlemail.com wrote: Could you please provide more information on using enums? I am trying to use a custom enum type: public enum PermissionEnum{ ...} in an EntityProxy as: PermissionEnum getPermission(); void setPermission(PermissionEnum permission); The PermissionEnum type is declared in a package that is accessible from both the server and the client. When I request an object from the server, it all works fine, but when I try to send an object to the server for persisting I get a ServerFailure exception stating that: Server Error: The requested entity is not available on the server Does this have anything to do with the use of the enum type? Cheers Jerome -- You received 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.
Disabling Symbol Maps?
My Google AppEngine+GWT application has grown so large that the generated GWT .symbolMap files are now 11mb to 12mb in size. Unfortunately, AppEngine supports a maximum file size of up to 10MB, and refuses to let me deploy the my app to the GAE servers. I understand that the .symbolMap files are mainly used to deobfuscate stack traces and I can optionally do without them (sacrificing readable stack traces). My question is, how do I prevent the GWT compiler from generating these .symbolMap files? -- You received 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/GPE 2.3 unable to sign in with Google Apps account
Alex, this doesn't seem to work for me too... Same error message: The scope parameter was bad or missing. GPE 2.3.1 is available and has the fix for signing into Google Apps accounts:http://dl.google.com/eclipse/plugin/3.6Please let us know if this doesn't fix 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.
Problem in sending large size of data from GWT client to server by cross domain scripting
Dear All, I have followed the tutorial and the application is able to make cross site communication with GET request and query string in the URL. However, one of the function of my application is to send the XML String to the server from the GWT client in cross domain environment. The GET request cannot fulfill my need as it exceeds the standard query string size. What should I do to make it work? Can I make a post request to the the servlet in cross domain environment? Please kindly show me some tips on this. Thanks a lot. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using -compileReport and JUnit
On Wed, May 11, 2011 at 10:48 PM, chris.ruffalo chris.ruff...@gmail.com wrote: I'm working on a GWT extension library and would like to get a compile report. My project is just an adjunct to GWT and doesn't have any UI. I will be creating samples when the library is finished but the bulk of my code generation is done now. Is there any way to set -compileReport while using JUnit? Don't think it's possible. You need some kind of starting point to make the cross compilation happen (usually an entry point of a module). If you don't have such a starting point there is no way to generate the compileReport. Best, Raphael Thanks. Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Validator with Editor Framework
Have anybody realized how editors and jsr 303 validation work with GWT 2.3 coming? Validation API was add to gwt sdk. But when I try to make validation like in keyvez ...@gmail.com example code, the rezult is the same he errors are never thrown from client side or server side. Thank for any 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: Problem in sending large size of data from GWT client to server by cross domain scripting
There are tricks using a hidden form (FormPanel in GWT), but well, they're a bit hackish... (what's hackish is communicating the result back to your app: you have to send a redirect to a page that's the same origin as the app, and this will call 2 FormPanel.SubmitEvent to be fired; or you could use the window.name trick...) Maybe not that helpful to you as i'm a bit vague, but the point is: yes, it's possible. -- You received 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: new browser window without menu toolbars?
Magnus, Have you considered using a GWT DialogBox instead of a new browser window? This can easily be populated with programmatically generated html or from a UiBinder template and needs no url. The default project generated by the Google Plugin for Eclipse provides a good example. Gary -- You received 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 Activity - Places = DialogBox ?
Hi guys, I'm trying to use the GWT Activity Place model, but I'm having some troubles with it about how to use my activities. I've got a LoginActivity which drives the user to another activity : DemandsActivity. My DemandsActivity manages a view (DemandsView) which displays a simple list of demands (with a CellTable). The whole works fine. I would like to be able to show the details of a demand, from a selected line of my cellTable, by displaying a DialogBox with the informations. I thought I could use one more activity to do that : DemandDetailsActivity. But I don't know how to do that. Any idea ? 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.
Can GPE automatically generate EntityProxy for Entity types? Similar to UiBinder wizard.
Hi, Can this feature be implemented? If yes, how to raise a request to the GPE team?? This could save a lot of time and boilerplate code. 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.
Speeding up RPC response
hello, am using String[] as returned type all the RPC calls and sometimes this array of strings is of size 3000 which makes it somehow slow, it takes over 5 to 6 sec i used Liststring and it didn't make any differences. The object am using in the server side is not serializable so i can't send it as return type. any suggestions concerning speeding up the performance??? thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using servlet with GWT application in eclipse designer
there's a http packet (client-side) when u can create http-request ( i think RequestBuilder ) to your server, u can then get/post... handle response from client side. On Thu, May 12, 2011 at 5:45 AM, Hugues Aubuchon haubuc...@gmail.comwrote: I have a gwt client app that need to call a servlet to get the data. The call to the servlet need to be inside the same server because of browsers security feature. I can figure out how to do it in production mode, but I want to do it also in development mode to avoid compiling the app for every change I make. With the Eclipse designer, when you run the application, it start an embedded Jetty server, that defaults to http://localhost:/myapp.html. In my app I want to make call to my servlet, but the servlet would need to run under the same domain (for example, http://localhost:/servlet/myServlet). Is there a way to deploy my servlet under this embedded Jetty server ? If no, is there another way to do 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: Can GPE automatically generate EntityProxy for Entity types? Similar to UiBinder wizard.
Isn't that what's coming in the 2.4 version? From the announcementhttp://googlewebtoolkit.blogspot.com/2011/05/android-meet-app-engine-app-engine-meet.html : You specify the model objects that will be used between client and server, and GPE generates the RPC service, DTOs, and client-side calling code. By DTO I understand EntityProxy/ValueProxy (given that RPC is known to meant RequestFactory, AFAICT) -- You received 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 can I create a singleton server side to handle embedded db transactions
Hi all, I'm using GWT with neo4j, its an embedded graph db. It working well but because its embedded only one client can work with it at a time(cant create a connection to it while in use). I was thinking of a work around to have one class server side that can handle this instance. I'm using RPC to work with the graph db. Any suggests/help? I'm quite stuck here. Best regards, John. -- You received 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.
Best practice for implementing an active field
Hey guys, maybe you have a good solution for this. I have a menu with some image buttons that have three different states: Inactive, hover, active. The activity or presenter to the corresponding button should trigger their own button to active and the active buttons should not be triggered onHover. Does someone have an elegant solution for this? I think I need to do this all with gwt code because css would be to unfexible, right? BTW: Can we expect the GWT sessions on I/O to be online soon? kind regards, 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.
Re: Can GPE automatically generate EntityProxy for Entity types? Similar to UiBinder wizard.
That's wonderful, Thanks Thomas! -- You received 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: Data-binding, Konckout.js
We are using Editors a lot. And they are coll (at least much cooler than it was before). But they are still far way from full data binding as shown in Knockout.js (or as it's done in Silverlight). I'm not a fan of Silverlight and hope that GWT would remove all this plug-ins soon, but watching GWT and Silverlight groups working is parallel in out company - I could definitely say that Silverlight data-binding style gives huge advantage and removes a lot of extra code. GWT with Editors support WinForms style of binding, where each form could be bind to the object and then editors values would be bounded to properties of that object. In Knockout.js (and WPF and Silverlight) I could bind ANY property to the values of binding object (that is called context in that case) and get NotifyPropertyChnage support. For example I could have panel (for example loading indicator), which visibility is controlled by IsBusy property (get and set in Java). Setting this property to false and true will automatically hide and show the panel. Many more use cases could be shown... Please check Knockout.js demo for more examples... Is there are any plans to do the same in GWT? On May 3, 11:58 pm, El Mentecato Mayor rogelio.flo...@gmail.com wrote: Take a look at Editors in GWT:http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html On Apr 30, 9:35 am, Artem Nikulchenko a...@cloudwk.com wrote: I've recently seenKnockout.js presentation at MIX 11 and it looks amazing. It removes all boilerplate code around data-binding and looks really amazing!!! We do have a lot of development in both GWT and Silverlight, and Silverlight data-binding is probably the only advantage left (and we really miss it when switch to GWT and write data oriented applications). And it looks likeKnockout.js could give same experience, if it would be integrated into GWT. Is there are any plans to integrateKnockout.js into GWT? Or maybe make same binding experience in GWT by it's own? Best regards, Artem -- You received 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.
Add a ValueChangeHandler to an Editor
Hi, Is it possible to add a ValueChangeHandler to an Editor? Thanks a lot, Ido -- You received 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.
ListEditor broken in GWT 2.3
Dear All, Actual code reduced to demonstrate the problem. // widget public interface LocationPrefEditView extends IsWidget, EditorLocationPrefProxy, HasMask, HasPresenterPresenter, HasVisibility { ValueListBoxString state(); ValueListBoxString city(); // .. omitted } // in activity ListEditorLocationPrefProxy, LocationPrefEditView editor = ListEditor.of(new ViewSource()); driver.initialize(editor); CustomerServiceRequest request = requestFactory.getCustomerServiceRequest(); driver.edit(list, request); ListLocationPrefProxy displayedList = editor.getList(); // adding a new proxy to list LocationPrefProxy locationPrefProxy = request.create(LocationPrefProxy.class); displayedList.add(locationPrefProxy); request.saveLocationPreference(place.getCustomerId(), CallManager.getInstance().getIdentifier(), list); // onsave(), elsewhere *// this is always true (driver.isChanged == false always), but driver.isDirty() gives correct value, depending upon the state of the editor * if (!driver.flush().isChanged()) { return; } // if above check is removed, this always saves empty proxy driver.flush().fire( /* receiver */ ); # *The same code was working properly in GWT 2.2, I migrated the code to 2.3 today, and I'm facing this issue. * Any help (or *workaround*) is appreciated. Thanks, -sowdri- -- You received 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: really nice - NOT: new gpe seems to completely break gwt designer
This was not my problem since I did not have GWT Designer 8.1.x installed. And, the first thing I did to attempt to correct the problem was to go into installed software and uninstalled all GWT / WindowBuilder components. After I restarted Eclipse, I still had the same problem. At point, I searched for all files in my workspace .plugins directory that had google as part of their file name and there were 5 of them as I recall. I deleted all of them and restarted eclipse. After this, the problem did go away. On May 11, 4:01 pm, Eric Clayberg clayb...@google.com wrote: This is caused by using the old 8.1.x version of GWT Designer. This is also discussed in the release notes... http://code.google.com/webtoolkit/release-notes.html#Release_Notes_2_2_0 Uninstall GWT Designer 8.1.x (which is not compatible with GWT 2.3.1) and use the version of GWT Designer integrated with GWT/GPE 2.3.1. To uninstall, go to Help About Installation Details Installed Software, select all of the GWT Designer v8.1.x components (everything with a 8.1.x version tag), and click Uninstall. On May 11, 8:34 am, cri chuck.irvine...@gmail.com wrote: Workaround found. First, uninstall all GWT/Windowbuilder plugins. However, for me, this wasn't sufficient. After uninstalling plugins, search your eclipse workspace .plugins directory for all files matching *google*, i.e. files with filenames containing google. Finally, reinstall GPE. This fixed the problem for me. On May 11, 9:33 am, cri chuck.irvine...@gmail.com wrote: I just installed the update to GPE. I'm at 2.3.1. Now I can't open any gui classes with GWT Designer. Even if I create a vanilla project form scratch using New Web Application Project I get the same result. This is really disappointing! Okay, how the heck to I get back to the previous version of GPE? Message in eclipse below. Should be very easy to reproduce [ERROR] Element 'extend-property' beginning on line 27 contains unexpected attribute 'fallback-value' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 21: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 18: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 18: Unexpected exception while processing element 'inherits' -- You received 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.
Java Developer with Banking Exp
Hi All Location : west des moines, IA Duration : 6+months 8+ years of hands-on java web application development experience Must have excellent communication skills 6+ years of extensive Spring experience, including knowledge of most features of this framework 6+ years of extensive Hibernate experience, including knowledge of most features of this framework 8+ years of JSP and tag library experience, including knowledge of most features of this framework 8+ years of modern javascript frameworks 8+ years of CSS and HTML Bachelor's degree in Computer Science or equivalent. Experience working directly with end users to understand requirements. Work collaboratively with other technology teams to reach common goal. Platform and Skill Set Expertise: Web Development : Java, Web Development : XML, Web Development : UNIX, Web Development : HTML, Web Development : SQL, Web Development : JSP, Web Development : EJB / J2EE -- Please send the resumes to ke...@questinfosoft.com ) ke...@ifuturistics.com Regards, Kevin | Questinfosoft | Direct: 512-696-1567 | kevinke...@ifuturistics.com @questinfosoft.com ke...@ifuturistics.com | www.questinfosoft.com DISCLAIMER: Under Bill 1618 Title III passed by the 105th US Congress this mailcannot be considered Spam as long as we include contact information and a method to be removed from our mailing list. If you have received this message by mistake or are not interested in receiving our e-mails, please reply with a REMOVE in the subject line and delete this message from your system. We are sorry for the inconvenience caused to you. Also this message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. Quest Infosoft will not be responsible for any viruses or defects or any forwarded attachments emanating either from within Quest Infosoft or outside. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. We respect your on-line privacy. This is not an unsolicited mail. -- You received 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.
R: Re: IE8 shows only my application's first page
Someone can help me? -- You received 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.
QA Analyst with Banking Exp
Hi All Position: QA Analyst Location: Chandler, AZ Duration: 7 months contract (plus possibility of extension) Position Description: · Position will be only QA resource for a new project/development effort building out a web-based recognition application with back end approval processes and workflows, including scoring options. · Position responsible for creating test plans, test cases, test execution, defect tracking and test summary. · Will participate in project calls and act as point of contact for QA regarding this project. Required: · Bachelor's degree plus 7-10 years related experience · Quality Center experience a must. · QTP experience helpful. · Good communication skills, along with solid documentation skills. -- Please send the resumes to ke...@questinfosoft.com ) ke...@ifuturistics.com Regards, Kevin | Questinfosoft | Direct: 512-696-1567 | kevinke...@ifuturistics.com @questinfosoft.com ke...@ifuturistics.com | www.questinfosoft.com DISCLAIMER: Under Bill 1618 Title III passed by the 105th US Congress this mailcannot be considered Spam as long as we include contact information and a method to be removed from our mailing list. If you have received this message by mistake or are not interested in receiving our e-mails, please reply with a REMOVE in the subject line and delete this message from your system. We are sorry for the inconvenience caused to you. Also this message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. Quest Infosoft will not be responsible for any viruses or defects or any forwarded attachments emanating either from within Quest Infosoft or outside. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. We respect your on-line privacy. This is not an unsolicited mail. -- You received 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.
Static HTML page, do I have to use absolute positioning?
One issue I am having with GWT is that I know have some non-GWT elements within my HTML page, i.e. an HTML 5 canvas, some random divs and so forth...I'm finding that I *must* absolute position these elements...otherwise they will never be positioned correctly. The absolute positioning is mucking with some other things I would like to do on this page; so, my question is whether I should place this content into a separate HTML page and load it from an iFrame, or what would you all suggest? Is there any way to get around this absolute positioning requirement? FYI, I am using a DockLayoutPanel as the root panel. 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: Speeding up RPC response
Hi Carlos, What is the object types that you are returning from the server? If possible try breaking up the object and return only the fields that you need eg. If you have 3000 Person objects and you only require their firstName + LastName only, then populate only those fields on query or create a 'PersonSummary' object populated with those fields. Also consider using a paging strategy allowing the user to retrieve data in more managable chunks. You can try get around the serialisation problem by serialising the payload as a JSON string and deserialising on your client. Cheers, Matt On May 12, 7:00 pm, Carlos hbazz...@gmail.com wrote: hello, am using String[] as returned type all the RPC calls and sometimes this array of strings is of size 3000 which makes it somehow slow, it takes over 5 to 6 sec i used Liststring and it didn't make any differences. The object am using in the server side is not serializable so i can't send it as return type. any suggestions concerning speeding up the performance??? thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Best practice for implementing an active field
Hi Michael, I can't think of an approach using CSS, but if I were to attack this I'd try to use either an ImageButton or an Image widget. Both widgets support mouseOverHandlers which would cover handling your hover state, whilst you can toggle the appearance of an active/inactive state with setUrl/setImage and handle it as you wish in the clickHandler. I'm seeing I/O vids coming up progressively on http://www.youtube.com/user/GoogleDevelopers so keep checking for updates :) Cheers, Matt On May 12, 8:17 pm, Jambi michael.lukaszc...@googlemail.com wrote: Hey guys, maybe you have a good solution for this. I have a menu with some image buttons that have three different states: Inactive, hover, active. The activity or presenter to the corresponding button should trigger their own button to active and the active buttons should not be triggered onHover. Does someone have an elegant solution for this? I think I need to do this all with gwt code because css would be to unfexible, right? BTW: Can we expect the GWT sessions on I/O to be online soon? kind regards, 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.
Re: Speeding up RPC response
No matter what you do, if you're getting a large amount of data from the server it's going to take time to transfer the data *and* to have the data transformed into client-usable code. There are a couple of ways we've gotten around long server calls -- First of all, as mattai says, if you know that there is a possibility of a large amount of data coming back, then get it in chunks and give the user the ability to scroll. That makes the server calls quicker. Secondly, if you need all the data right away, try to get it in advance. Since GWT handles asynchronous RPC calls so elegantly, we have at times kicked off the RPC call immediately, then did the rest of the work and by the time we get around to needing to display the data the RPC call is finished. Thirdly, you might want to make sure that you're not doing things in the client that you should be doing on the server. We found that a few times we were getting a lot of data and then manipulating it on the client (ie, determine whether an order was open beyond a certain number of days). We realized that that work could be done more efficiently on the server and then just pass back the exceptions. On May 12, 5:00 am, Carlos hbazz...@gmail.com wrote: hello, am using String[] as returned type all the RPC calls and sometimes this array of strings is of size 3000 which makes it somehow slow, it takes over 5 to 6 sec i used Liststring and it didn't make any differences. The object am using in the server side is not serializable so i can't send it as return type. any suggestions concerning speeding up the performance??? thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE8 shows only my application's first page
On May 11, 7:53 am, Alessio unibs cecchia...@libero.it wrote: GoodMorning everybody. I'm using GWT 2.0.4 and in IE8 appears only my application's first page and when i click on a button, IE8 shows a white page and in the bottom-left corner shows a signal error. What can i do? Thanks in advance Probably an obvious question, but I'll ask it -- You can direct the GWT to only generate code that is compatible with specific browsers. Are you certain that you have it configured to generate code that works in IE? I know that you can set this in the module.gwt.xml file. -- You received 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: Custom Clickable Cell with CellTable
Hi Adam, What exactly is it that you are trying to achieve by doing this? If you wish to find the cell that was clicked and manipulate it you can also do it this way : Add clickHandler to table/grid Call getSource() on received clickEvent Cast source to grid/flextable Call getCellForEvent(event) on the table which gives you a Cell element Then you can call row / cell index on the object and you would have your row / column. Cheers, Matt On May 7, 5:51 am, Adam ambr...@gmail.com wrote: Hey Gang, I've created a lightweight custom cell that extends AbstractCell. I've included the code below. What I've determined is that the parent is the DIV associated with the cell. What I'm trying to do is make it so if I click anywhere in the cell including the text of the tds that the onBrowserEvent is fired. I've figured out that what's happening is that the click on the table I'm rendering or the tds is swallowing the events of the div and therefore the onBrowserEvent isn't being called. If this was a regular widget I'd just do a sinkEvent. The issue I'm having is hope to sink the td mouse events into the cell div. I looked at the source for AbstractCell and saw that public void setValue(...) is calling render and also has access to the parent so I've tried to do something like DOM.sinkEvent(parent.getFirstChildElement().getFirstChildElement().getFirstChildElement(), Event.ONCLICK). But that didn't see to do the trick either. Any thoughts would be most appreciated. class OrderCell extends AbstractCellMockOrder { public OrderCell() { super(click, keydown); } @Override public void onBrowserEvent(Element parent, MockOrder value, Object key, NativeEvent event, ValueUpdaterMockOrder valueUpdater) { super.onBrowserEvent(parent, value, key, event, valueUpdater); if (click.equals(event.getType())) { onEnterKeyDown(parent, value, key, event, valueUpdater); } } @Override protected void onEnterKeyDown(Element parent, MockOrder value, Object key, NativeEvent event, ValueUpdaterMockOrder valueUpdater) { if (valueUpdater != null) { valueUpdater.update(value); } } @Override public void render(MockOrder value, Object key, SafeHtmlBuilder sb) { // Value can be null, so do a null check.. if (value == null) { return; } sb.appendHtmlConstant(table); // Add the name and address. sb.appendHtmlConstant(trtd); sb.appendEscaped(value.getApplicant().getLastName() + , + value.getApplicant().getFirstName()); sb.appendHtmlConstant(/td/trtrtd); sb.appendEscaped(value.getStatus()); sb.appendHtmlConstant(/td/tr/table); } } -- You received 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.
Thanks GWT Devs
Thanks so much for all the great talks at io this year. I didn't get to see all of them in person, but everyone that I saw was fantastic. I learned something new in each one. -- You received 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: MouseMove Events for CellTable / FlexTable
Maybe attach the handler to the table and get the cell source when the event is triggered. Get the row index from the returned cell, remove all highlight style from the table and add a highlight style to the row. Not sure how efficient this would be though given the event would need to be handled every time the cursor moves a pixel :) Would be interested to hear other ideas. Perhaps experimenting with mouseOver will yield better results though I am not whether mouseOver events continuously fire if the cursor is left in the handling area. I don't think they do but thats just a guess :P Cheers, Matt On May 7, 4:41 am, SVR svr...@gmail.com wrote: Has anybody tried implementing MouseMove to highlight rows of the table? If so, can you please share your ideas? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: really nice - NOT: new gpe seems to completely break gwt designer
Based on your description and the error, it sounds like you had some prior version installed. Those release notes apply to any earlier (pre 8.1.x) versions of GWT Designer / WindowBuilder as well. On May 12, 6:27 am, cri chuck.irvine...@gmail.com wrote: This was not my problem since I did not have GWT Designer 8.1.x installed. And, the first thing I did to attempt to correct the problem was to go into installed software and uninstalled all GWT / WindowBuilder components. After I restarted Eclipse, I still had the same problem. At point, I searched for all files in my workspace .plugins directory that had google as part of their file name and there were 5 of them as I recall. I deleted all of them and restarted eclipse. After this, the problem did go away. On May 11, 4:01 pm, Eric Clayberg clayb...@google.com wrote: This is caused by using the old 8.1.x version of GWT Designer. This is also discussed in the release notes... http://code.google.com/webtoolkit/release-notes.html#Release_Notes_2_2_0 Uninstall GWT Designer 8.1.x (which is not compatible with GWT 2.3.1) and use the version of GWT Designer integrated with GWT/GPE 2.3.1. To uninstall, go to Help About Installation Details Installed Software, select all of the GWT Designer v8.1.x components (everything with a 8.1.x version tag), and click Uninstall. On May 11, 8:34 am, cri chuck.irvine...@gmail.com wrote: Workaround found. First, uninstall all GWT/Windowbuilder plugins. However, for me, this wasn't sufficient. After uninstalling plugins, search your eclipse workspace .plugins directory for all files matching *google*, i.e. files with filenames containing google. Finally, reinstall GPE. This fixed the problem for me. On May 11, 9:33 am, cri chuck.irvine...@gmail.com wrote: I just installed the update to GPE. I'm at 2.3.1. Now I can't open any gui classes with GWT Designer. Even if I create a vanilla project form scratch using New Web Application Project I get the same result. This is really disappointing! Okay, how the heck to I get back to the previous version of GPE? Message in eclipse below. Should be very easy to reproduce [ERROR] Element 'extend-property' beginning on line 27 contains unexpected attribute 'fallback-value' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 21: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 18: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML [ERROR] Unexpected error while processing XML [ERROR] Line 18: Unexpected exception while processing element 'inherits' -- You received 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: MouseMove Events for CellTable / FlexTable
Hi, I had found something like about this on the internet. The following code is some hint on how to do this. Boris class Table extends FlexTable { private String headerStyle = nostyle; public Table(TableDataSource source, String stylePrefix) { super(); this.setCellPadding(1); this.setCellSpacing(0); this.setWidth(100%); this.setSource( source ); sinkEvents(Event.ONMOUSEOVER | Event.ONMOUSEOUT); } // == public void onBrowserEvent(Event event) { Element td = getEventTargetCell(event); if (td == null) return; Element tr = DOM.getParent(td); switch (DOM.eventGetType(event)) { case Event.ONMOUSEOVER: { DOM.setStyleAttribute(tr, backgroundColor, #ffce00); onRowRollover(tr); break; } case Event.ONMOUSEOUT: { DOM.setStyleAttribute(tr, backgroundColor,#ff); break; } } } } 2011/5/12 matttai matt...@hotmail.com Maybe attach the handler to the table and get the cell source when the event is triggered. Get the row index from the returned cell, remove all highlight style from the table and add a highlight style to the row. Not sure how efficient this would be though given the event would need to be handled every time the cursor moves a pixel :) Would be interested to hear other ideas. Perhaps experimenting with mouseOver will yield better results though I am not whether mouseOver events continuously fire if the cursor is left in the handling area. I don't think they do but thats just a guess :P Cheers, Matt On May 7, 4:41 am, SVR svr...@gmail.com wrote: Has anybody tried implementing MouseMove to highlight rows of the table? If so, can you please share your ideas? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: MouseMove Events for CellTable / FlexTable
I actually ended up using addCellPreviewHandler of the celltable to add a CellPreviewEvent.Handler for the table. thanks On Thu, May 12, 2011 at 11:21 AM, Boris Lenzinger boris.lenzin...@gmail.com wrote: Hi, I had found something like about this on the internet. The following code is some hint on how to do this. Boris class Table extends FlexTable { private String headerStyle = nostyle; public Table(TableDataSource source, String stylePrefix) { super(); this.setCellPadding(1); this.setCellSpacing(0); this.setWidth(100%); this.setSource( source ); sinkEvents(Event.ONMOUSEOVER | Event.ONMOUSEOUT); } // == public void onBrowserEvent(Event event) { Element td = getEventTargetCell(event); if (td == null) return; Element tr = DOM.getParent(td); switch (DOM.eventGetType(event)) { case Event.ONMOUSEOVER: { DOM.setStyleAttribute(tr, backgroundColor, #ffce00); onRowRollover(tr); break; } case Event.ONMOUSEOUT: { DOM.setStyleAttribute(tr, backgroundColor,#ff); break; } } } } 2011/5/12 matttai matt...@hotmail.com Maybe attach the handler to the table and get the cell source when the event is triggered. Get the row index from the returned cell, remove all highlight style from the table and add a highlight style to the row. Not sure how efficient this would be though given the event would need to be handled every time the cursor moves a pixel :) Would be interested to hear other ideas. Perhaps experimenting with mouseOver will yield better results though I am not whether mouseOver events continuously fire if the cursor is left in the handling area. I don't think they do but thats just a guess :P Cheers, Matt On May 7, 4:41 am, SVR svr...@gmail.com wrote: Has anybody tried implementing MouseMove to highlight rows of the table? If so, can you please share your ideas? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
UiBinder and child HTML 'widgets'
Just to give a little background, I've been doing GWT for a while, but I'm pretty new to UiBinder. I'm starting to fold it in to some of the GWT work I'm doing, and I certainly like some aspects of it. I'm building a page with a lot of repeating display elements that don't require any events (a simple dashboard with some stats), so I started thinking that I'd use HTML elements instead of widgets, and then I ran into some troubles on how to do that with UiBinder. I have a component representing the dashboard page (more specifically, the 'body' part of the page leaving out the template and navigation), and within that a bunch of stat widgets. I originally laid it out as a FlowPanel, with stat widgets, e.g.: !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:w=urn:import:myproject.client.widget g:FlowPanel g:LabelGeneral/g:Label w:Stat heading=apps in-force ui:field=appsInForce / /g:FlowPanel /ui:UiBinder Once I started the Stat component, I realized I didn't need it to use any widgets, that HTML would be ok, so I developed it that way: public class Stat extends UIObject { private static StatUiBinder uiBinder = GWT.create( StatUiBinder.class ); @UiField SpanElement heading; @UiField SpanElement value; interface StatUiBinder extends UiBinderElement, Stat { } public Stat() { setElement( uiBinder.createAndBindUi( this ) ); } public void setHeading( String heading ) { this.heading.setInnerText( heading ); } public void setValue( String value ) { this.value.setInnerText( value ); } } !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder ui:style .statHeading { } .statValue { } /ui:style div span class={style.statHeading} ui:field=heading/span span class={style.statValue} ui:field=value/span /div /ui:UiBinder GWT then complained that I was calling add(Widget) with a UIObject, which made sense -- I can't put HTML elements into a flow panel. So I switched the container to an HTMLPanel, switched the label for a Div: !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' xmlns:w=urn:import:myproject.client.widget g:HTMLPanel divGeneral/div w:Stat heading=apps in-force ui:field=appsInForce / /g:HTMLPanel /ui:UiBinder Now I'm getting this message: [ERROR] [myproject] - Line 23: The method addAndReplaceElement(Widget, Element) in the type HTMLPanel is not applicable for the arguments (Stat, Element) I'm confused as to why it's trying to treat the Stat as a Widget (which it isn't), so I'm missing something about UiBinder or HTMLPanel here. I did a few google searches, didn't see anything obvious. Help appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GPE 3.6, breaks again for UIBinder files
On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories in the .plugin folder of my workspace and reinstalling GPE + GWT Designer didn't work. Did anyone has the same issues and eventually solved this? Greetings from Berlin, Mats -- You received 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 Module does not start
Hello since two days I'm not able to start my gwt app. I would like to give you some error messages, but there are no error messages. Everything compiles fine. The server launches without a single error message. So everything seems ok, but when U call the URL of the host page, the gwt module does not load . The only thing that is displayed is the html page (host page). I checked the javascript file of the gwt module. It is generated and linked correctly. I added a log message in the onModuleLoad method, nothing is displayed. It seems, that server does not start the module. If the entry point is not correct, i would understand this. But so, I can't explain why the module does not start. The GWT project is built by maven and deployed in a target folder, which is the launch directory of the project. It seems, that the server doesn't want to start the module for the corresponding host page. I tried a sample project and this worked, but i can't find any remarkable differences since it is not built with maven... I hope somebody can help me thx and best regards marcus -- You received 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.
pass variable from JavaScript to GWT
Hello, i got a small question that really puts me under pressure because I'm unable to solve the problem: I am using JavaScript which gives me a String and I wanna use this value in GWT for my methods, e.g. in Java. To do so, I've written a method in GWT that looks like that: --- String a = ; [...] public static native void getValue() /*-{ this.a = $wnd.a; this.methodX(); }-*/; And to call this method I'm using the following implementation in JS: @com.mypackage.xx.client.Example::getValue(); But this won't work, I'm kinda helpless where the mistake is hidden. Thanks for your help! regards -- You received 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 Gears
We have an application on the cloud using AppEngine + GWT. We want give an option to our users to use it when acess to internet is not avaible temporarily. They continious using system even when internet is broken. After that, system has to synchronize with AppEngine. Contact if you are interested -- You received 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.
Restrict the date format in the DateBox
Hi , I am using GWT 2.2 Datebox. My code is as follows DateBox dateBox = new DateBox(); dateBox.setFormat(new DateBox.DefaultFormat(DateTimeFormat.getFormat(ddMMMyy) )); Right now if i enter date like 02/03/2011 it is converted in to 03Feb11. But my requirement is if the user enters date except the given format(ddMMMyy), the DateBox should throw error. How to achieve this? Can anyone help me out on this? Thanks in advance, Raji MS -- You received 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.
CellTree - How to show root node?
Hi, I have a problem with the CellTree Widget. The thing is I followed the example at http://google-web-toolkit.googlecode.com/svn/javadoc/2.2/com/google/gwt/user/cellview/client/CellTree.html and it works ok. But the widget has a blank space at the top, due to the hidden root node. So my first thought was to show that hidden node so i did something like that: TreeViewModel model = new CustomTreeModel(selectionModel,myList); CellTree tree = new CellTree(model, new Label(Test)); But nothing has changed. I tried to override the hidden node with a css style but it did'nt work too, but I only know the basics of css. Does anyone have a suggestion? Many Thanks! -- Renato Beserra Sousa -- You received 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.
Need a tool to find out client side coverage .
Hi all, Had a query regarding code coverage for the client packages of GWT, would really appreciate anyone could help out. I have a client heavy application ( J2EE , GWT ) having 500K lines client code. We want to automate our test cases and we need to test the code coverage for these 500K lines too. We are using Selenium, TestNG (tests) and EMMA for coverage. On the client side all (most) widgets are internal to the method (say onModuleLoad() ) and not instance variables. I have no handle on any of these widgets. My question is : Is there a tool that tells us what client end lines got executed when we execute the corresponding Javascript (generated by GWT) ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
DateBox converts the invalid date automatically
Hi, I am using GWT 2.2 DateBox component in my application. In that if i enter the invalid date such as 30 Feb, 2011 it is converted in to March 2, 2011 automatically. I want to remove this feature. Instead if enter 30 Feb, 2011 the DateBox component should throw error. Can anyone help me out on this issue? Thanks in advance, Raji MS -- You received 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: Thanks GWT Devs
Is it possible to see the talks somewhere online ? 2011/5/12 Jeff Larsen larse...@gmail.com Thanks so much for all the great talks at io this year. I didn't get to see all of them in person, but everyone that I saw was fantastic. I learned something new in each one. -- You received 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 API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Thanks GWT Devs
We'll have all the talks and slides up by the end of the week and I'll post back then. /dmc On Thu, May 12, 2011 at 9:31 AM, nino ekambi jazzmatad...@googlemail.comwrote: Is it possible to see the talks somewhere online ? 2011/5/12 Jeff Larsen larse...@gmail.com Thanks so much for all the great talks at io this year. I didn't get to see all of them in person, but everyone that I saw was fantastic. I learned something new in each one. -- You received 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 API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received 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/GPE 2.3 unable to sign in with Google Apps account
Thanks for the updates, everyone. The GPE team is looking into this. /dmc On Wed, May 11, 2011 at 10:25 AM, jpenninkhof j...@penninkhof.com wrote: Alex, this doesn't seem to work for me too... Same error message: The scope parameter was bad or missing. GPE 2.3.1 is available and has the fix for signing into Google Apps accounts:http://dl.google.com/eclipse/plugin/3.6Please let us know if this doesn't fix 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received 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: commnication from jsp to client side code of gwt
Check this post I made https://groups.google.com/forum/#!searchin/google-web-toolkit/author:Paul$20Stockley/google-web-toolkit/BsQui2kesRI/3KLATnRav1AJ -- You received 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: Thanks GWT Devs
Nice David. Danke ! :) 2011/5/12 David Chandler drfibona...@google.com We'll have all the talks and slides up by the end of the week and I'll post back then. /dmc On Thu, May 12, 2011 at 9:31 AM, nino ekambi jazzmatad...@googlemail.comwrote: Is it possible to see the talks somewhere online ? 2011/5/12 Jeff Larsen larse...@gmail.com Thanks so much for all the great talks at io this year. I didn't get to see all of them in person, but everyone that I saw was fantastic. I learned something new in each one. -- You received 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 API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received 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 API for non Java based platforms http://code.google.com/p/gwt4air/ http://www.gwt4air.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GPE 3.6, breaks again for UIBinder files
This sounds very similar to a problem that I was having getting GWT Designer to come up. Try deleting the Google plugins then do a search of your workspace .plugins directory for any file having google in its filename. If you find any delete them. Then re-install the google plugins and try again. Hope this works for you. It did for me. On May 12, 9:47 am, mats mats.kren...@googlemail.com wrote: On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories in the .plugin folder of my workspace and reinstalling GPE + GWT Designer didn't work. Did anyone has the same issues and eventually solved this? Greetings from Berlin, Mats -- You received 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: UiBinder and child HTML 'widgets'
What I don't understand is why Stat is not a Widget if you want to use it like a Widget. -- You received 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: Empty Response From HTTP Request
Hi Nick, Are you saying that the server response is empty or that RequestBuilder does not recognize the response? If its the former, the server is not recognizing something in the request like the browser code headers. If its the latter, then I would compare the content-type and formatting of the response with a benchmark response from the eclipse dev tool. Either way, you'll need to get below just looking at the browser display to understand diagnose the communication protocols. I suggest using a logging proxy server on your test bench to track what is coming and going. MS Fiddler works well on Windows. ---Stevko On Wed, May 11, 2011 at 3:14 PM, Nick Apperley napper...@gmail.com wrote: Using RequestBuilder I can successfully make a request to the Glassfish 3.1 server I have setup. The server delivers REST web services that involve HTTP GET and POST. Currently I am testing to see if I can establish communication between the server and the GWT client. What isn't working is getting the correct response for the particular web service used (a HTTP GET). In Firefox with the same web service used it receives the correct response which is an XML file. This confirms that the web service is working properly. What are the possible causes for an empty response from a HTTP request with GWT? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- 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.
Style in the Stockwatcher example
In Step 7: Apply Style for the Stockwatcher example it states: iWhen you created the StockWatcher application, webAppCreator generated the application style sheet (StockWatcher.css) and added a pointer to it in the module XML file (StockWatcher.gwt.xml)./i Is this correct? It appears the reference to StockWatcher.css is actually in the host page StockWatcher.html. I didn't change anything, this is how the application was created. I'm not sure I would normally take the time to quibble over this point, but there is some talk just above about the preferred method that states: iLike images, CSS files are static resources that are stored in the public directory and referenced from the HTML host page. You can associate a style sheet with your application either of two ways. •Preferred: in the module XML file (StockWatcher.gwt.xml) •Alternate: in the HTML host page (StockWatcher.html) Whichever method you choose, you can associate one or more application style sheets with your project. They cascade in the order they are listed, just as they do in an HTML document. For StockWatcher, you'll follow the preferred strategy. Rather than put links to the style sheets in the HTML host page, you'll use the module XML file./i Please let me know if I'm missing something. Thanks, Bill -- You received 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: UiBinder and child HTML 'widgets'
In real its ok what you are doing(in theory Widget should be used only when you need events), but the truth is that gwt's panels don't have any support for UiObjects so you need to use Widget. On Thu, May 12, 2011 at 10:07 AM, Thomas Broyer t.bro...@gmail.com wrote: What I don't understand is why Stat is not a Widget if you want to use it like a Widget. -- You received 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. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
is there a way i can get the gwt documentation as offline file?
i would like to print it, so i can read it more comfortably.. -- You received 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 disable drag and top on mouse move over image?
Hi, I'm doing a widget to allow the user to crop an image. I have an image in an absolute panel, and then a box on top that indicates the area to crop. I want the user to be able to move the mouse and move the crop box around. However, since there is an image behind, what I get instead is the drag-and-drop behavior. How can I disable this? Thanks c. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
HasEditorErrors and HasDataEditor
Hi, I'm using the editor framework in my application and enjoying the automatic propagation of errors. However, some of my sub-editors are CellTable based HasDataEditors which aren't implementing HasEditorErrors. Here's an example of how I'm defining an editor for a list of Phone numbers: public final class PhoneTableEditor extends Composite implements IsEditorHasDataEditorPhoneHandle, IndexedActionCell.DelegatePhoneHandle { [...] } I tried simply implementing HasEditorErrors directly on this class, but this results in a runtime class cast exception, so I guess I'm not understanding the editor framework properly. I've read through the editor framework documentation and I'm at a loss as to how I can propagate EditorErrors into a HasDataEditor. Any ideas? -- You received 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 disable drag and top on mouse move over image?
on the html's img tag put onmousedown=return false; On 12 Mag, 20:10, erebrus ereb...@gmail.com wrote: Hi, I'm doing a widget to allow the user to crop an image. I have an image in an absolute panel, and then a box on top that indicates the area to crop. I want the user to be able to move the mouse and move the crop box around. However, since there is an image behind, what I get instead is the drag-and-drop behavior. How can I disable this? Thanks c. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: UiBinder and child HTML 'widgets'
On May 12, 1:07 pm, Thomas Broyer t.bro...@gmail.com wrote: What I don't understand is why Stat is not a Widget if you want to use it like a Widget. [nod] I've changed it to being a widget in the meantime. Basically, I need a reusable piece of display content, but it doesn't need any events, so it seemed like using HTML would be 'lighter' than using widgets. Certainly some of the best practice presentations called out that using too many widgets where you could use HTML was likely to pose performance problems in the long run. I think for this page, a widget won't pose any real problems, so I'll just switch to doing that, but if I were doing something obviously wrong, then I'd rather know what that is rather than just ignore it and do something different. - Geoffrey -- You received 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: UiBinder and child HTML 'widgets'
On May 12, 1:22 pm, Gal Dolber gal.dol...@gmail.com wrote: In real its ok what you are doing(in theory Widget should be used only when you need events), but the truth is that gwt's panels don't have any support for UiObjects so you need to use Widget. So even HTMLPanel can't easily absorb HTML once you bundle it up as a GWT UiBuilder component. Ah well. - Geoffrey -- You received 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 disable drag and top on mouse move over image?
And since I'm creating the image progamatically (new Image()), how to I add a tag to the html? On May 12, 8:10 pm, Cristiano cristiano.costant...@gmail.com wrote: on the html's img tag put onmousedown=return false; On 12 Mag, 20:10, erebrus ereb...@gmail.com wrote: Hi, I'm doing a widget to allow the user to crop an image. I have an image in an absolute panel, and then a box on top that indicates the area to crop. I want the user to be able to move the mouse and move the crop box around. However, since there is an image behind, what I get instead is the drag-and-drop behavior. How can I disable this? Thanks c. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using -compileReport and JUnit
I solved it by making an empty sample project. I figured that since the JUnit compilation was happening that there would be some way to interface with the compiler under it. Chris On May 12, 4:01 am, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: On Wed, May 11, 2011 at 10:48 PM, chris.ruffalo chris.ruff...@gmail.com wrote: I'm working on a GWT extension library and would like to get a compile report. My project is just an adjunct to GWT and doesn't have any UI. I will be creating samples when the library is finished but the bulk of my code generation is done now. Is there any way to set -compileReport while using JUnit? Don't think it's possible. You need some kind of starting point to make the cross compilation happen (usually an entry point of a module). If you don't have such a starting point there is no way to generate the compileReport. Best, Raphael Thanks. Chris -- You received 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 athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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 memory leak ?
i patched the released version 2.3.0 with the second patchset ( not the first one for WeakMap), refactored the code to use the new requestfactory package (which is now in gwt.web.bindary...), i dont get OutOfMemoryException anymore but the load test leads to jvm-crashed (with 100%cpu load). anaylyse the dump: 412286 instances of class com.google.web.bindery.autobean.vm.impl.ProxyAutoBean 412286 instances of class com.google.web.bindery.autobean.vm.impl.ShimHandler 343638 instances of class com.google.gwt.core.client.impl.WeakMapping$IdentityWeakReference 279948 instances of class com.google.web.bindery.autobean.vm.impl.JsonSplittable 143060 instances of class $Proxy9 112000 instances of class org.json.JSONObject 106798 instances of class $Proxy8 86704 instances of class $Proxy25 78455 instances of class org.json.JSONArray 68648 instances of class com.google.web.bindery.autobean.vm.impl.SimpleBeanHandler 55446 instances of class org.eclipse.persistence.indirection.IndirectList 50428 instances of class $Proxy27 43352 instances of class $Proxy26 35434 instances of class com.google.web.bindery.autobean.shared.impl.AutoBeanCodexImpl$EncodeState 35433 instances of class com.google.web.bindery.autobean.shared.impl.SplittableList 29575 instances of class org.eclipse.persistence.internal.identitymaps.UnitOfWorkCacheKey any hints ? if i cannot manage to resolve this issue i may need to reimplement it with traditional rpc with dto thanx -- You received 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 : Re: UiBinder and child HTML 'widgets'
It's not HTML vs. Widget, it's innerHTML vs. DOM's document.createElement/appendChild. So in GWT, as soon as you start making reusable components, you're breaking the innerHTML layer and have to introduce a Widget. The point of HTML vs. Widget is: don't use FlexTable/Grid/FlowPanel for layout and Button/TextBox/etc. if you can simply use an HTMLPanel with HTML inside (and event delegation for event handling) -- You received 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.
Problem passing a SetValueProxy as a parameter in RequestFactory?
I have an application that creates a SetMyClassProxy (a ValueProxy), and sends that set across the wire using the RequestFactory. When I add 3 distinct elements into the set and fire the context, I only get one item in the set on the server side. What is interesting is that I can see my setters being called inside my bean class, so I know all three instances are constructed. I only see the hashCode() method called once, meaning something inside the RequestFactory must be clobbering them before they're added to the HashSet. Has anyone seen this behavior before? I have other places in the application that pass SetEntityProxys across the wire, so it's not happening all the time. Thanks, Eric -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: GPE 3.6, breaks again for UIBinder files
I went one step further and deleted both my Eclipse Workspace dirs then reinstalled with no luck.. @cri, I think I had the same problem as you when I first upgraded to 2.3, but my brute force reinstall of eclipse fixed it. This problem only came in with the latest 5/9 release. What GPE version do you have, I have 2.3.1.r36v201105092302 This may be a Mac only issue since there is a different issue if I allow my Mac to upgrade to the latest JVM.. Is there a link where we can download previous releases, this was working fine with the 2.3.0.r36V201104261928 version. -John G On May 12, 10:00 am, cri chuck.irvine...@gmail.com wrote: This sounds very similar to a problem that I was having getting GWT Designer to come up. Try deleting the Google plugins then do a search of your workspace .plugins directory for any file having google in its filename. If you find any delete them. Then re-install the google plugins and try again. Hope this works for you. It did for me. On May 12, 9:47 am, mats mats.kren...@googlemail.com wrote: On 12 Mai, 04:57, John Gentilin gent...@gmail.com wrote: Seems that while initializing GWT Development Mode, it has a problem finding my entry point class.. It's there right where it thinks it should be.. I have the same problem while initializing GWT Designer. Building from Ant buildfile works fine. Deinstalling GPE and GWT Designer, deleting the proper directories in the .plugin folder of my workspace and reinstalling GPE + GWT Designer didn't work. Did anyone has the same issues and eventually solved this? Greetings from Berlin, Mats -- You received 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: pass variable from JavaScript to GWT
If I understand your question correctly, you want to use a value that has been populated by JavaScript then it should be as simple as: public final native String getValue() /*-{ return $wnd.a; }-*/; but if you are wanting to pass the value to the JavaScript then it would be like: public static final native void setValue(String myValue) /*-{ $wnd.a = myValue; }-*/; Is that what you are asking for? Thanks, Gordon -- You received 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: Empty Response From HTTP Request
Every time a request is made with RequestBuilder an empty response is returned from the server. If the request is made using just the web browser in an empty tab a non empty response is returned from the server that is displayed directly (in Firefox). With the latter the expected response is returned from the server. After doing some further investigation on the issue it seems as though the empty response could be caused by GWT's Same Origin Policy. The web services are running on a different server from the GWT client. What was suggested was to use JsonpRequestBuilder instead of RequestBuilder to bypass the SOP problem. However that can only be done if one can change the REST web services to return Json instead of XML. I have undertaken the suggestion but now have an entirely new problem to content with. Timeouts are occurring every time a request is made using JsonpRequestBuilder. I have checked to see that the URL is correct, and have extended the timeout duration but still end up with the same problem. What could cause a timeout to occur with doing a request with JsonpRequestBuilder? A. Stevko wrote: Hi Nick, Are you saying that the server response is empty or that RequestBuilder does not recognize the response? If its the former, the server is not recognizing something in the request like the browser code headers. If its the latter, then I would compare the content-type and formatting of the response with a benchmark response from the eclipse dev tool. Either way, you'll need to get below just looking at the browser display to understand diagnose the communication protocols. I suggest using a logging proxy server on your test bench to track what is coming and going. MS Fiddler works well on Windows. ---Stevko -- You received 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: Empty Response From HTTP Request
What is really weird is that the timeouts are occurring with making a request via JsonRequestBuilder yet the Glassfish server has received the request successfully. I have been digging through the Glassfish server logs and found an identical set of entries for 2 requests that were made (one from GWT client, the other from the web browser). What isn't recorded in the logs is if the server has sent back a response, and its content if it was sent. Right now I do not know what is happening with the server responses. Presumably a response is being sent back to the GWT client. At least a response has been sent back for the request made by the web browser. On May 13, 10:15 am, Nick Apperley napper...@gmail.com wrote: I have undertaken the suggestion but now have an entirely new problem to content with. Timeouts are occurring every time a request is made using JsonpRequestBuilder. I have checked to see that the URL is correct, and have extended the timeout duration but still end up with the same problem. What could cause a timeout to occur with doing a request with JsonpRequestBuilder? -- You received 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/Tomcat and java.lang.NoClassDefFoundError!
I am trying to use some of the objects in the catalina.jar in tomcat (ie. HTTPRequest, Realm.java, ... you get the idea) however, I always get a NoClassFoundException error. Code complies correctly,the gwt app (war file) is deployed with no errors. I get this when trying to use any of the org/apache/catalina/* classes. Otherwise everything else is OK. I know this is a classpath issue, but the catalina.jar is in the tomcat/lib and the WEB-INF/lib just has some regular stuff (ie. gwt- servlet.jar, gwt-maps.jar, gwt-debug-panel.jar, gwt-incubator..) any help would be greatly appeciated. -- You received 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: RequestFactoryEditorDriver example?
Dear All, Actual code reduced to demonstrate the problem. // widget public interface LocationPrefEditView extends IsWidget, EditorLocationPrefProxy, HasMask, HasPresenterPresenter, HasVisibility { ValueListBoxString state(); ValueListBoxString city(); // .. omitted } // in activity ListEditorLocationPrefProxy, LocationPrefEditView editor = ListEditor.of(new ViewSource()); driver.initialize(editor); CustomerServiceRequest request = requestFactory.getCustomerServiceRequest(); driver.edit(list, request); ListLocationPrefProxy displayedList = editor.getList(); // adding a new proxy to list LocationPrefProxy locationPrefProxy = request.create(LocationPrefProxy.class); displayedList.add(locationPrefProxy); request.saveLocationPreference(place.getCustomerId(), CallManager.getInstance().getIdentifier(), list); // onsave(), elsewhere *// this is always true (driver.isChanged == false always), but driver.isDirty() gives correct value, depending upon the state of the editor * if (!driver.flush().isChanged()) { return; } // if above check is removed, this always saves empty proxy driver.flush().fire( /* receiver */ ); # *The same code was working properly in GWT 2.2, I migrated the code to 2.3 today, and I'm facing this issue. * Any help (or *workaround*) is appreciated. @Thomas But in 2.3 there will be changes: RFED introduce special support for a HasRequestContext interface, similar to HasEditorDelegate but giving your the RequestContext, so the editor can do a context.create() on the same context that is used to edit the proxies (probably the reason you have the exception): http://code.google.com/p/google-web-toolkit/issues/detail?id=5892 Should we do something different for getting list editor working in GWT 2.3?? Thanks, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Custom Clickable Cell with CellTable
Matt thanks for the response. By default the celltable wires up click events for the cell (aka div). The problem is when I click on any text in the table/ table it's swallowing the click event and therefore the celltable is never notified that I clicked in the cell. Here's an example of what I'm talking about: - (row) Bar, Foo ** | 123 Main St** | --(end row) if I click anywhere on Bar, Foo or 123 Main St nothing happens. if I click on either of the ** then it does the click event (via the FieldUpdater.update). Simply put I'd like for it to work if I click anywhere inside the cell including the text. I think though you've answered my question though in a round about way. I can add a click listener to the table I defined and then call the onBrowserEvent myself. Unless you or someone else can think of a better way. -Adam On May 12, 10:53 am, matttai matt...@hotmail.com wrote: Hi Adam, What exactly is it that you are trying to achieve by doing this? If you wish to find thecellthat was clicked and manipulate it you can also do it this way : Add clickHandler to table/grid Call getSource() on received clickEvent Cast source to grid/flextable Call getCellForEvent(event) on the table which gives you aCell element Then you can call row /cellindex on the object and you would have your row / column. Cheers, Matt On May 7, 5:51 am, Adam ambr...@gmail.com wrote: Hey Gang, I've created a lightweight customcellthat extends AbstractCell. I've included the code below. What I've determined is that the parent is the DIV associated with thecell. What I'm trying to do is make it so if I click anywhere in thecellincluding the text of the tds that the onBrowserEvent is fired. I've figured out that what's happening is that the click on the table I'm rendering or the tds is swallowing the events of the div and therefore the onBrowserEvent isn't being called. If this was a regular widget I'd just do a sinkEvent. The issue I'm having is hope to sink the td mouse events into thecell div. I looked at the source for AbstractCell and saw that public void setValue(...) is calling render and also has access to the parent so I've tried to do something like DOM.sinkEvent(parent.getFirstChildElement().getFirstChildElement().getFirst ChildElement(), Event.ONCLICK). But that didn't see to do the trick either. Any thoughts would be most appreciated. class OrderCell extends AbstractCellMockOrder { public OrderCell() { super(click, keydown); } @Override public void onBrowserEvent(Element parent, MockOrder value, Object key, NativeEventevent, ValueUpdaterMockOrder valueUpdater) { super.onBrowserEvent(parent, value, key,event, valueUpdater); if (click.equals(event.getType())) { onEnterKeyDown(parent, value, key,event, valueUpdater); } } @Override protected void onEnterKeyDown(Element parent, MockOrder value, Object key, NativeEventevent, ValueUpdaterMockOrder valueUpdater) { if (valueUpdater != null) { valueUpdater.update(value); } } @Override public void render(MockOrder value, Object key, SafeHtmlBuilder sb) { // Value can be null, so do a null check.. if (value == null) { return; } sb.appendHtmlConstant(table); // Add the name and address. sb.appendHtmlConstant(trtd); sb.appendEscaped(value.getApplicant().getLastName() + , + value.getApplicant().getFirstName()); sb.appendHtmlConstant(/td/trtrtd); sb.appendEscaped(value.getStatus()); sb.appendHtmlConstant(/td/tr/table); } } -- You received 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: Empty Response From HTTP Request
Can you at least see the size of the response like in an apache log file? Try using FireBug's Net Panel to see the request/response size/duration. On Thu, May 12, 2011 at 4:25 PM, Nick Apperley napper...@gmail.com wrote: What is really weird is that the timeouts are occurring with making a request via JsonRequestBuilder yet the Glassfish server has received the request successfully. I have been digging through the Glassfish server logs and found an identical set of entries for 2 requests that were made (one from GWT client, the other from the web browser). What isn't recorded in the logs is if the server has sent back a response, and its content if it was sent. Right now I do not know what is happening with the server responses. Presumably a response is being sent back to the GWT client. At least a response has been sent back for the request made by the web browser. On May 13, 10:15 am, Nick Apperley napper...@gmail.com wrote: I have undertaken the suggestion but now have an entirely new problem to content with. Timeouts are occurring every time a request is made using JsonpRequestBuilder. I have checked to see that the URL is correct, and have extended the timeout duration but still end up with the same problem. What could cause a timeout to occur with doing a request with JsonpRequestBuilder? -- You received 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. -- -- 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-contrib] Re: Rescues cached entries from jar files that are the same, save for the timestamp. (issue1441803)
http://gwt-code-reviews.appspot.com/1441803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Autoformats user/super and user/test-super (issue1442805)
Reviewers: rjrjr, scottb, Description: Autoformats user/super and user/test-super Please review this at http://gwt-code-reviews.appspot.com/1442805/ Affected files: M user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java M user/super/com/google/gwt/core/translatable/com/google/gwt/core/client/impl/WeakMapping.java M user/super/com/google/gwt/emul/java/io/Serializable.java M user/super/com/google/gwt/emul/java/io/UnsupportedEncodingException.java M user/super/com/google/gwt/emul/java/lang/Appendable.java M user/super/com/google/gwt/emul/java/lang/ArithmeticException.java M user/super/com/google/gwt/emul/java/lang/ArrayIndexOutOfBoundsException.java M user/super/com/google/gwt/emul/java/lang/ArrayStoreException.java M user/super/com/google/gwt/emul/java/lang/AssertionError.java M user/super/com/google/gwt/emul/java/lang/Byte.java M user/super/com/google/gwt/emul/java/lang/Character.java M user/super/com/google/gwt/emul/java/lang/Class.java M user/super/com/google/gwt/emul/java/lang/Double.java M user/super/com/google/gwt/emul/java/lang/Enum.java M user/super/com/google/gwt/emul/java/lang/Float.java M user/super/com/google/gwt/emul/java/lang/IllegalArgumentException.java M user/super/com/google/gwt/emul/java/lang/IndexOutOfBoundsException.java M user/super/com/google/gwt/emul/java/lang/Integer.java M user/super/com/google/gwt/emul/java/lang/Long.java M user/super/com/google/gwt/emul/java/lang/Math.java M user/super/com/google/gwt/emul/java/lang/NegativeArraySizeException.java M user/super/com/google/gwt/emul/java/lang/NullPointerException.java M user/super/com/google/gwt/emul/java/lang/Number.java M user/super/com/google/gwt/emul/java/lang/NumberFormatException.java M user/super/com/google/gwt/emul/java/lang/Object.java M user/super/com/google/gwt/emul/java/lang/RuntimeException.java M user/super/com/google/gwt/emul/java/lang/Short.java M user/super/com/google/gwt/emul/java/lang/StackTraceElement.java M user/super/com/google/gwt/emul/java/lang/String.java M user/super/com/google/gwt/emul/java/lang/StringIndexOutOfBoundsException.java M user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java M user/super/com/google/gwt/emul/java/lang/System.java M user/super/com/google/gwt/emul/java/lang/UnsupportedOperationException.java M user/super/com/google/gwt/emul/java/lang/annotation/Annotation.java M user/super/com/google/gwt/emul/java/lang/annotation/AnnotationFormatError.java M user/super/com/google/gwt/emul/java/lang/annotation/AnnotationTypeMismatchException.java M user/super/com/google/gwt/emul/java/lang/annotation/Documented.java M user/super/com/google/gwt/emul/java/lang/annotation/ElementType.java M user/super/com/google/gwt/emul/java/lang/annotation/IncompleteAnnotationException.java M user/super/com/google/gwt/emul/java/lang/annotation/Inherited.java M user/super/com/google/gwt/emul/java/lang/annotation/Retention.java M user/super/com/google/gwt/emul/java/lang/annotation/RetentionPolicy.java M user/super/com/google/gwt/emul/java/lang/annotation/Target.java M user/super/com/google/gwt/emul/java/math/BigDecimal.java M user/super/com/google/gwt/emul/java/math/BigInteger.java M user/super/com/google/gwt/emul/java/math/BitLevel.java M user/super/com/google/gwt/emul/java/math/Conversion.java M user/super/com/google/gwt/emul/java/math/Division.java M user/super/com/google/gwt/emul/java/math/Elementary.java M user/super/com/google/gwt/emul/java/math/Logical.java M user/super/com/google/gwt/emul/java/math/MathContext.java M user/super/com/google/gwt/emul/java/math/Multiplication.java M user/super/com/google/gwt/emul/java/math/Primality.java M user/super/com/google/gwt/emul/java/math/RoundingMode.java M user/super/com/google/gwt/emul/java/security/DigestException.java M user/super/com/google/gwt/emul/java/security/GeneralSecurityException.java M user/super/com/google/gwt/emul/java/security/MessageDigest.java M user/super/com/google/gwt/emul/java/security/MessageDigestSpi.java M user/super/com/google/gwt/emul/java/security/NoSuchAlgorithmException.java M user/super/com/google/gwt/emul/java/sql/Date.java M user/super/com/google/gwt/emul/java/sql/Time.java M user/super/com/google/gwt/emul/java/sql/Timestamp.java M user/super/com/google/gwt/emul/java/text/ParseException.java M user/super/com/google/gwt/emul/java/util/AbstractCollection.java M user/super/com/google/gwt/emul/java/util/AbstractHashMap.java M user/super/com/google/gwt/emul/java/util/AbstractList.java M user/super/com/google/gwt/emul/java/util/AbstractMap.java M user/super/com/google/gwt/emul/java/util/AbstractQueue.java M user/super/com/google/gwt/emul/java/util/AbstractSequentialList.java M user/super/com/google/gwt/emul/java/util/AbstractSet.java M user/super/com/google/gwt/emul/java/util/ArrayList.java M
[gwt-contrib] Re: Autoformats user/super and user/test-super (issue1442805)
http://gwt-code-reviews.appspot.com/1442805/diff/1/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java File user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java (right): http://gwt-code-reviews.appspot.com/1442805/diff/1/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java#newcode28 user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java:28: }-*/; Uh oh. The auto-formatter clobbers jsni. This seems pretty bad. http://gwt-code-reviews.appspot.com/1442805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Autoformats user/super and user/test-super (issue1442805)
http://gwt-code-reviews.appspot.com/1442805/diff/1/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java File user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java (right): http://gwt-code-reviews.appspot.com/1442805/diff/1/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java#newcode28 user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java:28: }-*/; On 2011/05/12 16:13:10, rjrjr wrote: Uh oh. The auto-formatter clobbers jsni. This seems pretty bad. Good Catch. I'll see if there's something I can do... http://gwt-code-reviews.appspot.com/1442805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Autoformats user/super and user/test-super (issue1442805)
I had to drag Alex into this. I thought I'd move the process along by mass formatting from eclipse UI on the package or project level, but that also skips our GWT specific tweaks. On Thu, May 12, 2011 at 12:24 PM, zun...@google.com wrote: http://gwt-code-reviews.appspot.com/1442805/diff/1/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java File user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java (right): http://gwt-code-reviews.appspot.com/1442805/diff/1/user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java#newcode28 user/super/com/google/gwt/benchmarks/translatable/com/google/gwt/benchmarks/client/Benchmark.java:28: }-*/; On 2011/05/12 16:13:10, rjrjr wrote: Uh oh. The auto-formatter clobbers jsni. This seems pretty bad. Good Catch. I'll see if there's something I can do... http://gwt-code-reviews.appspot.com/1442805/ -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Removing the recently added RPC test for LogRecord, as it seems to (issue1447803)
Hmmm - that link doesn't work for me - did this issue get reverted? On Wed, May 11, 2011 at 1:02 PM, schen...@google.com wrote: Reviewers: unnurg, Description: Removing the recently added RPC test for LogRecord, as it seems to cause more problems than it is worth. Please review this at http://gwt-code-reviews.appspot.com/1447803/ Affected files: M user/test/com/google/gwt/user/client/rpc/CoreJavaTest.java Index: user/test/com/google/gwt/user/client/rpc/CoreJavaTest.java === --- user/test/com/google/gwt/user/client/rpc/CoreJavaTest.java (revision 10174) +++ user/test/com/google/gwt/user/client/rpc/CoreJavaTest.java (working copy) @@ -122,7 +122,13 @@ private CoreJavaTestServiceAsync coreJavaTestService; - public void testLogRecord() { + /** + * This test is disabled because the creation of java.util.logging.Level + * objects fails in production mode with the standard logging behavior of + * tests. Given that we log things regularly, and hence get plenty of + * implicit testing, it is not worth fixing the flakiness. + */ + public void disableTestLogRecord() { CoreJavaTestServiceAsync service = getServiceAsync(); delayTestFinishForRpc(); service.echoLogRecord(expectedLogRecord, new AsyncCallbackLogRecord() { -- DO NOT FORWARD -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Rescues cached entries from jar files that are the same, save for the timestamp. (issue1441803)
http://gwt-code-reviews.appspot.com/1441803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Misc gwtc cleanups (issue1446802)
LGTM http://gwt-code-reviews.appspot.com/1446802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Rescues cached entries from jar files that are the same, save for the timestamp. (issue1441803)
LGTM w/nits, no need to re-review. http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java File dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java (right): http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java#newcode45 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:45: public CachedCompilationUnit(CachedCompilationUnit unit, long lastModified, Javadoc. http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java#newcode66 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:66: } You should just be able to just assign the field, the conversion would have happened already in the original unit. http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java File dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java (right): http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java#newcode3 dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java:3: * whitespace http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java#newcode404 dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java:404: unitCache.remove(cachedUnit); It looks like adding the new unit is supposed to bump out the old one. http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/util/DiskCacheToken.java File dev/core/src/com/google/gwt/dev/util/DiskCacheToken.java (right): http://gwt-code-reviews.appspot.com/1441803/diff/3010/dev/core/src/com/google/gwt/dev/util/DiskCacheToken.java#newcode52 dev/core/src/com/google/gwt/dev/util/DiskCacheToken.java:52: } I think this can be reverted now http://gwt-code-reviews.appspot.com/1441803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r10179 committed - Misc gwtc cleanups....
Revision: 10179 Author: sco...@google.com Date: Thu May 12 10:09:08 2011 Log: Misc gwtc cleanups. http://gwt-code-reviews.appspot.com/1446802/ Review by: zun...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=10179 Modified: /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/StandardSymbolData.java /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JNewArray.java /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRebinds.java === --- /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/StandardSymbolData.java Mon Aug 30 04:31:11 2010 +++ /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/StandardSymbolData.java Thu May 12 10:09:08 2011 @@ -137,7 +137,7 @@ @Override public String toString() { -return methodSig != null ? methodSig : className; +return isClass() ? className : getJsniIdent(); } private void readObject(ObjectInputStream in) throws IOException, === --- /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JNewArray.java Wed Apr 20 08:47:17 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JNewArray.java Thu May 12 10:09:08 2011 @@ -16,8 +16,8 @@ package com.google.gwt.dev.jjs.ast; import com.google.gwt.dev.jjs.SourceInfo; - -import java.util.ArrayList; +import com.google.gwt.dev.util.collect.Lists; + import java.util.List; /** @@ -26,8 +26,6 @@ public class JNewArray extends JExpression { public static JNewArray createDims(SourceInfo info, JArrayType arrayType, ListJExpression dims) { -ListJClassLiteral classLiterals = new ArrayListJClassLiteral(); - // Produce all class literals that will eventually get generated. int realDims = 0; for (JExpression dim : dims) { @@ -37,11 +35,12 @@ ++realDims; } +ListJClassLiteral classLiterals = Lists.create(); JType cur = arrayType; for (int i = 0; i realDims; ++i) { // Walk down each type from most dims to least. JClassLiteral classLit = new JClassLiteral(info.makeChild(), cur); - classLiterals.add(classLit); + classLiterals = Lists.add(classLiterals, classLit); cur = ((JArrayType) cur).getElementType(); } return new JNewArray(info, arrayType, dims, null, classLiterals); @@ -49,8 +48,8 @@ public static JNewArray createInitializers(SourceInfo info, JArrayType arrayType, ListJExpression initializers) { -ListJClassLiteral classLiterals = new ArrayListJClassLiteral(); -classLiterals.add(new JClassLiteral(info.makeChild(), arrayType)); +ListJClassLiteral classLiterals = +Lists.create(new JClassLiteral(info.makeChild(), arrayType)); return new JNewArray(info, arrayType, null, initializers, classLiterals); } @@ -75,7 +74,7 @@ } public JArrayType getArrayType() { -return (JArrayType) type.getUnderlyingType(); +return type; } /** === --- /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java Tue May 10 05:59:20 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java Thu May 12 10:09:08 2011 @@ -653,7 +653,7 @@ */ if (!hasExplicitThis) { ReferenceBinding declaringClass = (ReferenceBinding) x.binding.declaringClass.erasure(); - if (declaringClass instanceof NestedTypeBinding) { + if (isNested(declaringClass)) { NestedTypeBinding nestedBinding = (NestedTypeBinding) declaringClass; if (nestedBinding.enclosingInstances != null) { for (SyntheticArgumentBinding arg : nestedBinding.enclosingInstances) { @@ -768,7 +768,7 @@ if (x.isSuperAccess()) { JExpression qualifier = pop(x.qualification); ReferenceBinding superClass = x.binding.declaringClass; - boolean nestedSuper = superClass.isNestedType() !superClass.isStatic(); + boolean nestedSuper = isNested(superClass); if (nestedSuper) { processSuperCallThisArgs(superClass, call, qualifier, x.qualification); } @@ -779,7 +779,7 @@ } else { assert (x.qualification == null); ReferenceBinding declaringClass = x.binding.declaringClass; - boolean nested = declaringClass.isNestedType() !declaringClass.isStatic(); + boolean nested = isNested(declaringClass); if (nested) { processThisCallThisArgs(declaringClass, call); } @@ -1553,7 +1553,8 @@ // Map synthetic arguments for outer this. ReferenceBinding declaringClass = (ReferenceBinding) x.binding.declaringClass.erasure(); -if (declaringClass.isNestedType() !declaringClass.isStatic()) { +boolean isNested = isNested(declaringClass); +if (isNested) { NestedTypeBinding nestedBinding =
[gwt-contrib] [google-web-toolkit] r10180 committed - Rescues cached entries from jar files that are the same, save for the ...
Revision: 10180 Author: zun...@google.com Date: Thu May 12 10:40:46 2011 Log: Rescues cached entries from jar files that are the same, save for the timestamp. Also updates the key value used for the cache to include the prefix for RerootedResource instances. Review at http://gwt-code-reviews.appspot.com/1441803 http://code.google.com/p/google-web-toolkit/source/detail?r=10180 Modified: /trunk/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnit.java /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitBuilder.java /trunk/dev/core/src/com/google/gwt/dev/javac/SourceFileCompilationUnit.java /trunk/dev/core/src/com/google/gwt/dev/javac/UnitCache.java /trunk/dev/core/src/com/google/gwt/dev/resource/Resource.java /trunk/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java /trunk/dev/core/test/com/google/gwt/dev/javac/MockCompilationUnit.java === --- /trunk/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java Wed May 11 10:50:46 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java Thu May 12 10:40:46 2011 @@ -30,17 +30,46 @@ private final CollectionCompiledClass compiledClasses; private final ContentId contentId; private final Dependencies dependencies; - private final String resourceLocation; - private final String resourcePath; - private final ListJsniMethod jsniMethods; - private final long lastModified; - private final MethodArgNamesLookup methodArgNamesLookup; - private final String typeName; private final boolean isError; private final boolean isGenerated; private final boolean isSuperSource; + private final ListJsniMethod jsniMethods; + private final long lastModified; + private final MethodArgNamesLookup methodArgNamesLookup; private final CategorizedProblem[] problems; + private final String resourceLocation; + private final String resourcePath; private final DiskCacheToken sourceToken; + private final String typeName; + + /** + * Shallow copy of a CachedCompiliationUnit, replacing some parameters in the new copy. + * + * @param unit Unit to clone. + * @param lastModified last modified date to replace in the clone + * @param resourceLocation location to replace in the clone. + */ + public CachedCompilationUnit(CachedCompilationUnit unit, long lastModified, + String resourceLocation) { +assert unit != null; +this.compiledClasses = unit.getCompiledClasses(); +this.contentId = unit.getContentId(); +this.dependencies = unit.getDependencies(); +this.resourcePath = unit.getResourcePath(); +this.jsniMethods = unit.getJsniMethods(); +this.methodArgNamesLookup = unit.getMethodArgs(); +this.typeName = unit.getTypeName(); +this.isError = unit.isError(); +this.isGenerated = unit.isGenerated(); +this.isSuperSource = unit.isSuperSource(); +this.problems = unit.problems; +this.astToken = unit.astToken; +this.sourceToken = unit.sourceToken; + +// Override these fields +this.lastModified = lastModified; +this.resourceLocation = resourceLocation; + } /** * Create a compilation unit that can be serialized from another @@ -79,6 +108,11 @@ this.astToken = new DiskCacheToken(astToken); this.sourceToken = new DiskCacheToken(sourceToken); } + + @Override + public CachedCompilationUnit asCachedCompilationUnit() { +return this; + } @Override public CollectionCompiledClass getCompiledClasses() { @@ -142,11 +176,6 @@ public boolean isSuperSource() { return isSuperSource; } - - @Override - protected Object writeReplace() { -return this; - } @Override ContentId getContentId() { === --- /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java Tue May 3 08:35:13 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java Thu May 12 10:40:46 2011 @@ -1,12 +1,12 @@ /* * Copyright 2009 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -371,7 +371,7 @@ /** * Build a new compilation state from a source oracle. Allow the caller to * specify a compiler delegate that will handle undefined names. - * + * * TODO: maybe use a finer brush than to synchronize the whole thing. */ public synchronized CompilationState
[gwt-contrib] Adding additional testing for GWT RPC. Some custom serialized objects (issue1441804)
Reviewers: unnurg, Description: Adding additional testing for GWT RPC. Some custom serialized objects were previously untested, at least explicitly. Testing put in place now provides coverage to test future changes. Please review this at http://gwt-code-reviews.appspot.com/1441804/ Affected files: A user/test/com/google/gwt/user/LoggingRPCSuite.gwt.xml A user/test/com/google/gwt/user/LoggingRPCSuite.java M user/test/com/google/gwt/user/RPCSuite.gwt.xml M user/test/com/google/gwt/user/RPCSuite.java A user/test/com/google/gwt/user/client/rpc/CoreJavaTest.java A user/test/com/google/gwt/user/client/rpc/CoreJavaTestService.java A user/test/com/google/gwt/user/client/rpc/CoreJavaTestServiceAsync.java M user/test/com/google/gwt/user/client/rpc/CustomFieldSerializerTest.java A user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java A user/test/com/google/gwt/user/client/rpc/LoggingRPCTestService.java A user/test/com/google/gwt/user/client/rpc/LoggingRPCTestServiceAsync.java A user/test/com/google/gwt/user/server/rpc/CoreJavaTestServiceImpl.java A user/test/com/google/gwt/user/server/rpc/LoggingRPCTestServiceImpl.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adding additional testing for GWT RPC. Some custom serialized objects (issue1441804)
http://gwt-code-reviews.appspot.com/1441804/diff/1/user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java File user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java (right): http://gwt-code-reviews.appspot.com/1441804/diff/1/user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java#newcode84 user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java:84: */ Stale comment? http://gwt-code-reviews.appspot.com/1441804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Enables on the persistent unit cache by default. (issue1448801)
Reviewers: tobyr, scottb, jbrosenberg, Description: Enables on the persistent unit cache by default. Please review this at http://gwt-code-reviews.appspot.com/1448801/ Affected files: M dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java Index: dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java === --- dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java (revision 10178) +++ dev/core/src/com/google/gwt/dev/javac/UnitCacheFactory.java (working copy) @@ -29,7 +29,7 @@ * The API must be enabled explicitly for persistent caching to be live. */ private static final String configPropertyValue = System.getProperty(gwt.persistentunitcache, - false); + true); private static final boolean usePersistent = configPropertyValue.length() == 0 || Boolean.parseBoolean(configPropertyValue); private static UnitCache instance = null; -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Enables on the persistent unit cache by default. (issue1448801)
I know the paint is still drying on the last patch I submitted for the Persistent Unit Cache, but no real problems have been reported in... weeks! I think its ready to be on by default. http://gwt-code-reviews.appspot.com/1448801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adding additional testing for GWT RPC. Some custom serialized objects (issue1441804)
http://gwt-code-reviews.appspot.com/1441804/diff/1/user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java File user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java (right): http://gwt-code-reviews.appspot.com/1441804/diff/1/user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java#newcode84 user/test/com/google/gwt/user/client/rpc/LoggingRPCTest.java:84: */ On 2011/05/12 22:07:04, tobyr wrote: Stale comment? Done. http://gwt-code-reviews.appspot.com/1441804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Enables on the persistent unit cache by default. (issue1448801)
SGTM. At some point I'll have to deal with versioning for the embedded GWT ASTs, but I can burn that bridge when I come to it. On Thu, May 12, 2011 at 6:48 PM, zun...@google.com wrote: I know the paint is still drying on the last patch I submitted for the Persistent Unit Cache, but no real problems have been reported in... weeks! I think its ready to be on by default. http://gwt-code-reviews.appspot.com/1448801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fix checkstyle 'info' warnings (issue1446803)
Reviewers: rjrjr, Description: Fix checkstyle 'info' warnings Please review this at http://gwt-code-reviews.appspot.com/1446803/ Affected files: M dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java M dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java M dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java M user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java M user/src/com/google/gwt/event/dom/client/EndedEvent.java M user/src/com/google/gwt/event/dom/client/ProgressEvent.java M user/src/com/google/gwt/event/logical/shared/HasAttachHandlers.java M user/src/com/google/gwt/event/shared/EventBus.java M user/src/com/google/gwt/event/shared/ResettableEventBus.java M user/src/com/google/gwt/resources/rg/CssResourceGenerator.java M user/src/com/google/gwt/user/client/ui/AttachableHTMLPanel.java M user/src/com/google/web/bindery/autobean/shared/Splittable.java M user/src/com/google/web/bindery/event/shared/ResettableEventBus.java M user/src/com/google/web/bindery/requestfactory/shared/Receiver.java M user/test/com/google/gwt/event/shared/SimpleEventBusTest.java M user/test/com/google/gwt/i18n/rebind/LocaleUtilsTest.java M user/test/com/google/gwt/user/tools/WebAppCreatorTest.java M user/test/com/google/web/bindery/requestfactory/server/ServiceLocatorTest.java Index: dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java === --- dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java (revision 10178) +++ dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java (working copy) @@ -135,8 +135,7 @@ } } } - - + String[] cacheExtraFiles = getCacheExtraFiles(); for (int i = 0; i cacheExtraFiles.length; i++) { staticResoucesSb.append(cacheExtraFiles[i]); Index: dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java === --- dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java (revision 10178) +++ dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java (working copy) @@ -53,8 +53,6 @@ * * @param logger logger for logging errors to the console * @param missingType The qualified source name of the type to report - * @param unitMap if available, pass - * {@link CompilationState#getCompilationUnitMap()}. */ public static void logMissingTypeErrorWithHints(TreeLogger logger, String missingType, CompilationState compilationState) { @@ -105,7 +103,7 @@ * originated. * @param isError codetrue/code if this is considered a fatal compilation * error. - * @param supressErrors Controls the log level for logging errors. See + * @param suppressErrors Controls the log level for logging errors. See * {@link #reportErrors(TreeLogger, CompilationUnit, boolean)}. * @return a branch of the logger parameter for logging further problems. */ @@ -174,7 +172,7 @@ * * @param logger logger for reporting errors to the console * @param unit Compilation unit that may have errors - * @param supressErrors Controls he log level for logging errors. If + * @param suppressErrors Controls he log level for logging errors. If * codefalse/code is passed, compilation errors are logged at * TreeLogger.ERROR and warnings logged at TreeLogger.WARN. If * codetrue/code is passed, compilation errors are logged at Index: dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java === --- dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java (revision 10178) +++ dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java (working copy) @@ -16,7 +16,6 @@ package com.google.gwt.dev.javac; import com.google.gwt.core.ext.TreeLogger; - import java.util.Collection; import java.util.HashSet; Index: user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java === --- user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java (revision 10178) +++ user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java (working copy) @@ -56,7 +56,6 @@ return TYPE; } - @Override protected void dispatch(CanPlayThroughHandler handler) { handler.onCanPlayThrough(this); Index: user/src/com/google/gwt/event/dom/client/EndedEvent.java === --- user/src/com/google/gwt/event/dom/client/EndedEvent.java (revision 10178) +++ user/src/com/google/gwt/event/dom/client/EndedEvent.java(working copy) @@ -55,7 +55,6 @@ return TYPE; } - @Override protected void dispatch(EndedHandler handler) {
[gwt-contrib] [google-web-toolkit] r10181 committed - Fix checkstyle 'info' warnings...
Revision: 10181 Author: gwt.mirror...@gmail.com Date: Thu May 12 17:18:09 2011 Log: Fix checkstyle 'info' warnings Review at http://gwt-code-reviews.appspot.com/1446803 Review by: rj...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=10181 Modified: /trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java /trunk/user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java /trunk/user/src/com/google/gwt/event/dom/client/EndedEvent.java /trunk/user/src/com/google/gwt/event/dom/client/ProgressEvent.java /trunk/user/src/com/google/gwt/event/logical/shared/HasAttachHandlers.java /trunk/user/src/com/google/gwt/event/shared/EventBus.java /trunk/user/src/com/google/gwt/event/shared/ResettableEventBus.java /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java /trunk/user/src/com/google/gwt/user/client/ui/AttachableHTMLPanel.java /trunk/user/src/com/google/web/bindery/autobean/shared/Splittable.java /trunk/user/src/com/google/web/bindery/event/shared/ResettableEventBus.java /trunk/user/src/com/google/web/bindery/requestfactory/shared/Receiver.java /trunk/user/test/com/google/gwt/event/shared/SimpleEventBusTest.java /trunk/user/test/com/google/gwt/i18n/rebind/LocaleUtilsTest.java /trunk/user/test/com/google/gwt/user/tools/WebAppCreatorTest.java /trunk/user/test/com/google/web/bindery/requestfactory/server/ServiceLocatorTest.java === --- /trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java Fri May 6 09:30:06 2011 +++ /trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java Thu May 12 17:18:09 2011 @@ -135,8 +135,7 @@ } } } - - + String[] cacheExtraFiles = getCacheExtraFiles(); for (int i = 0; i cacheExtraFiles.length; i++) { staticResoucesSb.append(cacheExtraFiles[i]); === --- /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java Tue Apr 26 08:02:24 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java Thu May 12 17:18:09 2011 @@ -53,8 +53,6 @@ * * @param logger logger for logging errors to the console * @param missingType The qualified source name of the type to report - * @param unitMap if available, pass - * {@link CompilationState#getCompilationUnitMap()}. */ public static void logMissingTypeErrorWithHints(TreeLogger logger, String missingType, CompilationState compilationState) { @@ -105,7 +103,7 @@ * originated. * @param isError codetrue/code if this is considered a fatal compilation * error. - * @param supressErrors Controls the log level for logging errors. See + * @param suppressErrors Controls the log level for logging errors. See * {@link #reportErrors(TreeLogger, CompilationUnit, boolean)}. * @return a branch of the logger parameter for logging further problems. */ @@ -174,7 +172,7 @@ * * @param logger logger for reporting errors to the console * @param unit Compilation unit that may have errors - * @param supressErrors Controls he log level for logging errors. If + * @param suppressErrors Controls he log level for logging errors. If * codefalse/code is passed, compilation errors are logged at * TreeLogger.ERROR and warnings logged at TreeLogger.WARN. If * codetrue/code is passed, compilation errors are logged at === --- /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java Tue Apr 5 03:08:39 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java Thu May 12 17:18:09 2011 @@ -17,7 +17,6 @@ import com.google.gwt.core.ext.TreeLogger; - import java.util.Collection; import java.util.HashSet; import java.util.Iterator; === --- /trunk/user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java Wed Mar 23 13:32:42 2011 +++ /trunk/user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java Thu May 12 17:18:09 2011 @@ -55,7 +55,6 @@ public final TypeCanPlayThroughHandler getAssociatedType() { return TYPE; } - @Override protected void dispatch(CanPlayThroughHandler handler) { === --- /trunk/user/src/com/google/gwt/event/dom/client/EndedEvent.java Wed Mar 23 13:32:42 2011 +++ /trunk/user/src/com/google/gwt/event/dom/client/EndedEvent.java Thu May 12 17:18:09 2011 @@ -54,7 +54,6 @@ public final TypeEndedHandler getAssociatedType() { return TYPE; } - @Override protected void dispatch(EndedHandler handler) { ===
[gwt-contrib] Experimental attempt to add EventBus support to Widgets (issue1447804)
Reviewers: rjrjr, Description: Experimental attempt to add EventBus support to Widgets Modify the MobileWebApp sample to use the new feature Please review this at http://gwt-code-reviews.appspot.com/1447804/ Affected files: M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/App.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ClientFactoryImpl.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/ClientFactoryImplTablet.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/Provider.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/activity/TaskListActivity.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/desktop/DesktopTaskReadView.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/mobile/MobileTaskReadView.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/tablet/MobileWebAppShellTablet.java M samples/mobilewebapp/src/main/com/google/gwt/sample/mobilewebapp/client/tablet/TabletTaskReadView.java A user/src/com/google/gwt/event/logical/shared/ActivateEvent.java M user/src/com/google/gwt/user/client/ui/Widget.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors