Re: Overlays and Hosted mode
Hello, Thank you for your replies ! So i uderstand that hosted mode doesnt seem really suitable with real time 3D applications in a html5 canvas using WebGL, resquesting thousands of overlayed functions calls per second =/ Also for debugging purpose, it wont be possible to run the whole application to do it. Hm it sounds a challenge to cut the project into many independent pieces which could be tested and debugged individually in hosted mode then merge them to get the complete appli ready to be released; but it could be interesting ! Regards, Harold 2011/2/10 P Osborne contacto...@gmail.com hosted mode isn't for performance it is for debugging. Personally I've found that starting production Jetty is faster than starting hosted mode and waiting for the application to load. On Wed, Feb 9, 2011 at 3:53 PM, Thomas Broyer t.bro...@gmail.com wrote: Each time you go from Java to JS, and from JS to Java, the DevMode communicates with the plugin in your browser, which then communicates with the web page to execute the JS (and in Chrome, that last part is even slower than in other browsers due to chrome's architecture). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory edit() fuction not working
Hi All, I am new to requestfactory and currently working on sample to understand it better. I have created simple entity at server side and trying to check create,update delete operation from the client side.I could see create and delete working as expected but when it comes to update it is failing with unique constraint error because somehow requestfactory is calling a INSERT query instead of UPDATE query.Please let m eknow if I am missing anything here. here is my code snippet: CcfSearchCriteriaRequest request = requestFactory.ccfSCRequest(); request.findCcfSearchCriteria(Long.valueOf(5L)).fire(new ReceiverCcfSearchCriteriaProxy() { @Override public void onSuccess(CcfSearchCriteriaProxy response) { CcfSearchCriteriaRequest request1 = requestFactory.ccfSCRequest(); CcfSearchCriteriaProxy editCriteria = request1.edit(response); editCriteria.setDescription(SOmething); request1.persist().using(editCriteria).fire(new ReceiverVoid() { @Override public void onSuccess(Void ignore) { Window.alert(Updated); } }); } @Override public void onFailure(ServerFailure error) { } }); Thanks in advance, satish -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: is it of any value to create RequestContext and EntityProxy test to validate their correctness ?
RequestFactoryInterfaceValidator is directly called by the ResolverServiceLayer, which is part of of the SimpleRequestProcessor (used by RequestFactoryServlet, and probably by your unit tests, using an InProcessRequestTransport), so no, there's no need to call it directly yourself in addition to other unit tests. It can be useful as a standalone tool as part of your build process though, something like: even if I don't run the tests, let's check that I got things right, by running the RequestFactoryInterfaceValidator after javac. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: To smart GWT or not
One problem with GWT is it's lack of styling. The default style is un- styled and doesn't work for our application. SmartGWT on the other- hand provides an attractive uniform styling. The blocker for me is that now you are using another 3rd party library: you have to learn its ways, integrate with your existing framework, and deal with its bugs and idiosyncrasies. On Feb 10, 7:30 am, Nagin Kothari naginkoth...@gmail.com wrote: Sanjiv, I know I am reopening this thread, not to criticise Smart GWT, but want to give some feedback. First of all let me acknowledge that it is very good library with lot of cool and fantastic features. I experimented with it and liked it and planning to use it in one of my project.But I have some doubts and questions , which you I thought you will be best person to answer . Hence this mail. 1. I am using GWT and want to use some Smart GWT widgets in that application.But it looks like I have to include lot of Smart client JS file which size is about 2MB. Client need to download all these JS libs above our GWT compiled script. this become very huge download for client, Even I want to use Smart GWT's grid , I realized that I have to include almost everything except few small smart-client JS.So my question is why is so and what is work around for it? 2.Second, smart-client scripts are not in compressed format (like GWT is). it is like GWT pretty format. If it is compressed then size of all script files will be reduced. 3. My third question is - Why smart GWT is not written in GWT so that it can take advantage of GWT's optimised java script compiler.Smart GWT widget the can be extended by user to customize it. Right now Smart GWT widgets are just black box for developer. Theses are few question I had in mind., Over all features provided by smart GWT are great. Thank and regards, Nagin Kothari On Fri, Dec 3, 2010 at 9:24 PM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Jaroslav, If you're happy with GWT that’s great but please do not make such vague and baseless claims about Smart GWT. Legitimate bugs reported are fixed really quickly and existing users can attest to this. Smart GWT currently has around 42 open defects with a majority of them being low priority, and 16 enhancement requests (http://code.google.com/p/smartgwt/issues/list). Considering the depth and breadth of features provided by the framework this is a pretty low number of defects. 3 of the 7 issues that you filed were invalid, and 2 defects that were fixed and the remaining 2 were marked WontFix since they were trivial pieces of functionality that the user could easily implement. http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl... http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl...And when you were advised how to implement a warning dialog before record deletion on this issue that you filed ( http://code.google.com/p/smartgwt/issues/detail?id=325), you responded by you are sad. Nice way to show your appreciation when using a free product. Sanjiv 2010/12/3 Jaroslav Záruba jaroslav.zar...@gmail.com ...until you run into some SmartGWT magic - like widgets not working without otherwise completely useless 'final' (have fun trying figure that out), newly spanned records not appearing in tree, styles not getting applied until mouseover, etc. What looks like polished set of awesome widgets might turn into nightmare which makes you throwing your deadlines out of the window. (Like I said before, this particular experience with SmartGWT is one year old.) With GWT the start might be slower but you can predict the deadlines + you're not working with 'black box'. On 3 pro, 00:00, ckendrick charles.kendr...@gmail.com wrote: Sorry that's quite absurd: SmartGWT is often introduced to solve performance problems, and it solves them. SmartGWT is intentionally designed to have a one-time-ever download of a feature rich runtime in exchange for reducing subsequent server requests. For example, Adaptive Filtering greatly reduces the costliest types of database hits: http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe... .. and allows you to introduce an extremely powerful data highlighting system with no server load at all: http://blog.isomorphic.com/?p=234 If your application is the kind we target - complex enterprise applications which are used repeatedly and for significant lengths of time - this provides a gigantic performance boost, and once-ever download of cachable JavaScript files is a negligible factor. Look at a deployed SmartGWT application and you've got users humming along, ripping through the interface and nothing being downloaded anymore because it's all cached. And everyone is getting fast responses from the database because the Smart GWT framework is minimizing database load. The larger
FocusWidget fired repeats the event
Hi, I'm using GWT 2.1.1 and I created a widget that extends FocusWidget. I have added to this widget a classical ClickHandler like this: new ClickHandler() { public void onClick(ClickEvent event) { //do something } }; my problem is when the widget is fired the event is triggered many times instead of only one. Is there a way to stop this accumulation of events? I tested this only on Firefox 3.6.13 Thanks, Julio -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
I need 2 Google IO tickets
Hello, Sorry to post about this, but I am desperate about going to Google IO. I develop in GWT for more than 3 years. We already bought the plain tickets from Hungary, but could not buy IO tickets. We also have a gwt framework called IneForm, that is going to be opensourced soon (I think it is a decent framework, I will announce it here, when it's out). So I really want to meet other GWT developers, and I thought IO is a great opportunity. I will be in SF form May 6 to May 29. *If anybody have some ticket to sell, I would pay decent amount of money for it!* Irrespectively of me being able to get tickets, we could organize some event in SF in the time of IO for GWT developers. Anybody Interested ether in selling ticket or in some GWT event? Üdvözlettel / Best Regards - István Szoboszlai istvan.szobosz...@inepex.com | +36 70 32 64 450 | inepex.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
suggestbox selection handler and keypress handler
Am looking for an easy way to avoid a keypress from the textbox of a suggestbox when the user selects an item from the suggested dropdown. I need to handle both in my application, but if the user selects an item from the suggested drop down, i want to avoid the event from the keydown handler on the wrapped textbox. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: To smart GWT or not
GWT is not designed to be a UI Framework, rather its a base for everything else. And this is good so. We're using ExtGWT as a UI Framework, we kicked SmartGWT because of their JS wraps (not a native GWT implementation) On 10 Feb., 11:11, jaga j.annes...@gmail.com wrote: One problem with GWT is it's lack of styling. The default style is un- styled and doesn't work for our application. SmartGWT on the other- hand provides an attractive uniform styling. The blocker for me is that now you are using another 3rd party library: you have to learn its ways, integrate with your existing framework, and deal with its bugs and idiosyncrasies. On Feb 10, 7:30 am, Nagin Kothari naginkoth...@gmail.com wrote: Sanjiv, I know I am reopening this thread, not to criticise Smart GWT, but want to give some feedback. First of all let me acknowledge that it is very good library with lot of cool and fantastic features. I experimented with it and liked it and planning to use it in one of my project.But I have some doubts and questions , which you I thought you will be best person to answer . Hence this mail. 1. I am using GWT and want to use some Smart GWT widgets in that application.But it looks like I have to include lot of Smart client JS file which size is about 2MB. Client need to download all these JS libs above our GWT compiled script. this become very huge download for client, Even I want to use Smart GWT's grid , I realized that I have to include almost everything except few small smart-client JS.So my question is why is so and what is work around for it? 2.Second, smart-client scripts are not in compressed format (like GWT is). it is like GWT pretty format. If it is compressed then size of all script files will be reduced. 3. My third question is - Why smart GWT is not written in GWT so that it can take advantage of GWT's optimised java script compiler.Smart GWT widget the can be extended by user to customize it. Right now Smart GWT widgets are just black box for developer. Theses are few question I had in mind., Over all features provided by smart GWT are great. Thank and regards, Nagin Kothari On Fri, Dec 3, 2010 at 9:24 PM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Jaroslav, If you're happy with GWT that’s great but please do not make such vague and baseless claims about Smart GWT. Legitimate bugs reported are fixed really quickly and existing users can attest to this. Smart GWT currently has around 42 open defects with a majority of them being low priority, and 16 enhancement requests (http://code.google.com/p/smartgwt/issues/list). Considering the depth and breadth of features provided by the framework this is a pretty low number of defects. 3 of the 7 issues that you filed were invalid, and 2 defects that were fixed and the remaining 2 were marked WontFix since they were trivial pieces of functionality that the user could easily implement. http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl... http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl...And when you were advised how to implement a warning dialog before record deletion on this issue that you filed ( http://code.google.com/p/smartgwt/issues/detail?id=325), you responded by you are sad. Nice way to show your appreciation when using a free product. Sanjiv 2010/12/3 Jaroslav Záruba jaroslav.zar...@gmail.com ...until you run into some SmartGWT magic - like widgets not working without otherwise completely useless 'final' (have fun trying figure that out), newly spanned records not appearing in tree, styles not getting applied until mouseover, etc. What looks like polished set of awesome widgets might turn into nightmare which makes you throwing your deadlines out of the window. (Like I said before, this particular experience with SmartGWT is one year old.) With GWT the start might be slower but you can predict the deadlines + you're not working with 'black box'. On 3 pro, 00:00, ckendrick charles.kendr...@gmail.com wrote: Sorry that's quite absurd: SmartGWT is often introduced to solve performance problems, and it solves them. SmartGWT is intentionally designed to have a one-time-ever download of a feature rich runtime in exchange for reducing subsequent server requests. For example, Adaptive Filtering greatly reduces the costliest types of database hits: http://www.smartclient.com/smartgwt/showcase/#grid_adaptive_filter_fe... .. and allows you to introduce an extremely powerful data highlighting system with no server load at all: http://blog.isomorphic.com/?p=234 If your application is the kind we target - complex enterprise applications which are used repeatedly and for significant lengths of time - this provides a gigantic performance boost, and once-ever download of
[REPOST] Performance issues with Google Chrome in hosted mode
[Sorry for posting this multiple times, either my messages are still blocked after 2 weeks or they have been lost...] I'm experiencing important performance issues when running/debugging our application in hosted mode under Google Chrome. After some benchmark tests, it seems that Chrome is 3 to 10 times slower than IE or Firefox. Curiously, IE is the faster browser to render elements in debug mode (no comment...). In the case of an heavy page load, Chrome can take more than 2 minutes to render completely (after multiple plug-in unresponsive messages), which is just unacceptable. The last available version of the GWT Developement plugin is buggy (cf. http://code.google.com/p/google-web-toolkit/issues/detail?id=5941), so I tried the latest build from trunk (1.0.9647) but... still buggy even if the bug has been marked as fixed. Currently, I'm working with the old 1.0.8980 version. There is a lot of threads about performance issues with Chrome in hosted mode (since 2008 in fact); it's a shame that nothing has been done until now... Workspace: JDK 1.5.0_14, Eclipse 3.4.2, GWT 2.0.3, GWT Developement plugin 1.0.8980, Internet Explorer 8.0.6001.18702, Google Chrome 9.0.597.84 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Load Testing GWT applications
Hello, I need to implement Load Testing(say for some 20 users) on my GWT application running in tomcat server on my machine. I am working on Ubuntu OS. On googling, I find NeoTys that satisfies my requirement, but the trial version has few conditions: 1. It supports only Windows Users 2. the server shouldn't be localhost. Can anyone provide some light on the possible tools out in the market that would meet my expectations? Regards, Chandrasekar V. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Scroll Bar Issue
John, DataGrid as you mentioned above, is very important for our project too and if you could provide about its release it would be very much appreciable. On Jan 21, 8:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: +1 On Jan 21, 2011 7:53 AM, wajad abbasi wajadabb...@gmail.com wrote: Thanks for your reply. Dear when will data grid be available??? OR is there any other Widget/Option which gives this kind of feature like smartgwt's Live Gird On Jan 20, 8:18 pm, John LaBanca jlaba...@google.com wrote: It isn't possible with CellTable. I'm working no a variation of CellTable called DataGrid that will add this specific feature. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 9:12 AM, wajad abbasi wajadabb...@gmail.com wrote: I am adding celltable widget in scrollPanel. I want to set its header to be fixed and data should be under Vertical scroll or is there any possibility to control the Horizontal scroll bar.. Please help me if anyone can. i m working it out from last month. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252Bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. - 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
cross-selection of CheckboxCell in CellTable
Hi, I've implemented a CellTable with three distinct columns of type CheckboxCell checkBoxCell = new CheckboxCell(true, false); ColumnAnagrafica, Boolean checkColumn = new ColumnAnagrafica, Boolean(checkBoxCell) { @Override public Boolean getValue(Anagrafica object) { ... each of the column has a own instance of a MultiSelectionModel and a FieldUpdater: FieldUpdaterAnagrafica, Boolean fieldUpdater = new FieldUpdaterAnagrafica, Boolean() { @Override public void update(int index, Anagrafica articolo, Boolean value) { // Called when the user clicks on a checkbox. selectionModel.setSelected(articolo, value); if(value){ //here select all the ckeck box } } }; checkColumn.setFieldUpdater(fieldUpdater); I can't find a way to fire the selection of all of the CheckBoxCell as a consequence of the selection of the of them. What do I need to do? Any hint? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Developing a large scale GWT app and MVP
Thank you very much Ashton. I like both approaches, although the last one seems to be more professional from an architectural point of view. So, I need to implement the handler (handlers if a had several popups), and it will center() the popup. Let´s suppose the app center()s a different popup per MenuItem, the questions are: - How the Shell knows about the popups it has to center() in its handlers´ implementations? - The popups will be passed in the shell constructor? - If so, the shell constructor would have one argument per popup. - If not, the MyAppFactory would have to offer getter methods to get the different popup instances. Is there anything I´m missing? What would be your solution? 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Scroll Bar Issue
On Thu, Feb 10, 2011 at 12:20 AM, Vish vnd...@gmail.com wrote: John, DataGrid as you mentioned above, is very important for our project too and if you could provide about its release it would be very much appreciable. The current plan is to get it into GWT 2.3, which we just started working on. I'm hoping to have DataGrid checked into trunk by early March, but it could slip if other priorities come up. I wish I could provide a firm date, but we have a lot going on and its hard to know exactly when I'll be able to work on it. If you star this issue, it'll throw some fuel on the fire and increase the priority. Personally, I think its long overdue. http://code.google.com/p/google-web-toolkit/issues/detail?id=188 On Jan 21, 8:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: +1 On Jan 21, 2011 7:53 AM, wajad abbasi wajadabb...@gmail.com wrote: Thanks for your reply. Dear when will data grid be available??? OR is there any other Widget/Option which gives this kind of feature like smartgwt's Live Gird On Jan 20, 8:18 pm, John LaBanca jlaba...@google.com wrote: It isn't possible with CellTable. I'm working no a variation of CellTable called DataGrid that will add this specific feature. Thanks, John LaBanca jlaba...@google.com On Thu, Jan 20, 2011 at 9:12 AM, wajad abbasi wajadabb...@gmail.com wrote: I am adding celltable widget in scrollPanel. I want to set its header to be fixed and data should be under Vertical scroll or is there any possibility to control the Horizontal scroll bar.. Please help me if anyone can. i m working it out from last month. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com google-web-toolkit%2Bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%252Bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com google-web-toolkit%2Bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. - 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Info. about Gmail Contextual Gadget
http://code.google.com/p/gwt-google-apis/wiki/GadgetsGettingStarted http://code.google.com/intl/es-AR/apis/gadgets/docs/dev_guide.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Exception thrown while constructing Processor object
Hi,, I encountered this error: Exception thrown while constructing Processor object: org/datanucleus/exceptions/NucleusException after I ran mvn gwt:run. The error occurred as a compilation error. Can't find anyone replicating this error online. -- Odeyemi 'Kayode O. B.Sc(Hons) Econs, Application Developer Systems Engineer (Sun Certified Professional), Oracle Certified Associate, Solaris Systems Administrator, Drupal Developer Tel: +2348053063373 P.O.Box 682, Ita-elewa, Ikorodu, Lagos, Nigeria, West-Africa. Website: http://sinati.com http://www.sinati.com Socialize with me: http://profile.to/charyorde, http://twitter.com/charyorde, http://www.google.com/profiles/dreyemi Skype:drecute -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: sending image file using RequestFactory takes a long time. what is the correct way ?
On Thursday, February 10, 2011 3:21:52 AM UTC+1, zixzigma wrote: I put the image file on classpath and read it as shown above, my intention is to keep things simple before using a DB. do you think this might be the reason behind the delay ? No. or could it be converting from byte[] to ListByte ? Neither. in your opinion what is the correct way of sending images to the client ? Either as a data: URL (String), or as requests to a servlet (just like you would request static image files), but absolutely not as byte[] or ListByte, as that isn't very useful on the client-side. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: FocusWidget fired repeats the event
How many times you add new ClickHandler? I think that you add more then one different handlers, who listening for click event. TextBox.addClickHandler(new ClickHandler(){}). Maybe when page reload or something. Try to debug how many different instances you are creating and adding. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory edit() fuction not working
The culprit is not RequestFactory, it is your server-side code that does the persist() (and/or the one that does the findCcfSearchCriteria). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: FocusWidget fired repeats the event
Hi, click-handler is added only one time (verified debugging too). Julio On Feb 10, 1:52 pm, Lazo Apostolovski lazo.apostolov...@gmail.com wrote: How many times you add new ClickHandler? I think that you add more then one different handlers, who listening for click event. TextBox.addClickHandler(new ClickHandler(){}). Maybe when page reload or something. Try to debug how many different instances you are creating and adding. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: To smart GWT or not
We install an application in production environment using 2.x GWT GWT- EXT 2.0.5. I tried to migrate to the Smart Gwt but we would have much trouble with the widgets you customized. A new application would have to be developed. We believe that GWT-EXT was easier to use. A basic problem we faced was with the grid that looks different in IE and Firefox. On 10 fev, 10:10, ep eplisc...@googlemail.com wrote: GWT is not designed to be a UI Framework, rather its a base for everything else. And this is good so. We're using ExtGWT as a UI Framework, we kicked SmartGWT because of their JS wraps (not a native GWT implementation) On 10 Feb., 11:11, jaga j.annes...@gmail.com wrote: One problem with GWT is it's lack of styling. The default style is un- styled and doesn't work for our application. SmartGWT on the other- hand provides an attractive uniform styling. The blocker for me is that now you are using another 3rd party library: you have to learn its ways, integrate with your existing framework, and deal with its bugs and idiosyncrasies. On Feb 10, 7:30 am, Nagin Kothari naginkoth...@gmail.com wrote: Sanjiv, I know I am reopening this thread, not to criticise Smart GWT, but want to give some feedback. First of all let me acknowledge that it is very good library with lot of cool and fantastic features. I experimented with it and liked it and planning to use it in one of my project.But I have some doubts and questions , which you I thought you will be best person to answer . Hence this mail. 1. I am using GWT and want to use some Smart GWT widgets in that application.But it looks like I have to include lot of Smart client JS file which size is about 2MB. Client need to download all these JS libs above our GWT compiled script. this become very huge download for client, Even I want to use Smart GWT's grid , I realized that I have to include almost everything except few small smart-client JS.So my question is why is so and what is work around for it? 2.Second, smart-client scripts are not in compressed format (like GWT is). it is like GWT pretty format. If it is compressed then size of all script files will be reduced. 3. My third question is - Why smart GWT is not written in GWT so that it can take advantage of GWT's optimised java script compiler.Smart GWT widget the can be extended by user to customize it. Right now Smart GWT widgets are just black box for developer. Theses are few question I had in mind., Over all features provided by smart GWT are great. Thank and regards, Nagin Kothari On Fri, Dec 3, 2010 at 9:24 PM, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Jaroslav, If you're happy with GWT that’s great but please do not make such vague and baseless claims about Smart GWT. Legitimate bugs reported are fixed really quickly and existing users can attest to this. Smart GWT currently has around 42 open defects with a majority of them being low priority, and 16 enhancement requests (http://code.google.com/p/smartgwt/issues/list). Considering the depth and breadth of features provided by the framework this is a pretty low number of defects. 3 of the 7 issues that you filed were invalid, and 2 defects that were fixed and the remaining 2 were marked WontFix since they were trivial pieces of functionality that the user could easily implement. http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl... http://code.google.com/p/smartgwt/issues/list?can=1q=reporter:jarosl...And when you were advised how to implement a warning dialog before record deletion on this issue that you filed ( http://code.google.com/p/smartgwt/issues/detail?id=325), you responded by you are sad. Nice way to show your appreciation when using a free product. Sanjiv 2010/12/3 Jaroslav Záruba jaroslav.zar...@gmail.com ...until you run into some SmartGWT magic - like widgets not working without otherwise completely useless 'final' (have fun trying figure that out), newly spanned records not appearing in tree, styles not getting applied until mouseover, etc. What looks like polished set of awesome widgets might turn into nightmare which makes you throwing your deadlines out of the window. (Like I said before, this particular experience with SmartGWT is one year old.) With GWT the start might be slower but you can predict the deadlines + you're not working with 'black box'. On 3 pro, 00:00, ckendrick charles.kendr...@gmail.com wrote: Sorry that's quite absurd: SmartGWT is often introduced to solve performance problems, and it solves them. SmartGWT is intentionally designed to have a one-time-ever download of a feature rich runtime in exchange for reducing subsequent server requests. For example,
Putting bootstrap js in host page
I was just wondering if anyone has tried to put the bootstrap js straight into the host page. It seems like it would reduce the number of http requests in a typical GWT app. Typical GWT apps have a host page (probably not set to cache forever), which includes the boostrap js (which typically isn't set to cache forever), and the bootstrap page includes your app js (possible multiple js if you use code splitting, and they should cache forever). So, if your cache isn't primed, you have at least 3 requests (host, bootstrap, app). If your cache is primed you get two (304 for host and 304 for bootstrap). If you were to put the boostrap js in the host page, then you'd reduce each of these by 1. Because the bootstrap js is pretty small (6KB for me), it sounds like a good way to reduce requests. Any thoughts? Anyone ever try this? I admit that I haven't tried it yet, but I suspect that copy and paste won't work unless perhaps your host page is sitting in the same directory as your boostrap and app js. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Performace Tips
I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
The problem is in production mode when running the compiled javascript. On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Frame not refreshing when call setURL
So, I have a hidden frame, and I set its URL to download a file from my server. The first time I do this, it works like a charm. Any subsequent times I do it, my server never gets the call. I am changing at least one of the parameters of the URL each time, so I don't believe that Firefox would be caching the call (and, even if it was, shouldn't it give me the file to save again?). Firefox 3.6.13, on Windows XP. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
If you have any influence over the choice of browser, IE7 should no longer be used. But the basic problem is simply the quality of the JavaScript engines in the various browsers. To see this, go to this page in IE7, IE8, Chrome, and Firefox and compare the results: http://webkit.org/perf/sunspider/sunspider.html http://webkit.org/perf/sunspider-0.9.1/sunspider-0.9.1/driver.html If your application runs a lot of client-side (JavaScript) code, then the performance on any given browser will be a factor of the speed of that browser's JavaScript engine. In my most recent testing on Windows XP, that boils down to: Assign a relative speed of 1X to Chrome and Opera; they are comparable. Firefox 3.6.13 is about 3X. IE8 is about 21X. On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote: The problem is in production mode when running the compiled javascript. On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
Thank you very much for the information. I have no doubt that the quality of the javascript engine plays a large role. In my case, I am using GWT so I have a very limited control over the javascript that is created. I know the performance of IE may never match Firefox, but is there any way to improve it? -TJ On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote: If you have any influence over the choice of browser, IE7 should no longer be used. But the basic problem is simply the quality of the JavaScript engines in the various browsers. To see this, go to this page in IE7, IE8, Chrome, and Firefox and compare the results: http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf/sunspider-0.9.1/sunspider-0.9.1/driver.html If your application runs a lot of client-side (JavaScript) code, then the performance on any given browser will be a factor of the speed of that browser's JavaScript engine. In my most recent testing on Windows XP, that boils down to: Assign a relative speed of 1X to Chrome and Opera; they are comparable. Firefox 3.6.13 is about 3X. IE8 is about 21X. On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote: The problem is in production mode when running the compiled javascript. On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RequestFactory Inheritance
Hi All, Have 3 entity persisted in same table: - Contact - PersonContact extends Contact - CompanyContact extends Contact I can create request which will return Contact... Something like Requestjava.util.ListContactProxy findContactEntries(). The problem is what this ContactProxy will contain only fields in ContactProxy... How to return a List which will contain both PersonContact CompanyContact proxies? How to parameterize request in this case, cause Requestjava.util.Listjava.lang.Object not gonna work. Thx! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
To answer the original question: Have you found any techniques which enabled you to speed up IE? The fastest possible code is the code that never gets executed. The only way to improve performance of your application in IE is to identify any code that can be done on the server and move it there; do as little work as possible in the horrifically slow IE JavaScript engine. On Feb 10, 9:33 am, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Inheritance
the issue http://code.google.com/p/google-web-toolkit/issues/detail?id=5367 a workaround https://groups.google.com/d/msg/google-web-toolkit/DMiuK_TBEh4/jSmPC-K2e_YJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Help with config two Server.
I am having problem to configure two servers to talk with each other. First server is pure Spring remoting server without any GWT code, second server is GWT Ui code. I want to able to run GWT UI as a server and remote to Spring remoting server to get data. The project structure look like this project1withDataService(on server1) - remote project2withGWT(on server2) Project1 is config with Gilead and GWT-SL -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Base Application Featuring Best-Practice Technologies
I have written (and am still working on) writing a simple base application which sets up and demonstrates the majority of GWT's new and recommended technologies. This is actually my first foray into GWT and instead of starting simple and integrating these technologies one- by-one I wanted to do all of the integration and configuration first. Having a solid foundation on which to build an app should allow myself and other users the ability dive right in to development and learn these technologies by following the existing example within the application. I'm looking for feedback on the implementation of all of these technologies. I have done my best to follow tutorials from the GWT website and suggestions from StackOverflow answers but there is still a few spots on which I am unsure that my usage is proper. Here are some issues on which I am looking for review: * The MVP pattern (more specifically the activities and views) seems like it would be over-eager in instantiating resources due to their injections. * RequestFactory and Editor tie-in. I have put the Driver in the view and the RequestFactory interaction in the activity which seemed most logical. Documentation on the interaction of these two features is scarce so I am not sure if it's being leveraged properly. Some things I wouldn't mind some assistance on implementing: * Testing setup. Both with traditional JUnit tests for the server- side code and the GWT JUnit tests for client-side code. * Logging. Both traditional server-side and proper client side through Guice/Gin injection. * Mobile application. I followed a tutorial somewhere which set up injection of the application itself on the client which allows you to feed a desktop and mobile application through the same code. Unfortunately I do not remember where the tutorial was nor how to detect or inject the mobile version. Any general thoughts or additional suggestions are also welcome. I'm looking to make this be useful for as many people as possible to ease the time required to get started with GWT. You can find the project on GitHub here: http://github.com/JakeWharton/GwtBase/ If you would like to contribute code, please fork the project and submit pull requests for your features. Check the project's issues for features that need implemented or add an issue of your own. Though it is not preferred, if you want to send patches or reply with diffs I will also accept those. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
Have you profiled your application in Chrome using Speed Tracer? http://code.google.com/webtoolkit/speedtracer/ Even if overall performance is acceptable in Chrome and Firefox, there are bottlenecks in any application. If you find and optimize those bottlenecks in Speed Tracer, there's a good chance that you will be able to improve performane in all browsers. On Feb 10, 9:59 am, tjmcc18 tjmc...@gmail.com wrote: Thank you very much for the information. I have no doubt that the quality of the javascript engine plays a large role. In my case, I am using GWT so I have a very limited control over the javascript that is created. I know the performance of IE may never match Firefox, but is there any way to improve it? -TJ On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote: If you have any influence over the choice of browser, IE7 should no longer be used. But the basic problem is simply the quality of the JavaScript engines in the various browsers. To see this, go to this page in IE7, IE8, Chrome, and Firefox and compare the results: http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf... If your application runs a lot of client-side (JavaScript) code, then the performance on any given browser will be a factor of the speed of that browser's JavaScript engine. In my most recent testing on Windows XP, that boils down to: Assign a relative speed of 1X to Chrome and Opera; they are comparable. Firefox 3.6.13 is about 3X. IE8 is about 21X. On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote: The problem is in production mode when running the compiled javascript. On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Inheritance
Thank you! On Feb 10, 9:07 pm, Y2i yur...@gmail.com wrote: the issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=5367 a workaroundhttps://groups.google.com/d/msg/google-web-toolkit/DMiuK_TBEh4/jSmPC-... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using the Layout class
Hi Jeff, yes I did! I tried to use the layout class directly, as DockLayoutPanel does. But I gave up, and I use the LayoutPanel class instead. This works. Thanks Magnus On Feb 6, 6:22 pm, Jeff Larsen larse...@gmail.com wrote: Have you set your doctype to standards mode? If you post some code I can take a look at 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: loading a property file from the backend with RequestBuilder?
Hello, I am interested in this issue, can you send me the example of what you did? Because, I can read any file.. in dev mode(jetty) it has a path, and in hosted mode (in tomcat) it has other path... I seem dificult... On 9 feb, 16:27, Ed post2edb...@gmail.com wrote: In the meantime I simple made it myself.. Not so difficult: load the text... read the lines (see the BufferedReader for example code), and separate the key = value pairs... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Using the Layout class
DockLayoutPanel and LayoutPanel require an unbroken chain of LayoutPanels up to the RootLayoutPanel (not RootPanel) that implement ProvidesResize, or it won't work on IE. Alternatively, you can set the height and widget of the panel. If you are using a DockLayoutPanel within a page, you can add it under a ResizeLayoutPanel, which ProvidesResize but doesn't RequireResize. However, using too many ResizeLayoutPanels in your code can reduce the performance of your app. Be sure to take a look at the Layout Panel dev guide: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 1:24 PM, Magnus alpineblas...@googlemail.comwrote: Hi Jeff, yes I did! I tried to use the layout class directly, as DockLayoutPanel does. But I gave up, and I use the LayoutPanel class instead. This works. Thanks Magnus On Feb 6, 6:22 pm, Jeff Larsen larse...@gmail.com wrote: Have you set your doctype to standards mode? If you post some code I can take a look at 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: loading a property file from the backend with RequestBuilder?
Could you parse the file on the server side and return the Map via RequestFactory? That would avoid parsing on the client. Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 1:39 PM, SrArcos srar...@gmail.com wrote: Hello, I am interested in this issue, can you send me the example of what you did? Because, I can read any file.. in dev mode(jetty) it has a path, and in hosted mode (in tomcat) it has other path... I seem dificult... On 9 feb, 16:27, Ed post2edb...@gmail.com wrote: In the meantime I simple made it myself.. Not so difficult: load the text... read the lines (see the BufferedReader for example code), and separate the key = value pairs... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Inheritance
Could you provide more detailed example of workaround? How to use it? I'll appreciate... Thx! On Feb 10, 9:07 pm, Y2i yur...@gmail.com wrote: the issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=5367 a workaroundhttps://groups.google.com/d/msg/google-web-toolkit/DMiuK_TBEh4/jSmPC-... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: loading a property file from the backend with RequestBuilder?
@John: In my case I don't like your solution as it means I have to hit the web container, which I only use for rpc calls.. I have a two layered deployment model: Apache webserver and Tomcat webcontainer (can be on separate servers). Loading the properties through the webcontainer through rpc is ofcourse an alternative and I used that in other projects. It's easy and straight forward through a rpc call. @SrArcos 1) I load the property file through RequestBuilder. 2) The response is parsed through code snippet A below to separate the lines. 3) The properties are put in a map through code snippet B. 4) I then create a CmsFacadeMap with the created map as input that implements the interface CmsFacade. CODE (not including the unit test code): A) - /** * Will read all lines in the specified text and will store then in the returned list.br * This method is handy as you don't need a codeReader/code class like the codeBufferedReader/code. * * @param text can be null. * @return null if input is null. */ public static ListString readLines(final String text) { if (isEmpty(text)) { return null; } else { final ListString result = new ArrayListString(); final char[] chars = text.toCharArray(); int startLineIndex = 0; char ch; final int size = chars.length; boolean added = false; for (int i = 0; i size; i++) { // loop through all chars ch = chars[i]; if (ch == '\n' || ch == '\r') { // end of line reached if (!added) { // add line result.add(new String(chars, startLineIndex, i - startLineIndex)); added = true; } } else { // not end of line if (added) { // init the start of new line added = false; startLineIndex = i; } } } // add the rest if (!added) { result.add(new String(chars, startLineIndex, size - startLineIndex)); } return result; } } --- B) /** * Will convert the specified line that have the format key = value. The key and value will be trimmed. * @param lines can be null. * @return null if specified input is empty or null. */ public static MapString, String toProperties(final ListString lines) { if (UtilsCollection.isEmpty(lines)) { return null; } else { final MapString, String result = new HashMapString, String(); for (String line : lines) { line = trim(line); if (hasLength(line) line.charAt(0) != '#') { final int sepIndex = line.indexOf('='); GenExpClass.notTrueObjMsg(sepIndex == UtilsMisc.INT_UNDEFINED, UtilsString.class, PropSepNotFound, line, lines); result.put(trim(line.substring(0, sepIndex)), trim(line.substring(sepIndex + 1).trim())); } } return result; } } On Feb 10, 7:41 pm, John LaBanca jlaba...@google.com wrote: Could you parse the file on the server side and return the Map via RequestFactory? That would avoid parsing on the client. Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 1:39 PM, SrArcos srar...@gmail.com wrote: Hello, I am interested in this issue, can you send me the example of what you did? Because, I can read any file.. in dev mode(jetty) it has a path, and in hosted mode (in tomcat) it has other path... I seem dificult... On 9 feb, 16:27, Ed post2edb...@gmail.com wrote: In the meantime I simple made it myself.. Not so difficult: load the text... read the lines (see the BufferedReader for example code), and separate the key = value pairs... -- You received 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
GWT + Firefox addons
Hi guys! Because I'm starting to learn GWT and at same time learn about creating firefox extensions, I'm curious is it possible to use these technologies together, i.e. may I write code in GWT and after that pack it in firefox addon? If your answer is yes, I would be glad to hear ways how to implement it. In this moment I would like to create addon that would collect user experience data at web application and visualize it to the user. Also would like to develop Administrative panel, where it would be possible to configure what user's actions will be followed, as well as to configure visualization of collected data. Also, one more question. I heard that there are two ways for developing Firefox addons. First is starting from point of creating add-on and together developing code, and the other one where first will be written code (for instance, Java) and after that packed in Firefox add-on. Which one would you suggest in scenario developing in GWT? Thanks in advance! Believe that will get useful suggestions and tips from more experienced members! Nemanja -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Celltable loading state
Hi All, How can we set the loading image to be visible till the cell table loads ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Inheritance
It's ugly but it works. If you have a better workaround please share. The idea is instead of querying for ListContactProxy you query for ListContactWrapperProxy. Then you call ContactWrapper.getPersonContact(). If it returns non-null value then it's a person. Otherwise you call ContactWrapper.getCompanyContact() and repeat the check. Server: class ContactWrapper { private PersonContact personContact; private CompanyContact companyContact; // returns null if not a PersonContact public PersonContact getPersonContact() { return personContact; } public void setPersonContact(PersonContact personContact) { this.personContact = personContact; } // returns null if not a CompanyContact public CompanyContact getCompanyContact() { return companyContact; } public void setCompanyContact(CompanyContact companyContact) { this.companyContact = companyContact; } } class SomeService { public static ListContactWrapper queryContracts() { final ListContact contacts = // polymorphic JPA query final ListContactWrapper ret = new ArrayListContactWrapper(contacts.size()); for(Contact c : contacts) { final ContactWrapper w = new ContactWrapper(); if(contact intanceof CompanyContact) { w.setCompanyContact((CompanyContact)c) } else if(contact intanceof PersonContact) { w.setPersonContact((PersonContact)c) } ret.add(w); } return ret; } } Client: @ProxyFor(ContactWrapper.class) interface ContactWrapperProxy extends ValueProxy ( PersonContactProxy getPersonContact(); CompanyContact getCompanyContact(); } @Service(SomeService.class) interface SomeServiceRequest exntends RequestContext { // return ListContactWrapperProxy instead of ListContactProxy ListContactWrapperProxy queryContracts(); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ValueProxy.EntityProxy.field problem on setViolations()
Bump... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Celltable loading state
You can specify your own image by extending CellTable.Resources and replacing cellTableLoading(). interface MyResources extends CellTable.Resources { @Source(myImage.png); ImageResource cellTableLoading(); } CellTable.Resources res = GWT.create(CellTable.Resources.class); CellTable table = new CellTable(25, res); Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 2:05 PM, Deepak Singh deepaksingh...@gmail.comwrote: Hi All, How can we set the loading image to be visible till the cell table loads ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Celltable loading state
I use setRowCount(0, true). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Celltable loading state
My bad, I misunderstood. table.setVisibleRangeAndClear() will ensure that the loading indicator appears until setRowCount(0, true) or setRowData() are called. Thanks, John LaBanca jlaba...@google.com On Thu, Feb 10, 2011 at 2:26 PM, Y2i yur...@gmail.com wrote: I use setRowCount(0, true). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Celltable loading state
Oops, sorry, I mis-read the question... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
I have not tried speedtracer yet. It is a good idea to improve performance in Chrome and Firefox as much as possible, as that could help in IE. I will also review the amount of processing we are doing on the client, since I agree that could speed things up. Is IE pretty much a no go for GWT for anything more than the most basic apps? On Feb 10, 1:20 pm, Jim Douglas jdou...@basis.com wrote: Have you profiled your application in Chrome using Speed Tracer? http://code.google.com/webtoolkit/speedtracer/ Even if overall performance is acceptable in Chrome and Firefox, there are bottlenecks in any application. If you find and optimize those bottlenecks in Speed Tracer, there's a good chance that you will be able to improve performane in all browsers. On Feb 10, 9:59 am, tjmcc18 tjmc...@gmail.com wrote: Thank you very much for the information. I have no doubt that the quality of the javascript engine plays a large role. In my case, I am using GWT so I have a very limited control over the javascript that is created. I know the performance of IE may never match Firefox, but is there any way to improve it? -TJ On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote: If you have any influence over the choice of browser, IE7 should no longer be used. But the basic problem is simply the quality of the JavaScript engines in the various browsers. To see this, go to this page in IE7, IE8, Chrome, and Firefox and compare the results: http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf... If your application runs a lot of client-side (JavaScript) code, then the performance on any given browser will be a factor of the speed of that browser's JavaScript engine. In my most recent testing on Windows XP, that boils down to: Assign a relative speed of 1X to Chrome and Opera; they are comparable. Firefox 3.6.13 is about 3X. IE8 is about 21X. On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote: The problem is in production mode when running the compiled javascript. On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Inheritance
Thank you! Yeah, that's ugly, but that's great :) On Feb 10, 10:20 pm, Y2i yur...@gmail.com wrote: It's ugly but it works. If you have a better workaround please share. The idea is instead of querying for ListContactProxy you query for ListContactWrapperProxy. Then you call ContactWrapper.getPersonContact(). If it returns non-null value then it's a person. Otherwise you call ContactWrapper.getCompanyContact() and repeat the check. Server: class ContactWrapper { private PersonContact personContact; private CompanyContact companyContact; // returns null if not a PersonContact public PersonContact getPersonContact() { return personContact; } public void setPersonContact(PersonContact personContact) { this.personContact = personContact; } // returns null if not a CompanyContact public CompanyContact getCompanyContact() { return companyContact; } public void setCompanyContact(CompanyContact companyContact) { this.companyContact = companyContact; } } class SomeService { public static ListContactWrapper queryContracts() { final ListContact contacts = // polymorphic JPA query final ListContactWrapper ret = new ArrayListContactWrapper(contacts.size()); for(Contact c : contacts) { final ContactWrapper w = new ContactWrapper(); if(contact intanceof CompanyContact) { w.setCompanyContact((CompanyContact)c) } else if(contact intanceof PersonContact) { w.setPersonContact((PersonContact)c) } ret.add(w); } return ret; } } Client: @ProxyFor(ContactWrapper.class) interface ContactWrapperProxy extends ValueProxy ( PersonContactProxy getPersonContact(); CompanyContact getCompanyContact(); } @Service(SomeService.class) interface SomeServiceRequest exntends RequestContext { // return ListContactWrapperProxy instead of ListContactProxy ListContactWrapperProxy queryContracts(); } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Base Application Featuring Best-Practice Technologies
Great projects, looks to be at an early stage though :( -g. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
Every developer has to weigh the tradeoffs and decide for himself or herself how to deal with IE. Given market realities, it can be difficult to take a hard-line position of we don't support IE. But you can try to direct your users to use modern browsers (WebKit is best, Firefox is a distant second, everything else is an also-ran). If they still insist on IE, for whatever backward organizational reasons, try to push them to use the Chrome Frame: http://code.google.com/chrome/chromeframe/ On that subject, see what happens if you go here in IE: http://wave.google.com On Feb 10, 11:48 am, tjmcc18 tjmc...@gmail.com wrote: I have not tried speedtracer yet. It is a good idea to improve performance in Chrome and Firefox as much as possible, as that could help in IE. I will also review the amount of processing we are doing on the client, since I agree that could speed things up. Is IE pretty much a no go for GWT for anything more than the most basic apps? On Feb 10, 1:20 pm, Jim Douglas jdou...@basis.com wrote: Have you profiled your application in Chrome using Speed Tracer? http://code.google.com/webtoolkit/speedtracer/ Even if overall performance is acceptable in Chrome and Firefox, there are bottlenecks in any application. If you find and optimize those bottlenecks in Speed Tracer, there's a good chance that you will be able to improve performane in all browsers. On Feb 10, 9:59 am, tjmcc18 tjmc...@gmail.com wrote: Thank you very much for the information. I have no doubt that the quality of the javascript engine plays a large role. In my case, I am using GWT so I have a very limited control over the javascript that is created. I know the performance of IE may never match Firefox, but is there any way to improve it? -TJ On Feb 10, 12:48 pm, Jim Douglas jdou...@basis.com wrote: If you have any influence over the choice of browser, IE7 should no longer be used. But the basic problem is simply the quality of the JavaScript engines in the various browsers. To see this, go to this page in IE7, IE8, Chrome, and Firefox and compare the results: http://webkit.org/perf/sunspider/sunspider.htmlhttp://webkit.org/perf... If your application runs a lot of client-side (JavaScript) code, then the performance on any given browser will be a factor of the speed of that browser's JavaScript engine. In my most recent testing on Windows XP, that boils down to: Assign a relative speed of 1X to Chrome and Opera; they are comparable. Firefox 3.6.13 is about 3X. IE8 is about 21X. On Feb 10, 9:38 am, tjmcc18 tjmc...@gmail.com wrote: The problem is in production mode when running the compiled javascript. On Feb 10, 12:35 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Is the problem in dev or production? On Feb 10, 2011 12:33 PM, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Base Application Featuring Best-Practice Technologies
Well it's not supposed to actually *do *anything. It is only sample application which provides the foundation for building your own web app. It is meant to be used as a platform to provide recommended design patterns using the most current technologies GWT has to offer. I am going to add a few fields to each person and maybe another Place but overall it will be functionally limited. I am more just looking for assurance that I am using things like MVP, RequestFactory, and Editors correctly and in the most-efficient manner. I suppose I should also look at supplying a Maven archetype so that you can just generate the project in one command, but for now this allows for simple setup and execution out-of-the-box. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
One place where you might want to start looking is DOM manipulation. IE is much slower at everything but the DOM can kill your app performance quicker than anything else. An example we ran into, creating a table dynamically. Anything that tries to build and manipulate a table using the DOM (like FlexTable or Grid) for a table that has more than 15-20 rows and around 10 columns will take forever in IE. Pascal On 10 fév, 12:33, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
IE warning message in web mode
Hello, I'm using GWT 2.1 and IE to test the default hello world GWT app. I compile the default Hello world GWT app and then go to HTML file and open it with IE. I get a red warning message Your web browser must have JavaScript enabled in order for this application to display correctly. I had to allow the active content to be running in order to see the app screen. things are a bit different if I run the app via \\.psf\Home \myFile.htm which is path to my Parallel's shared directory .. I wouldn't see such warning. also running in dev mode seems not to raise this warning message. what is the problem of IE running GWT apps in web mode? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Performace Tips
Agree with Pascal. TJ: Maybe you can tell us what your application consists of so that it gets easier to identify and isolate a DOM manipulation performance problem (if this is the case). Does it have some kind of table with lots of elements? or maybe a listbox with lots of entries? For those problems, probably creating content using innerHTML instead of appending node elements to the DOM tree will improve your performance a lot and make your application usable even in IE7. You may look at the latest cell based widgets for more info: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#selection Hope this helps, Martin On Thu, Feb 10, 2011 at 5:17 PM, Pascal zig...@gmail.com wrote: One place where you might want to start looking is DOM manipulation. IE is much slower at everything but the DOM can kill your app performance quicker than anything else. An example we ran into, creating a table dynamically. Anything that tries to build and manipulate a table using the DOM (like FlexTable or Grid) for a table that has more than 15-20 rows and around 10 columns will take forever in IE. Pascal On 10 fév, 12:33, tjmcc18 tjmc...@gmail.com wrote: I am working on a GWT application and over time it has become extremely slow while running in IE7. It still runs very fast in Firefox3 however. This leads me to believe there must be some GWT specific programming techniques that while acceptable when running in Firefox, cause IE to run very slow. I know there are various debuggers and things I can use to attempt to find the cause, but has anyone run into this issue where IE is slow and FF is fast? Have you found any techniques which enabled you to speed up IE? Thanks, TJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE warning message in web mode
I believe your problem is the lack of a web server. IE doesn't like people opening JS-laced web pages from the local drive. Probably a security concern, I would imagine. I have noticed this with non-GWT html as well, as I will often create little html test harnesses for some jQuery work, and I get the same warning. -Ben On Feb 10, 2:27 pm, othman othmanelmou...@gmail.com wrote: Hello, I'm using GWT 2.1 and IE to test the default hello world GWT app. I compile the default Hello world GWT app and then go to HTML file and open it with IE. I get a red warning message Your web browser must have JavaScript enabled in order for this application to display correctly. I had to allow the active content to be running in order to see the app screen. things are a bit different if I run the app via \\.psf\Home \myFile.htm which is path to my Parallel's shared directory .. I wouldn't see such warning. also running in dev mode seems not to raise this warning message. what is the problem of IE running GWT apps in web mode? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE warning message in web mode
Thanks Ben, So there is no solution other to accept and live with this security restriction in IE? On Feb 10, 8:52 pm, Ben Imp benlee...@gmail.com wrote: I believe your problem is the lack of a web server. IE doesn't like people opening JS-laced web pages from the local drive. Probably a security concern, I would imagine. I have noticed this with non-GWT html as well, as I will often create little html test harnesses for some jQuery work, and I get the same warning. -Ben On Feb 10, 2:27 pm, othman othmanelmou...@gmail.com wrote: Hello, I'm using GWT 2.1 and IE to test the default hello world GWT app. I compile the default Hello world GWT app and then go to HTML file and open it with IE. I get a red warning message Your web browser must have JavaScript enabled in order for this application to display correctly. I had to allow the active content to be running in order to see the app screen. things are a bit different if I run the app via \\.psf\Home \myFile.htm which is path to my Parallel's shared directory .. I wouldn't see such warning. also running in dev mode seems not to raise this warning message. what is the problem of IE running GWT apps in web mode? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: TabLayoutPanel border color
The classes are: .gwt-DecoratedTabBar .tabTopLeft { .gwt-DecoratedTabBar .tabTopCenter { .gwt-DecoratedTabBar .tabTopRight { .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopLeft { .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopCenter { .gwt-DecoratedTabBar .gwt-TabBarItem-selected .tabTopRight { The corners doesn't use the color #, but a background image and offset background: url(images/corner.pnghttp://127.0.0.1:/biframeweb2/gwt/calipso/images/corner.png ) no-repeat -6px -55px; I created my own theme based on the standard to change this settings Regards Eze -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT IE9 Status
http://arstechnica.com/microsoft/news/2011/02/internet-explorer-9-release-candidate-released.ars http://blogs.msdn.com/b/giorgio/ On Feb 1, 10:45 am, Jim Douglas jdou...@basis.com wrote: Are there any updates on when GWT is expected to support IE9? http://code.google.com/p/google-web-toolkit/issues/detail?id=5125http://code.google.com/p/google-web-toolkit/issues/list?q=ie9 FWIW, the current rumours seem to be pointing to RC1 next Thursday and the official release in March or April. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE warning message in web mode
You could run a local web server. I always deploy my application to a local Tomcat server for testing. -Ben On Feb 10, 3:09 pm, othman othmanelmou...@gmail.com wrote: Thanks Ben, So there is no solution other to accept and live with this security restriction in IE? On Feb 10, 8:52 pm, Ben Imp benlee...@gmail.com wrote: I believe your problem is the lack of a web server. IE doesn't like people opening JS-laced web pages from the local drive. Probably a security concern, I would imagine. I have noticed this with non-GWT html as well, as I will often create little html test harnesses for some jQuery work, and I get the same warning. -Ben On Feb 10, 2:27 pm, othman othmanelmou...@gmail.com wrote: Hello, I'm using GWT 2.1 and IE to test the default hello world GWT app. I compile the default Hello world GWT app and then go to HTML file and open it with IE. I get a red warning message Your web browser must have JavaScript enabled in order for this application to display correctly. I had to allow the active content to be running in order to see the app screen. things are a bit different if I run the app via \\.psf\Home \myFile.htm which is path to my Parallel's shared directory .. I wouldn't see such warning. also running in dev mode seems not to raise this warning message. what is the problem of IE running GWT apps in web mode? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE warning message in web mode
unfortunately our gwt app is client only and we don't use any server side functionality.our app will be run from user's local file system without deploying in a web server. why IE made this security restriction? and why this doesn't happen in Firefox and Chrome? On Feb 10, 9:34 pm, Ben Imp benlee...@gmail.com wrote: You could run a local web server. I always deploy my application to a local Tomcat server for testing. -Ben On Feb 10, 3:09 pm, othman othmanelmou...@gmail.com wrote: Thanks Ben, So there is no solution other to accept and live with this security restriction in IE? On Feb 10, 8:52 pm, Ben Imp benlee...@gmail.com wrote: I believe your problem is the lack of a web server. IE doesn't like people opening JS-laced web pages from the local drive. Probably a security concern, I would imagine. I have noticed this with non-GWT html as well, as I will often create little html test harnesses for some jQuery work, and I get the same warning. -Ben On Feb 10, 2:27 pm, othman othmanelmou...@gmail.com wrote: Hello, I'm using GWT 2.1 and IE to test the default hello world GWT app. I compile the default Hello world GWT app and then go to HTML file and open it with IE. I get a red warning message Your web browser must have JavaScript enabled in order for this application to display correctly. I had to allow the active content to be running in order to see the app screen. things are a bit different if I run the app via \\.psf\Home \myFile.htm which is path to my Parallel's shared directory .. I wouldn't see such warning. also running in dev mode seems not to raise this warning message. what is the problem of IE running GWT apps in web mode? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Accessing Servlet from GAE using RequestFactory and XmlRPC
I have a current issue where I need to handle security and sessions for a an implementation that uses RequestFactory and an XmlRPC servlet. I am using the XmlRPC for communication from an android device and RequestFactory for the web interface. The problem I have is that I am using the back end entity objects per the RequestFactory examples and I can access the sesion from RequestFactoryServlet.getThreadLocalRequest() but this will not work for XmlRPC implementation. I have extended the XmlRPC servlet and added the getThreadLocalRequest methods. All this works but in my SecurityFactory.getSecurity(HasRequestResponse servletImpl) I want to have a way to get the current running servlet so that I can pass that to my SecurityImpl implementation constructor. The problem is that in my RequestFactory entitiy implementations I can't find a way to get the current running servlet. I have looked at the AppEngineWebAppContext to get the current context but I cannot figure out a way to get the current servlet implementation that I am running in in order to get the HttpRequest object. Any ideas on how to implement something like this?? I am confined to the limits of RequestFactory such as the no arg constructor so I am stuck on how to get a reference to the HttpRequest object. Thanks -Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CSS Styling With GWT
I am interested in finding out how people do CSS styling with GWT. After making an attempt to go though the Client Bundle route CSS is not being applied to all the UI Binder templates. Google have deprecated the method of referring to CSS via the link tag in a HTML page. Previously I used this method for CSS styling which works, but decided to go with the recommended way (current practice) to do CSS styling in GWT. What is puzzling with UI Binder is that all the GWT widgets don't have a natural mapping to CSS with properties like class and id. In other words one cannot style the widgets without adding a style via a method call. Surely there is a more straightforward way to do this. The id property does exist but conflicts with the ui:field property which isn't ideal when you need to customize a widget in a Java class. It seems as though id is the same as ui:field. All documentation on Client Bundle is not entirely clear on how it maps to classes and ids in CSS. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT dev. mode Plugin Irresponsive
There's been some contention in plugin-futures about allowing plugins to disable the hang monitors. The current winds are against us in this cause, and, at least for the short term, this is an annoyance we have to live with. I'm assuming you're talking about the chrome plugin here. In that case, you can launch chrome with --disable-hang-monitor on the command line (be sure you close all chrome windows first). It would probably be a good idea to do this with a different user profile that you use just for GWT (--user-data-dir=/path/to/some/dir) so that your normal browsing still gets the hang monitor. On Sun, Feb 6, 2011 at 2:05 AM, Sztranyovszky tomas.stranov...@gmail.com wrote: I downloaded a StockWatcher tutorial and when I debug it iEclipse throws a window named Plug-in Unresponsive. With a text The following plug-in is unresponsive: Unknown Would you likde to stop it?: Options Yes and No Could please someone explaing what da hell is gooing down here. And how to get rid of it it shows up periodicali some every 30 seconds or so. Thanx Sztranyo -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Including gwt-widgets in a servlet generated page
Hi I have a HTML-page whith is renderd via a servlet. Now I want to inject GWT Buttons on serveral places in that page, which will open a Dialog Window. How can I include GWT-Widgets in a server generated page. thanks Frank -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
writing doctype and the head section
Hi I want to write the whole HTML output from my GWT-App without a HTML template. Is that possible. How can I write the doctype and the head section thanks frank -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Celltable loading state
Except there is no such method :). Perhaps you mean something like: table.setVisibleRangeAndClearData(table.getVisibleRange(), true); Cheers Craig -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Celltable w/ selectionModel and ActionCells
hi, i have a celltable with a selectionModel but also a column of actioncells. the selectionModel and actioncells both handle click events, but when i click the action cell, it also triggers the selectionmodel click handler. is it possible to prevent this? Or do i have to nix the selectionModel and go with clickable cells on the row? thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory Inheritance
Some server-side ugliness can be hidden if the type check and field assignments are done in the ContactWrapper(Contact c) constructor but it does not help when a ContactWrapperProxy is created on the client side. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: writing doctype and the head section
GWT javascript code is hosted inside a html page, so you can't write the doctype and head section. What you could do though is write a servlet (or jsp etc) that generates the host page, giving you complete programatical control over the html document contents rather than using a static template. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
what is the benefit of GAE Datastore over AmazonSimple DB when developing GWT applications ?
Hello Everyone, my GWT App uses RequestFactory to access Data. for actual data storage I would like to ask your opinion, in your experience what is the benefit of using GAE Datastore over AmazonSimpleDB ? Thank You -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Java Mail Provider
The GWT appengine SDK 1.4.0 comes packaged with the java mail jars. The Java mail provider Jar has only one entry for protocol gm. It does not have anything for smtps. When I use that protocol for my SMTP server, I get an error stating that the provide is not known. How do I get the SMTPS option to work inside of GWT. Outside, if I configure the app without any GWT references it works fine. 1. I want to run the app inside of a GWT app engine. 2. This is for sending an email out. Please help if you know how to fix this issue? Thanks, UN -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Parsing objects of persistent classes from server side code to client side.
I working on project where i have a class called Product in server side. Since i need to use JDO to store product objects in data store i must include the product class in server side. But the problem i have is that i cant pass the retrieved product objects from data store to client side. As i figured out, the problem is being unable to import server side classes to client side code. I would be glad if any body has a proper solution for this problem. Thanks. Ambegodas. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Compressing cache.html files
Hi, I have an application with django non-rel backend, and GWT front end. My application front end files are statically served, and I am facing some difficulty with compressing the content. here is what my response header looks like in firebug -- Etagz4VwiA DateThu, 10 Feb 2011 22:33:12 GMT ExpiresFri, 10 Feb 2012 22:33:12 GMTCache-Control public, max-age=31536000Content-Type text/html ServerGoogle Frontend Transfer-Encodingchunked Request Headersview source Hostzzz.appspot.com User-AgentMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) gzip Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Languageen-us,en;q=0.5 Accept-Encodinggzip,deflateAccept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive 115Connectionkeep-alive Referer http://zzz.appspot.com/EventPlannerClient/EventPlannerClient.html *I tried gzip all the *.cache.html files, and I get the static file not found 404.* ---* However the django-admin interface is getting compressed with the following response header. So this is not a proxy etc issue and I m not using any.* -- ExpiresThu, 10 Feb 2011 22:50:51 GMT VaryCookieLast-Modified Thu, 10 Feb 2011 22:50:51 GMTEtag7731e7b3a8924793a27622cb820bed95 Cache-Control max-age=0 Content-Typetext/html; charset=utf-8Set-Cookie csrftoken=5aa923e014c63c1b0ff6181d50e7c197; expires=Thu, 09-Feb-2012 22:50:51 GMT; Max-Age=31449600; Path=/ sessionid=b10a8d259854ba944e1410b5a9c4a729; expires=Thu, 24-Feb-2011 22:50:51 GMT; Max-Age=1209600; Path=/ Content-EncodinggzipDate Thu, 10 Feb 2011 22:50:51 GMTServer Google Frontend Content-Length826 Request Headersview source Hostzzz.appspot.com User-AgentMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) gzip Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Languageen-us,en;q=0.5 Accept-Encodinggzip,deflateAccept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive 115Connectionkeep-alive What am I doing wrong?? Any ideas? Thanks in advance -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Does GWT collect data and send it to Google or other 3rd party's servers
Hi, I am interested in using GWT for some of my company Web Application project. One concern I have is any kind of company data gets collected and pushed to either Google's servers or other 3rd party server. Can you help me or provide any information regarding this? Thank you! -Wen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Does GWT collect data and send it to Google or other 3rd party's servers
See http://code.google.com/webtoolkit/privacy.html /dmc On Thu, Feb 10, 2011 at 4:11 PM, Wen Chin wenshiangc...@gmail.com wrote: Hi, I am interested in using GWT for some of my company Web Application project. One concern I have is any kind of company data gets collected and pushed to either Google's servers or other 3rd party server. Can you help me or provide any information regarding this? Thank you! -Wen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
FormPanel.SubmitCompleteHandler called even on error return?
I find that even when my server sends back 400 and 401 error responses in response to a FormPanel submit, the SubmitCompleteHandler of the FormPanel is still being called. Is there any way in a SubmitCompleteHandler to see if the submit actually succeeded or not? This is with GWT 2.1.1. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Java Mail Provider
Hello UN, Appengine supports the javax.mail api. http://code.google.com/appengine/docs/java/mail/usingjavamail.html http://code.google.com/appengine/docs/java/mail/receiving.html GWT does not. http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html On Thu, Feb 10, 2011 at 2:46 PM, unair001 unair...@gmail.com wrote: The GWT appengine SDK 1.4.0 comes packaged with the java mail jars. The Java mail provider Jar has only one entry for protocol gm. It does not have anything for smtps. When I use that protocol for my SMTP server, I get an error stating that the provide is not known. How do I get the SMTPS option to work inside of GWT. Outside, if I configure the app without any GWT references it works fine. 1. I want to run the app inside of a GWT app engine. 2. This is for sending an email out. Please help if you know how to fix this issue? Thanks, UN -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- -- A. Stevko === If everything seems under control, you're just not going fast enough. M. Andretti -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Parsing objects of persistent classes from server side code to client side.
RequestFactoryhttp://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.htmlis designed to operate on such objects. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory: /gwtRequest not found
Hi, I was trying to follow RequestFactory concept. and I'm still not able to solve this error. (even after adding this servlet mapping). -- Sarjith On Sun, Dec 26, 2010 at 10:03 AM, Matthew Hill matt2...@gmail.com wrote: Fixed by adding a servlet handler for com.google.gwt.requestfactory.serve.RequestFactoryServlet in web.xml -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory: /gwtRequest not found
On Fri, Feb 11, 2011 at 11:41 AM, Y2i yur...@gmail.com wrote: There should be something like this in app's web.xml servlet servlet-namerequestFactory/servlet-name servlet-classcom.google.gwt.requestfactory.server.RequestFactoryServlet/servlet-class /servlet servlet-mapping servlet-namerequestFactory/servlet-name url-pattern/gwtRequest/url-pattern /servlet-mapping Yes, Its already there in my web.xml. And this is the error I can see in my eclipse console. 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ReflectiveServiceLayer clinit INFO: Unable to initialize a JSR 303 Bean Validator javax.validation.ValidationException: Unable to find a default provider at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264) at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111) at com.google.gwt.requestfactory.server.ReflectiveServiceLayer.clinit(ReflectiveServiceLayer.java:59) at com.google.gwt.requestfactory.server.ServiceLayer.create(ServiceLayer.java:66) at com.google.gwt.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:88) at com.google.gwt.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:74) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) 11 Feb, 2011 11:48:04 AM com.sample.model.Customer SEVERE: There is no getVersion() method in type com.sample.model.Customer 11 Feb, 2011 11:48:04 AM com.sample.model.Customer SEVERE: There is no findCustomer method in type com.sample.model.Customer that returns com.sample.model.Customer 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayer SEVERE: Type type com.sample.shared.CustomerProxy was previously marked as bad 11 Feb, 2011 11:48:04 AM com.sample.shared.SampleRequestFactory.CustomerRequest com.google.gwt.requestfactory.shared.Request getRandomCustomer() SEVERE: The method getRandomCustomer is declared to return com.google.gwt.requestfactory.shared.Request, but the service method is not static 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayer SEVERE: Type type com.sample.shared.CustomerProxy was previously marked as bad 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayerDecorator die SEVERE: The RequestContext type com.sample.shared.SampleRequestFactory$CustomerRequest did not pass validation 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.RequestFactoryServlet doPost SEVERE: Unexpected error -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at
Re: GWT Base Application Featuring Best-Practice Technologies
I suppose I should also look at supplying a Maven archetype so that you can just generate the project in one command, but for now this allows for simple setup and execution out-of-the-box. Yeah, a Maven archetype would be useful! thanks, -g. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RequestFactory: /gwtRequest not found
Hi, Same thing happened earlier when I tried to run *DynaTableRf* example given in google tutorial. The very first thing I dint understand is, how do we map the request url to our method?. com.google.gwt.requestfactory.server.RequestFactoryServlet is the class defined in gwt package, then how we say getPerson() request should call this method in this service class?. please correct me if I'm wrong anywhere. -- Sarjith On Fri, Feb 11, 2011 at 11:56 AM, $ a r j i t h Pullithodi sarji...@gmail.com wrote: On Fri, Feb 11, 2011 at 11:41 AM, Y2i yur...@gmail.com wrote: There should be something like this in app's web.xml servlet servlet-namerequestFactory/servlet-name servlet-classcom.google.gwt.requestfactory.server.RequestFactoryServlet/servlet-class /servlet servlet-mapping servlet-namerequestFactory/servlet-name url-pattern/gwtRequest/url-pattern /servlet-mapping Yes, Its already there in my web.xml. And this is the error I can see in my eclipse console. 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ReflectiveServiceLayer clinit INFO: Unable to initialize a JSR 303 Bean Validator javax.validation.ValidationException: Unable to find a default provider at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:264) at javax.validation.Validation.buildDefaultValidatorFactory(Validation.java:111) at com.google.gwt.requestfactory.server.ReflectiveServiceLayer.clinit(ReflectiveServiceLayer.java:59) at com.google.gwt.requestfactory.server.ServiceLayer.create(ServiceLayer.java:66) at com.google.gwt.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:88) at com.google.gwt.requestfactory.server.RequestFactoryServlet.init(RequestFactoryServlet.java:74) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153) at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) 11 Feb, 2011 11:48:04 AM com.sample.model.Customer SEVERE: There is no getVersion() method in type com.sample.model.Customer 11 Feb, 2011 11:48:04 AM com.sample.model.Customer SEVERE: There is no findCustomer method in type com.sample.model.Customer that returns com.sample.model.Customer 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayer SEVERE: Type type com.sample.shared.CustomerProxy was previously marked as bad 11 Feb, 2011 11:48:04 AM com.sample.shared.SampleRequestFactory.CustomerRequest com.google.gwt.requestfactory.shared.Request getRandomCustomer() SEVERE: The method getRandomCustomer is declared to return com.google.gwt.requestfactory.shared.Request, but the service method is not static 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayer SEVERE: Type type com.sample.shared.CustomerProxy was previously marked as bad 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayerDecorator die SEVERE: The RequestContext type com.sample.shared.SampleRequestFactory$CustomerRequest did not pass validation 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.RequestFactoryServlet doPost SEVERE: Unexpected error -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To
Is there a way to retrieve the prefix of a Place
I was wondering if there is a way to retrieve the prefix corresponding to a place ??? For example lets say I have the following Place class: public class HomePlace extends Place { @Prefix(/home) public static class Tokenizer implements PlaceTokenizerHomePlace { @Override public HomePlace getPlace(String token) { return new HomePlace (); } @Override public String getToken(HomePlace place) { return home; } } } Now, lets say I want to retrieve the Prefix corresponding to HomePlace, in some other part of my code(say some Activity class) . Is there a way to do it ??? I know I could retrieve the token but am kinda clueless about being able to retrieve the prefix. Any thoughts/pointers are much appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] [google-web-toolkit] r9717 committed - Fixes memory leak in ResourceOracleImpl under GWT Designer....
Revision: 9717 Author: gwt.mirror...@gmail.com Date: Thu Feb 10 11:10:49 2011 Log: Fixes memory leak in ResourceOracleImpl under GWT Designer. While using GWT Designer the class path cache in ResourceOracleImpl never gets cleared of obsolete data. http://gwt-code-reviews.appspot.com/1308801/show Patch by: amitin Review by: me http://code.google.com/p/google-web-toolkit/source/detail?r=9717 Modified: /trunk/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java === --- /trunk/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java Fri Jan 7 09:43:50 2011 +++ /trunk/dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java Thu Feb 10 11:10:49 2011 @@ -24,6 +24,9 @@ import com.google.gwt.dev.util.msg.Message0; import com.google.gwt.dev.util.msg.Message1String; +import org.apache.commons.collections.map.AbstractReferenceMap; +import org.apache.commons.collections.map.ReferenceMap; + import java.io.File; import java.io.IOException; import java.io.InputStream; @@ -141,7 +144,9 @@ } } - private static final MapClassLoader, ListClassPathEntry classPathCache = new HashMapClassLoader, ListClassPathEntry(); + @SuppressWarnings(unchecked) + private static final MapClassLoader, ListClassPathEntry classPathCache = new ReferenceMap( + AbstractReferenceMap.WEAK, AbstractReferenceMap.HARD); public static ClassPathEntry createEntryForUrl(TreeLogger logger, URL url) throws URISyntaxException, IOException { -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Contributing widgets back, how should styling be implemented?
I've developed a widget similar to decoratorpanel, except it facilitates drag resizing and uses the layout panel architecture instead of the html table layout of DecoratorPanel. I've got some more javadoc and tests to write before I send it in for review (and possibly additions to showcase). My question is, what is the standard for doing styling with new widgets? Should I continue to use the standard.css standard_rtl.css etc? Or should I implement the styling with CssResource? If I go with CssResource, then the borders of the Resizable won't match the changing theme. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Contributing widgets back, how should styling be implemented?
Sounds cool. Looking forward to seeing it. On Thu, Feb 10, 2011 at 2:23 PM, Jeff Larsen larse...@gmail.com wrote: I've developed a widget similar to decoratorpanel, except it facilitates drag resizing and uses the layout panel architecture instead of the html table layout of DecoratorPanel. I've got some more javadoc and tests to write before I send it in for review (and possibly additions to showcase). My question is, what is the standard for doing styling with new widgets? Should I continue to use the standard.css standard_rtl.css etc? Or should I implement the styling with CssResource? If I go with CssResource, then the borders of the Resizable won't match the changing theme. Please use the CSS resource and match it to the color scheme of the CellTable styles. We're moving away from the older style themes in static CSS files and toward a single theme that we'll keep up to date. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Provides a CachedCompilationUnit class to serialize a CompilationUnit. (issue1357801)
http://gwt-code-reviews.appspot.com/1357801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9718 committed - fix for IE devmode when using specific linker setting....
Revision: 9718 Author: gwt.mirror...@gmail.com Date: Thu Feb 10 12:12:19 2011 Log: fix for IE devmode when using specific linker setting. Review at http://gwt-code-reviews.appspot.com/1358801 Review by: unn...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9718 Modified: /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/devmode.js === --- /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/devmode.js Thu Dec 16 11:33:51 2010 +++ /trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/devmode.js Thu Feb 10 08:56:16 2011 @@ -212,7 +212,7 @@ var obj = document.createElement('object'); obj.id = 'pluginObject'; - obj.CLASSID = 'CLSID:1D6156B6-002B-49E7-B5CA-C138FB843B4E'; + obj.classid = 'clsid:1D6156B6-002B-49E7-B5CA-C138FB843B4E'; document.body.appendChild(embed); document.body.appendChild(obj); -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Provides a CachedCompilationUnit class to serialize a CompilationUnit. (issue1357801)
LGTM + minor nits http://gwt-code-reviews.appspot.com/1357801/diff/2001/2004 File dev/core/src/com/google/gwt/dev/javac/Dependencies.java (right): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2004#newcode41 dev/core/src/com/google/gwt/dev/javac/Dependencies.java:41: class Dependencies implements Serializable { 80 chars http://gwt-code-reviews.appspot.com/1357801/diff/2001/2005 File dev/core/src/com/google/gwt/dev/javac/JsniCollector.java (right): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2005#newcode71 dev/core/src/com/google/gwt/dev/javac/JsniCollector.java:71: 80 chars http://gwt-code-reviews.appspot.com/1357801/diff/2001/2005#newcode86 dev/core/src/com/google/gwt/dev/javac/JsniCollector.java:86: } white space http://gwt-code-reviews.appspot.com/1357801/diff/2001/2009 File dev/core/test/com/google/gwt/dev/javac/CompilationStateTest.java (right): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2009#newcode340 dev/core/test/com/google/gwt/dev/javac/CompilationStateTest.java:340: rebuildCompilationState(); I'm not sure the reformatting on these is better than before? http://gwt-code-reviews.appspot.com/1357801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Provides a CachedCompilationUnit class to serialize a CompilationUnit. (issue1357801)
Isn't Java serialization fun? Welcome to your Java Serialization trial-by-fire. :) http://gwt-code-reviews.appspot.com/1357801/diff/2001/2002 File dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java (right): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2002#newcode43 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:43: private transient long cacheToken; Can we break my ill-thought-out pattern and name this sourceToken to give some semantic idea of what data it represents? http://gwt-code-reviews.appspot.com/1357801/diff/2001/2002#newcode60 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:60: // initializing with a null unit is useful for unit testing I think we should kill this, though, see comment in unit test. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2002#newcode143 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:143: CategorizedProblem[] getProblems() { This is actually marginally important... you should run into cases where you need to re-report compilation errors without actually having recompiled the unit. The simplest way to fix this would be: 1) Make GWTProblem Serializable. 2) Trivially subclass JDT's DefaultProblem with a Serializable subclass. 3) For incoming problems that are not serializable, convert them to your subclass in the constructor. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2002#newcode154 dev/core/src/com/google/gwt/dev/javac/CachedCompilationUnit.java:154: // replace the compilation unit in the CompiledClasses with this one. I don't think this is what we want. If anything, this should just assert that each cc.getUnit() == this. But I'm not sure that's necessary even. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2003 File dev/core/src/com/google/gwt/dev/javac/CompiledClass.java (left): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2003#oldcode133 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:133: assert this.unit == null; Revert with new impl. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2003 File dev/core/src/com/google/gwt/dev/javac/CompiledClass.java (right): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2003#newcode41 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:41: private transient CompilationUnit unit; I don't think this is the right approach... see below. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2003#newcode146 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:146: } I would remove this, see comment in CompiledClassTest. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2003#newcode148 dev/core/src/com/google/gwt/dev/javac/CompiledClass.java:148: outputStream.writeObject(new CachedCompilationUnit(unit)); This is a major problem, because the class completely loses its relationship with the original Unit. What actually happens here is, you start serializing a Unit, and as you go and do the Classes, each Class turns around and serializes its OWN COPY of the unit. You end up serializing N+1 distinct copies of the unit. What you really want to do is implement a protected writeReplace() on either CompilationUnit or CompilationUnitImpl, and have the units replace THEMSELVES with a CachedCompilationUnit. Then all of the CompiledClasses will do the right thing automatically, and you can make the unit field non-transient. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2004 File dev/core/src/com/google/gwt/dev/javac/Dependencies.java (right): http://gwt-code-reviews.appspot.com/1357801/diff/2001/2004#newcode41 dev/core/src/com/google/gwt/dev/javac/Dependencies.java:41: class Dependencies implements Serializable { I had a kind of big idea how we could generally do this better. Basically, you do something like this: private static abstract class Ref implements Serializable { } private static class DirectRef extends Ref { CompiledClass target; private Object writeReplace() { return new SerializedRef(target.getInternalName(), computeHash(target.getBytes(); } } private static class SerializedRef extends Ref { public SerializedRef(String internalName, String hash) { } } Then, we just update the implementation of validate() to handle either kind of Ref. If it's a DirectRef, we use the existing logic. If it's a SerializedRef, instead of using JDT's structurally-same, we hash the incoming bytes and just look for an exact match. Most of the time, it will be an exact match. As soon as the validation occurs, we can replaced the SerializedRef with a DirectRef on the incoming class. http://gwt-code-reviews.appspot.com/1357801/diff/2001/2004#newcode51 dev/core/src/com/google/gwt/dev/javac/Dependencies.java:51: private ListString unresolvedSimple; Looking at what's going on here, I regret how stateful this class is. I would actually be in favor of killing the 'unresolved' fields and simply initializing the maps with all 'null' values.
[gwt-contrib] [google-web-toolkit] r9721 committed - Cherry picking r9720 into releases/2.2
Revision: 9721 Author: gwt.mirror...@gmail.com Date: Thu Feb 10 14:04:06 2011 Log: Cherry picking r9720 into releases/2.2 http://code.google.com/p/google-web-toolkit/source/detail?r=9721 Added: /releases/2.2/user/test/com/google/gwt/media/public-test /releases/2.2/user/test/com/google/gwt/media/public-test/poster.jpg /releases/2.2/user/test/com/google/gwt/media/public-test/smallh264.mp4 /releases/2.2/user/test/com/google/gwt/media/public-test/smallmp3.mp3 /releases/2.2/user/test/com/google/gwt/media/public-test/smallogg.ogg /releases/2.2/user/test/com/google/gwt/media/public-test/smalltheora.ogv Deleted: /releases/2.2/user/test/com/google/gwt/media/public Modified: /releases/2.2/user/src/com/google/gwt/media/Media.gwt.xml /releases/2.2/user/src/com/google/gwt/media/client/Audio.java /releases/2.2/user/src/com/google/gwt/media/client/Video.java /releases/2.2/user/test/com/google/gwt/media/MediaSuite.java /releases/2.2/user/test/com/google/gwt/media/MediaTest.gwt.xml /releases/2.2/user/test/com/google/gwt/media/client/AudioTest.java /releases/2.2/user/test/com/google/gwt/media/client/VideoTest.java === --- /dev/null +++ /releases/2.2/user/test/com/google/gwt/media/public-test/poster.jpg Thu Feb 10 14:04:06 2011 Binary file, no diff available. === --- /dev/null +++ /releases/2.2/user/test/com/google/gwt/media/public-test/smallh264.mp4 Thu Feb 10 14:04:06 2011 File is too large to display a diff. === --- /dev/null +++ /releases/2.2/user/test/com/google/gwt/media/public-test/smallmp3.mp3 Thu Feb 10 10:52:06 2011 Binary file, no diff available. === --- /dev/null +++ /releases/2.2/user/test/com/google/gwt/media/public-test/smallogg.ogg Thu Feb 10 10:52:06 2011 Binary file, no diff available. === --- /dev/null +++ /releases/2.2/user/test/com/google/gwt/media/public-test/smalltheora.ogv Thu Feb 10 10:52:06 2011 File is too large to display a diff. === --- /releases/2.2/user/src/com/google/gwt/media/Media.gwt.xml Fri Jan 28 11:24:46 2011 +++ /releases/2.2/user/src/com/google/gwt/media/Media.gwt.xml Thu Feb 10 10:52:06 2011 @@ -16,5 +16,50 @@ module inherits name=com.google.gwt.user.User/ inherits name=com.google.gwt.media.dom.DOM/ + + !-- Define the support property for Video and Audio-- + define-property name=videoElementSupport values=maybe,no / + define-property name=audioElementSupport values=maybe,no / + + !-- Give default support value of no -- + set-property name=videoElementSupport value=no / + set-property name=audioElementSupport value=no / + + set-property name=videoElementSupport value=maybe +any + when-property-is name=user.agent value=safari / + when-property-is name=user.agent value=gecko1_8 / + when-property-is name=user.agent value=opera / +/any + /set-property + + set-property name=audioElementSupport value=maybe +any + when-property-is name=user.agent value=safari / + when-property-is name=user.agent value=gecko1_8 / + when-property-is name=user.agent value=opera / +/any + /set-property + + replace-with class=com.google.gwt.media.client.Video.VideoElementSupportDetectedMaybe +when-type-is class=com.google.gwt.media.client.Video.VideoElementSupportDetector / +when-property-is name=videoElementSupport value=maybe / + /replace-with + + replace-with class=com.google.gwt.media.client.Video.VideoElementSupportDetectedNo +when-type-is class=com.google.gwt.media.client.Video.VideoElementSupportDetector / +when-property-is name=videoElementSupport value=no / + /replace-with + + replace-with class=com.google.gwt.media.client.Audio.AudioElementSupportDetectedMaybe +when-type-is class=com.google.gwt.media.client.Audio.AudioElementSupportDetector / +when-property-is name=videoElementSupport value=maybe / + /replace-with + + replace-with class=com.google.gwt.media.client.Audio.AudioElementSupportDetectedNo +when-type-is class=com.google.gwt.media.client.Audio.AudioElementSupportDetector / +when-property-is name=audioElementSupport value=no / + /replace-with + source path=client/ /module === --- /releases/2.2/user/src/com/google/gwt/media/client/Audio.java Fri Jan 28 11:24:46 2011 +++ /releases/2.2/user/src/com/google/gwt/media/client/Audio.java Thu Feb 10 10:52:06 2011 @@ -76,21 +76,12 @@ } /** - * Protected constructor. Use {@link #createIfSupported()} to create an Audio. + * Protected constructor. Use {@link #createIfSupported()} to create + * an Audio element. */ private Audio(AudioElement element) { setElement(element); } - - /** - * Creates an Audio widget with a given source URL. - * - * @param src a String URL - */ - public
[gwt-contrib] Re: Proactively gathers more method names for MethodArgNamesLookup. Before this (issue1359801)
Scott and I noticed that the MethodArgNamesLookup did not contain all the methods we thought it should. This could result in extra parsing time if the diet parse needs to be called to resolve method argument names. http://gwt-code-reviews.appspot.com/1359801/diff/1/4 File dev/core/test/com/google/gwt/dev/javac/CompilationStateTest.java (right): http://gwt-code-reviews.appspot.com/1359801/diff/1/4#newcode39 dev/core/test/com/google/gwt/dev/javac/CompilationStateTest.java:39: public class CompilationStateTest extends CompilationStateTestBase { This seemed to me like an odd place to put this test. There's no test class for MethodParmCollector. The easiest way to test is to build a compilation state, so I added the test case here. I could go back and create a separate unit test class if you like. http://gwt-code-reviews.appspot.com/1359801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9722 committed - tag for the release of GWT 2.2
Revision: 9722 Author: mrruss...@google.com Date: Thu Feb 10 14:55:48 2011 Log: tag for the release of GWT 2.2 http://code.google.com/p/google-web-toolkit/source/detail?r=9722 Added: /tags/2.2.0/2.2 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9723 committed - firest tag was incorrect
Revision: 9723 Author: mrruss...@google.com Date: Thu Feb 10 15:31:37 2011 Log: firest tag was incorrect http://code.google.com/p/google-web-toolkit/source/detail?r=9723 Deleted: /tags/2.2.0 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9724 committed - tag for the release branch
Revision: 9724 Author: mrruss...@google.com Date: Thu Feb 10 15:33:22 2011 Log: tag for the release branch http://code.google.com/p/google-web-toolkit/source/detail?r=9724 Added: /tags/2.2.0 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r9725 committed - update the documentation from the latest release build
Revision: 9725 Author: mrruss...@google.com Date: Thu Feb 10 16:43:23 2011 Log: update the documentation from the latest release build http://code.google.com/p/google-web-toolkit/source/detail?r=9725 Modified: /javadoc/2.2/com/google/gwt/media/client/Audio.html /javadoc/2.2/com/google/gwt/media/client/Video.html /javadoc/2.2/index-all.html === --- /javadoc/2.2/com/google/gwt/media/client/Audio.html Tue Feb 8 13:18:23 2011 +++ /javadoc/2.2/com/google/gwt/media/client/Audio.html Thu Feb 10 16:43:23 2011 @@ -74,9 +74,9 @@ /TR TR TD VALIGN=top CLASS=NavBarCell3FONT SIZE=-2 - SUMMARY:nbsp;A HREF=#nested_classes_inherited_from_class_com.google.gwt.user.client.ui.UIObjectNESTED/Anbsp;| nbsp;A HREF=#fields_inherited_from_class_com.google.gwt.user.client.ui.UIObjectFIELD/Anbsp;| nbsp;A HREF=#constructor_summaryCONSTR/Anbsp;|nbsp;A HREF=#method_summaryMETHOD/A/FONT/TD + SUMMARY:nbsp;A HREF=#nested_classes_inherited_from_class_com.google.gwt.user.client.ui.UIObjectNESTED/Anbsp;| nbsp;A HREF=#fields_inherited_from_class_com.google.gwt.user.client.ui.UIObjectFIELD/Anbsp;| nbsp;CONSTRnbsp;|nbsp;A HREF=#method_summaryMETHOD/A/FONT/TD TD VALIGN=top CLASS=NavBarCell3FONT SIZE=-2 -DETAIL:nbsp;FIELDnbsp;|nbsp;A HREF=#constructor_detailCONSTR/Anbsp;|nbsp;A HREF=#method_detailMETHOD/A/FONT/TD +DETAIL:nbsp;FIELDnbsp;|nbsp;CONSTRnbsp;|nbsp;A HREF=#method_detailMETHOD/A/FONT/TD /TR /TABLE A NAME=skip-navbar_top/A @@ -157,22 +157,6 @@ TR BGCOLOR=white CLASS=TableRowColor TDCODEA HREF=../../../../../com/google/gwt/user/client/ui/UIObject.html#DEBUG_ID_PREFIXDEBUG_ID_PREFIX/A/CODE/TD /TR -/TABLE -nbsp; -!-- CONSTRUCTOR SUMMARY -- - -A NAME=constructor_summary!-- --/A -TABLE BORDER=1 WIDTH=100% CELLPADDING=3 CELLSPACING=0 SUMMARY= -TR BGCOLOR=#FF CLASS=TableHeadingColor -TH ALIGN=left COLSPAN=2FONT SIZE=+2 -BConstructor Summary/B/FONT/TH -/TR -TR BGCOLOR=white CLASS=TableRowColor -TDCODEBA HREF=../../../../../com/google/gwt/media/client/Audio.html#Audio(java.lang.String)Audio/A/B(java.lang.Stringnbsp;src)/CODE - -BR -nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Creates an Audio widget with a given source URL./TD -/TR /TABLE nbsp; !-- == METHOD SUMMARY === -- @@ -256,27 +240,6 @@ nbsp; P -!-- = CONSTRUCTOR DETAIL -- - -A NAME=constructor_detail!-- --/A -TABLE BORDER=1 WIDTH=100% CELLPADDING=3 CELLSPACING=0 SUMMARY= -TR BGCOLOR=#FF CLASS=TableHeadingColor -TH ALIGN=left COLSPAN=1FONT SIZE=+2 -BConstructor Detail/B/FONT/TH -/TR -/TABLE - -A NAME=Audio(java.lang.String)!-- --/AH3 -Audio/H3 -PRE -public BAudio/B(java.lang.Stringnbsp;src)/PRE -DL -DDCreates an Audio widget with a given source URL. -P -DL -DTBParameters:/BDDCODEsrc/CODE - a String URL/DL -/DL - !-- METHOD DETAIL == -- A NAME=method_detail!-- --/A @@ -379,9 +342,9 @@ /TR TR TD VALIGN=top CLASS=NavBarCell3FONT SIZE=-2 - SUMMARY:nbsp;A HREF=#nested_classes_inherited_from_class_com.google.gwt.user.client.ui.UIObjectNESTED/Anbsp;| nbsp;A HREF=#fields_inherited_from_class_com.google.gwt.user.client.ui.UIObjectFIELD/Anbsp;| nbsp;A HREF=#constructor_summaryCONSTR/Anbsp;|nbsp;A HREF=#method_summaryMETHOD/A/FONT/TD + SUMMARY:nbsp;A HREF=#nested_classes_inherited_from_class_com.google.gwt.user.client.ui.UIObjectNESTED/Anbsp;| nbsp;A HREF=#fields_inherited_from_class_com.google.gwt.user.client.ui.UIObjectFIELD/Anbsp;| nbsp;CONSTRnbsp;|nbsp;A HREF=#method_summaryMETHOD/A/FONT/TD TD VALIGN=top CLASS=NavBarCell3FONT SIZE=-2 -DETAIL:nbsp;FIELDnbsp;|nbsp;A HREF=#constructor_detailCONSTR/Anbsp;|nbsp;A HREF=#method_detailMETHOD/A/FONT/TD +DETAIL:nbsp;FIELDnbsp;|nbsp;CONSTRnbsp;|nbsp;A HREF=#method_detailMETHOD/A/FONT/TD /TR /TABLE A NAME=skip-navbar_bottom/A === --- /javadoc/2.2/com/google/gwt/media/client/Video.html Tue Feb 8 13:18:23 2011 +++ /javadoc/2.2/com/google/gwt/media/client/Video.html Thu Feb 10 16:43:23 2011 @@ -167,12 +167,6 @@ TH ALIGN=left COLSPAN=2FONT SIZE=+2 BConstructor Summary/B/FONT/TH /TR -TR BGCOLOR=white CLASS=TableRowColor -TDCODEBA HREF=../../../../../com/google/gwt/media/client/Video.html#Video()Video/A/B()/CODE - -BR -nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Creates a Video widget./TD -/TR TR BGCOLOR=white CLASS=TableRowColor TDCODEBA HREF=../../../../../com/google/gwt/media/client/Video.html#Video(java.lang.String)Video/A/B(java.lang.Stringnbsp;src)/CODE @@ -272,16 +266,6 @@ /TR /TABLE -A NAME=Video()!-- --/AH3 -Video/H3 -PRE -public BVideo/B()/PRE -DL -DDCreates a Video widget. -P -/DL -HR - A NAME=Video(java.lang.String)!-- --/AH3 Video/H3 PRE === --- /javadoc/2.2/index-all.html Tue Feb 8 13:18:23 2011 +++ /javadoc/2.2/index-all.html Thu Feb 10 16:43:23 2011 File is too large to display a diff. --
[gwt-contrib] [google-web-toolkit] r9726 committed - CollectorNull should not set stack traces when stack stripping is enab...
Revision: 9726 Author: cromwell...@google.com Date: Thu Feb 10 14:05:42 2011 Log: CollectorNull should not set stack traces when stack stripping is enabled. Throwable.getStackTrace() already handles the case of a null stack trace and constructs an empty array. Review at http://gwt-code-reviews.appspot.com/1355801 http://code.google.com/p/google-web-toolkit/source/detail?r=9726 Modified: /trunk/user/src/com/google/gwt/core/client/impl/StackTraceCreator.java === --- /trunk/user/src/com/google/gwt/core/client/impl/StackTraceCreator.java Fri Feb 4 08:47:41 2011 +++ /trunk/user/src/com/google/gwt/core/client/impl/StackTraceCreator.java Thu Feb 10 14:05:42 2011 @@ -384,12 +384,12 @@ @Override public void createStackTrace(JavaScriptException e) { - e.setStackTrace(new StackTraceElement[0]); + // empty, since Throwable.getStackTrace() properly handles null } @Override public void fillInStackTrace(Throwable t) { - t.setStackTrace(new StackTraceElement[0]); + // empty, since Throwable.getStackTrace() properly handles null } } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors