Style sheet occupied all data in Ajax crawling
I am trying to use Ajax crawling with Uibinder. When I tried using googlebot the fetch the page, I found that the page crawled (the first 100k of page) was purely the style sheet generated by uibinder. The funny thing is my style sheet only has 46k but the resulting style section in the crawled page is 127k. Since I'm using multi-locale in uibinder, it would give me a lot of hassle if I use a different set of ui.xml for crawling as it means maintain a duplicated set of locale properties. Is there any suggestion how to overcome it? I have already invested so much time in ajaxcrawling and don't want all my effort become futile at this late stage. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Customizing Serialization process for exceptions In GWT
Hi, I am curious to find out if we can override few features in GWT to achieve the following :- In GWT if we want an exception to be propagated to the client, the interfaces (extending RemoteService) should have the throws explicitly declared. In our project we have an exception hierarchy defined and we would like the developers not to explicitly mention the throws keyword in the interface but instead some customization being able to be done in GWT which would serialize and send across this hierarchy if the server side throws it... for eg:- if the base class of the exception hierarchy is com.sample.ParentException .. GWT should automatically serialize this and send across to client side instead of developers explicitly declaring the exception would be thrown in the interface definition. Let me know if this is possible throught GWT? We are using GWT 1.7.1 for this... Thank you in advance... Cheers! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Application works in devlopment mode but not in war file
Hi! did you solve your problem. If yes, I would like to know how. I'm facing a similar problem currently. It seems like the rpc calls are not working correctly when deployed in a war file, whereas all work perfect when running in development mode. Thanks for any help On 10 Nov., 17:22, Deepak Singh deepaksingh...@gmail.com wrote: Hi, There is no stack trace on the server and on firebug as well as developer tools. It simply displays the error in asinle line. When using my GWT application in a local environment, everything works as it should. The problem comes in after I compile and deploy my application. Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses (anonymous function) This error is thrown by one of the cache file generated by GWT at compile time. But this never happens on the locally deployed program (deployed from Eclipse, Run as Web Application i.e running in development mode). Also, I am not using the result of async call anywhere before the call arrives. Thanks Deepak On Thu, Nov 4, 2010 at 3:08 AM, David Chandler drfibona...@google.comwrote: Hi Deepak, Please post the stack trace from the server. Thanks, /dmc On Wed, Nov 3, 2010 at 4:33 PM, Deepak Singh deepaksingh...@gmail.com wrote: Hi, My application works well in development mode but when war file is deployed in tomcat 5.5, it fails at the time of rpc call with following error Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses Any idea pls. I am using GWT 2.1 with Spring 3.0 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit http://googlewebtoolkit.blogspot.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-tool...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
What is the correct Eclipse project layout/configuration when using GIN
Hi all, I am 'slowly' converting an existing GWT 2.1 project over to use MVP. I want to follow the related best practice of using GIN injection on the client side and GUICE injection on the server side for binding. My question is more how related than why related. Eclipse projects by default use builders and not ANT to build projects which got me thinking about where are the correct places to place the GIN and GUICE jars. I gather that as GUICE is used on the server and that it should therefore reside in the war/WEB-INF/lib folder and that it has to be included in the build path which is easy to do with Eclipse. However, as GIN is only going to be used on the client and it's 'magic' is actually performed at compile time I am not sure how to do this using Eclipse. I gather that the gin jar shouldn't be placed in war/WEB-INF/lib, that it needs to reside somewhere else but I cannot find any documentation that specifically states where it should reside and how to configure Eclipse to use it during the build process. Any ideas? Thanks in advance. *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Application works in devlopment mode but not in war file
Hi, yes i solved it. Actually i was using InlineLabel(text, Direction) So in development mode it was working fine but while in war file it was throwing error in setting the Direction what i am using. So i changed it to Label('Text') only and did not use Direction and it worked fine. Regards Deepak On Sun, Nov 14, 2010 at 6:43 PM, Rodrigue rlag...@googlemail.com wrote: Hi! did you solve your problem. If yes, I would like to know how. I'm facing a similar problem currently. It seems like the rpc calls are not working correctly when deployed in a war file, whereas all work perfect when running in development mode. Thanks for any help On 10 Nov., 17:22, Deepak Singh deepaksingh...@gmail.com wrote: Hi, There is no stack trace on the server and on firebug as well as developer tools. It simply displays the error in asinle line. When using my GWT application in a local environment, everything works as it should. The problem comes in after I compile and deploy my application. Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses (anonymous function) This error is thrown by one of the cache file generated by GWT at compile time. But this never happens on the locally deployed program (deployed from Eclipse, Run as Web Application i.e running in development mode). Also, I am not using the result of async call anywhere before the call arrives. Thanks Deepak On Thu, Nov 4, 2010 at 3:08 AM, David Chandler drfibona...@google.com wrote: Hi Deepak, Please post the stack trace from the server. Thanks, /dmc On Wed, Nov 3, 2010 at 4:33 PM, Deepak Singh deepaksingh...@gmail.com wrote: Hi, My application works well in development mode but when war file is deployed in tomcat 5.5, it fails at the time of rpc call with following error Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses Any idea pls. I am using GWT 2.1 with Spring 3.0 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post 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.comgoogle-web-toolkit%2Bunsubs cr...@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 http://googlewebtoolkit.blogspot.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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RE: Application works in devlopment mode but not in war file
Hi thanks for your answer. Regards Rodrigue From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of Deepak Singh Sent: Sunday, November 14, 2010 4:11 PM To: google-web-toolkit@googlegroups.com Subject: Re: Application works in devlopment mode but not in war file Hi, yes i solved it. Actually i was using InlineLabel(text, Direction) So in development mode it was working fine but while in war file it was throwing error in setting the Direction what i am using. So i changed it to Label('Text') only and did not use Direction and it worked fine. Regards Deepak On Sun, Nov 14, 2010 at 6:43 PM, Rodrigue rlag...@googlemail.com wrote: Hi! did you solve your problem. If yes, I would like to know how. I'm facing a similar problem currently. It seems like the rpc calls are not working correctly when deployed in a war file, whereas all work perfect when running in development mode. Thanks for any help On 10 Nov., 17:22, Deepak Singh deepaksingh...@gmail.com wrote: Hi, There is no stack trace on the server and on firebug as well as developer tools. It simply displays the error in asinle line. When using my GWT application in a local environment, everything works as it should. The problem comes in after I compile and deploy my application. Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses (anonymous function) This error is thrown by one of the cache file generated by GWT at compile time. But this never happens on the locally deployed program (deployed from Eclipse, Run as Web Application i.e running in development mode). Also, I am not using the result of async call anywhere before the call arrives. Thanks Deepak On Thu, Nov 4, 2010 at 3:08 AM, David Chandler drfibona...@google.comwrote: Hi Deepak, Please post the stack trace from the server. Thanks, /dmc On Wed, Nov 3, 2010 at 4:33 PM, Deepak Singh deepaksingh...@gmail.com wrote: Hi, My application works well in development mode but when war file is deployed in tomcat 5.5, it fails at the time of rpc call with following error Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses Any idea pls. I am using GWT 2.1 with Spring 3.0 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2Bunsubs cr...@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 http://googlewebtoolkit.blogspot.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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-web-toolkit%2bunsubscr...@googlegroups.com google-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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com mailto:google-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT 2.1 transaction
Hi all, I want to migrate my application from 2.0.4 to 2.1.0 and I was wondering how does GWT 2.1 handle transaction. At what point does GWT commit changes made to some entity? I see that RequestContext has fire method which probably commits all changes made to entities but would like to know more about this process. Can we combine spring's @Transactional annotations and gwt 2.1 features? Thanks in advance. *Marko Curi* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
cannot create servlet in Eclipse helios
When I try to create a servlet in Eclipse Helios, the Create Servlet wizard shows blank fields for Project, source folder, Java Package fields and Browse buttons don't work either. I am using GWT 2.1.0 and Helios Service Release 1 Build id: 20100917-0705 on Windows Vista. The app works but just cannot create new Servlets. Help please! ~Tushar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: cannot create servlet in Eclipse helios
Have you tried deleting your Eclipse installation getting installing the latest from Eclipse.org? It would mean you would have to install all your Eclipse plugins again but sometimes this corrects 'mysterious' problems in Eclipse. I'd try that first and if it doesn't resolve the issue post back and let us know. Jeff On Sun, Nov 14, 2010 at 1:05 PM, Tushar tsk...@gmail.com wrote: When I try to create a servlet in Eclipse Helios, the Create Servlet wizard shows blank fields for Project, source folder, Java Package fields and Browse buttons don't work either. I am using GWT 2.1.0 and Helios Service Release 1 Build id: 20100917-0705 on Windows Vista. The app works but just cannot create new Servlets. Help please! ~Tushar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Entire Site in GWT?
Hi Mike, I was considering using Flash to build my site (http:// www.yournextpresent.com), but i'm really glad I chose GWT in the end! I was able to get all the animations I required working using the GWTFX library (http://code.google.com/p/gwt-fx/) and even got google crawling my site using the 'Making GWT crawlable' documentation which has already been linked to. I have a PHP/MySQL backend and have had no problems communicating with GWT via REST. Overall, definitely go for GWT! -RPB On Nov 8, 4:49 pm, mike.cann mike.c...@gmail.com wrote: Hi Guys, First post on this list. I have searched for this question before posting. The only answer I could come up with was from a post in 2008 (http://groups.google.com/group/google-web-toolkit/browse_thread/ thread/c852ff3491f4d128/4b1d9c08a91e25ab?lnk=gstq=suitable+for+entire +site#4b1d9c08a91e25ab) so I thought I would ask it again in case anything has changed. As a Flash / Flex developer new to web-dev im loving the extra structure and type safety offered by GWT so im really keen to use it exclusively for a new project. So my questions are: Is GWT suitable for writing an entire website? Specifically im looking to write a site that may sit within a Facebook iframe. Has the GWT isnt web-crawlable issue been solved now? Is the script for every page on your site downloaded at the start or is it downloaded as you click a link (as in a traditional site)? Are there any other barriers to making an entire site in GWT? Cheers, Mike -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
refreshing elements on the page
Hi I play with GWT in the weekends, and I really like what i've seen so far. I have 2 questions: 1. I don't really understand the execution model of my app. I think that's because I don't know javascript. I'm assuming that there is only one logical thread from the browser running the javascript and it is the same thread that updates the display (disregarding asynchronous requests). So when through js I add 50 elements to a frame, the 50 elements are displayed after all of them are added to the frame. In other words, after the js has finished executing. Do I have it right? Are there articles out there on this topic? 2. Sorry this is not a great example, but it may get my question across. What do I do in the following situation (design): a) update the text in a label to starting... b) do a bunch of js and dom manipulation c) update the text in the label to finished! Currently, all I see is the after-effect: my dom manipulation and finished. The label never displays starting... How can I force the label to refresh between step a b. I've seen some posts describing that one could use the Timer and somehow force the element to refresh. But I can't figure out how this is achieved. Looking forward to your suggestions. 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: anything like smartgwt but totally compatible with gwt?
I have found that pure GWT works best, at least for our application. Since our app is used by thousands of users at a given time, we wanted to keep the code that gets downloaded and interpreted on the browser to a minimum. Also to avoid having to look up different vendors for fixes, etc. we chose to use just Google GWT. Yes, we had to write a few CSS styles on our own, but given the type of application and the scalability requirements, we found that pure GWT works best. The money spent on a graphic artists services for creating good looking light weight CSS and icons has paid back already. For the admin side of our app we had the first version with SmartGWT, but have now migrated that to pure GWT. SmartGWT is a good toolkit but to address scalability and load conditions, our tests (using GWTRPCCommLayer and JMeter, combination et-al) found that pure GWT was definitely performing better. So we did away with SmartGWT. - Sunit Katkar http://sunitkatkar.blogspot.com/ On Sat, Nov 13, 2010 at 6:13 AM, gcstang gcst...@gmail.com wrote: Not sure about UIBinder never tried it, however I know if you use SmartGWT and put GWT panels on it they work. I've also tried the GWT Code Splitting, GWT Visualizations and GWT Log and they all work as well. Hope that helps some. On Nov 12, 4:27 pm, Sachin Dole sachin.d...@gmail.com wrote: but isnt it true that you cant use uibinder with smartgwt? isnt it true that if you use smartgwt widgets and put them inside of a gwt panel, things dont look as you'd expect them to? we have avoided mixing plain gwt widgets with smartgwt widgets because widgets dont show up in the right place or dont show up at all. plus, smart gwt's styling mechanism doesnt apply to the gwt widgets. i guess my interoperability i meant mixing smartgwt and gwt widgets together in the same app within each other... thanks for your input! On Thu, Nov 11, 2010 at 11:48 AM, Dan Billings debil...@gmail.com wrote: Yeah I find it fully interoperable. On Nov 11, 7:17 am, gcstang gcst...@gmail.com wrote: Not sure what you mean by interoperable, if you could give examples it would help. I've been using SmartGWT for a while on an Admin type tool for our commerce suite and so far it has been very useful. On Nov 10, 11:29 am, Sachin Dole sachin.d...@gmail.com wrote: Hey Guys, At our workplace, we use smartgwt and like it because of the widgets it provides but hate it cuz its not interoperable with gwt. Is there another library that is 100% interoperable with gwt? Or, has anyone used smartgwt in a manner totally inter-operable with gwt? I know, there are degrees of interoperability that one can live with, however, i am looking for the extreme case (100% interoperable). Thank you folks. Sachin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT DockLayoutPanel vs CSS Float
Hello Everyone, Is it acceptable that at times we make use of CSS float:left, and float:right, to achieve the same result that could otherwise be achieved with GWT DockLayoutPanel ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: cannot create servlet in Eclipse helios
Tried it but does not seem to work. I tried clipse-jee-helios-SR1- win32.zip. Now trying other versions. On Nov 14, 1:11 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Have you tried deleting your Eclipse installation getting installing the latest from Eclipse.org? It would mean you would have to install all your Eclipse plugins again but sometimes this corrects 'mysterious' problems in Eclipse. I'd try that first and if it doesn't resolve the issue post back and let us know. Jeff On Sun, Nov 14, 2010 at 1:05 PM, Tushar tsk...@gmail.com wrote: When I try to create a servlet in Eclipse Helios, the Create Servlet wizard shows blank fields for Project, source folder, Java Package fields and Browse buttons don't work either. I am using GWT 2.1.0 and Helios Service Release 1 Build id: 20100917-0705 on Windows Vista. The app works but just cannot create new Servlets. Help please! ~Tushar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Listen for click on control object in Google Maps
Im trying to figure out if there is a easy way to detect, when a user presses a e.g. LargeMapControl ? I need to remove a overlay, when a user manually zooms out or pans. I have tried to use the MapMoveEndHandler on several occasions, but found it very lacking. The MapZoomEndHandler might be usefull for the first part, but I still need something to take care of the panning. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Multiple Highlighting
Hi there! I don't know how it's called, but I would like to implement in my web desktop a multiple highlighting for the icons. It's the common rectangle that appears in any desktop when you drag the mouse, and it's present in Google Docs (Presentation) so I know it's technically Javascript-implementable. Maybe the problem is that I don't know its name, but I can't find a way to implement it. Any suggestion? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UiBinding at run time
Hi, That sounds very interesting .. in one of my project, all of the forms are built during runtime (driven by some json data structure pushed by the server), so i could not use any UIBinder at due to its compile time binding. HR 2010/11/12 TedM tedkar...@msn.com Hi GWT Community, I recently noticed the UiBinding feature in GWT and at first I was really excited because I was using something like this in my form template prototype. But I found out the UiBinding is a compile time thing, which was a major disadvantage for me. because I would like to make new form or Uis without have to compile or deploy. While I was wondering is there any interest in my open sourcing my run time uibinding solution (I call bindingFly)? Here is a link to my home made prototype hosted on app engine: http://gwt-binding-fly.appspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Hermann RANGAMANA MalagaSys.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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GXT 2.2 scroll issue
I fixed it: //here you create grid; // if you using another view(like GroupView or TreeView, you need change your class) grid.setView(new GridView() { public void focusCell(int rowIndex, int colIndex, boolean hscroll) { // this need only for IE, i dont want to run code from super class, cues there is error } }); On Oct 7, 11:17 am, naveen naveenkumarnl1...@gmail.com wrote: Hi team, I have a grid in which i have around 100 rows. All the records will be loaded at once, at first i can see 15 records. If i want to see rest of the records i have scroll down. Scrolling down is not an issue, but when ever i scroll down and select 16th record, there will be no action and it scrolls to the top. This is happening only with IE not in Mozilla. What may be the issue? Thanks and regards Naveen -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Redundant remove call
When I call goTo method of PlaceController, I get redundant remove call assertion error. Can anyone help me? What would be the problem? My Place class is: import com.google.gwt.place.shared.Place; import com.google.gwt.place.shared.PlaceTokenizer; public class WorkbenchPlace extends Place { private String trasetUni; private String traKey; public WorkbenchPlace(String trasetUni) { this.trasetUni = trasetUni; this.traKey = null; } public WorkbenchPlace(String trasetUni, String traKey) { this.trasetUni = trasetUni; this.traKey = traKey; } public String getTrasetUni() { return trasetUni; } public String getTraKey() { return traKey; } public static class Tokenizer implements PlaceTokenizerWorkbenchPlace { @Override public String getToken(WorkbenchPlace place) { return place.getTrasetUni() + ; + (place.getTraKey() == null ? : place.getTraKey()); } @Override public WorkbenchPlace getPlace(String token) { String[] t = token.split(;); String trakey = null; if (t.length = 2 !t[1].isEmpty()) { trakey = t[1]; } return new WorkbenchPlace(t[0], trakey); } } } And the error message is: 15:21:09.270 [ERROR] Uncaught exception escaped com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java: 214) at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java: 103) at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java: 96) at com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java: 74) at com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java: 43) at com.google.gwt.user.client.impl.HistoryImpl.fireHistoryChangedImpl(HistoryImpl.java: 81) at com.google.gwt.user.client.impl.HistoryImpl.newItemOnEvent(HistoryImpl.java: 128) at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java: 326) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 207) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 126) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.AssertionError: redundant remove call at com.google.gwt.event.shared.SimpleEventBus.doRemoveNow(SimpleEventBus.java: 228) at com.google.gwt.event.shared.SimpleEventBus.access $1(SimpleEventBus.java:224) at com.google.gwt.event.shared.SimpleEventBus $3.execute(SimpleEventBus.java:247) at com.google.gwt.event.shared.SimpleEventBus.handleQueuedAddsAndRemoves(SimpleEventBus.java: 303) at com.google.gwt.event.shared.SimpleEventBus.doFire(SimpleEventBus.java: 219) at com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java: 103) at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java: 115) at
Help Needed! GWT Error
Hi, I am a beginner in GWT. I'm trying a first application with GWT for almost 6 hours. I am following a tutorial and everything should go fine. But I dont know what problem I am getting with service def target. Please can someone help me, it concerns very basic rpc. I am just trying to bring a hello string from the server and display it at the client for the sake of knowing the basics of rpc you can find the eclipse file i coded uploaded at http://noorsolution.zxq.net/Hi.zip 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GwtTestCase using Spring context
Hello, I'm trying to implement tests into my GWT application. I'm using the GWT JUnit Test feature included into the GWT Eclipse plugin. I want to make test on the rpc ( and database ) functionnality, however my application is a Gwt-Spring-Hibernate implementation. Tests run succesfully until a rpc call. My error is : Starting HTTP on port 0 HTTP listening on port 56923 Starting http://192.168.1.16:56923/com.enterprise.MyModule.JUnit/junit-standards.html?gwt.codesvr=192.168.1.16:40926 on browser FF3 Module com.enterprise.MyModule.JUnit has been loaded All clients connected (Limiting future permutations to: gecko1_8) Show loading message The development shell servlet received a request for 'login.rpc' in module 'com.enterprise.MyModule.JUnit.gwt.xml' [WARN] Resource not found: login.rpc; (could a file be missing from the public path or a servlet tag misconfigured in module com.enterprise.MyModule.JUnit.gwt.xml ?) [ERROR] com.google.gwt.user.client.rpc.StatusCodeException: Cannot find resource 'login.rpc' in the public path of module 'com.enterprise.MyModule.JUnit' The error speak about the Gwt module com.enterprise.MyModule.JUnit, I think this module is create on runtime. I think that my configuration doesn't load successfully, so my questions are : Is it possible to customize this JUnit module to become aware of my 'login.rpc' path ? Is it mine web.xml file that is used for the test ? How can I know if the Spring's context load successfully ? Please, someone know a workaround to solve my problem ? For informations... This step doesn't throw error, it's just on the call : final LoginServiceAsync loginService = GWT.create(LoginService.class); I use the annoted type of configuration : @RemoteServiceRelativePath(login.rpc) public interface LoginService extends RemoteService { I use the same arguments in GWT JUnit Test and in dev : -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -startupUrl login.html -logLevel INFO -port -war path_to_war/war com.enterprise.Login com.enterprise.MyModule web.xml file : [...] !-- location of application context files -- context-param param-namecontextConfigLocation/param-name param-valueWEB-INF/*-context.xml/param-value /context-param !-- filter for Spring Security -- filter filter-namespringSecurityFilterChain/filter-name filter-classorg.springframework.web.filter.DelegatingFilterProxy/ filter-class /filter filter-mapping filter-namespringSecurityFilterChain/filter-name url-pattern/*/url-pattern /filter-mapping !-- filter for Spring Hibernate Request filter filter-nameopenSessionInViewFilter/filter-name filter- classorg.springframework.orm.hibernate3.support.OpenSessionInViewFilter/ filter-class /filter filter-mapping filter-nameopenSessionInViewFilter/filter-name url-pattern/*/url-pattern /filter-mapping-- !-- load application context -- listener listener- classorg.springframework.web.context.ContextLoaderListener/listener- class /listener !-- dispatch rpc service requests -- servlet servlet-namerpc-services/servlet-name servlet-classorg.springframework.web.servlet.DispatcherServlet/ servlet-class load-on-startup1/load-on-startup /servlet servlet-mapping servlet-namerpc-services/servlet-name url-pattern*.rpc/url-pattern /servlet-mapping [...] My spring servlet config : bean class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping property name=mappings map entry key=/MyModule/login.rpc value-ref=rpcLoginService / [...] moreover, the remote url rpc is http://192.168.1.16:33956/ com.enterprise.MyModule.JUnit/login.rpc, so I had tried with something like that ( I got the same error ) : entry key=/com.enterprise.MyModule.JUnit/login.rpc value- ref=rpcLoginService / -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Editors: binding a Long to a TextBox or to a Label
Label implements IsEditorLeafValueEditorString. Binding a Long property of a EntityProxy instance to a Label results in the following error: The method setValue(String) in the type TakesValueString is not applicable for the arguments (Long) Is there a standard way to bind a Long to a Label widget or should I create a widget for displaying Long values? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Error installing GWT plugin for Eclipse 3.6
Hi, I have the Eclipse IDE version 3.6.1 When I try to install the GWT plugin I get the following error. Any help? Thanks Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.6 1.4.0.v201010280102 (com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.0.v201010280102) Missing requirement: Google Plugin for Eclipse 3.6 1.4.0.v201010280102 (com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.0.v201010280102) requires 'org.eclipse.wst.server.core 0.0.0' but it could not be found -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to download Google Web Toolkit 2.1 Tutorial?
Hello, Where can I download Google Web Toolkit 2.1 tutorial? I understand that it's available offline - But I don't always have internet access (!) and having the tutorial available offline is extremely important for me. Please help! Thanks, -K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: All I Want for Christmas is a powerful Widget Library from Google !
+1 HR 2010/11/13 zixzigma zixzi...@gmail.com GWT with its powerful set of features, make Large Scale Ajax software development possible. from Java to JS compiler, all the optimization, code splitting, MVP, Guice and Gin, new data binding features, and one can go on and on ... However one important aspect seem to be neglected for years and not aknowledged by GWT team is the absense of a powerful Widget library. The widget set provided by GWT is very basic, and does not include many many widgets needed to make more complex UI interaction possible. Drag and Drop (Tree for example or Grid, Filter), Calendar, Combo Box, Complex grids (sort, filter, etc) to name a few. All the effort that goes into crafting a well architected and tested app goes unnoticed unfortunately cause its about First Impression most of the time ! if you invest hours and hours to get the basic browser history working, all the design for testability etc, but dont have a pretty looking front-end, its just not fair ! We often see posts here and on other forums from developers requiring more advanced widgets to develop their apps. there are alternatives out there, SmartGWT, Ext-GWT. They are great, lots of eye candy, but they encourage a more desk-top style apps on the web, which goes against Google best practices that says not to turn web apps into desktop-like apps). also third-party libraries dont fit well with MVP, API inconsistency, they are also are hard to customize beyond the provided themes. and some of the other open-source ones are too experimental. You can argue that well go create your own. but that does not make any sense at all. if GWT is for Large Scale applications, does it make sense that developers spend their time experimenting with where to position close- icon on a Tab ?! or adding maximize/minimize to a dialog ? what about these ubuquitous Callout Tooltips ? or implement drag and drop on a tree which is going to be a maintanance nightmare down the road ?! each project creating their own in-house widget library ?! and test it ? an alternative could be to use GWT along-side JQuery/YUI, because there are hundreds if not thousands of variation for each plugin you can think out there. but does it make sense to do all the optimization in GWT, only to load additional JS Libraries to use plugins on top of them? Google acquired Instantiations(GWT Designer) a while ago, which was great news, although many are waiting for them to add UiBinder feature(still in beta), it was a great move by Google. I was thinking if Google Team is busy with the architectural aspect of GWT, why not invest in or acquire a company to work on a powerful and complete Widget Library to put others to shame. (after all its Google, right ?!) I can understand why they have not done this so far, because Google have always been about simplicity and investing in more bleeding-edge technologies, but they can acquire others to do this for GWT community ! The GWT team have done a superb job in creating this powerful Toolkit, and been so generous in sharing it with us. for that i am very grateful. But a boy can dream ! All I Want for Christmas is a powerful Widget Library ! a mix between Ext (Application-Oriented) and JQuery plugins (Designer oriented/eye candy/effects) ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Hermann RANGAMANA MalagaSys.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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Accessing instance methods of Overlay objects from JSNI
Hi, I've defined the following instance method in a class extending JavaScriptObject : public final void Vip_write() { ... } I'd like to access this java method from JSNI. For example in function like : public final static native void called(Vip v) /*-{ v...@com.test.vip::Vip_write(); }-*/; But this is rejected but the compiler, complaining about Illegal reference to instance method 'Vip_write' in type 'com.test.Vip', which is an overlay type; only static references to overlay types are allowed from JSNI. Behind the scene, I've seen that Vip_write is translated to the following javascript : function $Vip_write(this$static){ ... } So I'd like to see something in my called(Vip v) javascript translation like : $Vip_write(v); Of course I could manually insert this exact call in the JSNI code, but this would then fail as soon as I compile obfuscated. Another solution would be to define an extra static method public final static void Vip_write_static(Vip v) { v.Vip_write(); } and then call this static method from JSNI. This works but this translates to function $Vip_write_static(v) { $Vip_write(v); } which is right, but not really very optimized ! Any idea ? Thanks, Matthieu -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Problems with GWT on NetBeans 6.9.1
Hello I'm new on gwt, so I don't know a lot about it.^^ I've installed it and NetBeans 6.9.1 incl. the GWT plugin for NetBeans. There I had no problems. Now I've created a web application Project with GWT and the Tomcat 6 webserver. If I try to run the project, I got this error: NetBeansProjects\gwtproject\nbproject\build-impl.xml:686: Problem: failed to create task or type nbdeploy Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any presetdef/macrodef declarations have taken place. BUILD FAILED (total time: 0 seconds) I haven't changed any of the Files which were automatically created by the IDE. The error appears on this line: target if=netbeans.home name=-run-deploy-nb nbdeploy clientUrlPart=${client.urlPart} debugmode=false forceRedeploy=${forceRedeploy}/ /target Does anyone know how to solve this problem? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Regression results
If we have any info on GWT Regression results (how many failed, passed, total testscases and analysis of failures and coverage data), can someone post 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Multiple Modules in Eclipse IDE
Is the class of the type in the correct package? Its has to be in client or shared to be compiled by the GWT compiler. This can be configured in your [AppName].gwt.xml ie source path='client' source path='shared' On Nov 10, 12:59 pm, Jim Majure jim.maj...@gmail.com wrote: I am trying to create multiple modules in a single Eclipse project. I consistently get the No source code is available for type type: did you forget to inherit a required module? I am using Eclipse 3.5, with the latest version of the GWT plugin. I do have the proper inherits tags. The runtime configuration has the source directory in the classpath, so the java source should be available at runtime. Clearly, I'm missing something. Any help is 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: All I Want for Christmas is a powerful Widget Library from Google !
I definitely agree! The new CellWidgets are realy nice, but we need more ;)!! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellTable multiline header, header custom style
I have created a header class called StyledHeader. It has a styleName property that mimics the base UIObject and is a space separated list of class names. The header renders any parent content and then wraps it in another div with the set of supplied classes. I also have a similar class called StyledColumn that does the same for columns. They are both generic and do not have specified types so they can be extended. I'll paste them here as well as another extension SortedHeader (based on the Expenses sample) that extends from StyledHeader instead of Header. I hope someone finds it useful. StyledHeader.java --- public abstract class StyledHeaderH extends HeaderH { /** * {...@link SafeHtmlTemplates} for header rendering. */ interface Template extends SafeHtmlTemplates { @Template(div class=\{0}\{1}/div) SafeHtml header(String classes, SafeHtml contents); } /** {...@link Template} instance. */ private static Template TEMPLATES = GWT.create(Template.class); /** Style classes. */ private String styleName = ; /** * Construct a new StyledHeader. * * @param cell *the {...@link Cell} responsible for rendering items in the header */ public StyledHeader(CellH cell) { super(cell); } /** * Adds a style name to this object. */ public void addStyleName(String style) { styleName = StringUtils.addStyleName(styleName, style); } /** * Removes a style name from this object. */ public void removeStyleName(String style) { styleName = StringUtils.removeStyleName(styleName, style); } /** * Returns all of the object's style names, as a space-separated list. * * @return the objects's space-separated style names */ public String getStyleName() { return styleName; } @Override public void render(SafeHtmlBuilder sb) { /* create an html builder and render parent contents into it */ SafeHtmlBuilder contents = new SafeHtmlBuilder(); super.render(contents); /* render wrapped contents */ sb.append(TEMPLATES.header(styleName, contents.toSafeHtml())); } } StyledColumn.java --- public abstract class StyledColumnT, C extends ColumnT, C { /** * {...@link SafeHtmlTemplates} for header rendering. */ interface Template extends SafeHtmlTemplates { @Template(div class=\{0}\{1}/div) SafeHtml cell(String classes, SafeHtml contents); } /** {...@link Template} instance. */ private static Template TEMPLATES = GWT.create(Template.class); /** Style classes. */ private String styleName = ; /** * Construct a new StyleColumn with a given {...@link Cell}. * * @param cell *the Cell used by this Column */ public StyledColumn(CellC cell) { super(cell); } /** * Adds a style name to this object. */ public void addStyleName(String style) { styleName = StringUtils.addStyleName(styleName, style); } /** * Removes a style name from this object. */ public void removeStyleName(String style) { styleName = StringUtils.removeStyleName(styleName, style); } /** * Returns all of the object's style names, as a space-separated list. * * @return the objects's space-separated style names */ public String getStyleName() { return styleName; } @Override public void render(T object, ProvidesKeyT keyProvider, SafeHtmlBuilder sb) { /* create an html builder and render parent contents into it */ SafeHtmlBuilder contents = new SafeHtmlBuilder(); super.render(object, keyProvider, contents); /* render wrapped contents */ sb.append(TEMPLATES.cell(styleName, contents.toSafeHtml())); } } SortableHeader.java --- /** * A {...@link Header} subclass that maintains sorting state and displays an icon * to indicate the sort direction. */ public class SortableHeader extends StyledHeaderString { /** * {...@link SafeHtmlTemplates} for header rendering. */ interface Template extends SafeHtmlTemplates { @Template(div style= \position:relative;cursor:hand;cursor:pointer; + padding-right:{0}px;\{1}div{2}/div/div) SafeHtml sorted(int imageWidth, SafeHtml arrow, SafeHtml contents); @Template(div style= \position:relative;cursor:hand;cursor:pointer; + padding-right:{0}px;\div style=
Re: UiBinding at run time
So this is a common problem. Cool. Did you try the demo? What did you think? I personally think this idea would be a great addition to GWT, but I don't want to start writing the OS version until I can talk to a GWT or incubator guy. The out comes of that talk will be one of the following. 1. They like the idea, and maybe I can bounce my architectural ideas off them and then I build it. 2. They already have this on their road map and don't need my help 3. They think it doesn't have value. Do you know how I can get in touch with a GWT guy? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Driver Best Practices with CheckBox and RadioButtons
I'm also confused as to why ListBox wasn't updated to work with the Editor. I can't see how ValueListBox would ever be able to take g:item, or anything else, as it doesn't have a zero arg constructor, so it needs @UiField(provided=true). The only way I've managed to give it values is in code, by calling setAcceptableValues. On Nov 12, 10:40 pm, Jerome C. jerome.ca...@gmail.com wrote: I'm confused with thisValueListBox. I don't understand differences between ListBox andValueListBox. Moreover, why ListBox is not editable directly with Editor mechanism ? I've got a ListBox working with uibinder but I can't make it work with Editor (because it does not implement Editor). I can't makeValueListBoxwork with uibinder. How can we bindValueListBoxwith g:item in uibinder ? Lot of questions but the new GWT editor feature is not very clear in documentation... On 11 nov, 13:50, Geraldo Lopes geraldo...@gmail.com wrote: Thomas, Thanks for the information. That was my 1st shoot with Editor framework. Regards, Geraldo On 11 nov, 10:35, Thomas Broyer t.bro...@gmail.com wrote: On 10 nov, 14:42, Geraldo Lopes geraldo...@gmail.com wrote: will0, Thanks for the code piece. I used it to make an extension ofListBox. public class MyListBox extendsListBoximplements LeafValueEditorString { I think you basically reinventedValueListBox:http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g... (and if you want to use a CellList, you can use ValuePicker) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: cannot create servlet in Eclipse helios
Just can't get plug-in to create servlets..tried all versions. Is anyone out there being able to create servlets with Eclipse Helios and GWT 2.1 on Windows? If you are, just say yes please! On Nov 14, 3:49 pm, Tushar tsk...@gmail.com wrote: Tried it but does not seem to work. I tried clipse-jee-helios-SR1- win32.zip. Now trying other versions. On Nov 14, 1:11 pm, Jeff Schwartz jefftschwa...@gmail.com wrote: Have you tried deleting your Eclipse installation getting installing the latest from Eclipse.org? It would mean you would have to install all your Eclipse plugins again but sometimes this corrects 'mysterious' problems in Eclipse. I'd try that first and if it doesn't resolve the issue post back and let us know. Jeff On Sun, Nov 14, 2010 at 1:05 PM, Tushar tsk...@gmail.com wrote: When I try to create a servlet in Eclipse Helios, the Create Servlet wizard shows blank fields for Project, source folder, Java Package fields and Browse buttons don't work either. I am using GWT 2.1.0 and Helios Service Release 1 Build id: 20100917-0705 on Windows Vista. The app works but just cannot create new Servlets. Help please! ~Tushar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- *Jeff Schwartz* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Driver Best Practices with CheckBox and RadioButtons
FYI: I'm using Geraldo solution above (minus the @Override statements), as it is much easier to integrate it with the UIBinder then the ValueListBox. Thanks Geraldo! On Nov 15, 10:51 am, Craigo craig...@gmail.com wrote: I'm also confused as to why ListBox wasn't updated to work with the Editor. I can't see how ValueListBox would ever be able to take g:item, or anything else, as it doesn't have a zero arg constructor, so it needs @UiField(provided=true). The only way I've managed to give it values is in code, by calling setAcceptableValues. On Nov 12, 10:40 pm, Jerome C. jerome.ca...@gmail.com wrote: I'm confused with thisValueListBox. I don't understand differences between ListBox andValueListBox. Moreover, why ListBox is not editable directly with Editor mechanism ? I've got a ListBox working with uibinder but I can't make it work with Editor (because it does not implement Editor). I can't makeValueListBoxwork with uibinder. How can we bindValueListBoxwith g:item in uibinder ? Lot of questions but the new GWT editor feature is not very clear in documentation... On 11 nov, 13:50, Geraldo Lopes geraldo...@gmail.com wrote: Thomas, Thanks for the information. That was my 1st shoot with Editor framework. Regards, Geraldo On 11 nov, 10:35, Thomas Broyer t.bro...@gmail.com wrote: On 10 nov, 14:42, Geraldo Lopes geraldo...@gmail.com wrote: will0, Thanks for the code piece. I used it to make an extension ofListBox. public class MyListBox extendsListBoximplements LeafValueEditorString { I think you basically reinventedValueListBox:http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g... (and if you want to use a CellList, you can use ValuePicker) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
fixed-width numbers with NumberFormat
I know I can pad a number with zeros, is there a way to pad them with blanks? There are a couple of rules in the EBNF that seem to point this way: number := (integer ('.' fraction)?) | sigDigits sigDigits := '#'* '@''@'* '#'* padSpec := '*' padChar padChar := '\u'..'\uFFFD' - quote sigDigits, padSpec and padChar don't seem to be referenced anywhere in the docs, and I've played around with asterixes and at-signs in the argument for getFormat without any luck. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
FYHSIAO is out of the office.
I will be out of the office starting 2010/11/15 and will not return until 2010/11/16. I will respond to your message when I return. --- TSMC PROPERTY This email communication (and any attachments) is proprietary information for the sole use of its intended recipient. Any unauthorized review, use or distribution by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please notify the sender by replying to this email, and then delete this email and any copies of it immediately. 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UiBinding at run time
This group has moderators in GWT maker group. They may have this on their plan/road map. But some reasons, they don't want to talk with you about this. I think you can post your solution clearly in an article. If Google has this in next lease, it proves that you go before them. And if their solution likes your solution, that means you lead them :) Many GWT developers still have released their projects before Google came up with the same features. Why? Because they want to make GWT better. Regards. On Nov 15, 5:45 am, TedM tedkar...@msn.com wrote: So this is a common problem. Cool. Did you try the demo? What did you think? I personally think this idea would be a great addition to GWT, but I don't want to start writing the OS version until I can talk to a GWT or incubator guy. The out comes of that talk will be one of the following. 1. They like the idea, and maybe I can bounce my architectural ideas off them and then I build it. 2. They already have this on their road map and don't need my help 3. They think it doesn't have value. Do you know how I can get in touch with a GWT guy? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Designer errors on GWT 2.1 project in Eclipse Helios 3.6
Hi SteveC, I'm also facing the same porblem. I have started using gwt designer in my existing project, but i am getting some errors com.google.gwt.json.client.JSONArray can not be found in source packages. Check the inheritance chain from your module;it may not be inheriting a required module or a module may not be adding its source path entries properly. com.google.gwt.json.client.JSONObject can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly. com.google.gwt.json.client.JSONString can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly. junit.framework.TestCase can not be found in source packages. Check the inheritance chain from your module;it may not be inheriting a required module or a module may not be adding its source path entries properly. But it was working fine before implementing gwt designer into my project !!! Please can any one tell me what is these errors ??? And i'v noticed that Gwt designer will maintain only one Gwt Xml file for all EntryPoints.. !! Any help is very appreciated! On Nov 13, 8:39 pm, SteveC st...@cannon.name wrote: We are using GWT 2.1 on Eclipse 3.6 running on Windows XP. After we installed GWT Designer into Eclipse, our project started showing errors in Eclipse relating to classes not being found within our own code. When we uninstall GWT Designer from Eclipse, the errors go away. There are no actual errors in our code but somehow GWT Designer makes Eclipse think there are. How can we make GWT Designer coexist with our GWT 2.1 project and not have Eclipse 3.6 report errors where there aren't any? Is this a known issue? My attempts at searching out the problem have failed. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: All I Want for Christmas is a powerful Widget Library from Google !
+1 On 15 November 2010 03:50, Jambi michael.lukaszc...@googlemail.com wrote: I definitely agree! The new CellWidgets are realy nice, but we need more ;)!! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Prashant www.claymus.com code.google.com/p/claymus/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: All I Want for Christmas is a powerful Widget Library from Google !
+1 On Mon, Nov 15, 2010 at 2:06 PM, Prashant nextprash...@gmail.com wrote: +1 On 15 November 2010 03:50, Jambi michael.lukaszc...@googlemail.comwrote: I definitely agree! The new CellWidgets are realy nice, but we need more ;)!! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Prashant www.claymus.com code.google.com/p/claymus/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Garin Yan Software Engineer, International Service Founder International Co.,Ltd. Address: Suzhou International Science Park (Phase V) 328 Xinghu Rd., Suzhou, Jiangsu, P.R.China, 215123 Tel:+86 512 86665500-7063 Fax:+86 512 87183808 Cell:151 0621 9276 yangu...@gmail.com || www.founderinternational.com Enjoying 20 years of success satisfying global leaders with every IT need -- Founder’s 30,000 employees are committed to helping you succeed. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: how to get regex(Pattern and Matcher) working in client side
Hi thomas, Thank you. Is there a way to backport this onto 2.0.3 ? We're gone Production using 2.0.3 and it would help to know what it takes to backport to 2.0.3. Thank you, BR, ~A On Fri, Nov 12, 2010 at 4:48 AM, Thomas Broyer t.bro...@gmail.com wrote: On 11 nov, 20:34, Jim Douglas jdou...@basis.com wrote: This can be used in GWT client code: http://download.oracle.com/javase/6/docs/api/java/lang/String.html#ma.. .) (Of course, you still need to be aware of the differences between Java and JavaScript regex implementations). To see if a given Java feature will work in GWT client code, see: http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html See also http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/regexp/shared/RegExp.html which mimics the JS RegExp API and can also be used on the server-side (or unit tests without GWTTestCase). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
FileUpload dialog cancel button event
Hi Friends, Is there any way we can handle FileUpload cancel button event. I require to show/hide some message if user clicks cancel button on standard filopen dialog. This may be somwhat tricky or not possible but need some discussion around. Thank, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
ImageBundle and IE7
Hi everybody... I have a problem with images bundle and IE7... In some cases images are not rendered in other cases all images are rendered on the same button... (I use those images as icons to custom buttons) I don't understand everything seems ok on Firefox and Chrome (as usual) I use gwt 2.1 and smartgwt There is a part of my code : public interface UsersAdministrationImagesResources extends ClientBundle { public static UsersAdministrationImagesResources INSTANCE = GWT.create(UsersAdministrationImagesResources.class); @Source(user_add.png) ImageResource addUserImage(); @Source(user_delete.png) ImageResource deleteUserImage(); @Source(user_edit.png) ImageResource editUserImage(); @Source(group_add.png) ImageResource addGroupImage(); @Source(group_delete.png) ImageResource deleteGroupImage(); @Source(group_edit.png) ImageResource editGroupImage(); } and the way i use it : to show a smartgwt button : modificationButton = new ImgButton(); modificationButton.setSrc(UsersAdministrationImagesResources.INSTANCE .editUserImage().getURL()); and in a real gwt button : createButton = new Button(); createButton.setHTML( label+i18n.createUser() + /label img src=\ + UsersAdministrationImagesResources.INSTANCE .editUserImage().getURL() + \); createButton.setWidth(200); createButton.setHeight(22); Why is it always so difficult with IE? Is there someone to help me pleaz -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: google plugin error
Any ideas? On 13 Nov, 08:43, Frank Bølviken frank.bolvi...@gmail.com wrote: Hello, When I try to create a project with the plugin in eclipse, I get an invocation of com.Google.gwt...WebAppCreator failed. Anyone know what this mean? On my win 7 64bit laptop its working, but not my win 7 64bit desktop. 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to remove a object from listEditor in new editor framework?
suppose I got a person object with list of book and I bind it to a @Path(books) ListEditorBook, BookUI listEditor = ListEditor.of(new BookUIFactory()); when the BookUI receive a remove book click, how should I suppose to update the underlying list and and the editor framework? same question on how to add a new book too? thanks for you help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] [google-web-toolkit] r9222 committed - Edited wiki page AutoBean through web user interface.
Revision: 9222 Author: zun...@google.com Date: Sun Nov 14 05:13:27 2010 Log: Edited wiki page AutoBean through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=9222 Modified: /wiki/AutoBean.wiki === --- /wiki/AutoBean.wiki Fri Nov 12 20:08:46 2010 +++ /wiki/AutoBean.wiki Sun Nov 14 05:13:27 2010 @@ -89,7 +89,7 @@ A simple interface satisfies the following properties: * Has only getter and setter methods - * Any non-property methods must be implemented by a category + * Any non-property methods must be implemented by a [AutoBean#Categories category] A simple AutoBean can be constructed by the AutoBeanFactory without providing a delegate instance. @@ -235,7 +235,7 @@ } class PersonCategory { - public static boolean marray(AutoBeanPerson instance, Person spouse) { + public static boolean marry(AutoBeanPerson instance, Person spouse) { return new Marriage(instance.as(), spouse).accepted(); } } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: r9220 committed - Switching CellList to trigger selection on click instead of mousedown....
The same problem is still present in the CellTree. On 13 nov, 00:03, codesite-nore...@google.com wrote: Revision: 9220 Author: jlaba...@google.com Date: Fri Nov 12 11:57:52 2010 Log: Switching CellList to trigger selection on click instead of mousedown. Selection causes the cell to be redrawn, which interrupts the click event sequence and prevents click from ever firing to the Cell. This is particularly annoying for Cells that contain Buttons. The same change needs to be made for keyboard selection, which can be bound to selection and cause the cell to be redrawn. CellTable already triggers selection on click, and now triggers keyboard selection on click. Review athttp://gwt-code-reviews.appspot.com/1102801 Review by: sbruba...@google.comhttp://code.google.com/p/google-web-toolkit/source/detail?r=9220 Modified: /trunk/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java /trunk/user/src/com/google/gwt/user/cellview/client/CellList.java /trunk/user/src/com/google/gwt/user/cellview/client/CellTable.java === --- /trunk/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java Tue Nov 9 07:53:09 2010 +++ /trunk/user/src/com/google/gwt/user/cellview/client/AbstractHasData.java Fri Nov 12 11:57:52 2010 @@ -270,8 +270,9 @@ SetString eventTypes = new HashSetString(); eventTypes.add(focus); eventTypes.add(blur); - eventTypes.add(keydown); - eventTypes.add(mousedown); // Used by subclasses to steal focus. + eventTypes.add(keydown); // Used for keyboard navigation. + eventTypes.add(click); // Used by subclasses for selection. + eventTypes.add(mousedown); // No longer used, but here for legacy support. CellBasedWidgetImpl.get().sinkEvents(this, eventTypes); } === --- /trunk/user/src/com/google/gwt/user/cellview/client/CellList.java Tue Nov 9 07:53:09 2010 +++ /trunk/user/src/com/google/gwt/user/cellview/client/CellList.java Fri Nov 12 11:57:52 2010 @@ -379,7 +379,7 @@ // before firing the event to the cell in case the cell operates on the // currently selected item. String eventType = event.getType(); - boolean isMouseDown = mousedown.equals(eventType); + boolean isClick = click.equals(eventType); int idx = Integer.parseInt(idxString); int indexOnPage = idx - getPageStart(); if (!isRowWithinBounds(indexOnPage)) { @@ -390,12 +390,12 @@ // Get the cell parent before doing selection in case the list is redrawn. Element cellParent = getCellParent(cellTarget); T value = getDisplayedItem(indexOnPage); - if (isMouseDown !cell.handlesSelection()) { + if (isClick !cell.handlesSelection()) { doSelection(event, value, indexOnPage); } // Focus on the cell. - if (isMouseDown + if (isClick getPresenter().getKeyboardSelectedRowInView() != indexOnPage) { /* * If the selected element is natively focusable, then we do not want to === --- /trunk/user/src/com/google/gwt/user/cellview/client/CellTable.java Tue Nov 9 07:53:09 2010 +++ /trunk/user/src/com/google/gwt/user/cellview/client/CellTable.java Fri Nov 12 11:57:52 2010 @@ -563,7 +563,6 @@ // Sink events. SetString eventTypes = new HashSetString(); - eventTypes.add(click); eventTypes.add(mouseover); eventTypes.add(mouseout); CellBasedWidgetImpl.get().sinkEvents(this, eventTypes); @@ -926,7 +925,7 @@ } } else if (section == tbody) { // Update the hover state. - boolean isMouseDown = mousedown.equals(eventType); + boolean isClick = click.equals(eventType); int row = tr.getSectionRowIndex(); if (mouseover.equals(eventType)) { // Unstyle the old row if it is still part of the table. @@ -941,7 +940,7 @@ setRowStyleName(hoveringRow, style.cellTableHoveredRow(), style.cellTableHoveredRowCell(), false); hoveringRow = null; - } else if (isMouseDown + } else if (isClick ((getPresenter().getKeyboardSelectedRowInView() != row) || (keyboardSelectedColumn != col))) { // Move keyboard focus. Since the user clicked, allow focus to go to a @@ -960,7 +959,7 @@ return; } T value = getDisplayedItem(row); - if (click.equals(eventType) !handlesSelection) { + if (isClick !handlesSelection) { doSelection(event, value, row, col); } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Horizontal Scroll Bar Issues with tab panel
Hello all I am using Tab Panel (With single tab). In this Tab Panel I am adding another Tab Panel (With single tab). In the above Tab Panel I am adding another Tab Panel. (With 15 tab). And for third inner most Tab Panel I used auto horizontal tab scroll true. Like this : taskTabPanel.setEnableTabScroll(true); There are 15 tabs in the inner most tab. Now my problem is that while clicking on the Right Horizontal scroll button It will work fine for 12 tab. (i.e It will scroll up to 12 tab correctly),But after 12th tab it is not scrolling properly. Can any one help me out of this. Thanks in advance -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Patch for Issue 5588: Fix Ant warning about includeantruntime not being set (issue1105801)
Reviewers: , Description: http://code.google.com/p/google-web-toolkit/issues/detail?id=5588 This patch simply adds includeantruntime=false to javac ... invocations in common.ant.xml, tools/cldr-import/build.xml, user/src/com/google/gwt/user/tools/project.ant.xmlsrc, and plugins/MissingPlugin/build.xml. Please review this at http://gwt-code-reviews.appspot.com/1105801/show Affected files: common.ant.xml plugins/MissingPlugin/build.xml tools/cldr-import/build.xml user/src/com/google/gwt/user/tools/project.ant.xmlsrc Index: common.ant.xml === --- common.ant.xml (revision 9219) +++ common.ant.xml (working copy) @@ -143,7 +143,7 @@ /presetdef presetdef name=gwt.javac -javac srcdir=src destdir=${javac.out} debug=${javac.debug} debuglevel=${javac.debuglevel} source=${javac.source} target=${javac.target} nowarn=${javac.nowarn} encoding=${javac.encoding} fork=true memoryMaximumSize=1024m / +javac srcdir=src destdir=${javac.out} debug=${javac.debug} debuglevel=${javac.debuglevel} source=${javac.source} target=${javac.target} nowarn=${javac.nowarn} encoding=${javac.encoding} fork=true memoryMaximumSize=1024m includeantruntime=false/ /presetdef macrodef name=gwt.jar Index: tools/cldr-import/build.xml === --- tools/cldr-import/build.xml (revision 9219) +++ tools/cldr-import/build.xml (working copy) @@ -37,7 +37,7 @@ javac srcdir=src destdir=${javac.out} debug=${javac.debug} debuglevel=${javac.debuglevel} source=${javac.source} target=${javac.target} -nowarn=${javac.nowarn} encoding=${javac.encoding} +nowarn=${javac.nowarn} encoding=${javac.encoding} includeantruntime=false classpath refid=project.class.path/ /javac copy todir=${javac.out} @@ -50,7 +50,7 @@ javac srcdir=test destdir=${javac.junit.out} debug=${javac.debug} debuglevel=${javac.debuglevel} source=${javac.source} target=${javac.target} -nowarn=${javac.nowarn} encoding=${javac.encoding} +nowarn=${javac.nowarn} encoding=${javac.encoding} includeantruntime=false classpath pathelement location=${gwt.dev.jar} / pathelement location=${gwt.user.jar} / Index: user/src/com/google/gwt/user/tools/project.ant.xmlsrc === --- user/src/com/google/gwt/user/tools/project.ant.xmlsrc (revision 9219) +++ user/src/com/google/gwt/user/tools/project.ant.xmlsrc (working copy) @@ -26,7 +26,7 @@ javac srcdir=@srcFolder includes=** encoding=utf-8 destdir=@warFolder/WEB-INF/classes source=1.5 target=1.5 nowarn=true -debug=true debuglevel=lines,vars,source +debug=true debuglevel=lines,vars,source includeantruntime=false classpath refid=project.class.path/ /javac copy todir=@warFolder/WEB-INF/classes @@ -71,7 +71,7 @@ javac srcdir=@testFolder includes=** encoding=utf-8 source=1.5 target=1.5 nowarn=true destdir=@warFolder/WEB-INF/classes - debug=true debuglevel=lines,vars,source + debug=true debuglevel=lines,vars,source includeantruntime=false classpath location=@junitJar/ classpath refid=project.class.path/ /javac Index: plugins/MissingPlugin/build.xml === --- plugins/MissingPlugin/build.xml (revision 9219) +++ plugins/MissingPlugin/build.xml (working copy) @@ -32,7 +32,7 @@ javac srcdir=src includes=** encoding=utf-8 destdir=war/WEB-INF/classes source=1.5 target=1.5 nowarn=true -debug=true debuglevel=lines,vars,source +debug=true debuglevel=lines,vars,source includeantruntime=false classpath refid=project.class.path/ /javac copy todir=war/WEB-INF/classes -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Would GWT and/or incubator be interested in Run Time UiBinding
May be this could be very interesting for some kind of applications. Personaly I would be happy to have this kind of dynamic UI intergated into GWT. I have a question : what/how do you suggest to do in order to create the link between the user interaction (e.g. click on a submit button) to your code (e.g. to actually produce something) ? GWT acquired GWTDesigner from Instantiations.com. But GWTDesigner (as far as I remember when I used it almost 2 years ago) is not dynamic. It allows only static prototyping. So GWTDesigner is not comparable to what you created. Here the added value, is the change one could provide to the UI on the fly. Not usual in programming techniques ! Nice work. Yves On 14 nov, 03:00, TedM ted.malask...@gmail.com wrote: If it is helpful here is a video of me exampling how to use the demo. http://www.youtube.com/watch?v=wDzuS7pnYJE -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Would GWT and/or incubator be interested in Run Time UiBinding
Thanks, I wasn't thinking in the line of GWTDesigner. The problem that I'm solving at work is related to dynamic form definition. I want my business user to be able to define forms and send them out, without compiling and without things software installed on their locals. I'm going to make a UI that plays through the browser (using GWT) that will allow a non-technical person to design these forms. personally think this idea would be a great addition to GWT, but I don't want to start writing the OS version until I can talk to a GWT or incubator guy. The out comes of that talk will be one of the following. 1. They like the idea, and maybe I can bounce my architectural ideas off them and then I build it with there input. 2. They already have this on their road map and don't need my help 3. They think it doesn't have value. Do you know how I can get in contact with someone from GWT? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors