Re: GWT-ext or ext-GWT?
I am trying to use ext-gwt for a few days, and I get crazy because of the really poor documentation available, you only have the code to understand what you are doing, and not enough general guidelines. I don't know how it is for GWT ext, but I will definitely have a look. I am really new with GWT in general, maybe that's why I need more documentation. I was trying to figure out how to add a delete button to the EditorGrid, or just access the current selected item of the grid. I find it really difficult to get to this simple information. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT-ext or ext-GWT?
I've used gwt-ext for about one month and used that for a quite complex real world project. I've also tried to use ext-gwt.(It seems that ext-gwt support ext2.2 but gwt-ext suport 2.0.2 and lower version). From my current understanding, gwt-ext is very stable and has much more features that ext-gwt. Sammi On Wed, Nov 5, 2008 at 12:08 AM, zebulon303 [EMAIL PROTECTED] wrote: I am trying to use ext-gwt for a few days, and I get crazy because of the really poor documentation available, you only have the code to understand what you are doing, and not enough general guidelines. I don't know how it is for GWT ext, but I will definitely have a look. I am really new with GWT in general, maybe that's why I need more documentation. I was trying to figure out how to add a delete button to the EditorGrid, or just access the current selected item of the grid. I find it really difficult to get to this simple information. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Reading XML file from localhost
Oh. I didnt know that! Thanks a lot! Will try to modify it. Thanks again. mives29 On Nov 5, 3:31 pm, Lothar Kimmeringer [EMAIL PROTECTED] wrote: mives29 schrieb: requestBuilder = new RequestBuilder(RequestBuilder.GET,url); requestBuilder.sendRequest(null,xmlRcb); doc = xmlRcb.getDoc(); //calls xmlRcb's getDoc method, w/c returns sendRequest happens asynchronously, so the callback- method is not called at this time you try to get the document. You have to place the logic that happens when the XML- file has been received inside the onResponseReceived- method of the callback-class. Regards, Lothar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Dynamically generating meta-tag for specifying locale
here's what we do: very simple java script (in the header section of the .html file) of course the accept-language approach is much better and I also consider implementing that approach: some day when I have some spare time :) ... script type=text/javascript var lang=en; if (navigator.language.indexOf(en) -1) { lang=en; } else if (navigator.language.indexOf(de) -1) { lang=de; } document.write(meta name='gwt:property' content='locale=+lang +'); /script script type=text/javascript language=javascript src=com.tfact.TFAct.nocache.js/script /head On Nov 4, 8:29 pm, prody [EMAIL PROTECTED] wrote: Thank you all for your reply. I'm trying to use GWT incubator code. I could not find a working example. The documentation says- // Per-request code for the host html page String locale = localeMatcher.findBestMatch(request.getHeader(Accept-language)); // Store the selected locale in the host html page to be served, via // meta name='gwt:property' content='locale=locale' // Be sure to include a Vary: Accept-language header in the response. Just by adding meta name='gwt:property' content='locale=locale' into html host page and then setting locale =es on server side doesn't seem to work. Has anyone been able to resolve this issue? Could you please provide a working example(using jsp in host page or gwt incubator?? Thanks ! On Nov 4, 5:53 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think that jsp is the better way. Just rename gwt html file to a jsp file in which add some java code. And on client you should access the jsp file. rashmi wrote: Hi all, I'm new to GWT and I'm trying to implement GWT static string internationalization I understand that in order to specify a locale at run time you need to use meta tag or rewrite URL. If I add locale=xx in the meta tag or in the URL as below, I can see the string internationalization working in my application. meta name=gwt:property content=locale=de or http://www.example.org/myapp.html?locale=de But, I would like to dynamically generate the meta tag to set locale at run time based on the client's browser locale. How to I change the meta tag dynamically to use client's locale settings? Most browsers send an Accept-Language header - is there any way in GWT to use that information to dynamically generate the meta-tag? I would really appreciate any reply. Regards, Rashmi- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Response from Server is very slow
Hi to All, I am newbie to this group. I have one critical issue. Please help me regarding this. I have some performance related issue with GWT-RPC. I have create one method on server side which will fetch data from database, create one POJO class for one record, store all POJO classes in ArrayList and return that ArrayList object. Problem is, when there will be less records say 10-30, I will get response from server to client in acceptable time, but if there will be more records say 500+, it will taking to much time say more than 5 minutes to return ArrayList of POJO classes(500+). How can I improve performance because in future there might be 5000+ records which I need in one response from server. Please give me suggestion and if possible solution for this issue as I stuck with this issue since long but not able to get rid of this issue. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Vtype
Hello, someone already used Vtypes, has some example of how to create a custom? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Russian GWT tutorial
Русское ководство GWT http://gocha.org/index.php?option=com_contenttask=viewid=16Itemid=28 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Single application .. multiple RPC services
Hi, I want to build a website with (Home, about, products, ...) menu. I need to build multiple forms (panels), each panel corresponds to one menu item, e.g. aboutPanel for about menu item, productsPanel for products... Moreover, I would like to implement that panel in terms of RPC services; I need to correspond each panel to a single RPC service that communicates with the server to get its data, build the whole form, and return the result as a panel to be displayed somewhere in the home page (for example). Of course, GWT allows us to define multiple services and add multiple servlet path=/service ... to the module XML file. My problem is how to know which service should I instantiate depending on the URL mapping, i.e. suppose that the menu is defined as follow: div id=menu a href=index.htmlHome/a a href=/aboutAbout us/a a href=/productsProducts/a ... /div So when someone clicks the About us link, the URL would be http:// domain/about. So I should instantiate the about service and create an aboutPanel to display it. The same thing when s/he clicks the Products link, then the URL is http://domain/products; and, in this case, I should build the product panel... So, is there somewhere in GWT application that I could parse the URL and depending on the mapping portion of it /about or /products could I decide which service to instantiate? Or is there another better way to do that? Thank you very much 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: clicking outside the TreeItem firing onTreeItemSelected event
Hi Walden, I tried using gwt-1.5.2 and gwt-1.5. If gwt-1.5.2 is used on IE6 it happens only for the child node. Root level nodes are working fine. But on IE7 and Firefox it is reproducible for all the nodes. If gwt-1.5 is used on IE6 everything works fine. But on Firefox it is reproducible for all the nodes. You can use this code below to reproduce the issue. TreeTest.java package com.test.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Tree; import com.google.gwt.user.client.ui.TreeItem; import com.google.gwt.user.client.ui.TreeListener; /** * Entry point classes define codeonModuleLoad()/code. */ public class TreeTest implements EntryPoint { Tree myTree; /** * This is the entry point method. */ public void onModuleLoad() { myTree = new Tree(); for (int i = 0; i 10; i++) { TreeItem prItm = new TreeItem(Parent_ + i); TreeItem chItm = new TreeItem(Child_ + i); prItm.addItem(chItm); myTree.addItem(prItm); } myTree.addTreeListener(treeListener); RootPanel.get().add(myTree); } TreeListener treeListener = new TreeListener() { public void onTreeItemSelected(TreeItem item) { Window.alert(item.getText() + selected); } public void onTreeItemStateChanged(TreeItem item) { // TODO Auto-generated method stub } }; } TreeTest.css .gwt-Tree { border: 1px solid blue; margin-left: 30px; } .gwt-Tree .gwt-TreeItem { border: 1px solid red; } - Litty On Wed, Nov 5, 2008 at 2:27 AM, walden [EMAIL PROTECTED] wrote: What version of GWT are you using? I'm trying the same thing in the GWT showcase and not getting the result you are. On Nov 4, 10:51 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi Walden, I put a border to the TreeItem and also a border to the tree itself. So if I click outside the border of the TreeItem, but inside the border of the tree; the item in the vertical level where I click gets selected. - Litty On Tue, Nov 4, 2008 at 9:10 PM, walden [EMAIL PROTECTED] wrote: Litty, How can you be sure you are actually clicking outside the TreeItem? Walden On Nov 4, 12:27 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi All, I have a Tree on my page which I have added into a ScrollPanel. My problem is that if I click even outside the TreeItem (but within the scrollpanel) the item is getting selected (onTreeItemSelected of the TreeListener gets fired). Please help me on this issue. Thanks in advance, Litty- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: can the gwt compiler compile files outside the module
AB, You could go that way. Cobbling together a module using a script will defeat some of your IDE features, though, depending on what IDE you use. GWT Modules are transparent and non-intrusive to javac compiling, so you should be able to accomplish what you need with a small number (one?) of gwt.xml files strategically placed in your existing hierarchy. If I were you, I would probably refactor for GWT/Java reuse, though. Take your util files, put them together somewhere in GWT module arrangement, include that location on the javac classpath if not already there, and inherit the module wherever your GWT code needs util services. It's not necessary for every Module to have an entrypoint. It's necessary that the transitive closure of inherited modules for a given compile have an entrypoint. Hope this helps, Walden On Nov 4, 3:13 pm, AB [EMAIL PROTECTED] wrote: Thanks all. I guess Ill create an ant task that cobbles together various util classes that we want and build a module. I dont know if I need to fabricate an entrypoint for this module but i guess I can if the compiler demands it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Event driven communication between independent GWT modules
Joe, Aha! moment: GWT is not Java. Walden On Nov 5, 2:00 am, JEA [EMAIL PROTECTED] wrote: Thanks to everyone who contributed their comments on this problem. It has been tremendously educational for me. This is my first crack at using GWT. To clarify, I am trying to send event messages between separately compiled GWT mini-apps on one page, not just separate modules. As was suggested in this thread, I've found it an intractable problem without resorting to pure javascript plumbing and it sounds like I may not be doing myself any good anyway as far as speed and size are concerned, at least until I am talking about quite a few different mini-apps. Maybe be the time I reach that point, the runAsync feature will be available and solve that problem, too. As much as anything, it just felt *wrong* to be carrying around from page to page a bunch of app code that would be used on only one or two of the pages, but maybe I just need to get over that and get on with the project. Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Single application .. multiple RPC services
Hi, Okay, then how could I switch between my services when I click on one link? I mean, on the website's home page load, I will instantiate the default service (let's say homeService). Then on About Us link I have to switch to the aboutServie how could that switch be done? Is it enough to pass the /about at the end of the URL? Best regards. On Nov 5, 3:28 pm, Litty Preeth [EMAIL PROTECTED] wrote: Hi, The servlet-mapping tag of your web.xml is exactly for that purpose. servlet-mapping servlet-nameProductService/servlet-name url-pattern/product/url-pattern /servlet-mapping Regards, Litty On Wed, Nov 5, 2008 at 3:42 PM, Muhannad [EMAIL PROTECTED] wrote: Hi, I want to build a website with (Home, about, products, ...) menu. I need to build multiple forms (panels), each panel corresponds to one menu item, e.g. aboutPanel for about menu item, productsPanel for products... Moreover, I would like to implement that panel in terms of RPC services; I need to correspond each panel to a single RPC service that communicates with the server to get its data, build the whole form, and return the result as a panel to be displayed somewhere in the home page (for example). Of course, GWT allows us to define multiple services and add multiple servlet path=/service ... to the module XML file. My problem is how to know which service should I instantiate depending on the URL mapping, i.e. suppose that the menu is defined as follow: div id=menu a href=index.htmlHome/a a href=/aboutAbout us/a a href=/productsProducts/a ... /div So when someone clicks the About us link, the URL would be http:// domain/about. So I should instantiate the about service and create an aboutPanel to display it. The same thing when s/he clicks the Products link, then the URL is http://domain/products; and, in this case, I should build the product panel... So, is there somewhere in GWT application that I could parse the URL and depending on the mapping portion of it /about or /products could I decide which service to instantiate? Or is there another better way to do that? Thank you very much 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT -ext
Hi all I have started to use GWT -ext and checking out its features Can anyone please list out the most coolest features of GWT-ext which dont have any problems to use with. This information might be useful to lot of people thinking about using GWT-ext 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Mysql usage using RPC in GWT
tapan schrieb: No i am talking about the gwt code for setting RequestBuilder. I can manage the php task on my on. Check out http://www.gwtapps.com/doc/html/com.google.gwt.http.client.html Regards, Lothar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
CwStackPanel sample - use of HTML in panel' header
Hi I want to have an image+ text header for stackPanel and do exactly as it is done in getHeaderString() method in CwStackPanel sample. What I see on the screen is a chank of HTML (even if I do not include an image): TABLE cellSpacing=0 cellPadding=0TBODYTR TD style=VERTICAL-ALIGN: middle align=left DIV class=gwt-HTMLThis should be my stackPanel header/DIV/TD/ TR/TBODY/TABLE Where should I look? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Response from Server is very slow
Hi, The short answer is don't fetch even 500 records in one go from the server - you should use a paging table of some sort. e.g. http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScrollTable regards gregor On Nov 5, 6:54 am, livinglegends [EMAIL PROTECTED] wrote: Hi to All, I am newbie to this group. I have one critical issue. Please help me regarding this. I have some performance related issue with GWT-RPC. I have create one method on server side which will fetch data from database, create one POJO class for one record, store all POJO classes in ArrayList and return that ArrayList object. Problem is, when there will be less records say 10-30, I will get response from server to client in acceptable time, but if there will be more records say 500+, it will taking to much time say more than 5 minutes to return ArrayList of POJO classes(500+). How can I improve performance because in future there might be 5000+ records which I need in one response from server. Please give me suggestion and if possible solution for this issue as I stuck with this issue since long but not able to get rid of this issue. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
how to set pushbutton font size?
I updated my css for a pushbutton to change the font size: .gwt-PushButton-up, .gwt-PushButton-up-hovering, .gwt-PushButton-up-disabled, .gwt-PushButton-down, .gwt-PushButton-down-hovering, .gwt-PushButton-down-disabled { margin: 0; text-decoration: none; font-size:6px; background: url(images/hborder.png) repeat-x 0px -27px; } but the font does not change size, what is the correct way to do this? Thanks, Mark --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Single application .. multiple RPC services
Okay! thank you soo much. I'll try to do it and I'll keep you informed with the results :-) On Nov 5, 3:52 pm, Litty Preeth [EMAIL PROTECTED] wrote: Yesss if the URL ends with /about then the AboutService will be called. - Litty On Wed, Nov 5, 2008 at 7:18 PM, Muhannad [EMAIL PROTECTED] wrote: Hi, Okay, then how could I switch between my services when I click on one link? I mean, on the website's home page load, I will instantiate the default service (let's say homeService). Then on About Us link I have to switch to the aboutServie how could that switch be done? Is it enough to pass the /about at the end of the URL? Best regards. On Nov 5, 3:28 pm, Litty Preeth [EMAIL PROTECTED] wrote: Hi, The servlet-mapping tag of your web.xml is exactly for that purpose. servlet-mapping servlet-nameProductService/servlet-name url-pattern/product/url-pattern /servlet-mapping Regards, Litty On Wed, Nov 5, 2008 at 3:42 PM, Muhannad [EMAIL PROTECTED] wrote: Hi, I want to build a website with (Home, about, products, ...) menu. I need to build multiple forms (panels), each panel corresponds to one menu item, e.g. aboutPanel for about menu item, productsPanel for products... Moreover, I would like to implement that panel in terms of RPC services; I need to correspond each panel to a single RPC service that communicates with the server to get its data, build the whole form, and return the result as a panel to be displayed somewhere in the home page (for example). Of course, GWT allows us to define multiple services and add multiple servlet path=/service ... to the module XML file. My problem is how to know which service should I instantiate depending on the URL mapping, i.e. suppose that the menu is defined as follow: div id=menu a href=index.htmlHome/a a href=/aboutAbout us/a a href=/productsProducts/a ... /div So when someone clicks the About us link, the URL would be http:// domain/about. So I should instantiate the about service and create an aboutPanel to display it. The same thing when s/he clicks the Products link, then the URL is http://domain/products; and, in this case, I should build the product panel... So, is there somewhere in GWT application that I could parse the URL and depending on the mapping portion of it /about or /products could I decide which service to instantiate? Or is there another better way to do that? Thank you very much 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Single application .. multiple RPC services
Hi, The servlet-mapping tag of your web.xml is exactly for that purpose. servlet-mapping servlet-nameProductService/servlet-name url-pattern/product/url-pattern /servlet-mapping Regards, Litty On Wed, Nov 5, 2008 at 3:42 PM, Muhannad [EMAIL PROTECTED] wrote: Hi, I want to build a website with (Home, about, products, ...) menu. I need to build multiple forms (panels), each panel corresponds to one menu item, e.g. aboutPanel for about menu item, productsPanel for products... Moreover, I would like to implement that panel in terms of RPC services; I need to correspond each panel to a single RPC service that communicates with the server to get its data, build the whole form, and return the result as a panel to be displayed somewhere in the home page (for example). Of course, GWT allows us to define multiple services and add multiple servlet path=/service ... to the module XML file. My problem is how to know which service should I instantiate depending on the URL mapping, i.e. suppose that the menu is defined as follow: div id=menu a href=index.htmlHome/a a href=/aboutAbout us/a a href=/productsProducts/a ... /div So when someone clicks the About us link, the URL would be http:// domain/about. So I should instantiate the about service and create an aboutPanel to display it. The same thing when s/he clicks the Products link, then the URL is http://domain/products; and, in this case, I should build the product panel... So, is there somewhere in GWT application that I could parse the URL and depending on the mapping portion of it /about or /products could I decide which service to instantiate? Or is there another better way to do that? Thank you very much 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Pagination Widget?
Hi Issac, Since I'm still at a design level choosing my options, can I get a sample code for the PagingScrollTable to be able to evaluate its use for my purpose? I tried looking at the wiki for the incubator and all there was was a definition for some bean. Thanks Suri On Nov 5, 2:44 am, alex.d [EMAIL PROTECTED] wrote: Well, i started with trying to use 1.4 Table with 1.5 RCx GWT and encountered numerous problems while trying to compile the example on the page. After solving all the issues i finaly managed to get it to work, but it didn't play nice in my prety complex GUI layout with a lot of Panels: size and visibility issues. In comparison to it, a Ext GWT table was a half an hour work and it works prety stable. Basicaly you can see all my issues when you look at the comments on the incubator page. I didn't report the issues because people did it before me and the was no response to it, and because the project seemed to be dead - no updates in months(but that was severall weeks ago). On 4 Nov., 21:13, Isaac Truett [EMAIL PROTECTED] wrote: Bugs, bugs and one more time bugs. Alex, What problems did you encounter with PagingScrollTable? Have you entered them into the issue tracker? - Isaac On Tue, Nov 4, 2008 at 4:53 AM, alex.d [EMAIL PROTECTED] wrote: On 3 Nov., 15:30, Suri [EMAIL PROTECTED] wrote: Hi Alex, Well here are my concerns on both areas but before I get to that I'd like to mention that I'm developing I guess a relatively small module but something I think is complex in terms of the amount of functionality its providing. The idea is to have a table of data that is retrieved from the server and displayed to the user 1) The data should be sortable/pageable 2) When the user clicks on a cell/row: - the row gets highlighted - the info of that row shall appear in a editable row below the table where once the user makes and changes, these are reflected in the main table - once the user navigates to another row, the edited row should have some sort of marker displaying that it is dirty until the save button is clicked ( this is allowing for batch processing) - thus when a user decides to sort/page this information would need to be retained until the user saves. 3) The user has a drop down above the table to filter by a couple of the columns. So far not a problem with both of them. I looked at ext-GWT and GWT-ext. Both seem are somewhat ok about this, however with ext-GWT - You can't paginate/sort on the client side if I'm not wrong and the whole model seems to force you to do remote pagination which from what I saw, would basically reset the data each time - so not a good option You can sort on the client side - it's per default that way if you want to sort only the current page - in case you want to sort the whole data and then have a page Nr. N, you will have to sort/page on the server. New grid supports editing directly in the cells(so no page refresh necessary). But i haven't used it yet. And with GWT-ext: I tried implementing it however, ran into some memory overflow problem when trying to compile it. Plus, there was a file PagingMemoryProxy that was not available in the GWT-ext library but then I later found it in the gwtux library. Not sure why it is like that. I do not use GWT-ext. The whole javascript-wrapper concept isn't the best idea imho. On the whole the problem with both ideas is that, I thought of them more as widgets but turns out they almost completely take over your code with a whole bunch of different things to do as opposed to standard GWT code. So, that isn't really an attractive idea. Well, i found out that writting smth. as complex as Ext-GWT's grid would take too much time and effort - can't really afford it in my project. Using existing widgets bring some problems, mostly due to the specific nature of your particular application, but they are solvable and you need much less time for it. Alex, What were the problems you found with PagingScrollTable? Just curious to know since I'm trying to get an idea of what I might need/ not need. Bugs, bugs and one more time bugs. Imho you'll need far more time solving problems/fixing bugs with PagingScrollTable than doing same thing with Ext-GWT's grid. But if you decide to write your own grid, then using/rewriting/fixing PagingScrollTable might be a good approach. Thanks Suri On Nov 3, 4:46 am, alex.d [EMAIL PROTECTED] wrote: PagingScrollTable isn't really smth. one can recommend. You have more trouble with it then anything else. Both GWT-EXT and Ext GWT have paging tables. It's worth to take a look. On 31 Okt., 18:03, Isaac Truett [EMAIL PROTECTED] wrote: Yes, I've used the original version in several places in one project and I plan on using the gen2 incarnation in another project.
Re: Response from Server is very slow
What part of fetching is taking them most time? Reading from the DB? Creating POJO-Classes? Sending data? Profile your code, find out which part of it needs to be tweaked. But using some kind of paging, as gregor mentioned is good in any case. On 5 Nov., 15:56, gregor [EMAIL PROTECTED] wrote: Hi, The short answer is don't fetch even 500 records in one go from the server - you should use a paging table of some sort. e.g. http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScro... regards gregor On Nov 5, 6:54 am, livinglegends [EMAIL PROTECTED] wrote: Hi to All, I am newbie to this group. I have one critical issue. Please help me regarding this. I have some performance related issue with GWT-RPC. I have create one method on server side which will fetch data from database, create one POJO class for one record, store all POJO classes in ArrayList and return that ArrayList object. Problem is, when there will be less records say 10-30, I will get response from server to client in acceptable time, but if there will be more records say 500+, it will taking to much time say more than 5 minutes to return ArrayList of POJO classes(500+). How can I improve performance because in future there might be 5000+ records which I need in one response from server. Please give me suggestion and if possible solution for this issue as I stuck with this issue since long but not able to get rid of this issue. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Pagination Widget?
Suri, There's a demo in the Incubator that you could look at. The code for it can be viewed online or you can download and setup the Incubator project locally (be sure to grab GWT 1.5.3 if you don't already have it). Links below. Incubator SVN - http://code.google.com/p/google-web-toolkit-incubator/source/checkout PagingScrollTableDemo - http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src-demo/com/google/gwt/gen2/demo/scrolltable/client/PagingScrollTableDemo.java GWT 1.5.3 download - http://code.google.com/p/google-web-toolkit/downloads/list Hope that helps. - Isaac On Wed, Nov 5, 2008 at 10:05 AM, Suri [EMAIL PROTECTED] wrote: Hi Issac, Since I'm still at a design level choosing my options, can I get a sample code for the PagingScrollTable to be able to evaluate its use for my purpose? I tried looking at the wiki for the incubator and all there was was a definition for some bean. Thanks Suri On Nov 5, 2:44 am, alex.d [EMAIL PROTECTED] wrote: Well, i started with trying to use 1.4 Table with 1.5 RCx GWT and encountered numerous problems while trying to compile the example on the page. After solving all the issues i finaly managed to get it to work, but it didn't play nice in my prety complex GUI layout with a lot of Panels: size and visibility issues. In comparison to it, a Ext GWT table was a half an hour work and it works prety stable. Basicaly you can see all my issues when you look at the comments on the incubator page. I didn't report the issues because people did it before me and the was no response to it, and because the project seemed to be dead - no updates in months(but that was severall weeks ago). On 4 Nov., 21:13, Isaac Truett [EMAIL PROTECTED] wrote: Bugs, bugs and one more time bugs. Alex, What problems did you encounter with PagingScrollTable? Have you entered them into the issue tracker? - Isaac On Tue, Nov 4, 2008 at 4:53 AM, alex.d [EMAIL PROTECTED] wrote: On 3 Nov., 15:30, Suri [EMAIL PROTECTED] wrote: Hi Alex, Well here are my concerns on both areas but before I get to that I'd like to mention that I'm developing I guess a relatively small module but something I think is complex in terms of the amount of functionality its providing. The idea is to have a table of data that is retrieved from the server and displayed to the user 1) The data should be sortable/pageable 2) When the user clicks on a cell/row: - the row gets highlighted - the info of that row shall appear in a editable row below the table where once the user makes and changes, these are reflected in the main table - once the user navigates to another row, the edited row should have some sort of marker displaying that it is dirty until the save button is clicked ( this is allowing for batch processing) - thus when a user decides to sort/page this information would need to be retained until the user saves. 3) The user has a drop down above the table to filter by a couple of the columns. So far not a problem with both of them. I looked at ext-GWT and GWT-ext. Both seem are somewhat ok about this, however with ext-GWT - You can't paginate/sort on the client side if I'm not wrong and the whole model seems to force you to do remote pagination which from what I saw, would basically reset the data each time - so not a good option You can sort on the client side - it's per default that way if you want to sort only the current page - in case you want to sort the whole data and then have a page Nr. N, you will have to sort/page on the server. New grid supports editing directly in the cells(so no page refresh necessary). But i haven't used it yet. And with GWT-ext: I tried implementing it however, ran into some memory overflow problem when trying to compile it. Plus, there was a file PagingMemoryProxy that was not available in the GWT-ext library but then I later found it in the gwtux library. Not sure why it is like that. I do not use GWT-ext. The whole javascript-wrapper concept isn't the best idea imho. On the whole the problem with both ideas is that, I thought of them more as widgets but turns out they almost completely take over your code with a whole bunch of different things to do as opposed to standard GWT code. So, that isn't really an attractive idea. Well, i found out that writting smth. as complex as Ext-GWT's grid would take too much time and effort - can't really afford it in my project. Using existing widgets bring some problems, mostly due to the specific nature of your particular application, but they are solvable and you need much less time for it. Alex, What were the problems you found with PagingScrollTable? Just curious to know since I'm trying to get an idea of what I might need/ not need. Bugs, bugs and one more time bugs. Imho you'll need far more time solving
Re: CwStackPanel sample - use of HTML in panel' header
On 5 nov, 16:15, gregor [EMAIL PROTECTED] wrote: I can't however see how to do this using images from an ImageBundle because myAbstractImageType.createImage() is not a string. but myAbstractImageType.getHTML() is! ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT -ext
On Wed, Nov 5, 2008 at 7:48 AM, programmerajay [EMAIL PROTECTED] wrote: Can anyone please list out the most coolest features of GWT-ext which dont have any problems to use with. There are showcase apps that you should be able to find from the links below. Regarding problems ... your mileage may vary, but the libraries appear to be very well tested to me. This information might be useful to lot of people thinking about using GWT-ext Note that there are actually 2 GWT + EXT projects: http://extjs.com/products/gxt/ and http://code.google.com/p/gwt-ext/ -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT, Mootools and JQuery
On Wed, Nov 5, 2008 at 9:22 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there any incompatibilities with one of these javascript librairies? (Mootools and JQuery) I think you probably need to post this question to the Mootools and JQuery mailing lists. In general, JQuery does a good job of not interfering with other javascript frameworks. -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: clicking outside the TreeItem firing onTreeItemSelected event
Litty, Yeah, I see it now. It looks as if this is by design. If you need an area to the right of the Tree (outside the Tree but inside the ScrollPanel) where you can click without selecting a TreeItem (why?), then you can probably achieve that by setting the Tree's width so it does not fill the width of the ScrollPanel. What effect are you trying to achieve? Walden On Nov 5, 8:21 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi Walden, I tried using gwt-1.5.2 and gwt-1.5. If gwt-1.5.2 is used on IE6 it happens only for the child node. Root level nodes are working fine. But on IE7 and Firefox it is reproducible for all the nodes. If gwt-1.5 is used on IE6 everything works fine. But on Firefox it is reproducible for all the nodes. You can use this code below to reproduce the issue. TreeTest.java package com.test.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Tree; import com.google.gwt.user.client.ui.TreeItem; import com.google.gwt.user.client.ui.TreeListener; /** * Entry point classes define codeonModuleLoad()/code. */ public class TreeTest implements EntryPoint { Tree myTree; /** * This is the entry point method. */ public void onModuleLoad() { myTree = new Tree(); for (int i = 0; i 10; i++) { TreeItem prItm = new TreeItem(Parent_ + i); TreeItem chItm = new TreeItem(Child_ + i); prItm.addItem(chItm); myTree.addItem(prItm); } myTree.addTreeListener(treeListener); RootPanel.get().add(myTree); } TreeListener treeListener = new TreeListener() { public void onTreeItemSelected(TreeItem item) { Window.alert(item.getText() + selected); } public void onTreeItemStateChanged(TreeItem item) { // TODO Auto-generated method stub } }; } TreeTest.css .gwt-Tree { border: 1px solid blue; margin-left: 30px; } .gwt-Tree .gwt-TreeItem { border: 1px solid red; } - Litty On Wed, Nov 5, 2008 at 2:27 AM, walden [EMAIL PROTECTED] wrote: What version of GWT are you using? I'm trying the same thing in the GWT showcase and not getting the result you are. On Nov 4, 10:51 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi Walden, I put a border to the TreeItem and also a border to the tree itself. So if I click outside the border of the TreeItem, but inside the border of the tree; the item in the vertical level where I click gets selected. - Litty On Tue, Nov 4, 2008 at 9:10 PM, walden [EMAIL PROTECTED] wrote: Litty, How can you be sure you are actually clicking outside the TreeItem? Walden On Nov 4, 12:27 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi All, I have a Tree on my page which I have added into a ScrollPanel. My problem is that if I click even outside the TreeItem (but within the scrollpanel) the item is getting selected (onTreeItemSelected of the TreeListener gets fired). Please help me on this issue. Thanks in advance, Litty- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Problem with launch GWT
Hi Guys: In my laptop I can't launch GWT host mode, Any one can help me please? Also I found if I disable my wireless connection it works fine?? What's worng ? Any one know ? Many Thanks!! The Error message is as below: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://localhost:/com.sample.Editor/Editor.html The following error was encountered: Connection Failed The system returned: (111) Connection refused The remote host or network may be down. Please try the request again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Create a stopwatch
Hello! I need to create a stopwatch. All I need is to have a button to start and a button to stop, the start button click event will capture a time/ timestamp, the stop button event will capture another one. all I have to do is to subtract both imes and show it like hh:mm:ss. I guess it must be quite easy, but I'm having so much problems. Here's a resume of my code: - //In the start event Date start = new Date(); ... //In the stop event Date stop = new Date(); // When showing the time Date result = new Date(stop.getTime() - start.getTime()); DateTimeFormat dateTimeFormat = DateTimeFormat.getFormat(hh:mm:ss); Window.alert(dateTimeFormat.format(result)); - It doesn't work. I tried with long values instead of Dates... - //In the start event long start = System.currentTimeMillis(); ... //In the stop event long stop = System.currentTimeMillis(); // When showing the time long result = stop - start; Window.alert(long); - Both ways I got crazy results... Please, can anybody help me? Thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to create layout?
Hello All, I've started GWT studying few days ago. And I have a lot of questions. For example, I need to create next layout: + + | Logo Image Here | Empty space| Help | + + I've tried next approach: DockPanel header = new DockPanel(); header.add(clientImageBundle.firstmileLogo().createImage(), DockPanel.WEST); header.add(helpLink, DockPanel.EAST); But it doesn't work. Can anyone help me? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
An update on the RPC communication stops functioning when running with Internet Explorer issue
Hi, this is an update on the RPC communication stops functioning when running with Internet Explorer issue (http://groups.google.com/group/ Google-Web-Toolkit/tree/browse_frm/thread/2f7f9816e0578e0c/ 1e92873057a32710?hl=enrnum=1_done=%2Fgroup%2FGoogle-Web-Toolkit %2Fbrowse_frm%2Fthread%2F2f7f9816e0578e0c%3Fhl%3Den%26tvc%3D1%26pli %3D1%26#doc_1e92873057a32710), follow up at http://groups.google.com/group/Google-Web-Toolkit/tree/browse_frm/thread/bcd4438cff88ccf1/d9219c153c3143b6?hl=enrnum=1_done=%2Fgroup%2FGoogle-Web-Toolkit%2Fbrowse_frm%2Fthread%2Fbcd4438cff88ccf1%3Fhl%3Den%26#doc_d9219c153c3143b6 1. Using GWT 1.5 did not solve the problem 2. I experience a problem that is specific to Internet Explorer 6 and 7. I have, despite numerous efforts, not been able to reproduce this problem with Firefox, Safari or Opera. 3. Sometimes the corrupted requests results in javax.servlet.ServletException: Client did not send nnn bytes as expected, but in some rare cases also in ALLVARLIG: Exception while dispatching incoming RPC call java.io.IOException at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:199) (full stack trace below) 4. This happens when sending repeated similar requests updating state from server. It does not matter if this is done using a Timer sending repeated requests or by scheduling a new request in the callback. RPC communication is broken anyhow. I have tried different different servers and different ISP:s, but the problem seem to come back every time. This application is fairly simple and straightforward and with IE being the most common browser, are really this few having this problem ? I will try to strip the application down keeping this problem and hopefully someone would care to investigate it further? /PJ ALLVARLIG: Exception while dispatching incoming RPC call java.io.IOException at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:199) at org.apache.jk.common.JkInputStream.refillReadBuffer(JkInputStream.jav a:258) at org.apache.jk.common.JkInputStream.doRead(JkInputStream.java:177) at org.apache.coyote.Request.doRead(Request.java:428) at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.j ava:304) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:405) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327) at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStrea m.java:193) at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8(RPCS ervletUtils.java:152) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServ iceServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 637) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja va:697) at org.apache.jk.common.ChannelSocket $SocketConnection.runIt(ChannelSock et.java:889) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadP ool.java:690) at java.lang.Thread.run(Thread.java:619) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Bean Serialization Problem: com.google.gwt.user.client.rpc.SerializationException: Type 'com.dg.common.client.beans.DGUser' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable'
ping2ravi I'm glad you came back to tell it's now working for you! But think of all those people with the same problem you had... like me. Any idea? My classes are implementing Serializable. It's working fine on my development environment (Windows). But now that I try an integration (Linux), I get the same exception. Thanks, JM On 23 oct, 11:10, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi May we know what was causing the difference in file-names? I am having a similar exception G. On Sep 22, 1:06 pm, ping2ravi [EMAIL PROTECTED] wrote: i found the problem why file names were different. Thanks On Sep 22, 11:18 am, ping2ravi [EMAIL PROTECTED] wrote: Hi All, My application was working good till now and now i deployed it to other machine and it start giving me following exception. My DGUser class is implementing serializable interface. SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'com.dg.common.client.beans.DGUser' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be serialized. at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateSerialize(LegacySerializationPolicy.java: 140) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java: 585) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java: 129) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter $ValueWriter$8.write(ServerSerializationStreamWriter.java:146) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java: 520) at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:573) at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java: 441) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 529) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java: 85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 844) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 447) at java.lang.Thread.run(Thread.java:619) And also its giving following error in the log file, So i am guessing its because of this .gwt.rpc missing file, INFO: ERROR: The serialization policy file '/ D96C005D9FEF0E3183DC3057D9F48727.gwt.rpc' was not found; did you forget to include it in this deployment? INFO: WARNING: Failed to get the SerializationPolicy 'D96C005D9FEF0E3183DC3057D9F48727' for module 'http://localhost:8090/ AdminMenu/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. I checked my deployed application directory there is only one .gwt.rpc file which is E8B2AED1667057CBC391B7AC2BFAA4E9.gwt.rpc but not D96C005D9FEF0E3183DC3057D9F48727.gwt.rpc. I don't know how GWT is generating this file name and why its generating different names when its being actual generating the file and when its using it. And the file which is present in my deployed directory have all my beans including DgUser. There is something wrong, can any one please help me. Thanks in advance, Ravi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google
Re: How to create layout?
Hi DevUnion, Please specify if nothing happening at all or alternatively things happening but not as you expect. Best to post your onModuleLoad() code that demonstrates your problem - much easier to diagnose. regards gregor On Nov 5, 11:06 am, DevUnion [EMAIL PROTECTED] wrote: Hello All, I've started GWT studying few days ago. And I have a lot of questions. For example, I need to create next layout: + + | Logo Image Here | Empty space | Help | + + I've tried next approach: DockPanel header = new DockPanel(); header.add(clientImageBundle.firstmileLogo().createImage(), DockPanel.WEST); header.add(helpLink, DockPanel.EAST); But it doesn't work. Can anyone help me? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: CwStackPanel sample - use of HTML in panel' header
@Thomas - doh! - you learn something every day. That's what I like about this group. @Yefim - that should do the trick! On Nov 5, 4:42 pm, Thomas Broyer [EMAIL PROTECTED] wrote: On 5 nov, 16:15, gregor [EMAIL PROTECTED] wrote: I can't however see how to do this using images from an ImageBundle because myAbstractImageType.createImage() is not a string. but myAbstractImageType.getHTML() is! ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Create a stopwatch
Hi Sitaro, if you happen to be declaring the start and stop Dates locally in your onClick methods, it probably won't work. Have you tried: // in your parent class somewhere Date start,stop; then in your onClick's... (note removal of type declarations) //In the start event start = new Date(); ... //In the stop event stop = new Date(); [A null Date returns zero which corresponds to about 1/1/1970 - an awful lot of milliseconds ago.] regards gregor Both ways I got crazy results... Please, can anybody help me? Thank you very much. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: clicking outside the TreeItem firing onTreeItemSelected event
Walden, But then a user will expect to select a tree node by clicking on the node only rite? I dont feel that the node getting selected when you click else where is an expected behavior. - Litty On Wed, Nov 5, 2008 at 10:51 PM, walden [EMAIL PROTECTED] wrote: Litty, Yeah, I see it now. It looks as if this is by design. If you need an area to the right of the Tree (outside the Tree but inside the ScrollPanel) where you can click without selecting a TreeItem (why?), then you can probably achieve that by setting the Tree's width so it does not fill the width of the ScrollPanel. What effect are you trying to achieve? Walden On Nov 5, 8:21 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi Walden, I tried using gwt-1.5.2 and gwt-1.5. If gwt-1.5.2 is used on IE6 it happens only for the child node. Root level nodes are working fine. But on IE7 and Firefox it is reproducible for all the nodes. If gwt-1.5 is used on IE6 everything works fine. But on Firefox it is reproducible for all the nodes. You can use this code below to reproduce the issue. TreeTest.java package com.test.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Tree; import com.google.gwt.user.client.ui.TreeItem; import com.google.gwt.user.client.ui.TreeListener; /** * Entry point classes define codeonModuleLoad()/code. */ public class TreeTest implements EntryPoint { Tree myTree; /** * This is the entry point method. */ public void onModuleLoad() { myTree = new Tree(); for (int i = 0; i 10; i++) { TreeItem prItm = new TreeItem(Parent_ + i); TreeItem chItm = new TreeItem(Child_ + i); prItm.addItem(chItm); myTree.addItem(prItm); } myTree.addTreeListener(treeListener); RootPanel.get().add(myTree); } TreeListener treeListener = new TreeListener() { public void onTreeItemSelected(TreeItem item) { Window.alert(item.getText() + selected); } public void onTreeItemStateChanged(TreeItem item) { // TODO Auto-generated method stub } }; } TreeTest.css .gwt-Tree { border: 1px solid blue; margin-left: 30px; } .gwt-Tree .gwt-TreeItem { border: 1px solid red; } - Litty On Wed, Nov 5, 2008 at 2:27 AM, walden [EMAIL PROTECTED] wrote: What version of GWT are you using? I'm trying the same thing in the GWT showcase and not getting the result you are. On Nov 4, 10:51 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi Walden, I put a border to the TreeItem and also a border to the tree itself. So if I click outside the border of the TreeItem, but inside the border of the tree; the item in the vertical level where I click gets selected. - Litty On Tue, Nov 4, 2008 at 9:10 PM, walden [EMAIL PROTECTED] wrote: Litty, How can you be sure you are actually clicking outside the TreeItem? Walden On Nov 4, 12:27 am, Litty Preeth [EMAIL PROTECTED] wrote: Hi All, I have a Tree on my page which I have added into a ScrollPanel. My problem is that if I click even outside the TreeItem (but within the scrollpanel) the item is getting selected (onTreeItemSelected of the TreeListener gets fired). Please help me on this issue. Thanks in advance, Litty- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
GWT Json + requestBuilder questions
Hello , the last weeks i have started using Gwt technology and i have to admit that is fascinating!! because of lack of examples, i have some questions. first of all , i m facing a compilation error. I did include inherits name=com.google.gwt.http.HTTP / in the gwt config file but when i m trying to compile i get Removing units with errors [ERROR] Errors in 'file:/home/tower/Book/G-example/src/org/example/ client/ajson.java' [ERROR] Line 45: RequestBuilder cannot be resolved to a type [ERROR] Line 45: RequestBuilder cannot be resolved to a type [ERROR] Line 45: RequestBuilder cannot be resolved [ERROR] Line 49: RequestException cannot be resolved to a type [ERROR] Line 54: RequestCallback cannot be resolved to a type [ERROR] Line 56: Request cannot be resolved to a type [ERROR] Line 61: Request cannot be resolved to a type [ERROR] Line 61: Response cannot be resolved to a type Secondly , i m trying to make an example reading a json file. If i put the json file in the same folder as ./example-shell then i do that: RequestBuilder builder = new RequestBuilder(RequestBuilder.POST,GWT.getModuleBaseURL() + file.json); otherwise i just put the url ( located in a local server ? ) RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, url); try { Request response = builder.sendRequest(null, new RequestCallback() { public void onError(Request request, Throwable exception) { // Code omitted for clarity } public void onResponseReceived(Request request, Response response) { JSONArray results; results = maketree(response.getText()); } }); } catch (RequestException e) { // Code omitted for clarity } Is this algorithm correct??? also is there any function like maketree that reads the object and makes it in a tree format ?? ty 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
gwt deployment with ant
Hello every one, i want to deploy gwt application with ant.Who know how can i do it? Arnaud --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Response from Server is very slow
It is most likely the serialization and de-serialization that is taking the most time. There really isn't anything you can do about this because it's the way XML-RPC works. It converts all your objects into a really big string (xml) sends it over to the clients which then re-instantiates the objects on the javascript side. You need to limit the complexity and size of your objects when using XML-RPC. At least, I think I am correct. :) On Nov 5, 10:12 am, alex.d [EMAIL PROTECTED] wrote: What part of fetching is taking them most time? Reading from the DB? Creating POJO-Classes? Sending data? Profile your code, find out which part of it needs to be tweaked. But using some kind of paging, as gregor mentioned is good in any case. On 5 Nov., 15:56, gregor [EMAIL PROTECTED] wrote: Hi, The short answer is don't fetch even 500 records in one go from the server - you should use a paging table of some sort. e.g. http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScro... regards gregor On Nov 5, 6:54 am, livinglegends [EMAIL PROTECTED] wrote: Hi to All, I am newbie to this group. I have one critical issue. Please help me regarding this. I have some performance related issue with GWT-RPC. I have create one method on server side which will fetch data from database, create one POJO class for one record, store all POJO classes in ArrayList and return that ArrayList object. Problem is, when there will be less records say 10-30, I will get response from server to client in acceptable time, but if there will be more records say 500+, it will taking to much time say more than 5 minutes to return ArrayList of POJO classes(500+). How can I improve performance because in future there might be 5000+ records which I need in one response from server. Please give me suggestion and if possible solution for this issue as I stuck with this issue since long but not able to get rid of this issue. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: gwt deployment with ant
Sure. First, you're going to want to compile your application. If you have a Java backend then you'll want to javac your server-side and common (shared by client and server) class. Then you'll want to compile your GWT client with GWTCompiler. You can find previous discussions about doing this on the forum here. I also wrote about GWT compilation with Ant, and specifically a custom Ant task that I wrote for invoking GWTCompiler, here: http://publicint.blogspot.com/2008/10/introducing-gwtcompilertask.html Next, if you're using a Java backend, you'll probably be building a .war file from the compiler output. The easiest way to do that with Ant is the war task. For other backends, you'll probably want to zip the compiler output for transfer to the server. The last step, actual deployment, depends on your server environment. Several Java app servers have custom Ant tasks for deploying applications and you can refer to documentation from your app server vendor to learn more about that. On the other hand, if all you're trying to do is deploy to a Tomcat instance in your development environment, it's as simple as copying your .war file into the tomcat/webapps directory. Deploying to a non-Java backend will probably involve transfering your .zip file to the server and unzipping it in a directory configured as a web application root. The best resource for general help with Ant tasks, in my opinion, the manual: http://ant.apache.org/manual/ On Wed, Nov 5, 2008 at 4:03 PM, arnaud [EMAIL PROTECTED] wrote: Hello every one, i want to deploy gwt application with ant.Who know how can i do it? Arnaud --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
state of hibernate + GWT 1.5
Hi all, What's the state of things with Hibernate and GWT 1.5. I've done some quick googling and I see reference to the following: 1 - hibernate4gwt 2 - Making hibernate persistent collections GWT serializable 3 - Just writing your pojo copy utility perhaps using beanlib I'm wondering if there is one route that is the preferred/recommended way to go with this issue. Thanks in advance, Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Migrating from gwt 0.0.2415 to 1.5.3
I need the experts´ opinion. I am trying to carry out the mentioned migration, I have found several issues and I am wondering if it would be easier to rewrite most of my components instead of fixing issues line by line, what do you think? One example of my issues: setAnimationType(AnimationType.CENTER); This instruction is repeated through the entire project, it does not compile because AnimationType.CENTER was public before, now it's not, an it doesn´t have any accessor method! 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: layout problem, panel size ignores setCellHeight(50%) ?
I'm back. I looked at gwt-ext but that doesn't look like a good alternative for me. I was having good luck with layouts, the demo page http://www.gwt-ext.com/demo/ is impressive but I would only recommend gwt-ext it you are absolutely sure you'll never need to deviate from the sample code in the demos. No deviation at all. Things that are easy with GWT (such as making a composite with an Image and a Label) don't mesh well with gadgets like the gwt-ext grids. Grids only accept a few basic data types. I suppose a real gwt-ext developer would just switch to JS code to get around any road blocks. That defeats my initial draw to GWT, to avoid JS. I'll give straight GWT one more try. If I can just get the panels to size reasonably... On Oct 22, 2:07 pm, JohnMudd [EMAIL PROTECTED] wrote: Can I sidestep issues with these widgets by switching to MyGWT or gwt- ext? John On Oct 18, 11:26 pm,JohnMudd[EMAIL PROTECTED] wrote: Cool, I got issue number 3000. Nice round number.http://code.google.com/p/google-web-toolkit/issues/detail?id=3000 On Oct 18, 11:14 pm,JohnMudd[EMAIL PROTECTED] wrote: I have to hand it to you, your changes (summarized below) do produce the desired 50% height in the log message. But it's getting a little off track from my original intention and it doesn't seem to help in compiled mode, my ultimate goal. I think at this point I'll try reporting this as a bug and see what kind of response I get. appPanel.setCellHeight(bodyPanel, 50%); bodyPanel.setSize(100%, 100%); --- appPanel.setCellHeight(bodyPanel, 100%); bodyPanel.setSize(100%, 50%); bodyPanel.add(new HTML(X)); John On Oct 17, 11:05 pm, Ian Bambury [EMAIL PROTECTED] wrote: Try this. Works for me. You might need a doctype Ian http://examples.roughian.com root.add(basePanel); basePanel.setSize(100%, 200px); basePanel.add(logPanel); basePanel.setCellWidth(logPanel, 30%); basePanel.setCellHeight(logPanel, 100%); logPanel.setSize(100%, 100%); basePanel.add(appPanel); basePanel.setCellWidth(appPanel, 70%); basePanel.setCellHeight(appPanel, 100%); appPanel.setSize(100%, 100%); appPanel.add(bodyPanel); appPanel.setCellWidth(bodyPanel, 100%); appPanel.setCellHeight(bodyPanel, 100%); bodyPanel.setSize(100%, 50%); bodyPanel.add(new HTML(X)); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: layout problem, panel size ignores setCellHeight(50%) ?
Hi John, Could you restate your problem as it is now. Ian http://examples.roughian.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: CwStackPanel sample - use of HTML in panel' header
Thank you all. The problem was with stackPanel.add() call - I missed third argument asHTML ! With this, code from method getHeaderString() in CwStackPanel works great for text and images! On Nov 5, 8:48 am, Yefim [EMAIL PROTECTED] wrote: Hi I want to have an image+ text header for stackPanel and do exactly as it is done in getHeaderString() method in CwStackPanel sample. What I see on the screen is a chank of HTML (even if I do not include an image): TABLE cellSpacing=0 cellPadding=0TBODYTR TD style=VERTICAL-ALIGN: middle align=left DIV class=gwt-HTMLThis should be my stackPanel header/DIV/TD/ TR/TBODY/TABLE Where should I look? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Where can I find a buildable revision ?
Hello, The last revision (3962 at this time) doesn't allow to build a GWT project (with ant command) And many others before too... So, where can I find a revision number of the current gwt project ? (1.5.3 ) Which can build... Tanks in advance Alex PS : is there a tag somewhere of the revision number of each normal gwt download ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT -ext
Hey David thnks for replying I hear that because gwt-ext is created from wrapping native gwt widgets they are a bit slow to work out, is it true? does it really effect the page loading or other things yours --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Problem with launch GWT
are you sure you are running the example on Hosted mode this error happens when you have incorrect proxy settings for internet please explain the steps you have followed and we may be able to help you yours --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT Json + requestBuilder questions
Hi Removing units with errors [ERROR] Errors in 'file:/home/tower/Book/G-example/src/org/example/ client/ajson.java' [ERROR] Line 45: RequestBuilder cannot be resolved to a type [ERROR] Line 45: RequestBuilder cannot be resolved to a type [ERROR] Line 45: RequestBuilder cannot be resolved [ERROR] Line 49: RequestException cannot be resolved to a type [ERROR] Line 54: RequestCallback cannot be resolved to a type [ERROR] Line 56: Request cannot be resolved to a type [ERROR] Line 61: Request cannot be resolved to a type [ERROR] Line 61: Response cannot be resolved to a type Any of the cannot be resolved to a type can be corrected by including the correct class/jar in your project, please check the request builder class try { Request response = builder.sendRequest(null, new RequestCallback() { public void onError(Request request, Throwable exception) { // Code omitted for clarity } When you are sending a request there has to be corresponding service for handling the request, so if u have some service to be called then put in inthe builder.sendRequest(service, new RequestCallback(){... yours --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Single application .. multiple RPC services
Hi Walden, I'm not sure that I got your idea, but I always had a concern about that so I'll share it with you: 1. Does the GWT application have just one html page (module-name.html) that all the content should be rendered there? What I mean is that Litty wrote if the URL ends with /about then the AboutService will be called. Well but what if that AboutService does not extends or consists of any UI element? What is gonna to be displayed on the browser? 2. What I've received from your idea above is, each service should have its own (index.html)??!! If that was the case, each time I click on a menu item then a whole new page is going to be rendered and the browser will send an HTTP request and page will be rebuilt and displayed, which is not the case here: http://extjs.com/ Please try to click any menu item and notice that only a portion of the page is rendered (the section under the menu) and not the whole page. Actually, this is exactly what I need to do but I think I was not clear enough. 3. Suppose that I want to pass parameters in the URL in some customized format; not using the regular way http://domain/service?param1=value1param2=value2. For example, something like that: http://domain/service/param1/value1/param2/value2. Where should I write my own code that should take care of this customized URL encoding?? I mean, is there any place in GWT application where I could capture the URL and manipulate it before redirect it to some place depending on some parameters passed?? I guess there is something in .NET called HTTP Handler or Generic Handler to deal with that. I think this is an issue that the Web Server should deal with it not the GWT application???!!! Thank you very much. On Nov 5, 5:56 pm, walden [EMAIL PROTECTED] wrote: Muhannad, There's a problem with your assumptions. When a user clicks on your about menu link, she's not going to get a Panel, she's going to get a whole new page fromhttp://domain/about/index.html. That page can be a GWT host file if you like, but this is regular HTML pages, not a rich GWT client showing and hiding content based on menu navigation. I think you'd better get your head around that first, and then tackle the RPC URL binding question next, if it's even an issue at all. Walden On Nov 5, 5:12 am,Muhannad[EMAIL PROTECTED] wrote: Hi, I want to build a website with (Home, about, products, ...) menu. I need to build multiple forms (panels), each panel corresponds to one menu item, e.g. aboutPanel for about menu item, productsPanel for products... Moreover, I would like to implement that panel in terms of RPC services; I need to correspond each panel to a single RPC service that communicates with the server to get its data, build the whole form, and return the result as a panel to be displayed somewhere in the home page (for example). Of course, GWT allows us to define multiple services and add multiple servlet path=/service ... to the module XML file. My problem is how to know which service should I instantiate depending on the URL mapping, i.e. suppose that the menu is defined as follow: div id=menu a href=index.htmlHome/a a href=/aboutAbout us/a a href=/productsProducts/a ... /div So when someone clicks the About us link, the URL would be http:// domain/about. So I should instantiate the about service and create an aboutPanel to display it. The same thing when s/he clicks the Products link, then the URL is http://domain/products; and, in this case, I should build the product panel... So, is there somewhere in GWT application that I could parse the URL and depending on the mapping portion of it /about or /products could I decide which service to instantiate? Or is there another better way to do that? Thank you very much 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: Review of Daniel's second patch.
looks good. thanks for the review and submit. http://galgwt-reviews.appspot.com/1 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit commit] r3954 - branches/1_6_clean_events/tools/api-checker/config
Author: [EMAIL PROTECTED] Date: Wed Nov 5 06:42:11 2008 New Revision: 3954 Modified: branches/1_6_clean_events/tools/api-checker/config/gwt14_15userApi.conf Log: commiting white list, including one bogus tab value entry in order to allow unit tests to run Modified: branches/1_6_clean_events/tools/api-checker/config/gwt14_15userApi.conf == --- branches/1_6_clean_events/tools/api-checker/config/gwt14_15userApi.conf (original) +++ branches/1_6_clean_events/tools/api-checker/config/gwt14_15userApi.conf Wed Nov 5 06:42:11 2008 @@ -50,6 +50,7 @@ com.google.gwt.user.client.rpc.core.java.lang.short_Array_CustomFieldSerializer MISSING com.google.gwt.user.client.ui.AbstractImagePrototype::applyTo(Lcom/google/gwt/user/client/ui/Image;) OVERLOADED_METHOD_CALL com.google.gwt.user.client.ui.Button::Button(Ljava/lang/String;) OVERLOADED_METHOD_CALL +com.google.gwt.user.client.ui.Button::Button(Ljava/lang/String;Lcom/google/gwt/user/client/ui/ClickListener;) OVERLOADED_METHOD_CALL com.google.gwt.user.client.ui.ChangeListenerCollection::add(ILjava/lang/Object;) MISSING com.google.gwt.user.client.ui.ChangeListenerCollection::add(Ljava/lang/Object;) MISSING com.google.gwt.user.client.ui.ChangeListenerCollection::get(I) OVERRIDABLE_METHOD_RETURN_TYPE_CHANGE @@ -156,3 +157,8 @@ java.util.Arrays::sort([Ljava/lang/Object;) OVERLOADED_METHOD_CALL java.util.Date::__parse(Ljava/lang/String;) MISSING java.util.Date::compareTo(Ljava/lang/Object;) MISSING +#should be sorted +com.google.gwt.user.client.ui.ToggleButton::ToggleButton(Lcom/google/gwt/user/client/ui/Image;Lcom/google/gwt/user/client/ui/Image;Lcom/google/gwt/user/client/ui/ClickListener;) OVERLOADED_METHOD_CALL + +#Temporary, commited so unit tests can run. +com.google.gwt.user.client.ui.TabBar::onClick(Lcom/google/gwt/user/client/ui/Widget;) MISSING --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR: Adding Kelly's event dispatch app to reference on 1.5
Sounds like a plan. On Tue, Nov 4, 2008 at 6:08 PM, Emily Crutcher [EMAIL PROTECTED] wrote: Ray, I think you actually want to merge the entire 1.6 branch into the 1.6 clean events branch rather then copying the benchmark and update the branch.txt file in clean events with that info. Otherwise, the merge back from 1.6 is going to more painful then even today's fire drill was. Cheers, Emily On Tue, Nov 4, 2008 at 6:51 PM, Ray Ryan [EMAIL PROTECTED] wrote: Hey, Kelly. The attached is the 1.5 version of the event dispatch benchmark you wrote last week, and is intended to be committed to the references directory of the 1.5 branch. I plan to svn copy it from there to branches/1_6_clean_events/reference and there apply the diff between your 1.5 and 1.6 versions. What do you think? rjrjr -- There are only 10 types of people in the world: Those who understand binary, and those who don't --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit commit] r3958 - branches/1_6_clean_events/user/src/com/google/gwt/core/client/impl
Author: [EMAIL PROTECTED] Date: Wed Nov 5 10:28:53 2008 New Revision: 3958 Modified: branches/1_6_clean_events/user/src/com/google/gwt/core/client/impl/RawJsMapImpl.java Log: fixing RawJsMapImpl to use right line endings Modified: branches/1_6_clean_events/user/src/com/google/gwt/core/client/impl/RawJsMapImpl.java == --- branches/1_6_clean_events/user/src/com/google/gwt/core/client/impl/RawJsMapImpl.java (original) +++ branches/1_6_clean_events/user/src/com/google/gwt/core/client/impl/RawJsMapImpl.java Wed Nov 5 10:28:53 2008 @@ -1,117 +1,117 @@ -/* - * Copyright 2008 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 - * License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.gwt.core.client.impl; - -import com.google.gwt.core.client.GWT; -import com.google.gwt.core.client.JavaScriptObject; - -import java.util.HashMap; - -/** - * A raw js map implementation. public so we can avoid creating multiple - * versions for our internal code, the API is completely unsafe with no fewer - * then three versions of put and get, so do not use! - * - * @param ValueType value type - */ -public class RawJsMapImplValueType { - - private static class KeyMapValueType extends JavaScriptObject { - -public static RawJsMapImpl.KeyMap create() { - return (RawJsMapImpl.KeyMap) JavaScriptObject.createObject(); -} - -protected KeyMap() { -} - -public final native ValueType get(String key) /*-{ - return this[key]; -}-*/; - -public final native ValueType get(int key) /*-{ - return this[key]; -}-*/; - -public final native void put(String key, ValueType value) /*-{ - this[key] = value; -}-*/; - -public final native void put(int key, ValueType value) /*-{ - this[key] = value; -}-*/; - } - - private RawJsMapImpl.KeyMapValueType map; - private HashMapString, ValueType javaMap; - - public RawJsMapImpl() { -if (GWT.isScript()) { - map = KeyMap.create(); -} else { - javaMap = new HashMapString, ValueType(); -} - } - - // Raw get, only use for values that are known not to conflict with the - // browser's reserved keywords. - public final ValueType get(String key) { -if (GWT.isScript()) { - return map.get(key); -} else { - return javaMap.get(key); -} - } - - // int get only use with int get. - public final ValueType get(int key) { -if (GWT.isScript()) { - return map.get(key); -} else { - return javaMap.get(key + ); -} - } - - // Raw put, only use with int get. - public final void put(int key, ValueType value) { -if (GWT.isScript()) { - map.put(key, value); -} else { - javaMap.put(key + , value); -} - } - - // Raw put, only use for values that are known not to conflict with the - // browser's reserved keywords. - public final void put(String key, ValueType value) { -if (GWT.isScript()) { - map.put(key, value); -} else { - javaMap.put(key, value); -} - } - - // ONLY use this for values put with safePut. - public final ValueType safeGet(String key) { -return get(key + :); - } - - // ONLY use this for values that will be accessed with saveGet. - public final void safePut(String key, ValueType value) { -put(key + :, value); - } +/* + * Copyright 2008 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 + * License for the specific language governing permissions and limitations under + * the License. + */ + +package com.google.gwt.core.client.impl; + +import com.google.gwt.core.client.GWT; +import com.google.gwt.core.client.JavaScriptObject; + +import java.util.HashMap; + +/** + * A raw js map implementation. public so we can avoid creating multiple + * versions for our internal code, the API is completely unsafe with no fewer + * then three versions of put and get, so do not use! + * + * @param ValueType value type + */ +public class RawJsMapImplValueType { + + private static class KeyMapValueType extends
[gwt-contrib] FYI: code reviews done through our googlecode project will CC this list.
I just wanted people to be aware of this. I've changed the settings in our project to always CC the code review comments to this list. /kel -- If you received this communication by mistake, you are entitled to one free ice cream cone on me. Simply print out this email including all relevant SMTP headers and present them at my desk to claim your creamy treat. We'll have a laugh at my emailing incompetence, and play a game of ping pong. (offer may not be valid in all States). --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit commit] r3959 - in trunk: dev/core/src/com/google/gwt/dev/jjs dev/core/src/com/google/gwt/dev/jjs/ast dev...
Author: [EMAIL PROTECTED] Date: Wed Nov 5 11:21:13 2008 New Revision: 3959 Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JVariable.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/FragmentExtractor.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/Pruner.java trunk/dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRunAsyncs.java trunk/user/src/com/google/gwt/core/client/AsyncFragmentLoader.java Log: This patch adds a better code-splitting strategy for implementing GWT.runAsync. Instead of lumping all non-exclusive code atoms into the initial download, the initial download only includes the initially needed code. Additionally, a custom download is created for each split point that can be used if that split point is the first one to be reached. After the first download, a leftovers fragment is downloaded in the background. So, each call to runAsync causes three fragments to be created: the exclusive fragment as before, a new custom download, and a leftovers fragment. Review by: bobv (TBR) Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java == --- trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java (original) +++ trunk/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java Wed Nov 5 11:21:13 2008 @@ -211,7 +211,7 @@ // (10.5) Split up the program into fragments if (options.isAggressivelyOptimize()) { -CodeSplitter.exec(jprogram, jsProgram, postStringInterningMap); +CodeSplitter.exec(logger, jprogram, jsProgram, postStringInterningMap); } // (11) Perform any post-obfuscation normalizations. Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JVariable.java == --- trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JVariable.java (original) +++ trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JVariable.javaWed Nov 5 11:21:13 2008 @@ -43,6 +43,10 @@ } return null; } + + public JDeclarationStatement getDeclarationStatement() { +return declStmt; + } public JExpression getInitializer() { if (declStmt != null) { Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java == --- trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java (original) +++ trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.javaWed Nov 5 11:21:13 2008 @@ -15,6 +15,7 @@ */ package com.google.gwt.dev.jjs.impl; +import com.google.gwt.core.ext.TreeLogger; import com.google.gwt.dev.jjs.ast.Context; import com.google.gwt.dev.jjs.ast.JClassLiteral; import com.google.gwt.dev.jjs.ast.JExpression; @@ -25,6 +26,7 @@ import com.google.gwt.dev.jjs.ast.JReferenceType; import com.google.gwt.dev.jjs.ast.JStringLiteral; import com.google.gwt.dev.jjs.ast.JVisitor; +import com.google.gwt.dev.jjs.impl.FragmentExtractor.CfaLivenessPredicate; import com.google.gwt.dev.jjs.impl.FragmentExtractor.LivenessPredicate; import com.google.gwt.dev.jjs.impl.FragmentExtractor.NothingAlivePredicate; import com.google.gwt.dev.jjs.impl.FragmentExtractor.StatementLogger; @@ -59,12 +61,21 @@ * The precise way the program is fragmented is an implementation detail that is * subject to change. Whenever the fragment strategy changes, * codeAsyncFragmentLoader/code must be updated in tandem. That said, the - * current fragmentation strategy is to create one fragment for each call to - * coderunAsync()/code. Each such fragment holds the code that is - * exclusively needed by that particular call to coderunAsync()/code. Any - * code needed by two or more calls to coderunAsync()/code is placed in - * the initial fragment. + * current fragmentation strategy is to create an initial fragment and then + * three more fragments for each split point. For each split point, there is: * /p + * + * ul + * lia secondary base fragment, which is downloaded if this split point is + * the first one reached. It contains enough code to continue running as soon as + * it downloads. + * lian exclusively live fragment, which is downloaded if this split point is + * reached but is not the first one. It includes only that code that is + * exclusively needed by this split point. + * lia leftovers fragment, which includes all code that is in none of: the + * initial download, any exclusive fragment, or the secondary base fragment for + * this split point. + * /ul */
[gwt-contrib] [google-web-toolkit commit] r3960 - branches/oophm/user/src/com/google/gwt/core/client
Author: [EMAIL PROTECTED] Date: Wed Nov 5 13:29:25 2008 New Revision: 3960 Added: branches/oophm/user/src/com/google/gwt/core/client/RunAsyncCallback.java (contents, props changed) Modified: branches/oophm/user/src/com/google/gwt/core/client/GWT.java Log: Merges revision 3664 from the trunk into the OOPHM branch. This revision adds a stub for GWT.runAsync that simply calls the callback. Review by: jat,scottb,bruce Modified: branches/oophm/user/src/com/google/gwt/core/client/GWT.java == --- branches/oophm/user/src/com/google/gwt/core/client/GWT.java (original) +++ branches/oophm/user/src/com/google/gwt/core/client/GWT.java Wed Nov 5 13:29:25 2008 @@ -1,5 +1,5 @@ /* - * Copyright 2007 Google Inc. + * Copyright 2008 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 @@ -187,6 +187,15 @@ if (sGWTBridge != null) { sGWTBridge.log(message, e); } + } + + /** + * Run the supplied callback. The system is allowed to delay before running + * the callback while additional code is downloaded, but that feature is not + * yet implemented. Currently, the callback runs immediately. + */ + public static void runAsync(RunAsyncCallback callback) { +callback.onSuccess(); } /** Added: branches/oophm/user/src/com/google/gwt/core/client/RunAsyncCallback.java == --- (empty file) +++ branches/oophm/user/src/com/google/gwt/core/client/RunAsyncCallback.java Wed Nov 5 13:29:25 2008 @@ -0,0 +1,33 @@ +/* + * Copyright 2008 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 + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.core.client; + +/** + * A callback meant to be used by + * [EMAIL PROTECTED] com.google.gwt.core.client.GWT#runAsync(RunAsyncCallback) }. + */ +public interface RunAsyncCallback { + /** + * Called when, for some reason, the necessary code cannot be loaded. For + * example, the user might no longer be on the network. + */ + void onFailure(Throwable caught); + + /** + * Called once the necessary code for it has been loaded. + */ + void onSuccess(); +} --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: how to use GWT.runAsync()?
On Fri, Oct 31, 2008 at 11:50 AM, Ian Petersen [EMAIL PROTECTED] wrote: The compiler already analyzes your code to do things like dead code removal. In other words, it already removes code from the output that it can prove will never be invoked. The support for runAsync is similar in that the compiler constructs some kind of call graph of your code and any subgraph that's entirely behind a call to runAsync gets broken out into a separate fragment. Each fragment is then separately downloadable. That's it exactly. Any code that's called from startWorking and nowhere else should also be separated from the main module, but anything that's called from method2 would necessarily be included with the main module. The analysis gets more complicated as you add calls to runAsync, but the traffic I've seen describing the design of runAsync makes it sound like the compiler should be able to handle any combination (barring, of course, any bugs that might still be lingering). It's a new tool, so we'll have to figure out the best coding idioms to use it. I believe, though, that you're best off if you can factor your code so that you don't have much of the same code reachable via two runAsync calls. Instead, make one runAsync call, but let it take a callback as a parameter. That is, don't do this: void method1() { GWT.runAsync(/* ..method1 stuff.. */); } void method2() { GWT.runAsync(/* ..method2 stuff, similar to method1 stuff.. */); } Instead, do it like this: class MyModule { interface Callback { ... } static void runAsync(final Callback cb) { GWT.runAsync(new RunAsyncCallback() { void onSuccess() { cb.onSuccess(); } void onFailure() { Window.alert(doh!); } } } void method1() { MyModule.runAsync(new Callback() { /*..method1 stuff..*/ }); } void method2() { MyModule.runAsync(new Callback() { /*..method2 stuff..*/ }); } The compiler associates code fragments with calls to runAsync. So, the idea here is that you help the compiler identify a good chunk of stuff to associate with the runAsync call in MyModule.runAsync. If you instead had method1 and method2 each call runAsync individually, then the compiler would not be able to assign code to each of those calls. If you try this idiom, do make sure that you make your own callback interface rather than usingRunAsyncCallback directly. You want the compiler to know that, within MyModule.runAsync, the call to cb.onSuccess() will only call the callbacks related to MyModule, not to any other callback in the system. Lex Spoon --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR: Adding Kelly's event dispatch app to reference on 1.5
Why 1.5 rather the 1.6? On Wed, Nov 5, 2008 at 5:32 PM, Ray Ryan [EMAIL PROTECTED] wrote: Wait. What? When you said the entire 1.6 branch, did you mean the entire 1.5 branch? Here's how I understand the plan: Put this benchmark app patch into 1.5 1.5 - 1.6 1.6 - 1.6_clean_event Edit the benchmark app in 1.6_clean_event, to use the new calls. Can I get an LGTM from either Emily or Kelly on that? rjrjr On Wed, Nov 5, 2008 at 9:08 AM, Ray Ryan [EMAIL PROTECTED] wrote: Sounds like a plan. On Tue, Nov 4, 2008 at 6:08 PM, Emily Crutcher [EMAIL PROTECTED] wrote: Ray, I think you actually want to merge the entire 1.6 branch into the 1.6 clean events branch rather then copying the benchmark and update the branch.txt file in clean events with that info. Otherwise, the merge back from 1.6 is going to more painful then even today's fire drill was. Cheers, Emily On Tue, Nov 4, 2008 at 6:51 PM, Ray Ryan [EMAIL PROTECTED] wrote: Hey, Kelly. The attached is the 1.5 version of the event dispatch benchmark you wrote last week, and is intended to be committed to the references directory of the 1.5 branch. I plan to svn copy it from there to branches/1_6_clean_events/reference and there apply the diff between your 1.5 and 1.6 versions. What do you think? rjrjr -- There are only 10 types of people in the world: Those who understand binary, and those who don't -- There are only 10 types of people in the world: Those who understand binary, and those who don't --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR: Adding Kelly's event dispatch app to reference on 1.5
Because it tests the 1.5 api. If we want to run it again, it will be simplest if it lives with the 1.5 code. Adding it to reference should be safe, since reference is not part of the product jars. On Wed, Nov 5, 2008 at 3:26 PM, Emily Crutcher [EMAIL PROTECTED] wrote: Why 1.5 rather the 1.6? On Wed, Nov 5, 2008 at 5:32 PM, Ray Ryan [EMAIL PROTECTED] wrote: Wait. What? When you said the entire 1.6 branch, did you mean the entire 1.5 branch? Here's how I understand the plan: Put this benchmark app patch into 1.5 1.5 - 1.6 1.6 - 1.6_clean_event Edit the benchmark app in 1.6_clean_event, to use the new calls. Can I get an LGTM from either Emily or Kelly on that? rjrjr On Wed, Nov 5, 2008 at 9:08 AM, Ray Ryan [EMAIL PROTECTED] wrote: Sounds like a plan. On Tue, Nov 4, 2008 at 6:08 PM, Emily Crutcher [EMAIL PROTECTED] wrote: Ray, I think you actually want to merge the entire 1.6 branch into the 1.6 clean events branch rather then copying the benchmark and update the branch.txt file in clean events with that info. Otherwise, the merge back from 1.6 is going to more painful then even today's fire drill was. Cheers, Emily On Tue, Nov 4, 2008 at 6:51 PM, Ray Ryan [EMAIL PROTECTED] wrote: Hey, Kelly. The attached is the 1.5 version of the event dispatch benchmark you wrote last week, and is intended to be committed to the references directory of the 1.5 branch. I plan to svn copy it from there to branches/1_6_clean_events/reference and there apply the diff between your 1.5 and 1.6 versions. What do you think? rjrjr -- There are only 10 types of people in the world: Those who understand binary, and those who don't -- There are only 10 types of people in the world: Those who understand binary, and those who don't --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---