Re: MVP related question
Some of the client classes are needed on the server side. This is the Models from the MVP. Or, put another way, any class that is used by RPCs is needed on the server side as well. --Sri http://blog.530geeks.com On 18 March 2010 22:59, Dhiren Bhatia dhir...@gmail.com wrote: gwt-servlet.jar is deployed. My question is about the client classes from my application. Do they need to be pushed to the servlet container? The app does not work without them but I don't see why they're needed on the server side. On Mar 18, 10:10 am, Fabio Kaminski fabiokamin...@gmail.com wrote: You should deploy only gwt-servlet.jar in your Servlet container.. as you will need ate least to extends GWT's RemoteServiceServlet wich will do all the rpc magic serialization and proper servlet treatment for your service... So normaly you use gwt-dev and gwt-user to build and compile.. and gwt-servlet for service response.. Regards. Fabio Kaminski On Thu, Mar 18, 2010 at 1:53 PM, Dhiren Bhatia dhir...@gmail.com wrote: So, this should mean that the client package does not need to get deployed to my Tomcat server, correct? I tried deleting the client package from the server side just to see what would happen and the app doesn't work which is why I'm confused. Thanks. On Mar 18, 9:48 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: The View and Presenter participants in the MVP pattern are expected to live on the client only. The Model objects are typically shared between the client and the server. If you look at your Project.gwt.xml file you will see: !-- Specify the paths for translatable code -- source path='client' / source path='shared' / This means all classes in package client and shared are compiled to javascript. Cheers, Philippe On Mar 18, 9:25 am, Dhiren Bhatia dhir...@gmail.com wrote: I'm curious about the container the 'Presenter' runs in. If I have an application that uses the MVP pattern on the UI side and makes RPC calls to a servlet (running in Tomcat), where does the presenter run? Does it get compiled to Javascript and run in the browser or is it running in Tomcat? Is there a document that explains exactly which pieces get compiled into Javascript? Apologies if this has been asked already. Thanks, Dhiren -- You received 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: MVP related question
Are you really sure there are no shared classes in client? On 18 March 2010 23:29, Dhiren Bhatia dhir...@gmail.com wrote: gwt-servlet.jar is deployed. My question is about the client classes from my application. Do they need to be pushed to the servlet container? The app does not work without them but I don't see why they're needed on the server side. On Mar 18, 10:10 am, Fabio Kaminski fabiokamin...@gmail.com wrote: You should deploy only gwt-servlet.jar in your Servlet container.. as you will need ate least to extends GWT's RemoteServiceServlet wich will do all the rpc magic serialization and proper servlet treatment for your service... So normaly you use gwt-dev and gwt-user to build and compile.. and gwt-servlet for service response.. Regards. Fabio Kaminski On Thu, Mar 18, 2010 at 1:53 PM, Dhiren Bhatia dhir...@gmail.com wrote: So, this should mean that the client package does not need to get deployed to my Tomcat server, correct? I tried deleting the client package from the server side just to see what would happen and the app doesn't work which is why I'm confused. Thanks. On Mar 18, 9:48 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: The View and Presenter participants in the MVP pattern are expected to live on the client only. The Model objects are typically shared between the client and the server. If you look at your Project.gwt.xml file you will see: !-- Specify the paths for translatable code -- source path='client' / source path='shared' / This means all classes in package client and shared are compiled to javascript. Cheers, Philippe On Mar 18, 9:25 am, Dhiren Bhatia dhir...@gmail.com wrote: I'm curious about the container the 'Presenter' runs in. If I have an application that uses the MVP pattern on the UI side and makes RPC calls to a servlet (running in Tomcat), where does the presenter run? Does it get compiled to Javascript and run in the browser or is it running in Tomcat? Is there a document that explains exactly which pieces get compiled into Javascript? Apologies if this has been asked already. Thanks, Dhiren -- You received 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. -- Regards, Alexander -- You received 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 developer plugin for firefox
Try this http://gwt-dev-plugin-missing.appspot.com/ http://gwt-dev-plugin-missing.appspot.com/click on plugins for other systems On 19 March 2010 02:21, Bernie bpwoolf...@gmail.com wrote: My browser is not connected to the internet (and it will never be). Is there any way to download the GWT developer plugin for Firefox so that I can burn a CD and install it manually. If so, I'll also need instructions on how to install it on Firefox. Thx, Bernie -- You received 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. -- Regards, Alexander -- You received 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: Get compiled locales from client web application
I bet you can't do it. Information about locales is used during compilation time and can't be reached later in app. Only if you hardcode it somewhere. On 18 March 2010 22:28, Thoka thobias.karls...@gmail.com wrote: How do I get the compiled locales from my client application? LocaleInfo.getAvailableLocaleNames() always returns null, even though my application.gwt.xml includes: inherits name='com.google.gwt.i18n.I18N' / and extend-property name='locale' values='no_NO' / extend-property name='locale' values='sv_SE' / What I want is simply a String array like {no_NO,sv_SE} In the no-cache js file (e.g. application.nocache.js) I find the following code (if compile style is set to DETAILED): values[$intern_34] = {'default':0, no_NO:1, sv_SE:2}; // Where $intern_34 is set to 'locale' Sadly, I cannot figure out how to reach this variable (values) since it's going to be obfuscated. Any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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. -- Regards, Alexander -- You received 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 web toolkit developer plugin with Mysql
It isn't strictly related to GWT problem. You just configured wrong your db access. On 19 March 2010 00:26, nickbit nicola.polic...@gmail.com wrote: Hi GWT team, I'm an italian developer that has a strange problem... When I debug my GWT app in TOMCAT my mysql works PERFECTLY but, when I start the same app on google web toolkit developer plugin in firefox I receive the error: Mysql Connection Error: jdbc:mysql:// 127.0.0.1:3306/ - com.mysql.jdbc.CommunicationsException: Communications link failure. What's the problem? If I run my app with Tomcat I can just debug the server and not the client as the google web toolkit developer plugin does. Can you help me? Please!! I mast debug the client!! This is my configuration: Eclipse width the GWT plugin on MAC OSX 10.5.8 and Firefox 3.5.8. Thnx, Nick. -- You received 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. -- Regards, Alexander -- You received 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: Obfuscate java source
GWT client code could be obfuscated during compilation. Server side code could be obfuscated by any obfuscator. Just google it. On 16 March 2010 12:35, rasmus.olaus...@gmail.com rasmus.olaus...@gmail.com wrote: Hi. I'm developing a GWT library. And I would like to be able to obfuscate the java source code in the .jar file to be able to give the library to others without them reading the code. I know that the way most of us write code it's obfuscated by default, but .. :) Could anyone recomend a tool to do this? //Rasmus Gxt-Schdeuler Team -- You received 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. -- Regards, Alexander -- You received 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 get the year of the current date ? Date manipulation ...
Hi all, I would like to get the year of the current date, but this is not working : int year = Calendar.getInstance().get(Calendar.YEAR); How to use date in gwt ? Thanks in advance for your answer -- You received 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: Dropping IE6 support
I believe that Service Pack 2 brings IE7 with it. Not installing service packs is HUGE security risc. Basically, I agree with Patrick Tucker here. Getting something to work in IE6 not only produces huge amount of effort for toolkit developers, but also for us, the end users of the toolkit. -- ~~Rade~~ 2010/3/17 Michail Prusakov michail.prusa...@gmail.com -1 35% of our customers use ie 6 and probably will be using it for quite a while as it comes with XP On Mar 17, 2:20 pm, Erron erron.aus...@gmail.com wrote: -1 I'm sure I'm not the only one who still has clients that still use IE6. The population of users still using IE6 is still too big to be disregarded. On Mar 17, 7:45 am, Rocky rocky...@gmail.com wrote: Since Google started advising its users to drop IE6, and will be dropping IE6 support from its applications such as GMail, when can we expect definite break with IE6 support in GWT? What do you think about dropping IE6 support completely from GWT? It would make some big changes in code and many workarounds that are existent in current code would be gone, and code would be a lot cleaner? -- You received 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: How to get the year of the current date ? Date manipulation ...
new Date() :) On Mar 19, 9:04 pm, tim timor.su...@gmail.com wrote: Hi all, I would like to get the year of the current date, but this is not working : int year = Calendar.getInstance().get(Calendar.YEAR); How to use date in gwt ? Thanks in advance for your answer -- You received 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 the year of the current date ? Date manipulation ...
Apologies... int year = new Date().getYear() On Mar 19, 9:04 pm, tim timor.su...@gmail.com wrote: Hi all, I would like to get the year of the current date, but this is not working : int year = Calendar.getInstance().get(Calendar.YEAR); How to use date in gwt ? Thanks in advance for your answer -- You received 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 the year of the current date ? Date manipulation ...
Thanks for your answer. this is marked as deprecated and it's not the good value, that's not 2010. I would rather use a non-deprecated method. On Mar 19, 9:33 am, Joe Cole profilercorporat...@gmail.com wrote: Apologies... int year = new Date().getYear() On Mar 19, 9:04 pm, tim timor.su...@gmail.com wrote: Hi all, I would like to get the year of the current date, but this is not working : int year = Calendar.getInstance().get(Calendar.YEAR); How to use date in gwt ? Thanks in advance for your answer -- You received 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 the year of the current date ? Date manipulation ...
Unfortunately GWT does not have support for Calendar class from the java api. I think you may use gwt DateTimeFormat and pass to it custom format with only the year(not sure if this is possible), and you will get the year as String. -- You received 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: ALIGN_CENTER problem ?!!!
Very good, it works with uibinder only. Thank you... On 19 mar, 01:58, Tristan tristan.slomin...@gmail.com wrote: here's how you do it in UiBinder g:HorizontalPanel width=100% g:Cell horizontalAlignment=ALIGN_CENTER g:VerticalPanel/ /g:Cell /g:HorizontalPanel the above code will center your vertical panel On Mar 18, 3:02 pm, Philippe pjean.ge...@gmail.com wrote: Great, it works !!! Thank you for the tip. Chris Lercher a �crit : I also had the same problem, and the only way I found was to do this programmatically, with @UiField(provided=true) VerticalPanel verticalPanel; And instantiating the vertical Panel + setting the horizontal alignment before calling uiBinder.createAndBindUi(this) On Mar 18, 9:27 am, Gecko pjean.ge...@gmail.com wrote: I'm trying to center a vertical panel on the browser but it does not work. I'm newbie... help me please !!! I'm using UiBinder as shown below : g:HorizontalPanel horizontalAlignment=ALIGN_CENTER width=100% g:VerticalPanel ... /g:VerticalPanel /g:HorizontalPanel From the ui.xml, the java code below is gennerated : com.google.gwt.user.client.ui.VerticalPanel f_VerticalPanel2 = (com.google.gwt.user.client.ui.VerticalPanel) GWT.create(com.google.gwt.user.client.ui.VerticalPanel.class); com.google.gwt.user.client.ui.HorizontalPanel f_HorizontalPanel1 = (com.google.gwt.user.client.ui.HorizontalPanel) GWT.create(com.google.gwt.user.client.ui.HorizontalPanel.class); f_VerticalPanel2.add(okbandeau); f_HorizontalPanel1.add(f_VerticalPanel2); f_HorizontalPanel1.setHorizontalAlignment(com.google.gwt.user.client.ui.Has HorizontalAlignment.ALIGN_CENTER); f_HorizontalPanel1.setWidth(100%); And finally, I obtain the html code below : table cellspacing=0 cellpadding=0 style=height: 100%; width: 100%; position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; tbody tr td align=left style=vertical-align: top; table cellspacing=0 cellpadding=0 tbody tr td align=left style=vertical-align: top; table cellspacing=0 cellpadding=0 tbody tr td align=left style=vertical-align: top; ... /td /tr /tbody /table /td /tr /tbody /table /td /tr /tbody /table I think I made a mistake somewhere because I get in the first td td align=left style=vertical-align: top; when I should td align=center style=vertical-align: top; Thank you for any help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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 web toolkit developer plugin with Mysql
Thnx Alexander, I have created a new mysql user that will be able to connet to the DB from any host in the internet (%). Infact, when I use Tomcat to debug, the mysql connection works perfectly. On Mar 19, 8:20 am, Alexander the.malk...@gmail.com wrote: It isn't strictly related to GWT problem. You just configured wrong your db access. On 19 March 2010 00:26, nickbit nicola.polic...@gmail.com wrote: Hi GWT team, I'm an italian developer that has a strange problem... When I debug my GWT app in TOMCAT my mysql works PERFECTLY but, when I start the same app on google web toolkit developer plugin in firefox I receive the error: Mysql Connection Error: jdbc:mysql:// 127.0.0.1:3306/ - com.mysql.jdbc.CommunicationsException: Communications link failure. What's the problem? If I run my app with Tomcat I can just debug the server and not the client as the google web toolkit developer plugin does. Can you help me? Please!! I mast debug the client!! This is my configuration: Eclipse width the GWT plugin on MAC OSX 10.5.8 and Firefox 3.5.8. Thnx, Nick. -- You received 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. -- Regards, Alexander -- You received 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.
Keeping a class reference to CssResource
I am a little confused about this and I wonder if someone could clarify it for me. I have a CssResource interface called Css in my application. Is it OK to have a reference to the interface in other classes as : private Css css = MyClientBundle.uiStyles(); and then use it in various places in that class as: css.someClass1() css.someClass2() OR is it rather better to use the full : MyClientBundle.uiStyles().boldFont(); evereywhere instead ? May be it doesn't make any difference. My concern is, will the compiler copy all the styles into each class in the first case ? -- You received 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: Graphical javascript objects implemented to GWT
First create a subclass of Widget to wrap your graphical object as a GWT Widget. Assumed that your graphical object requires a DIV element, where it's created on, do the following in your Widget's constructor: DivElement element = Document.get().createDiv(); makeMyGraphicalObject(element); setElement(element); The above code creates a DIV element initializes your graphical object on that element and makes the element the DOM node of your Widget. Panels will call getElement() on your object, to attach it. makeMyGraphicalObject method can look like this: private native void makeMyGraphicalObject(DivElement element) /*-{ $wnd.makeMyGraphicalObjectJavaScriptMethod(element); }-*/; If your graphical object requires, that the DIV is already attached to the DOM, it will be more complicated. Widget class has some methods like onLoad() (starting with on), which are called before and after attaching or detaching. Override them to handle this special case. Regards Jan Ehrhardt 2010/3/18 yann menesguen yann.menesg...@gmail.com Hello, I've a problem : I've got a .js graphical object (coverflow) that I would like to integrate into a GWT project. How is it possible with JSNI ? How can I add it into a container to show it on my browser ? I'm sorry I'm a new adept of GWT and I don't have all the technical experience... Thanks for your help ! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: How to capture that the user has moved away from the current browser window.
I don't think the blur even would ever get fired when the change of window happens. I have faced a similar problem with GXT API, while I was trying to hide the combo's list when the user moves out of the current window. Still I'm clueless on that part. :( On Mar 19, 10:20 am, Sudeep S sudee...@gmail.com wrote: have you tried hiding the suggestions on blur event, to my knowledge that is fired when the user moves away from the current window On Fri, Mar 19, 2010 at 9:50 AM, subhro subhrajyo...@gmail.com wrote: Hello, I am trying to implement a google.com search form style auto-suggest box. I have reached a stage where the drop down with suggestions appear correctly. However on changing windows (click on any other app window on the desktop) The or click any where else other that the body of the page, DOES NOT close the drop down. I would idealy like to close this drop down the moment the user clicks on anything else other than the current application page Using firebug i found that google uses a hidden table, to display all the suggestions. It sets the visibility to hidden the moment the user moves away from the current window to any other window. How do you detect that the user has moved away from the current window? Onblur of the auto-suggest textfield does not seem to work in this case. How are gwt experts on this list solving this loss of focus on the current browser window event in the any GWT page? Any pointers in this direction would be appreciated. Thanks, Subhro. -- You received 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.
Re: Dropping IE6 support
Google can drop IE 6 support from it's products, if they see, that their users have modern browsers. But this isn't true for the whole web and all GWT users. Many enterprise customers still want IE 6 support. You can already drop IE 6 support for your GWT app by using things, IE 6 can't handle. You can use ImageResoures in your CSS, which doesn't work correctly in IE 6. You can use div:hover CSS selector in your code to highlight an element. In IE 6 it isn't working, but it's up to you. So why should GWT Team drop IE 6 support in general? Regards Jan Ehrhardt 2010/3/19 Rade Martinović rocky...@gmail.com I believe that Service Pack 2 brings IE7 with it. Not installing service packs is HUGE security risc. Basically, I agree with Patrick Tucker here. Getting something to work in IE6 not only produces huge amount of effort for toolkit developers, but also for us, the end users of the toolkit. -- ~~Rade~~ 2010/3/17 Michail Prusakov michail.prusa...@gmail.com -1 35% of our customers use ie 6 and probably will be using it for quite a while as it comes with XP On Mar 17, 2:20 pm, Erron erron.aus...@gmail.com wrote: -1 I'm sure I'm not the only one who still has clients that still use IE6. The population of users still using IE6 is still too big to be disregarded. On Mar 17, 7:45 am, Rocky rocky...@gmail.com wrote: Since Google started advising its users to drop IE6, and will be dropping IE6 support from its applications such as GMail, when can we expect definite break with IE6 support in GWT? What do you think about dropping IE6 support completely from GWT? It would make some big changes in code and many workarounds that are existent in current code would be gone, and code would be a lot cleaner? -- You received 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.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: JAXB compatibility with GWT 2.0, any news?
Hi, jaxb and gwt 2.0 working good togehter. I am generating Java-Files from my XML-Schema, I use these Java-Classes in my GWT-APP as transfer objects. One thing you have to do in JAXB Configuration, you have to configure a binding so that the output of the java classes will implements the serializable interface. Best Regards On 16 Mrz., 19:53, Sripathi Krishnan sripathikrish...@gmail.com wrote: I haven't tried it recently, but JAXB generated classes should work. Earlier, the GWT compiler choked on annotations. It now ignores these annotations when it compiles java into js. You would need to keep the jaxb jars in your compile classpath, but that should be all that you need to do. Could you try compiling jaxb classes and let us know? If they fail, some stack traces/error messages would help in debugging the problem. --Sri On 16 March 2010 22:08, Fabiano ftar...@gmail.com wrote: On Mar 16, 3:11 pm, crojay78 croja...@googlemail.com wrote: Hi, I read a few posts that some people had problems with the integration of gwt with jaxb generated files. I want to use generated files from jaxb to use as shared objects in gwt. Is there anything new with gwt 2.0 ? Can I use it without problems or is there a good workaround how to get it working? Thanks a lot Hi, just for curiosity.. do you need shared objects between gwt javascript and server side java , or shared objects between gwt javascript and native javascripts on the browser's side? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email togoogle-web-tool...@googlegroups.com. To unsubscribe from this group, send email togoogle-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.
FlexTable in a FocusPanel
I'm having trouble using a FocusPanel once the widget it contains gets a scrollbar because it doesn't fit in its container. I want to select rows within a table using either the mouse or keyboard. It works fine with just a click handler but once I add the table to a FocusPanel to trap keyboard events the mouse click behaviour breaks if the table has been scrolled: clicking on the table scrolls it to the top (and no click event is received). -- You received 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 2.0.2 : Failed to Connect 127.0.0.1:8888 development mode
Ok, Just had to add the following to Run Config - Argument and then Program Arguments -bindAddress 0.0.0.0 On 18 mar, 18:08, Mathieu mathieu.chau...@gmail.com wrote: Hi everybody, How can I set up the bindAdress on eclipse ??? Thanks On 18 fév, 17:45, Thomas thomas.lacr...@jouy.inra.fr wrote: -bindAddress 0.0.0.0 worked, thanks for having hit my target ;-) On Feb 17, 9:59 pm, Fabiano ftar...@gmail.com wrote: On Feb 17, 6:28 pm, Chris Lercher cl_for_mail...@gmx.net wrote: You saved my day. I'm quite a noob, and I'm so happy when I hit the target ! (translated: being useful) Regards -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Unable to migrate GWT application to version 2.03 due to problem with internationalization
I am trying to migrate a GWT 1.5 application (which definitely works without problem) to 2.03 and I am having problems with the compilation of the application. My application uses various locales which are defined in the Main.gwt.xml file extend-property name=locale values=es/ extend-property name=locale values=es_GTC/ extend-property name=locale values=en/ The problem comes when the compiler attempts to compile the locale es_GTC and the file InternationalizationConstants_es_GTC.properties The error from the compiler was as follows : Validating newly compiled units [ERROR] Errors in 'generated:// 6156E89F6D1ADDBDACCA415E145F7A5A/com/google/gwt/i18n/client/impl/ LocaleInfoImpl_es-gtc.java' [ERROR] Line 10: The type LocaleInfoImpl_es is already defined [ERROR] Line 10: Syntax error on token -, expected [ERROR] Line 10: Syntax error, insert to complete ReferenceType1 This previously worked with GWT 1.5. If I remove the locale extend-property name=locale values=es_GTC/ from the Main.gwt.xml file, the application compiles and runs without problem. It seems that the GWT compiler has a problem with the - character in the name of the autogenerated java method which is public class LocaleInfoImpl_es-gtc extends LocaleInfoImpl_shared { Anybody got any suggestions? I've looked in the documentation for GWT 2.x and there is nothing to indicate that this has changed. Thanks Craige -- You received 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 while installing Google Plugin for (Fedora) Eclipse 3.5.1
I'm getting this error when I'm trying to install the Google Plugin for Eclipse 3.5.1. I already did a yum remove *eclipse* and removed all occurrences of find / -name eclipse, then yum install eclipse again, but I'm getting the same error. Cannot complete the install because one or more required items could not be found. Software being installed: Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.3.feature.group 2.0.3.v201002191036) Missing requirement: Google Web Toolkit Plugin 1.3.0.v201003161223 (com.google.gwt.eclipse.core 1.3.0.v201003161223) requires 'bundle org.eclipse.wst.xml.ui 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Web Toolkit SDK 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.2.0.3 2.0.3.v201002191036) To: bundle com.google.gwt.eclipse.core 0.0.0 Cannot satisfy dependency: From: Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.3.feature.group 2.0.3.v201002191036) To: com.google.gwt.eclipse.sdkbundle.2.0.3 [2.0.3.v201002191036] Any clues? -- http://twitter.com/_randell -- You received 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: Annotated timeline container size
Yep, same thing here. And when I output with an alert whatever panel I use for a container, before putting the timeline in it, like this : Window.alert(String.valueOf(panel)); I get stuff like div style=width: 500px; height: 200px;/div which seems to point that the panel actually has its sizes set. I love this chart component and would like to use it more than any other I found. On Feb 27, 12:10 am, Rune V. Sjoen rvsj...@gmail.com wrote: I get this error when I try to add an annotated timeline to a simple test application, exactly which container are we talking about here ? Isn't the SimplePanel the container of the widget, and that one certainly has a fixed size. com.google.gwt.core.client.JavaScriptException: (Error): Container height is zero. Expecting a valid height. fileName:http://www.google.com/uds/api/visualization/1.0/03537a5e2d997d1731ec0... public class Test implements EntryPoint { public void onModuleLoad() { final SimplePanel p = new SimplePanel(); VisualizationUtils.loadVisualizationApi(new Runnable() { @Override public void run() { AnnotatedTimeLine t = new AnnotatedTimeLine(800, 500); DataTable data = DataTable.create(); p.setHeight(300); p.setWidth(500); p.add(t); t.draw(data); } }, AnnotatedTimeLine.PACKAGE); RootPanel.get().add(p); } } -- You received 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: Dropping IE6 support
Read my post above. I have written the following: Getting something to work in IE6 not only produces huge amount of effort for toolkit developers... The price of supporting IE6 for *toolkit developers* is already big, and effort in supporting basic things in the toolkit could be better spent in resolving bugs for modern browsers and adding more features. Not to mention that the code of the toolkit would be much easier to maintain. In my opinion IE6 is 8+ years old browser on unsupported operating system (Windows XP now is not supported OS from Microsoft). -- ~~Rade~~ 2010/3/19 Jan Ehrhardt jan.ehrha...@googlemail.com Google can drop IE 6 support from it's products, if they see, that their users have modern browsers. But this isn't true for the whole web and all GWT users. Many enterprise customers still want IE 6 support. You can already drop IE 6 support for your GWT app by using things, IE 6 can't handle. You can use ImageResoures in your CSS, which doesn't work correctly in IE 6. You can use div:hover CSS selector in your code to highlight an element. In IE 6 it isn't working, but it's up to you. So why should GWT Team drop IE 6 support in general? Regards Jan Ehrhardt 2010/3/19 Rade Martinović rocky...@gmail.com I believe that Service Pack 2 brings IE7 with it. Not installing service packs is HUGE security risc. Basically, I agree with Patrick Tucker here. Getting something to work in IE6 not only produces huge amount of effort for toolkit developers, but also for us, the end users of the toolkit. -- ~~Rade~~ 2010/3/17 Michail Prusakov michail.prusa...@gmail.com -1 35% of our customers use ie 6 and probably will be using it for quite a while as it comes with XP On Mar 17, 2:20 pm, Erron erron.aus...@gmail.com wrote: -1 I'm sure I'm not the only one who still has clients that still use IE6. The population of users still using IE6 is still too big to be disregarded. On Mar 17, 7:45 am, Rocky rocky...@gmail.com wrote: Since Google started advising its users to drop IE6, and will be dropping IE6 support from its applications such as GMail, when can we expect definite break with IE6 support in GWT? What do you think about dropping IE6 support completely from GWT? It would make some big changes in code and many workarounds that are existent in current code would be gone, and code would be a lot cleaner? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post 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-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.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: Inter-frame communication
I did something similar by writing native javascript. See here http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html I had trouble getting the embedded iframes call the javascript functions. See here http://www.dyn-web.com/tutorials/iframes/ Managed to call the javascript functions using top.functionname() On Mar 19, 6:23 am, Sudeep S sudee...@gmail.com wrote: hey Jonny, jquery has a plugin for window.post that works for all browsers. i've used that with gwt for resizing cross domain iframe. you can give that a shot. On Thu, Mar 18, 2010 at 2:08 PM, jjh j...@42quarks.com wrote: Hi, I am wanting allow extensions to my website (essentially third-party javascript code that can provide response to certain events, sort of simplified, gui-less gadgets). It seems like the safest way to this is to use iframes and inter-frame communication to limit what the third- party code can do (to some extent). So now I need to be able to post events to the gadget-frames and receive responses (basically RPC between frames). I know this can be done in javascript using postMessage (window.name hacks for older browsers). But I'm not sure what the best way to do this in GWT is. Does anyone have any pointers for a clean way of doing this in GWT. Regards, Jonny -- You received 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: How to add Widget to a DOM element?
Doesn't this work Rootpanel.get(MyIDName).add(widget); I've managed to insert HTML with clickhandlers like this On Mar 18, 3:04 pm, Thomas Broyer t.bro...@gmail.com wrote: On Mar 17, 8:07 pm, Stefan Ballmer stefan.ball...@gmail.com wrote: On Mar 17, 10:46 am, Thomas Broyer t.bro...@gmail.com wrote: Have a look at the javadoc for the attach and detach related methods in the Widget class; and then look at the code for, e.g. HTMLPanel, HTMLTable, CellPanel, etc. Thanks for the hint. Seems that the only sane way to do this is to subclass the Widget and to make onAttach public. After attaching the Element to the DOM it's sufficient to call onAttach() on the widget. No actually, the sane way would be to do your DOM-related things from within a Widget subclass, which would therefore have access to the onAttach methods of the widget you try to add as a child. Additionally it seems to be also required to call RootPanel.detachOnWindowClose(widget) to prevent mem leaks - but I'm not 100% sure. Not if you call the widget's onDetach when you actually detach the widget (either directly the widget's getElement() or some ancestor element) -- You received 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: native java script
You can add the javascript through GWT like so: // A Java method using JSNI native void sayHelloInJava(String name) /*-{ $wnd.sayHello(name); // $wnd is a JSNI synonym for 'window' }-*/; For more examples go here: http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html On Mar 17, 10:59 am, sigi sig...@gmail.com wrote: Hi I have no experience with javascript at all. In order to talk with an addServer I need need to add following code to my gwt app: script type='text/javascript'!--// ![CDATA[ /* [id120894] spood.me - Sky */ OA_show(120894); // ]] --/scriptnoscripta target='_blank' href='http:// d1.openx.org/ck.php?n=d78181a'img border='0' alt='' src='http:// d1.openx.org/avw.php?zoneid=120894amp;n=d78181a' //a/noscript What I've done so far is following. This works in Firefox but not in Safari. private void test() { String s = !--// ![CDATA[OA_show(120894);// ]] --; ScriptElement e = Document.get().createScriptElement(s); e.setType(text/javascript); e.setLang(javascript); Document.get().getDocumentElement().getChild(2).appendChild(e); AnchorElement a = Document.get().createAnchorElement(); a.setHref(http://d1.openx.org/ck.php?n=766fe8a;); a.setAttribute(target, _blank); ImageElement i = Document.get().createImageElement(); i.setSrc(http://d1.openx.org/avw.php? zoneid=120894amp;n=766fe8a); i.setAttribute(border, 0); a.appendChild(i); Document.get().getDocumentElement().getChild(2).appendChild(a); } Thanks a lot for your time! Sigi -- You received 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: Selenium RC and OutOfMemory DevMode error
So nobody has a clue as to why DevMode would run out of memory after 34 URL refreshes? On Mar 16, 12:01 am, Tristan tristan.slomin...@gmail.com wrote: I started this in Google App Engine Java group, but as Ikai pointed out, it probably belongs here. Does anyone have any hints for this problem? Tristan --- Hi, I have Selenium RC hooked up and automated Selenium tests going using JUnit. The problem is that after Selenium runs about 34 out of the 43 stories so far, my module complains that it is out of memory: [ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...) Every time a Selenium test case is run, it opens a new Safari window and loads the page. I can see on the server (via eclipse) that it is rebinding my RPC services every time, which is normal as far as I can tell. And around 34 tests, during this rebinding, it gives me the above out of memory error. I already have the server memory set to -Xmx1024M... so that shouldn't be an issue.. is there a problem (ie memory leak) with DevMode? Or am I missing some parameter somewhere? Ikai L (Google) -- Tristan, Is this a Google Web Toolkit question or a Google App Engine (OutOfMemoryError on Jetty) question? It sounds like a GWT question, in which case you should ask here:http://groups.google.com/group/Google-Web-Toolkit Tristan I think it's a Google App Engine (OutOfMemoryError on Jetty) question. After Selenium RC hits the Dev Mode url about 34 times, I get previously mentioned error [ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...) This happens with -Xmx1024M setting. So is there a way to free up memory after connection is broken? When Selenium breaks the connection, DevMode quits with the following exception: 20:02:12.232 [ERROR] [myModule] Remote connection lost com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java : 1683) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : 222) at java.lang.Thread.run(Thread.java:637) Caused by: java.io.EOFException: null at java.io.DataInputStream.readByte(DataInputStream.java:250) at com.google.gwt.dev.shell.BrowserChannel $Message.readMessageType(BrowserChannel.java:1131) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java : 1659) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : 222) at java.lang.Thread.run(Thread.java:637) So does this cause a memory leak? Then after 34 of these, it finally runs out of memory. Tristan --- Sorry, forgot to thank you for responding quickly :) Thanks Ikai. Ikai L (Google) I don't recognize that stack trace - I see com.google.gwt.dev.shell. GWT has a DevMode server, from what I remember. If it possible for you to compile the code to JavaScript, then run your Selenium tests? It really does look like a GWT issue, but the references to BrowserChannel somewhat unnerve me. Tristan - Thanks for taking a crack at it Ikai, I compiled the code but still ran out of memory around 34 Selenium touches. I'll post it in the GWT forum as you suggested. 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: GWT 2.0 - Hibernate - Eclipse: Problem with testing
Hello, I found it. The solution was, not to use the App Engine (disable Use Google App Engine in the project properties. Dieter On 18 Mrz., 22:38, Mathieu mathieu.chau...@gmail.com wrote: Hi Dieter, There is an intersting article written here :http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib... Mathieu On 17 mar, 13:45,pau2bki...@dpaul.de wrote: Hello, I tried to develop a small server / client program in the following environment: Eclipse 3.5 GWT 2.0 Hibernate When starting the program inside of of eclipse, I got the following exception java.lang.NoClassDefFoundError: java.io.FileOutputStream is a restricted class. Please see the Google App Engine developer's guide for more details. This happens during creation of the hibernate SessionFactory (factory = new Configuration().configure().buildSessionFactory();) When deploying the application to a tomcat server everything works fine. Is there any possibility to test such an application inside of Eclipse? Dieter -- You received 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: Specifying -bindAddress 0.0.0.0 with gwt-maven-plugin
Just an FYI for linux users: the workaround above works only if you use single quotes rather than double quotes. Nathan Wells On Tue, Mar 9, 2010 at 1:57 AM, Fotos Georgiadis gfo...@gmail.com wrote: This issue has been already reported in the gwt-maven-plugin and a patch is pending: http://jira.codehaus.org/browse/MGWT-180 Hopefully this will be resolved soon... -fotos On Mar 8, 7:54 am, Daniel daniel.r.b...@gmail.com wrote: Nice one! To get it to work on my Windows machine I had to change the single quotes to double quotes. i.e. logLevelINFO -bindAddress 0.0.0.0 -logLevel INFO/logLevel On Mar 5, 7:22 pm, Filip Balejko filip.bale...@gmail.com wrote: While waiting for support from gwt-maven-plugin, you can use this elegant solution: logLevelINFO' -bindAddress 0.0.0.0 -logLevel 'INFO/logLevel Filip On 22 Lut, 17:42, Nathan Wells nwwe...@gmail.com wrote: Have any of you maven users out there (or anyone at all, really) figured out how to specify a bindAddress argument in the gwt:run goal? I would like to be able to connect to the gwt server from a VM on my machine, but can't find a way to do that, currently. Is there some way of specifying arguments to the gwt server other than the standard maven configuration? 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.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: Google Plugin for Eclipse 1.3 ignores WTP web directory
Hi Keith, Thank you for your answers. I have another improvement to suggest. At present if I have Launch and deploy from this directory checked, the plugin outputs the generated stuff correctly but does not refresh the project. That is I have to press f5 manually. This is a problem as since eclipse does not see the changes, it does not copy them to the container (tomcat in my case). It is not a big thing to press it the first time, but it does get annoying when say rpc services change and thus magic bugs appear. I believe you had the same problem with the compiler, that is I think in some version we had to press f5 after running the compiler to see the generated files from eclipse. Mike On Mar 18, 11:31 pm, Keith Platfoot kplatf...@google.com wrote: Hi Michail, I've confirmed that this is a bug in 1.3: a directory browse dialog *should*be appearing when you launch, to ask for a WAR directory. However, it appears that this only happens when you create a new launch configuration from within the Run/Debug Configurations dialog. If you delete the existing launch configuration and then right-click the project and select Run As Web Application, you should see the WAR directory prompt as expected (at least the first time... after that the -war argument should be persisted). Also, regarding the use of relative WAR directory paths: the lastWarOutDir setting is only used for convenience as an initial path when we display a directory browse dialog for selecting the WAR directory. If you want to specify the WAR directory argument in a launch configuration as a workspace-relative path, you should be able to use something like this: -war ${workspace_loc}/path/to/war However*,* I say *should* be able to, because unfortunately there is another bug in 1.3 that prevents that variable from being resolved. The good news is that* **we will release a fix tomorrow to resolve both of these bugs*, as well as the auto-escaping bug on Windows (http://code.google.com/p/google-web-toolkit/issues/detail?id=4762). Keith On Wed, Mar 17, 2010 at 6:53 AM, Michail Prusakov michail.prusa...@gmail.com wrote: I've updated the plugin and while trying out the new stuff noticed that the plugin seems to ignore the web directory name. Here is what I've done: (for the record I am using eclipse galileo SR2) 1) created a wtp project with a default content directory (WebContent) 2) checked Use Google Web Toolkit 3) checked This Project has a WAR directory, entered the name and unchecked Launch and deploy from this directory 4) saved the configuration and since I am using tomcat 6 as container, changed the order of the gwt library as it is written here: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... (BTW it would be great if the FAQ would mention it) 5) created a module, html page, entry class (all using wizards) 6) ran the project in tomcat 7) created a debug configuration (all according to http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee) Now the funny thing is, the manual said that the plugin would ask for a destination, but it did not. Furthermore it created a war directory and as a result the project did not work. I've then ran the gwt compiler which did ask for the destination and compiled my project. After that everything worked perfectly. Even though the gwt compiler added a line lastWarOutDir=correct path here to the com.google.gwt.eclipse.core.prefs file in project's .settings directory, every time I lunch the project for some reason the plugin still creates the war directory. I've created another similar project. This time I've created a debug configuration with Run built-in server checked. The plugin did ask for the destination but still created the war directory. BTW would it be possible to allow lastWarOutDir to accept relative paths (relative to workspace that is)? We usually put the settings to source control so that only one person would have to go through all the setup process. -- You received 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.
New LayoutPanels (DockLayoutPanel) need Standard Mode ???
Hello, Using GWT 3.0.1 with Eclipse 3.5. I created a sample application (starting with the default Eclipse GWT Sample project) with a DockLayoutPanel (using the small code from the Google web site). I tried and tried, but nothing worked. Today I deleted the first (DOCTYPE) line from the HTML file. As far as I know, the Browser is then in Quirks mode. Surprise surprise ... Everything is working (Firefox 3.5, IE6). Did I made an error in reasoning? Or why it is working in quirks mode and not in standard mode (the GWT documentation says the reverse). Dieter -- You received 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 are the app engine jars in WEB-INF/lib/ upgraded?
In a GWT-only project, the correct gwt-servlet.jar is automatically copied to WEB-INF/lib when the project is compiled. That is a very nice behavior! However, the app engine jars does *not* seem to be copied to lib/ when compiling the project. Why not? How do I upgrade from one app engine version to another? That is, which jars should be manually copied? -- You received 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.
Import CSS to UiBinder style?
My GWT project is to the point where I want to standardize the widget colors by defining the colors in one place and accessing the color definition within the ui:style section of each of my widgets. I am using GWT 2.0.3 and the latest Eclipse plugin (if those are relevant). Example: colors.css: @def TEXT_COLOR #aabbcc; MyWidget.ui.xml: ui:style ... .widget{ color: TEXT_COLOR; } ui:style The problem I am running into is how do I correctly reference the colors.css so that the definitions are accessible within the ui:style section of MyWidget.ui.xml? I tried the following without any success ui:with field=colors src=../colors.css/ before the ui:style section. @Import(../colors.css) from within the ui:style section. If there is a better way to approach the design then please let me know. The end goal is to be able to reference external css definitions from within the UiBinder's ui:style and an extra bonus would be if I could change the referenced file at runtime :). I am looking at UserBundle but I'm still at a loss for how to access any imported ResourceBundle from within the ui:style section. Any help is 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-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: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1
See http://code.google.com/eclipse/docs/faq.html#wstinstallerror On Fri, Mar 19, 2010 at 9:25 AM, Randell josephrandell.benavi...@gmail.comwrote: I'm getting this error when I'm trying to install the Google Plugin for Eclipse 3.5.1. I already did a yum remove *eclipse* and removed all occurrences of find / -name eclipse, then yum install eclipse again, but I'm getting the same error. Cannot complete the install because one or more required items could not be found. Software being installed: Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.3.feature.group 2.0.3.v201002191036) Missing requirement: Google Web Toolkit Plugin 1.3.0.v201003161223 (com.google.gwt.eclipse.core 1.3.0.v201003161223) requires 'bundle org.eclipse.wst.xml.ui 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Web Toolkit SDK 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.2.0.3 2.0.3.v201002191036) To: bundle com.google.gwt.eclipse.core 0.0.0 Cannot satisfy dependency: From: Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.3.feature.group 2.0.3.v201002191036) To: com.google.gwt.eclipse.sdkbundle.2.0.3 [2.0.3.v201002191036] Any clues? -- http://twitter.com/_randell -- You received 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: Dropping IE6 support
On Mar 19, 2:42 pm, Rade Martinović rocky...@gmail.com wrote: In my opinion IE6 is 8+ years old browser on unsupported operating system (Windows XP now is not supported OS from Microsoft). I thought XP SP3 was supported 'til 2014? (end of support for Windows XP, as there won't be a SP4) And XP SP2 is supported until 13 July this year: http://support.microsoft.com/ph/807 If I understand correctly, even Internet Explorer 5.01 is still supported (on Win 2k Pro SP4): http://support.microsoft.com/gp/lifesupsps#Internet_Explorer http://www.microsoft.com/windows/ie/ie6/support/ie5xsupport.mspx -- You received 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: Import CSS to UiBinder style?
I found the answer to the first part of my question!! I am able to import a shared CSS reference file by using the following: ui:style ... src=../colors.css That makes the @def entries in colors.css visible to any style rules in the ui:style section. My next challenge is going to be a configuration so that the colors.css file can be changed at runtime but that will come later. For now, I hope anyone else trying to accomplish the first half if this find the forum post :) On Mar 19, 10:42 am, Will wil...@gmail.com wrote: My GWT project is to the point where I want to standardize the widget colors by defining the colors in one place and accessing the color definition within the ui:style section of each of my widgets. I am using GWT 2.0.3 and the latest Eclipse plugin (if those are relevant). Example: colors.css: @def TEXT_COLOR #aabbcc; MyWidget.ui.xml: ui:style ... .widget{ color: TEXT_COLOR;} ui:style The problem I am running into is how do I correctly reference the colors.css so that the definitions are accessible within the ui:style section of MyWidget.ui.xml? I tried the following without any success ui:with field=colors src=../colors.css/ before the ui:style section. @Import(../colors.css) from within the ui:style section. If there is a better way to approach the design then please let me know. The end goal is to be able to reference external css definitions from within the UiBinder's ui:style and an extra bonus would be if I could change the referenced file at runtime :). I am looking at UserBundle but I'm still at a loss for how to access any imported ResourceBundle from within the ui:style section. Any help is 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-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 are the app engine jars in WEB-INF/lib/ upgraded?
Hi, Whenever you switch SDKs, the appropriate runtime jars for the SDK should be automatically copied into war/WEB-INF/lib for you. The copy happens on SDK switch; not on compilation. What version of the plugin are you using? Rajeev On Fri, Mar 19, 2010 at 10:36 AM, jbdhl jbirksd...@gmail.com wrote: In a GWT-only project, the correct gwt-servlet.jar is automatically copied to WEB-INF/lib when the project is compiled. That is a very nice behavior! However, the app engine jars does *not* seem to be copied to lib/ when compiling the project. Why not? How do I upgrade from one app engine version to another? That is, which jars should be manually copied? -- You received 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: Sending HTTP GET request not working!
Hi Rob, Thanks for the response. I'm not sure I understand you correctly - If I disable the built in server, how exactly does the project run? If Tomcat is running on 8080 and I change the GWT port to 8080 then I just get a 404 error saying it can't find /GWTWPS.html, obviously be Tomcat doesn't know anything about it! Cheers, Jon On 18 March 2010 22:16, RPB robbol...@gmail.com wrote: If you're using GWT 2.0: -Open 'Debug configurations' in eclipse -Uncheck 'Run built-in server' -Set the port number to your localhost port -Run Also, GWT.getModuleBaseURL is useful to use if you need to reference the URL from your java code (as you ensure you are using the exact same URL so are less likely to run into the SOP) -Rob On Mar 18, 3:55 pm, Jon Britton mankillseveryth...@googlemail.com wrote: When I compile my GWT project and host it in Tomcat everything works fine, but is there a way of making it work when I run it as a web application through eclipse? On Mar 18, 3:34 pm, Jon Britton mankillseveryth...@googlemail.com wrote: And a 0 status code? If that is the case, it would mean that your code do violate the SOP. Yes, I still get 0 status code. Switch to URL references without scheme, host and port, or make sure they are the same as the one from Window.Location. How should I go about doing this? This is all new to me - I was just basing my code on the example in the docs. Thanks, Jon -- You received 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: GWT + Eclipse doesn't work. Attempted to beginRule: R/, does not match outer scope rule
What action were you performing when this happened? Are there any other errors that appear in the error log (Window - Show View - Error Log) that appear around the same time? On Thu, Mar 18, 2010 at 10:25 AM, Silverado malans...@gmail.com wrote: I get the same error when I open my project after installing GWT and the Eclipse plugin. I use the Seapine Surround SCM source control plugin from: http://downloads.seapine.com/pub/eclipse/surround/ Error message: java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/MyProject Any recommendations on what to do? Thank you. On Jan 22, 11:54 am, Rajeev Dayal rda...@google.com wrote: Can you post the full stack trace? Also, have you always had this problem, or did you upgrade the plugin (or other plugins) in your Eclipse installation lately? Are you using any Eclipse plugins for source control? On Thu, Jan 21, 2010 at 8:39 AM, MaEcTPo olegik...@gmail.com wrote: Hi, I have a trouble with Eclipse and GWT. My GWT projects don't work. All of them. They compile, but don't run in hosted mode. When I start Eclipse I receive popup with error. In eclipse error log I have this: java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/MySmartGWT at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) . And it is for all gwt projects. When I run project I receive a link, for example http://localhost:/MySmartGWT2.html?gwt.codesvr=127.0.1.1:9997, but when I open it in FireFox - nothing happens. There are not logs, errors or something like that. I use Ubuntu 9.10, Eclipse 3.5, GWT 2.0. In some project I am playing with SmartGWT. Source control - mercurial. Best regars, Oleg. P.S. I know that my English is not very well, but I am learning it now. -- You received 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.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.- 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-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: Dropping IE6 support
I stand corrected. -- ~~Rade~~ 2010/3/19 Thomas Broyer t.bro...@gmail.com On Mar 19, 2:42 pm, Rade Martinović rocky...@gmail.com wrote: In my opinion IE6 is 8+ years old browser on unsupported operating system (Windows XP now is not supported OS from Microsoft). I thought XP SP3 was supported 'til 2014? (end of support for Windows XP, as there won't be a SP4) And XP SP2 is supported until 13 July this year: http://support.microsoft.com/ph/807 If I understand correctly, even Internet Explorer 5.01 is still supported (on Win 2k Pro SP4): http://support.microsoft.com/gp/lifesupsps#Internet_Explorer http://www.microsoft.com/windows/ie/ie6/support/ie5xsupport.mspx -- You received 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: Unable to migrate GWT application to version 2.03 due to problem with internationalization
es_GTC is normally not a valid locale. The country part of a locale is the two character ISO country code. GTC is not a valid country code. A reason might be that GWT 1.5 was not strict about the country code format, and that 2.0 is much stricter. Danny On 19 mrt, 14:28, craige craige.be...@gmail.com wrote: I am trying to migrate a GWT 1.5 application (which definitely works without problem) to 2.03 and I am having problems with the compilation of the application. My application uses various locales which are defined in the Main.gwt.xml file extend-property name=locale values=es/ extend-property name=locale values=es_GTC/ extend-property name=locale values=en/ The problem comes when the compiler attempts to compile the locale es_GTC and the file InternationalizationConstants_es_GTC.properties The error from the compiler was as follows : Validating newly compiled units [ERROR] Errors in 'generated:// 6156E89F6D1ADDBDACCA415E145F7A5A/com/google/gwt/i18n/client/impl/ LocaleInfoImpl_es-gtc.java' [ERROR] Line 10: The type LocaleInfoImpl_es is already defined [ERROR] Line 10: Syntax error on token -, expected [ERROR] Line 10: Syntax error, insert to complete ReferenceType1 This previously worked with GWT 1.5. If I remove the locale extend-property name=locale values=es_GTC/ from the Main.gwt.xml file, the application compiles and runs without problem. It seems that the GWT compiler has a problem with the - character in the name of the autogenerated java method which is public class LocaleInfoImpl_es-gtc extends LocaleInfoImpl_shared { Anybody got any suggestions? I've looked in the documentation for GWT 2.x and there is nothing to indicate that this has changed. Thanks Craige -- You received 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 are the app engine jars in WEB-INF/lib/ upgraded?
Aaah, yes, you are absolutely right. Both the GWT and GAE jars are copied upon SDK selection. Problem solved. 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: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1
On Fri, Mar 19, 2010 at 10:53 PM, Rajeev Dayal rda...@google.com wrote: See http://code.google.com/eclipse/docs/faq.html#wstinstallerror It solved the problem. Thanks! Side note: The plugin installation page ( http://code.google.com/eclipse/docs/install-eclipse-3.5.html) should have at least mentioned the requirement at the top of the page. -- You received 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 capture that the user has moved away from the current browser window.
On Mar 19, 5:20 am, subhro subhrajyo...@gmail.com wrote: Hello, I am trying to implement a google.com search form style auto-suggest box. I have reached a stage where the drop down with suggestions appear correctly. However on changing windows (click on any other app window on the desktop) The or click any where else other that the body of the page, DOES NOT close the drop down. I would idealy like to close this drop down the moment the user clicks on anything else other than the current application page Using firebug i found that google uses a hidden table, to display all the suggestions. It sets the visibility to hidden the moment the user moves away from the current window to any other window. How do you detect that the user has moved away from the current window? Onblur of the auto-suggest textfield does not seem to work in this case. How are gwt experts on this list solving this loss of focus on the current browser window event in the any GWT page? Any pointers in this direction would be appreciated. I can only point you to an open issue about adding focus/blur event handling at the Window level: http://code.google.com/p/google-web-toolkit/issues/detail?id=68 AFAICT the only missing thing is someone to take the time to put it all together, as the issue page gives all the necessary information to implement it reliably in all supported browsers. -- You received 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: Keeping a class reference to CssResource
On Mar 19, 10:49 am, shahid shahidza...@gmail.com wrote: I am a little confused about this and I wonder if someone could clarify it for me. I have a CssResource interface called Css in my application. Is it OK to have a reference to the interface in other classes as : private Css css = MyClientBundle.uiStyles(); and then use it in various places in that class as: css.someClass1() css.someClass2() OR is it rather better to use the full : MyClientBundle.uiStyles().boldFont(); evereywhere instead ? May be it doesn't make any difference. My concern is, will the compiler copy all the styles into each class in the first case ? It shouldn't make any noticeable difference (almost everything should be inlined in the end). At least I can assure you you don't have to worry about the compiler [to] copy all the styles into each class. -- You received 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] [testgwt20layout] Deferred binding failed for 'com.google.gwt.dom.client.DOMImpl'
I received this error message while I running development mode for Eclipse. The error repeated after many attempts. The same error appeared in another project in the workspace. I created a new GWT project which worked successfully. I GWT-compiled the first project and the problem went away. That's a bit odd because I was under the impression that GWT-compile generated java script. The java script would be used only in production mode. How could it fix something wrong in development mode? I wanted to see if this was a fluke or if it was reproducible. Eclipse's Project Clean made the error return. GWT-Compile fixed the error. A second Project Clean did not cause an error. So this is not 100% reproducible. I hope this helps anyone with a similar error. Tim K. OS - Windows XP Eclipse Platform 3.5 Google Plugin for Eclipse 3.5 1.2.0.v200912062003 gwt-2.0.0 java statement causing error: RootLayoutPanel.get(); -- Error log 09:43:05.547 [DEBUG] [testgwt20layout] Checking rule replace-with class='com.google.gwt.dom.client.DOMImplMozillaOld'/ 09:43:05.578 [ERROR] [testgwt20layout] Error while executing the JavaScript provider for property 'user.agent' com.google.gwt.core.client.JavaScriptException: (TypeError): undefined is not a function stack: TypeError: undefined is not a function at Array.CALL_NON_FUNCTION (native) at F (http://localhost:/testgwt20layout/ testgwt20layout.nocache.js:6:24) at http://localhost:/testgwt20layout/testgwt20layout.nocache.js:2:118 at __gwt_jsInvoke (http://localhost:/testgwt20layout/ hosted.html?testgwt20layout:70:35) at http://localhost:/testgwt20layout/hosted.html?testgwt20layout:263:16 at z (http://localhost:/testgwt20layout/ testgwt20layout.nocache.js:2:147) at http://localhost:/testgwt20layout/testgwt20layout.nocache.js:8:54 type: called_non_callable arguments: undefined __gwt_ObjectId: 2 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 195) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 264) at com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(ModuleSpacePropertyOracle.java: 189) at com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getSelectionProperty(ModuleSpacePropertyOracle.java: 127) at com.google.gwt.dev.cfg.ConditionWhenPropertyIs.doEval(ConditionWhenPropertyIs.java: 58) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:49) at com.google.gwt.dev.cfg.ConditionAll.doEval(ConditionAll.java: 38) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:49) at com.google.gwt.dev.cfg.Rule.isApplicable(Rule.java:36) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.tryRebind(StandardRebindOracle.java:98) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:54) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java: 154) at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java: 119) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java: 531) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: 414) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:39) at com.google.gwt.core.client.GWT.create(GWT.java:98) at com.google.gwt.dom.client.DOMImpl.clinit(DOMImpl.java:22) at com.google.gwt.dom.client.Document$.createDivElement$ (Document.java:252) at com.google.gwt.user.client.ui.LayoutPanel.init(LayoutPanel.java:115) at com.google.gwt.user.client.ui.RootLayoutPanel.init(RootLayoutPanel.java: 65) at com.google.gwt.user.client.ui.RootLayoutPanel.get(RootLayoutPanel.java: 59) at mypackage1.client.TestGwt20Layout.onModuleLoad(TestGwt20Layout.java: 549) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 369) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 185) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 380) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 222) at java.lang.Thread.run(Thread.java:619) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to
Re: GWT 2.0.3 + Maven2 + Eclipse
You can also just use an ant task or the exec plugin to in maven to execute the compiler, I use an ant task in maven. To debug use the eclipse gwt plugin Cheers Gabruel like this profile idcompileJS/id properties compileStyleOBFUSCATED/compileStyle /properties build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idJavaToJavaScript/id phasegenerate-resources/phase configuration tasks unless=skipCompileJS property name=classpath refid=maven.compile.classpath / property name=web.dir value=src/main/webapp / echo message=classpath : ${classpath} / delete quiet=true fileset dir=${web.dir}/${gwt.module.name} includes=**/ *.* / /delete delete quiet=true dir=${project.build.directory}/$ {project.build.finalName}/sprinta / !--delete quiet=true fileset dir=${web.dir}/ sprinta includes=**/*.*/ /delete-- java classname=com.google.gwt.dev.Compiler fork=true failonerror=true classpath path refid=maven.compile.classpath / pathelement location=src/main/java / /classpath arg value=-localWorkers / arg value=2 / arg value=-war / arg value=${web.dir} / arg value=-style / !--arg value=DETAILED /-- !-- --arg value=PRETTY /--gt; arg value=${compileStyle} / arg value=${gwt.module.name} / jvmarg value=-XstartOnFirstThread / jvmarg value=-Xss1024k / jvmarg value=-Xmx512M / /java delete quiet=true fileset dir=${web.dir}/ sprinta includes=**/*.* / /delete copy todir=${web.dir}/sprinta fileset dir=${web.dir}/${gwt.module.name} include name=**/* / /fileset /copy
Re: How to get the year of the current date ? Date manipulation ...
On Mar 19, 9:47 am, tim timor.su...@gmail.com wrote: Thanks for your answer. this is marked as deprecated and it's not the good value, that's not 2010. int year = 1900 + new Date().getYear(); I would rather use a non-deprecated method. A future version of GWT (that's already in trunk, just not yet released) will have a JsDate class to wrap the native JavaScript Date. It'd be a GWT-specific API but at least it won't be deprecated if that's really bothering 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: Sending HTTP GET request not working!
On Mar 18, 4:34 pm, Jon Britton mankillseveryth...@googlemail.com wrote: And a 0 status code? If that is the case, it would mean that your code do violate the SOP. Yes, I still get 0 status code. Switch to URL references without scheme, host and port, or make sure they are the same as the one from Window.Location. How should I go about doing this? This is all new to me - I was just basing my code on the example in the docs. Actually, the question is: how do you get the URL you pass to RequestBuilder? (in other words: what is the code?) From the snippet you gave, it seems you're typing it into a TextBox. Then try omitting the http://host:port part and only give something like /path/to?serv=let Is it any clearer? -- You received 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: Sending HTTP GET request not working!
You'll have to copy GWTWPS.html (and probably GWTWPS.css) to your localhost before it will work I would expect the URL to look something like this when you're debugging (if localhost was 127.0.0.1 and port was 8080): http://127.0.0.1:8080/GWTWPS.html?gwt.codesvr=127.0.0.1:9997 The gwt.codesvr bit ensures the code runs from your eclipse, but you're right, it won't work until you explicitly copy the html and css files because otherwise tomcat doesn't know where to start. -Rob On Mar 19, 2:58 pm, Jon Britton mankillseveryth...@googlemail.com wrote: Hi Rob, Thanks for the response. I'm not sure I understand you correctly - If I disable the built in server, how exactly does the project run? If Tomcat is running on 8080 and I change the GWT port to 8080 then I just get a 404 error saying it can't find /GWTWPS.html, obviously be Tomcat doesn't know anything about it! Cheers, Jon On 18 March 2010 22:16, RPB robbol...@gmail.com wrote: If you're using GWT 2.0: -Open 'Debug configurations' in eclipse -Uncheck 'Run built-in server' -Set the port number to your localhost port -Run Also, GWT.getModuleBaseURL is useful to use if you need to reference the URL from your java code (as you ensure you are using the exact same URL so are less likely to run into the SOP) -Rob On Mar 18, 3:55 pm, Jon Britton mankillseveryth...@googlemail.com wrote: When I compile my GWT project and host it in Tomcat everything works fine, but is there a way of making it work when I run it as a web application through eclipse? On Mar 18, 3:34 pm, Jon Britton mankillseveryth...@googlemail.com wrote: And a 0 status code? If that is the case, it would mean that your code do violate the SOP. Yes, I still get 0 status code. Switch to URL references without scheme, host and port, or make sure they are the same as the one from Window.Location. How should I go about doing this? This is all new to me - I was just basing my code on the example in the docs. Thanks, Jon -- You received 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.- 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-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: Sending HTTP GET request not working!
Yes, that's clearer. But when I run my GWT project it isn't hosted in the same place as my server so it won't work. Also, I want to be able to receive XML from remote servers - I guess this isn't possible using this method, but I've read that is IS possible (although I don't know how to do it). I'm trying to create a web-based application for running WebProcessingService (WPS) processes (web services for processing geospatial data). These can be accessed via HTTP GET. I wanted to allow the user to input the URL of a WPS they know of (wherever it's located) and view the available processes. This takes the form of a request like : *wpsurl*?Request=GetCapabilitiesService=WPS Which returns an XML document listing available processes. Is this even possible? As you can see, I'm a complete amateur at browser-based programming... Cheers, Jon On 19 March 2010 15:44, Thomas Broyer t.bro...@gmail.com wrote: On Mar 18, 4:34 pm, Jon Britton mankillseveryth...@googlemail.com wrote: And a 0 status code? If that is the case, it would mean that your code do violate the SOP. Yes, I still get 0 status code. Switch to URL references without scheme, host and port, or make sure they are the same as the one from Window.Location. How should I go about doing this? This is all new to me - I was just basing my code on the example in the docs. Actually, the question is: how do you get the URL you pass to RequestBuilder? (in other words: what is the code?) From the snippet you gave, it seems you're typing it into a TextBox. Then try omitting the http://host:port part and only give something like /path/to?serv=let Is it any clearer? -- You received 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: Sending HTTP GET request not working!
Yes, that's clearer. But when I run my GWT project it isn't hosted in the same place as my server so it won't work. Also, I want to be able to receive XML from remote servers - I guess this isn't possible using this method, but I've read that is IS possible (although I don't know how to do it). I'm trying to create a web-based application for running WebProcessingService (WPS) processes (web services for processing geospatial data). These can be accessed via HTTP GET. I wanted to allow the user to input the URL of a WPS they know of (wherever it's located) and view the available processes. This takes the form of a request like : *wpsurl*?Request=GetCapabilitiesService=WPS Which returns an XML document listing available processes. Is this even possible? As you can see, I'm a complete amateur at browser-based programming. Cheers, Jon On 19 March 2010 15:44, Thomas Broyer t.bro...@gmail.com wrote: On Mar 18, 4:34 pm, Jon Britton mankillseveryth...@googlemail.com wrote: And a 0 status code? If that is the case, it would mean that your code do violate the SOP. Yes, I still get 0 status code. Switch to URL references without scheme, host and port, or make sure they are the same as the one from Window.Location. How should I go about doing this? This is all new to me - I was just basing my code on the example in the docs. Actually, the question is: how do you get the URL you pass to RequestBuilder? (in other words: what is the code?) From the snippet you gave, it seems you're typing it into a TextBox. Then try omitting the http://host:port part and only give something like /path/to?serv=let Is it any clearer? -- You received 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: GWT/protobuf/nixysa
On Mar 18, 9:13 am, Romain Francois romain.francois.r.enthusi...@gmail.com wrote: Hello, I was wondering if {anyone tried/something is planned/is it a good idea at all} to build NPAPI plugins for compatible browsers to deal with protocol buffer messages, using for example nixysa. One application of this would be a gwt rpc in terms of protocol buffer messages. I'd rather generate GWT-specific code from the same *.proto files as you'd use in pure Java (or Python or C++) than rely on users installing a plugin. ...and it's made much easier by protobuf 2.3.0 and its new plugin API. I'm thinking about doing such things (though I'd first have to find the time, etc.), which seems to be the road taken by Google Wave too. Have a look at protostuff too (doesn't do services though): http://code.google.com/p/protostuff/ -- You received 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.
Using GWT to develop firefox plugins
Is anyone out there using GWT for developing firefox plugins? If so, are there any tools out there that are helpful in doing this, for instance integrating with the standard extension structure and/or with XUL? I would like to make a plugin using various components of my main GWT application, and of course using all the power of GWT. I know I read about some tools for this awhile back, but now that there's firefox/eclipse plugins for GWT itself they're a lot harder to find.. -- You received 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 web toolkit developer plugin with Mysql
It seems that I cannot use java.net.SocketPermission in google web toolkit developer plugin, and so you can't use mysql database there. On Mar 19, 10:26 am, nickbit nicola.polic...@gmail.com wrote: Thnx Alexander, I have created a new mysql user that will be able to connet to the DB from any host in the internet (%). Infact, when I use Tomcat to debug, the mysqlconnectionworks perfectly. On Mar 19, 8:20 am, Alexander the.malk...@gmail.com wrote: It isn't strictly related to GWT problem. You just configured wrong your db access. On 19 March 2010 00:26, nickbit nicola.polic...@gmail.com wrote: Hi GWT team, I'm an italian developer that has a strange problem... When I debug my GWT app in TOMCAT my mysql works PERFECTLY but, when I start the same app on google web toolkit developer plugin in firefox I receive theerror: MysqlConnectionError:jdbc:mysql:// 127.0.0.1:3306/ - com.mysql.jdbc.CommunicationsException: Communications link failure. What's the problem? If I run my app with Tomcat I can just debug the server and not the client as the google web toolkit developer plugin does. Can you help me? Please!! I mast debug the client!! This is my configuration: Eclipse width the GWT plugin on MAC OSX 10.5.8 and Firefox 3.5.8. Thnx, Nick. -- You received 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. -- Regards, Alexander -- You received 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-EXT widget
Hi all, I am trying to use the date and time pickers that I found here: http://www.gwt-ext.com/demo/#multipleFieldForm which is GWT-Ext 2.0.6. GWT version I am using is 2.0 * I imported the library for GWT-Ext ( gwtext.jar ) * I inherited the package ( inherits name='com.gwtext.GwtExt' / ) in Project.gwt.xml * I included a javascript ( script src=js/ext/adapter/ext/ext- base.js / ) in Project.gwt.xml ( is it necessary? ) * I copied ext-all-debug.js, ext-all.js, ext-core-debug.js, ext- core.js inside the war folder. It compiles without problems, but if I try to launch it I get this error message: com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read property 'StatusBar' of undefined stack: TypeError: Cannot read property 'StatusBar' of undefined. Would anybody know what it is that I am missing? Thanks, Dan -- You received 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 for Eclipse 1.3 ignores WTP web directory
Hi Keith- We're also hurtin from the absolute ${workspace_loc} path. Looking forward to the fix! On Mar 18, 5:31 pm, Keith Platfoot kplatf...@google.com wrote: Hi Michail, I've confirmed that this is a bug in 1.3: a directory browse dialog *should*be appearing when you launch, to ask for a WAR directory. However, it appears that this only happens when you create a new launch configuration from within the Run/Debug Configurations dialog. If you delete the existing launch configuration and then right-click the project and select Run As Web Application, you should see the WAR directory prompt as expected (at least the first time... after that the -war argument should be persisted). Also, regarding the use of relative WAR directory paths: the lastWarOutDir setting is only used for convenience as an initial path when we display a directory browse dialog for selecting the WAR directory. If you want to specify the WAR directory argument in a launch configuration as a workspace-relative path, you should be able to use something like this: -war ${workspace_loc}/path/to/war However*,* I say *should* be able to, because unfortunately there is another bug in 1.3 that prevents that variable from being resolved. The good news is that* **we will release a fix tomorrow to resolve both of these bugs*, as well as the auto-escaping bug on Windows (http://code.google.com/p/google-web-toolkit/issues/detail?id=4762). Keith On Wed, Mar 17, 2010 at 6:53 AM, Michail Prusakov michail.prusa...@gmail.com wrote: I've updated the plugin and while trying out the new stuff noticed that the plugin seems to ignore the web directory name. Here is what I've done: (for the record I am using eclipse galileo SR2) 1) created a wtp project with a default content directory (WebContent) 2) checked Use Google Web Toolkit 3) checked This Project has a WAR directory, entered the name and unchecked Launch and deploy from this directory 4) saved the configuration and since I am using tomcat 6 as container, changed the order of the gwt library as it is written here: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... (BTW it would be great if the FAQ would mention it) 5) created a module, html page, entry class (all using wizards) 6) ran the project in tomcat 7) created a debug configuration (all according to http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee) Now the funny thing is, the manual said that the plugin would ask for a destination, but it did not. Furthermore it created a war directory and as a result the project did not work. I've then ran the gwt compiler which did ask for the destination and compiled my project. After that everything worked perfectly. Even though the gwt compiler added a line lastWarOutDir=correct path here to the com.google.gwt.eclipse.core.prefs file in project's .settings directory, every time I lunch the project for some reason the plugin still creates the war directory. I've created another similar project. This time I've created a debug configuration with Run built-in server checked. The plugin did ask for the destination but still created the war directory. BTW would it be possible to allow lastWarOutDir to accept relative paths (relative to workspace that is)? We usually put the settings to source control so that only one person would have to go through all the setup process. -- You received 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: GWT/protobuf/nixysa
In case you're interested, I've written a patch for the Thrift compiler (fb's version of pbs) which generates GWT compatible code. @see http://bibale.posterous.com/the-revenge-of-the-bibale-midi-chlorians -- You received 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 the year of the current date ? Date manipulation ...
And just for kicks, the JavaScript date class returns different values for older dates than the Java class, and neither of them deal well with older dates, time zones, and date manipulation anyway. But, for normal applications using modern dates in a standard, simple way it is adequate, and importantly lightweight. A true Calendar-type class set requires a substantial amount of code that would have to be sent to the client, bloating your app download size - just so you can get what year it is. In reality, the deprecated Date object is simply used as an interface, as GWT just uses it to wrap the JS date class calls anyway. So, besides the annoying warnings which can easily be turned off, why write a new GWT specific API to do the same wrapping? Seems it would be better to write a real correctly working Calendar class for those few apps that actually need the advanced functionality. For my app I've actually had to write very correct calendars that span all of time (15BY, not 6000YA...), including functions like the roll and getting the number of days in a given month/year like Java's class. With Gregorian/Julian/Proleptic/Astronomic versions it turns into about 10k of compiled js. Unfortunately it's probably too detailed to push out as the open source general calendar solution for GWT.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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-EXT widget
Hi all, I am trying to use the date and time pickers that I found here: http://www.gwt-ext.com/demo/#multipleFieldForm which is GWT-Ext 2.0.6. GWT version I am using is 2.0 * I imported the library for GWT-Ext ( gwtext.jar ) * I inherited the package ( inherits name='com.gwtext.GwtExt' / ) in Project.gwt.xml * I included a javascript ( script src=js/ext/adapter/ext/ext- base.js / ) in Project.gwt.xml ( is it necessary? ) * I copied ext-all-debug.js, ext-all.js, ext-core-debug.js, ext- core.js inside the war folder. It compiles without problems, but if I try to launch it I get this error message: com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read property 'StatusBar' of undefined stack: TypeError: Cannot read property 'StatusBar' of undefined. Would anybody know what it is that I am missing? Thanks, Dan -- You received 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: Sending HTTP GET request not working!
I might not be understanding the problem correctly. Let me give you an example of what my site does (which sounds vaguely similar to what you want to do): -GWT sends a GET request to my server -My server sends a request to Amazon (or equivalent), which sends back information in XML format -My server returns the XML to GWT -GWT processes XML and does stuff with it I am able to debug it in GWT so I know the above is possible. I'm not sure if it's possible to make GET requests to remote servers (I suspect not due to SOP). If you can get the remote info onto your local webserver, then gwt should be able to request it from there. I hope this helps - I'm no expert either, just know what I have worked out so far. -Rob On Mar 19, 3:53 pm, Jon Britton mankillseveryth...@googlemail.com wrote: Yes, that's clearer. But when I run my GWT project it isn't hosted in the same place as my server so it won't work. Also, I want to be able to receive XML from remote servers - I guess this isn't possible using this method, but I've read that is IS possible (although I don't know how to do it). I'm trying to create a web-based application for running WebProcessingService (WPS) processes (web services for processing geospatial data). These can be accessed via HTTP GET. I wanted to allow the user to input the URL of a WPS they know of (wherever it's located) and view the available processes. This takes the form of a request like : *wpsurl*?Request=GetCapabilitiesService=WPS Which returns an XML document listing available processes. Is this even possible? As you can see, I'm a complete amateur at browser-based programming. Cheers, Jon On 19 March 2010 15:44, Thomas Broyer t.bro...@gmail.com wrote: On Mar 18, 4:34 pm, Jon Britton mankillseveryth...@googlemail.com wrote: And a 0 status code? If that is the case, it would mean that your code do violate the SOP. Yes, I still get 0 status code. Switch to URL references without scheme, host and port, or make sure they are the same as the one from Window.Location. How should I go about doing this? This is all new to me - I was just basing my code on the example in the docs. Actually, the question is: how do you get the URL you pass to RequestBuilder? (in other words: what is the code?) From the snippet you gave, it seems you're typing it into a TextBox. Then try omitting the http://host:port part and only give something like /path/to?serv=let Is it any clearer? -- You received 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: Sending HTTP GET request not working!
On Mar 19, 4:52 pm, Jon Britton mankillseveryth...@googlemail.com wrote: Yes, that's clearer. But when I run my GWT project it isn't hosted in the same place as my server so it won't work. Also, I want to be able to receive XML from remote servers - I guess this isn't possible using this method, but I've read that is IS possible (although I don't know how to do it). I'm trying to create a web-based application for running WebProcessingService (WPS) processes (web services for processing geospatial data). These can be accessed via HTTP GET. I wanted to allow the user to input the URL of a WPS they know of (wherever it's located) and view the available processes. This takes the form of a request like : *wpsurl*?Request=GetCapabilitiesService=WPS Which returns an XML document listing available processes. Is this even possible? As you can see, I'm a complete amateur at browser-based programming... OK, so if the requirement is that the URL might (and will most of the time) be cross origin, then you'd actually have to send the *URL* to your server and have it make the request (using URLConnection, or Apache HTTP Client, or...). As you're about to deal with XML, I'd rather process it on the server- side too and either send JSON back to the browser or, even better as you're a newb' and you can use Java on the server-side, use GWT-RPC so you don't have to think about how things are serialized between the browser and your server. -- You received 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: Problems with GWT-EXT widget
Apologies for double posting, now sure how it happened. I also followed the instructions found here : http://code.google.com/p/gwt-ext/wiki/GettingStarted so I included the js and css files as suggested, inside the html file. link rel=stylesheet type=text/css href=js/ext/resources/css/ ext-all.css/ link rel=stylesheet type=text/css href=js/ext/resources/css/ xtheme-aero.css / script type=text/javascript src=js/ext/adapter/yui/yui- utilities.js/script script type=text/javascript src=js/ext/adapter/yui/ext-yui- adapter.js/script script type=text/javascript src=js/ext/ext-all.js/script Same error persists... -- You received 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: Selenium RC and OutOfMemory DevMode error
I get similar problems, but they are related to restarting the server, rather than refreshing the browser, and only while developing, not in a Selenium server. You might be able to resolve your issue by way of the -noserver option. I haven't yet looked for documentation about it, but it allows you to run any given server rather than the embedded Jetty server. On Mar 19, 8:16 am, Tristan tristan.slomin...@gmail.com wrote: So nobody has a clue as to why DevMode would run out of memory after 34 URL refreshes? On Mar 16, 12:01 am, Tristan tristan.slomin...@gmail.com wrote: I started this in Google App Engine Java group, but as Ikai pointed out, it probably belongs here. Does anyone have any hints for this problem? Tristan --- Hi, I have Selenium RC hooked up and automated Selenium tests going using JUnit. The problem is that after Selenium runs about 34 out of the 43 stories so far, my module complains that it is out of memory: [ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...) Every time a Selenium test case is run, it opens a new Safari window and loads the page. I can see on the server (via eclipse) that it is rebinding my RPC services every time, which is normal as far as I can tell. And around 34 tests, during this rebinding, it gives me the above out of memory error. I already have the server memory set to -Xmx1024M... so that shouldn't be an issue.. is there a problem (ie memory leak) with DevMode? Or am I missing some parameter somewhere? Ikai L (Google) -- Tristan, Is this a Google Web Toolkit question or a Google App Engine (OutOfMemoryError on Jetty) question? It sounds like a GWT question, in which case you should ask here:http://groups.google.com/group/Google-Web-Toolkit Tristan I think it's a Google App Engine (OutOfMemoryError on Jetty) question. After Selenium RC hits the Dev Mode url about 34 times, I get previously mentioned error [ERROR] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...) This happens with -Xmx1024M setting. So is there a way to free up memory after connection is broken? When Selenium breaks the connection, DevMode quits with the following exception: 20:02:12.232 [ERROR] [myModule] Remote connection lost com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java : 1683) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : 222) at java.lang.Thread.run(Thread.java:637) Caused by: java.io.EOFException: null at java.io.DataInputStream.readByte(DataInputStream.java:250) at com.google.gwt.dev.shell.BrowserChannel $Message.readMessageType(BrowserChannel.java:1131) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java : 1659) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan nelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java : 222) at java.lang.Thread.run(Thread.java:637) So does this cause a memory leak? Then after 34 of these, it finally runs out of memory. Tristan --- Sorry, forgot to thank you for responding quickly :) Thanks Ikai. Ikai L (Google) I don't recognize that stack trace - I see com.google.gwt.dev.shell. GWT has a DevMode server, from what I remember. If it possible for you to compile the code to JavaScript, then run your Selenium tests? It really does look like a GWT issue, but the references to BrowserChannel somewhat unnerve me. Tristan - Thanks for taking a crack at it Ikai, I compiled the code but still ran out of memory around 34 Selenium touches. I'll post it in the GWT forum as you suggested. 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: google web toolkit developer plugin with Mysql
I find the solution!!! If you are using Google App Engine (separate from GWT), you cannot use an external database. App Engine doesn't allow you to open socket connections, and that is exactly what the getConnection() method does. So, if tou would like to use mysql in your GWT app with google web toolkit developer plugin, you mast disable Google App Engine in the properties of the project (propertyes-google-app engine)... and finaly mysql works with GWT developer plugin!!! On Mar 19, 8:20 am, Alexander the.malk...@gmail.com wrote: It isn't strictly related to GWT problem. You just configured wrong your db access. On 19 March 2010 00:26, nickbit nicola.polic...@gmail.com wrote: Hi GWT team, I'm an italian developer that has a strange problem... When I debug my GWT app in TOMCAT my mysql works PERFECTLY but, when I start the same app on google web toolkit developer plugin in firefox I receive the error: Mysql Connection Error: jdbc:mysql:// 127.0.0.1:3306/ - com.mysql.jdbc.CommunicationsException: Communications link failure. What's the problem? If I run my app with Tomcat I can just debug the server and not the client as the google web toolkit developer plugin does. Can you help me? Please!! I mast debug the client!! This is my configuration: Eclipse width the GWT plugin on MAC OSX 10.5.8 and Firefox 3.5.8. Thnx, Nick. -- You received 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. -- Regards, Alexander -- You received 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 add a scrollbar to a SuggestBox popup?
Hi, I would like to display a scrollbar in the popup panel shown by the SuggestBox (Imagine there might be 100 entries in the list and you don't want to display a huuuge popup, instead you want to add a nice vertical scrollbar to it). Does anyone know how to achieve this with gwt 2.0? I have found this thread from 2007 (it is not possible to reply anymore to this): http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b3f2c9a789967a7/857697210bdcda41?lnk=gst But I cannot apply the solution to overwrite the gwt-SuggestBoxPopup style and add 'overflow: scroll' anymore in GWT 2.0 as this gets overwritten programmatically in the PopupPanel (e.g. in onstart() or onComplete(): DOM.setStyleAttribute(curPanel.getElement(), overflow, visible);) ' Also I cannot copy this class and modify it as it has many dependencies (besides the obvious ugliness of this way). Has anyone found a more proper solution for this problem? thanks, Dennis -- You received 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.
Upgrade from 1.5.3 to 2.0
Hi All, I have upgraded my application from GWT1.5.3 to GWT2.0 successfully. Now as I am having lot of code which was written in GWT 1.5.3 era (Widgets, Panels etc), How much beneficial it would be to use UiBinders to enhance UI? Will it be required to write/change number of classes for the use of UIBinders which might add more testing efforts? helps productivity and maintainability — it's easy to create UI from scratch or copy/paste across templates Does above statement means that we should use UIBinders when we are developing application from scratch? Can anyone give me suggestions on this. -Thanks a lot. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
UiBinder and Shared CssResource types
My GWT 2.0.3 project uses UiBinder to create widgets and I wanted to use a shared CssResource to make each widget have a common runtime CSS class. I created my SharedStyle as follows: @Shared interface SharedStyle extends CssResource{ public String test(); } Then each WidgetX uses the following template: WidgetX.java: public WidgetX...{ public interface WidgetXStyle extends SharedStyle{ } ... } WidgetX.ui.xml: ... ui:style type=WidgetX.WidgetXStyle .test{ ... } ... /ui:style What ends up happening is that the style.test( ) for each different Widget (eg WidgetA WidgetB) class is not identical. I hoped to use this technique to allow a parent widget to treat each child widget the same when processing a browser event but it is not working. Any guidance on what I'm doing wrong would be 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: UIBinder with custom faces
Has anyone tried to do this? Thanks 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-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 add a scrollbar to a SuggestBox popup?
Can't you just add a scrollPanel as the first child of the Popup? -- You received 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.
speed tracer problem
hi i am trying to add the flag to the google shortcut but it refuses to accept it. i downloaded the developer version and installed the speed tracer but cannot make it to work. please 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.
Re: Inter-frame communication
Hi Thanks for your help. I guess my question wasn't so much how to do but more advice on a good, clean way of implementing it in gwt. Basically I want interframe rpc. Something like the server rpc in gwt where you don't have to manually deal with serialization etc. I was hoping someone might have done something similar and might have a few pointer on the best way of architecturing it cleanly since I'm fairly new to gwt. Thanks for any help J On Friday, March 19, 2010, Pondmouse pondmo...@googlemail.com wrote: I did something similar by writing native javascript. See here http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html I had trouble getting the embedded iframes call the javascript functions. See here http://www.dyn-web.com/tutorials/iframes/ Managed to call the javascript functions using top.functionname() On Mar 19, 6:23 am, Sudeep S sudee...@gmail.com wrote: hey Jonny, jquery has a plugin for window.post that works for all browsers. i've used that with gwt for resizing cross domain iframe. you can give that a shot. On Thu, Mar 18, 2010 at 2:08 PM, jjh j...@42quarks.com wrote: Hi, I am wanting allow extensions to my website (essentially third-party javascript code that can provide response to certain events, sort of simplified, gui-less gadgets). It seems like the safest way to this is to use iframes and inter-frame communication to limit what the third- party code can do (to some extent). So now I need to be able to post events to the gadget-frames and receive responses (basically RPC between frames). I know this can be done in javascript using postMessage (window.name hacks for older browsers). But I'm not sure what the best way to do this in GWT is. Does anyone have any pointers for a clean way of doing this in GWT. Regards, Jonny -- You received 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. -- Jonathan J Hunt j...@42quarks.com Homepage: http://www.42quarks.com (Further contact details there) Physics isn't the most important thing. Love is. Richard Feynman -- You received 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: Remote HTTP fetch from Server not working?
Hello, I'm having a similar issue where my servlet can not reach a URL within my company's intranet. My company has a proxy and firewall, but I've written other servlets that don't have any issue reaching URLs on my intranet. It's possible that gwt requires me to manually specify a proxy, but I've noticed trying to use the java.net.Proxy class is unsupported by appengine, and was wondering if anyone had other methods of connecting. I will paste the code below, with the exception. I've tried this in development mode and I've tried creating a war and posting it to my company's sunone server. No luck either way. System.setProperty(http.proxyHost, my-company-proxy); System.setProperty(http.proxyPort, 80); String urlStr = http://my-company-intranet.com;; try { StringWriter content = new StringWriter(); URL url = new URL(urlStr); // Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(my-company-proxy.com, 80)); URLConnection spoof = url.openConnection(); InputStream i = spoof.getInputStream(); spoof.setRequestProperty(User-Agent, Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; H010818) ); InputStreamReader isr = new InputStreamReader(i); BufferedReader in = new BufferedReader(isr); and the exception is... Initializing AppEngine server The server is running at http://localhost:/ java.io.IOException: Could not fetch URL: http://my-company-intranet.com at com.google.appengine.api.urlfetch.URLFetchServiceImpl.handleApplicationException(URLFetchServiceImpl.java: 75) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java: 45) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.fetchResponse(URLFetchServiceStreamHandler.java:409) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler $Connection.getInputStream(URLFetchServiceStreamHandler.java:290) at myproject.server.search.GreetingServiceImpl.getURLTextContent(GreetingServiceImpl.java: 118) at myproject.server.search.GreetingServiceImpl.greetServer(GreetingServiceImpl.java: 50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 562) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1093) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 121) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 360) 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: 712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 139) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:352) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 139) at
DateTimeFormat giving wrong date
Hi, I have GWT 1.7 I am feeding the following to DateTimeFormat function format(Date date, TimeZone timeZone): Date: Sun Mar 14 04:00:00 EDT 2010 TimeZone: America/Vancouver created with TimeZoneConstant Properties. The function returns me back String 2010-03-13 whereas it should be 2010-03-14 because the Date I am providing to format function should correspond to Sun Mar 14 00:00 even in Vancouver time zone. I think this is happening because of the time zone change that happened on March 14th so Eastern switches to EDT before Pacific (Vancouver) switches to PDT. Therefore this line of code gives incorrect result int diff = (date.getTimezoneOffset() - timeZone.getOffset(date)) * 6; // diff for me comes to -4 hours Date keepDate = new Date(date.getTime() + diff); // Subtracting -4 hrs results in Mar13th Date doesnt take 2-3AM So keepDate in my case is Sat Mar 13 23:00:00 EST 2010 which in turn results in wrong date formatted I have looked into GWT 2.0 and found no change in the code for DateTimeFormat class. Can some one please tell me if he/she has noticed the same behavior and if it indeed is an issue. For the rest of the dates that I provide it seems to work fine. 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 and Acegi
Hello, I've just started with GWT. I've started a project where it's needed an integration with Acegi Security. I really had no idea about Acegi and after reading the documentation and watch the examples i still don't get how to integrate with GWT. I've also checked http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi but this doesn't tells anything to me. Could anyone help me. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Several CSS resource questions
I have the exact same problem with opacity. When I add the IE- specific: filter: alpha(opacity=20); The CSS resource to fails to compile. The IE8 version: seems to work fine. I haven't looked for a workaround, yet, but all I can think of will look like an ugly patch... I've found the bug in the issue tracker at: http://code.google.com/p/google-web-toolkit/issues/detail?id=4688q=CssResource Please star it if you've had this problem too. On Mar 17, 1:01 pm, nogridbag nogrid...@gmail.com wrote: I figured out the answer to question 2. I just had to add @NotStrict annotation. Questions 1 and 3 still perplex me. On Mar 17, 3:45 pm, nogridbag nogrid...@gmail.com wrote: 1) @external not working as expected The GWT doc states that if you mark a style as @external it won't be obfuscated and it doesn't need an associated method in the CssResource interface. So for instance: @external legacySelectorA, legacySelectorB; .obfuscated .legacySelectorA { } When I do this, the style: .obfuscated .legacySelectorA will simply be ignored and will not show up in the generated CSS. All other styles that do not use an @external style appear fine in the CSS. There's no errors generated. I thought maybe I could only have one @external annotation in the CSS file so I moved all the external styles into one big annotation at the top of the file: @external abc, def, ghi, blah, blahblah, blahblahblah Putting them in one @external annotation at the top of the file generates errors so I'm assuming this should not be done. 2) How do I simply bundle a simple CSS file without obfuscating it? I thought I could simply create a CssResouce (without subclassing), and specify an annotation so that it's just treated as a static resource. Both the link (html) and stylesheet tag (in module descriptor) are deprecated according to the documentation. I would like slowly transition CSS files to the new CssResource method without adding 50 million @external annotations everywhere. The styles are referenced all throughout our project as strings like addStyleName(my-style) and I don't want to break this functionality at the moment. 3) How can I have an = sign in a style? @if user.agent ie6 ie8 { .my-style img { filter: alpha(opacity=20); } */} @elif user.agent gecko gecko1_8 { .my-style img { -moz-opacity: 0.2; } } The = sign in the IE specific string generates an error. -- Finally, this isn't a question. It's more of a general comment. So far the experience using the CssResource has been pretty painful. Much of our CSS involves customizing the GXT library's stylesheet. So if you have a style like this: .my-tab-panel-header .x-tab-strip-top .x-tab-strip-active .x-tab-right span.x-tab-strip-text ...it quickly turns into annotation hell especially since I often have the same external styles referenced in two spots. Here, we're slightly customizing the GXT tab panel adding three styles. @external .x-tab-strip-top, .x-tab-left .my-tab-panel-header .x-tab-strip-top .x-tab-left { .. one CSS style } @external .x-tab-strip-top, .x-tab-strip-inner .my-tab-panel-header .x-tab-strip-top .x-tab-strip-inner { .. one more CSS style } �...@external .x-tab-strip-top, .x-tab-strip-active, .x-tab-strip-inner .my-tab-panel-header .x-tab-strip-top .x-tab-strip-active .x-tab-strip- inner { .. one more CSS style } I wind up having more @external annotations all over the document than I do actual CSS code. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Several CSS resource questions
Just noticed that the issue has a workaround: filter: literal(alpha(opacity=50)); On Mar 19, 2:14 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: I have the exact same problem withopacity. When I add the IE- specific: filter: alpha(opacity=20); The CSS resource to fails to compile. The IE8 version: seems to work fine. I haven't looked for a workaround, yet, but all I can think of will look like an ugly patch... I've found the bug in the issue tracker at:http://code.google.com/p/google-web-toolkit/issues/detail?id=4688q=C... Please star it if you've had this problem too. On Mar 17, 1:01 pm, nogridbag nogrid...@gmail.com wrote: I figured out the answer to question 2. I just had to add @NotStrict annotation. Questions 1 and 3 still perplex me. On Mar 17, 3:45 pm, nogridbag nogrid...@gmail.com wrote: 1) @external not working as expected The GWT doc states that if you mark a style as @external it won't be obfuscated and it doesn't need an associated method in the CssResource interface. So for instance: @external legacySelectorA, legacySelectorB; .obfuscated .legacySelectorA { } When I do this, the style: .obfuscated .legacySelectorA will simply be ignored and will not show up in the generated CSS. All other styles that do not use an @external style appear fine in the CSS. There's no errors generated. I thought maybe I could only have one @external annotation in the CSS file so I moved all the external styles into one big annotation at the top of the file: @external abc, def, ghi, blah, blahblah, blahblahblah Putting them in one @external annotation at the top of the file generates errors so I'm assuming this should not be done. 2) How do I simply bundle a simple CSS file without obfuscating it? I thought I could simply create a CssResouce (without subclassing), and specify an annotation so that it's just treated as a static resource. Both the link (html) and stylesheet tag (in module descriptor) are deprecated according to the documentation. I would like slowly transition CSS files to the new CssResource method without adding 50 million @external annotations everywhere. The styles are referenced all throughout our project as strings like addStyleName(my-style) and I don't want to break this functionality at the moment. 3) How can I have an = sign in a style? @if user.agent ie6 ie8 { .my-style img { filter: alpha(opacity=20); } */} @elif user.agent gecko gecko1_8 { .my-style img { -moz-opacity: 0.2; } } The = sign in the IE specific string generates an error. -- Finally, this isn't a question. It's more of a general comment. So far the experience using the CssResource has been pretty painful. Much of our CSS involves customizing the GXT library's stylesheet. So if you have a style like this: .my-tab-panel-header .x-tab-strip-top .x-tab-strip-active .x-tab-right span.x-tab-strip-text ...it quickly turns into annotation hell especially since I often have the same external styles referenced in two spots. Here, we're slightly customizing the GXT tab panel adding three styles. @external .x-tab-strip-top, .x-tab-left .my-tab-panel-header .x-tab-strip-top .x-tab-left { .. one CSS style } @external .x-tab-strip-top, .x-tab-strip-inner .my-tab-panel-header .x-tab-strip-top .x-tab-strip-inner { .. one more CSS style } �...@external .x-tab-strip-top, .x-tab-strip-active, .x-tab-strip-inner .my-tab-panel-header .x-tab-strip-top .x-tab-strip-active .x-tab-strip- inner { .. one more CSS style } I wind up having more @external annotations all over the document than I do actual CSS code. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
Why HandlerManager use quene to register event handler?
Hi, I am new to gwt also this event-handle programing model. I am trying to use gwt-presenter 1.1.1. However, I have a few problems with the eventbus. The eventbus in gwt-presenter is actually realized by HandlerManager. I have a event (EventPage) firing for a page, within the handling, it calls method B. Within metod B, it makes an AJAX call for some data, I realize it by calling C function, which fire another event (EventData) when it receive the data. Here is the idea eventbus.addHandler(EventPage.Type, new PageHandler(){ . B(); } eventbus.fire(new EventPage()) .. B(){ eventbus.addHandler(EventData.Type, new DataHandler(){ public void processData(EventData event){ ...populate page with the data and show it. }); C(); } -- C(){ Ajax_call(new callback(){ ... public void onResponseReceived(Request request, Response response) { process data, eventbus.fire(new EventData()) } My eventbus is an singleton in type of HandlerManager. The problem is the definition of B() is only accessible after fire EventPage. In the HandlerManager, there is one variable called firingDepth, it is 0 when EventPage fires and 1 after. When it is larger than 0, it always quene the handler registration (addHandler(EventData)) and do not register until back to firingDepth==0. So when C() fires EventData(), nothing happens because the handler has not registered yet (it will not be until C() exits.) What is the reason to put such a queue into HandlerManager? Is there anyway to get my problem fixed? 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-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: Why HandlerManager use quene to register event handler?
On Mar 19, 10:57 pm, zggame zgg...@gmail.com wrote: Hi, I am new to gwt also this event-handle programing model. I am trying to use gwt-presenter 1.1.1. However, I have a few problems with the eventbus. The eventbus in gwt-presenter is actually realized by HandlerManager. I have a event (EventPage) firing for a page, within the handling, it calls method B. Within metod B, it makes an AJAX call for some data, I realize it by calling C function, which fire another event (EventData) when it receive the data. Here is the idea eventbus.addHandler(EventPage.Type, new PageHandler(){ . B();} --- - eventbus.fire(new EventPage()) --- - .. B(){ eventbus.addHandler(EventData.Type, new DataHandler(){ public void processData(EventData event){ ...populate page with the data and show it. }); C(); } -- C(){ Ajax_call(new callback(){ ... public void onResponseReceived(Request request, Response response) { process data, eventbus.fire(new EventData()) } My eventbus is an singleton in type of HandlerManager. The problem is the definition of B() is only accessible after fire EventPage. In the HandlerManager, there is one variable called firingDepth, it is 0 when EventPage fires and 1 after. When it is larger than 0, it always quene the handler registration (addHandler(EventData)) and do not register until back to firingDepth==0. So when C() fires EventData(), nothing happens because the handler has not registered yet (it will not be until C() exits.) What is the reason to put such a queue into HandlerManager? That's because (at firingDepth=0) the code is iterating on the handlers, so any modification would cause a ConcurrentModificationException. Is there anyway to get my problem fixed? Thank you very much. Try deferring some of the processing (e.g. Scheduler#scheduleDeferred or Scheduler#scheduleFinally) so it happens after the events have all been processed; and more generally treat your event bus as if it were asynchronous: don't expect handlers to be called back in the same event pump as the one that fires events. -- You received 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: Client Bundle and Image Internationalization
I tested with a TextResource... just a foobar.txt file with some content inside. Btw, for now I'm using constants to localize images, but without using Bundles... just renaming the URL -- Francisco Bischoff http://www.cirurgiaplastica.pro.br O mate está para o gaúcho como o chá para os ingleses, a coca para os bolivianos, o uísque para os escoceses e o café... para os brasileiros -- Eduardo Bueno On Wed, Mar 17, 2010 at 2:27 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I see, I'm in the same boat, everything else works fine ! What's in your ClientBundle file ? Does it work if we add every permutation ? (That is something that I didn't tried yet) Christian On Wed, Mar 17, 2010 at 10:16 AM, Francisco Bischoff franzbisch...@gmail.com wrote: Hi! I also found a bug issue in GWT project: http://code.google.com/p/google-web-toolkit/issues/detail?id=4418can=1q=image%20i18n http://code.google.com/p/google-web-toolkit/issues/detail?id=4418can=1q=image%20i18nbut they closed as cannot reproduce ¬¬ Maybe we should create another bug report informing that this bug is real and only happens in compiled version and not in Dev Mod... I'm using GWT 2.0.3 and the problem persists... I tried everything in the .gwt.xml file, with default language, without default language, tried to put and remove modules, etc... nothing works... By the other side TextResources and Constants (.properties files) work normally... only ImageResource has this problem... Interesting is that in the compiled folder, one of permutations creates an imagebundle with all images together but only with the default .png files not the localized ones. -- Francisco Bischoff http://www.cirurgiaplastica.pro.br O mate está para o gaúcho como o chá para os ingleses, a coca para os bolivianos, o uísque para os escoceses e o café... para os brasileiros -- Eduardo Bueno On Wed, Mar 17, 2010 at 12:25 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: No, not yet. For now I'm trying to publish my project on google app and see if that issue is still there. I'll try also to set a default locale. Exemple : I have three image file in fact : default.png, default_en_CA.png and default_fr_CA.png. I shouldn't have three file, but two ! My default language will point to default.png. As for my client bundle. I only map default.png. Maybe it's the problem... I actually have NO default language... but it didn't really explain our problem, it's only a path that I want to explore and see what's happening. Something that is working in dev mode should work in production and this is a serious issue. When I'll be done with my default language changing and if it's still don't work, I'll open an issue for that. Btw, do you have a default language in cour .xml file ? Regards Christian On Tue, Mar 16, 2010 at 10:59 PM, Francisco Bischoff franzbisch...@gmail.com wrote: Hello! I just made a project that has the same issue as yours: works in dev mode but not after compiled... I use apache2 server... Localized strings with .properties files work but localized images with imagename_fr.png doesnt... (works only in dev). Have you got to solve this issue? Thanks On 11 fev, 12:24, Christian Goudreau goudreau.christ...@gmail.com wrote: Still no answers ? I really need that issue to be fixed as my app is going live soon. At least, can anyone test ClientBundle ImageResources with locales on a php server and give me some feedback ? Thanks. Christian On Wed, Feb 10, 2010 at 1:20 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Seems to work in my other project that have tomcat as server... but not on the one that have a php server. Any idea how to fix this ? Christian On Tue, Feb 9, 2010 at 9:00 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: It seem that only the default value is used. I have three files : image.png, image_en_CA.png and image_fr_CA.png. Everything is working fin in dev mode, but when it come to publish, only image.png is taken into account. Maybe it's because I have PHP server side ? Can anyone help me ? Christian On Tue, Feb 9, 2010 at 8:02 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: It doesn't work after build ! My images are a mess and I can't even change de locale, what am I missing ? Christian On Mon, Feb 8, 2010 at 4:24 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok... it's working in dev mode, I don't know why it didnt when going live, I'll do some more test and come back later On Mon, Feb 8, 2010 at 12:02 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: There's an example of what I have : Inside the client bundle : ImageResource example(); and in my directory I have : exemple.png exemple_fr_CA.png exemple_en_CA.png and when I set the
Re: GWT and Acegi
Hello, If you don;t know anything about Acegi... 1. Acegi was migrated to Spring Security (http:// static.springsource.org/spring-security/site/) 2. It can secure in two ways: a) web tier by url or b) methods in classes I use spring security and I like it, but it took some time to know what it is going on in it. Even I integrate with gwt by protect url which GWT module starts on - for example http://host/gwt-app by adding intercept-url to my spring context. security:intercept-url pattern=/gwt-app access=ROLE_USER / Only user with this ROLE can go to this. I use classical spring MVC to login and logout. I hope it helps a little. krisw On 19 Mar, 19:18, Apolo v.mayor...@gmail.com wrote: Hello, I've just started with GWT. I've started a project where it's needed an integration with Acegi Security. I really had no idea about Acegi and after reading the documentation and watch the examples i still don't get how to integrate with GWT. I've also checkedhttp://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi but this doesn't tells anything to me. Could anyone help me. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Why HandlerManager use quene to register event handler?
Thank you very much. I put a 500ms delay and it works very well now. These Asyc and event/handler model are really different from what I was used to on the server-side. Thanks for all the help. On Mar 19, 5:22 pm, Thomas Broyer t.bro...@gmail.com wrote: On Mar 19, 10:57 pm, zggame zgg...@gmail.com wrote: Hi, I am new to gwt also this event-handle programing model. I am trying to use gwt-presenter 1.1.1. However, I have a few problems with the eventbus. The eventbus in gwt-presenter is actually realized by HandlerManager. I have a event (EventPage) firing for a page, within the handling, it calls method B. Within metod B, it makes an AJAX call for some data, I realize it by calling C function, which fire another event (EventData) when it receive the data. Here is the idea eventbus.addHandler(EventPage.Type, new PageHandler(){ . B();} --- - eventbus.fire(new EventPage()) --- - .. B(){ eventbus.addHandler(EventData.Type, new DataHandler(){ public void processData(EventData event){ ...populate page with the data and show it. }); C(); } -- C(){ Ajax_call(new callback(){ ... public void onResponseReceived(Request request, Response response) { process data, eventbus.fire(new EventData()) } My eventbus is an singleton in type of HandlerManager. The problem is the definition of B() is only accessible after fire EventPage. In the HandlerManager, there is one variable called firingDepth, it is 0 when EventPage fires and 1 after. When it is larger than 0, it always quene the handler registration (addHandler(EventData)) and do not register until back to firingDepth==0. So when C() fires EventData(), nothing happens because the handler has not registered yet (it will not be until C() exits.) What is the reason to put such a queue into HandlerManager? That's because (at firingDepth=0) the code is iterating on the handlers, so any modification would cause a ConcurrentModificationException. Is there anyway to get my problem fixed? Thank you very much. Try deferring some of the processing (e.g. Scheduler#scheduleDeferred or Scheduler#scheduleFinally) so it happens after the events have all been processed; and more generally treat your event bus as if it were asynchronous: don't expect handlers to be called back in the same event pump as the one that fires events. -- You received 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] Re: Comment on DomEventsAndMemoryLeaks in google-web-toolkit
Comment by GlacieredPyro: Thanks for the response, I see now that only by running IE in no addon mode will stop the memory from growing, in fact it doesnt get near 30MB. Not that my normal IE installation has anything but the default addons but they seem to make the most trivial application over-use memory. For more information: http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] Re: Tweaks to eclipse instructions (issue242801)
LGTM http://gwt-code-reviews.appspot.com/242801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Re: RR : Soft permutations (issue160801)
On Thu, Mar 18, 2010 at 7:38 PM, John Tamplin j...@google.com wrote: On Thu, Mar 18, 2010 at 7:25 PM, sp...@google.com wrote: The main issue is that I don't believe that sharded builds will take full advantage of the collapsing. We need for Precompile to emit the number of *collapsed* permutations, but it looks like it emits the number before collapsing. Also, CompilePerms needs to treat its input number as an index into the collapsed permutations. Wouldn't you have to run generators in precompile if you wanted to collapse equivalent permutations down? There are different kinds of collapsing. I mean the collapsing that this patch adds, which not coincidentally does not depend on generator results. Lex -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Array implementation for Lightweight Collections. Pure Java implementation only.
I'm not advocating that you save up for one large patch at the end. You should have the code reviewed in increments as you are planning on doing. All I'm suggesting is that the code not land in trunk/user/... until is ready. A real branch or bikeshed would be a better place. On Thu, Mar 18, 2010 at 4:44 PM, Rodrigo Chandia rchan...@google.comwrote: Sure, discussion and comments are welcome. I am developing all this in a branch. The idea is to keep reviewing the changes until we are all satisfied with it. I just thought it made more sense to publish small changes rather than posting a huge patch for review at the end. I can do either or something in between, but I tend to lean towards the incremental approach. El 18 de marzo de 2010 14:40, Miguel Méndez mmen...@google.com escribió: Not sure if this has been discussed already, but you should consider developing these in a branch until the landing plan for the changes is clear. On Thu, Mar 18, 2010 at 9:50 AM, rchan...@google.com wrote: Reviewers: fabbott, Description: Array implementation for Lightweight Collections. Pure Java implementation only. This is part of an incremental review. Not likely to land until other parts are reviewed. Please review this at http://gwt-code-reviews.appspot.com/232801 Affected files: A user/src/com/google/gwt/collections/Array.java A user/src/com/google/gwt/collections/Assertions.java A user/src/com/google/gwt/collections/CollectionFactory.java A user/src/com/google/gwt/collections/ConstantTime.java A user/src/com/google/gwt/collections/LinearTime.java A user/src/com/google/gwt/collections/MutableArray.java A user/test/com/google/gwt/collections/ObjectArrayTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] Re: While paving the way to ValueStore, I've greatly simplified (issue243801)
EntityKey.java seems to be missing from the patch On 2010/03/19 07:52:39, Ray Ryan wrote: http://gwt-code-reviews.appspot.com/243801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Array implementation for Lightweight Collections. Pure Java implementation only.
Yes. I like your idea. I'll move the development to bikeshed so nobody thinks this is ready for general consumption. Once the classes are in a good enough state we will migrate (move) things into GWT proper. Afterwards, integration of these classes into GWT (aka using them for interesting things) will be done using a branch as some changes might be somewhat intrusive. -- Rodrigo El 19 de marzo de 2010 11:51, Miguel Méndez mmen...@google.com escribió: I'm not advocating that you save up for one large patch at the end. You should have the code reviewed in increments as you are planning on doing. All I'm suggesting is that the code not land in trunk/user/... until is ready. A real branch or bikeshed would be a better place. On Thu, Mar 18, 2010 at 4:44 PM, Rodrigo Chandia rchan...@google.comwrote: Sure, discussion and comments are welcome. I am developing all this in a branch. The idea is to keep reviewing the changes until we are all satisfied with it. I just thought it made more sense to publish small changes rather than posting a huge patch for review at the end. I can do either or something in between, but I tend to lean towards the incremental approach. El 18 de marzo de 2010 14:40, Miguel Méndez mmen...@google.comescribió: Not sure if this has been discussed already, but you should consider developing these in a branch until the landing plan for the changes is clear. On Thu, Mar 18, 2010 at 9:50 AM, rchan...@google.com wrote: Reviewers: fabbott, Description: Array implementation for Lightweight Collections. Pure Java implementation only. This is part of an incremental review. Not likely to land until other parts are reviewed. Please review this at http://gwt-code-reviews.appspot.com/232801 Affected files: A user/src/com/google/gwt/collections/Array.java A user/src/com/google/gwt/collections/Assertions.java A user/src/com/google/gwt/collections/CollectionFactory.java A user/src/com/google/gwt/collections/ConstantTime.java A user/src/com/google/gwt/collections/LinearTime.java A user/src/com/google/gwt/collections/MutableArray.java A user/test/com/google/gwt/collections/ObjectArrayTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] Re: Multiple inheritance in Widget hierarchy
Thanks for all the responses guys. So far it hasn't been so difficult to change the hierarchy of the elements I need. I was mainly just curious as to why such a setup existed - quite an ingenious solution to your problem! Ajax crawling looks very cool indeed but I suspect my site will have too many generated permutations for it to be practical. I'm also running on App Engine and I have read that HttpUnit doesn't like that. I'll keep this thread posted as I take the experiment further in a couple of weeks. Would be fantastic to share the same rendering, templating and i18n code on the server at JVM speeds. Thanks again John On Mar 19, 10:16 am, Katharina Probst kpro...@google.com wrote: Hi John, if your ultimate goal is to get an crawlable/indexable GWT app, you may also want to look athttp://code.google.com/web/ajaxcrawling- you can use HtmlUnit or another headless browser technology to create an HTML snapshot server-side and pass that to the crawler. kathrin -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] [google-web-toolkit] r7748 committed - Checkpoint tree/list stuff:...
Revision: 7748 Author: r...@google.com Date: Fri Mar 19 07:22:04 2010 Log: Checkpoint tree/list stuff: No more DataSource interface Added maxSize/increment to SimpleCellList constructor (not fully functional) Fix tree node size 0 bug http://code.google.com/p/google-web-toolkit/source/detail?r=7748 Modified: /trunk/bikeshed/src/com/google/gwt/bikeshed/list/client/SimpleCellList.java /trunk/bikeshed/src/com/google/gwt/bikeshed/list/shared/AbstractListModel.java /trunk/bikeshed/src/com/google/gwt/bikeshed/list/shared/AsyncListModel.java /trunk/bikeshed/src/com/google/gwt/bikeshed/list/shared/ListListModel.java /trunk/bikeshed/src/com/google/gwt/bikeshed/sample/stocks/client/PlayerScoresWidget.java /trunk/bikeshed/src/com/google/gwt/bikeshed/sample/stocks/client/StockSample.java /trunk/bikeshed/src/com/google/gwt/bikeshed/sample/stocks/client/TransactionTreeViewModel.java /trunk/bikeshed/src/com/google/gwt/bikeshed/sample/tree/client/MyTreeViewModel.java /trunk/bikeshed/src/com/google/gwt/bikeshed/tree/client/TreeNodeView.java === --- /trunk/bikeshed/src/com/google/gwt/bikeshed/list/client/SimpleCellList.java Wed Mar 10 08:48:25 2010 +++ /trunk/bikeshed/src/com/google/gwt/bikeshed/list/client/SimpleCellList.java Fri Mar 19 07:22:04 2010 @@ -22,9 +22,12 @@ import com.google.gwt.bikeshed.list.shared.ListModel; import com.google.gwt.bikeshed.list.shared.ListRegistration; import com.google.gwt.bikeshed.list.shared.SizeChangeEvent; +import com.google.gwt.dom.client.DivElement; import com.google.gwt.dom.client.Document; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Node; +import com.google.gwt.dom.client.Style.Display; +import com.google.gwt.dom.client.Style.Visibility; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.Widget; @@ -40,21 +43,60 @@ private final CellT cell; private final ArrayListT data = new ArrayListT(); + private int increment; + private int maxSize; + private ListModelT model; + private final Element showMoreElem; private final Element tmpElem; private ListRegistration reg; private ValueUpdaterT valueUpdater; - - public SimpleCellList(ListModelT model, CellT cell) { + + public SimpleCellList(ListModelT model, CellT cell, int maxSize, int increment) { +this.maxSize = maxSize; +this.increment = increment; +this.model = model; this.cell = cell; + tmpElem = Document.get().createDivElement(); + +showMoreElem = Document.get().createDivElement(); +showMoreElem.setInnerHTML(iShow + increment + more/i); +showMoreElem.getStyle().setDisplay(Display.NONE); // TODO: find some way for cells to communicate what they're interested in. -setElement(Document.get().createDivElement()); +DivElement outerDiv = Document.get().createDivElement(); +DivElement innerDiv = Document.get().createDivElement(); +outerDiv.appendChild(innerDiv); +outerDiv.appendChild(showMoreElem); +setElement(outerDiv); sinkEvents(Event.ONCLICK); sinkEvents(Event.ONCHANGE); - + } + + @Override + public void onBrowserEvent(Event event) { +Element target = event.getEventTarget().cast(); +String idxString = ; +while ((target != null) + ((idxString = target.getAttribute(__idx)).length() == 0)) { + target = target.getParentElement(); +} +if (idxString.length() 0) { + int idx = Integer.parseInt(idxString); + cell.onBrowserEvent(target, data.get(idx), event, valueUpdater); +} + } + + public void setValueUpdater(ValueUpdaterT valueUpdater) { +this.valueUpdater = valueUpdater; + } + + @Override + protected void onLoad() { +super.onLoad(); + // Register for model events. -reg = model.addListHandler(new ListHandlerT() { +this.reg = model.addListHandler(new ListHandlerT() { public void onDataChanged(ListEventT event) { int start = event.getStart(), len = event.getLength(); ListT values = event.getValues(); @@ -66,40 +108,39 @@ public void onSizeChanged(SizeChangeEvent event) { int size = event.getSize(); - -// Is there no better way than this mess? -data.ensureCapacity(size); -while (data.size() size) { - data.add(null); -} +if (size maxSize) { + showMoreElem.getStyle().clearDisplay(); +} else { + showMoreElem.getStyle().setDisplay(Display.NONE); +} + +int dataSize = data.size(); +if (size dataSize) { + while (size dataSize) { +data.remove(dataSize - 1); +dataSize--; + } +} else { + data.ensureCapacity(size); + while (dataSize size) { +data.add(null); +dataSize++; + } +} + // TODO: This only grows. It needs to shrink as well. - gc(size); -reg.setRangeOfInterest(0, size);
[gwt-contrib] DockLayoutPanel addLayoutCompleteHandler
Hi, I use DockLayoutPanel with Google maps and there is a known issue where any component inside a DockLayoutPanel that depends on the size of its container must be initialized like this: root.animate(0, new AnimationCallback() { public void onLayout(Layer layer, double progress) { } public void onAnimationComplete() { // init internal widget } } I was thinking it might be more obvious to include a handler after the layout is complete? addLayoutCompleteHandler()? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] ClientBundle produce memory leaks in IE6
Hello, I find out a problem with the using of ClientBundle wich produce memory leaks in IE6. To proove that, I have realised a very simple application (you can find the source code at this address : http://google-web-toolkit-contributors.googlegroups.com/web/SampleCode-memoryLeakFromClientBundleOnIE6.zip) In this application, there is just one popup which contains 1000 times the same image creating by a ClientBundle. I open and close several times this popup and I observe the memory leaks in IE6 (with the soft Process Explorer for example). The result is alarming : http://www.googleonlinestorage.com/pictures/3077dd392df167271d24f526e41b637e.gif Is the problem already known? Maybe there is something to do ? Thank you, Adrien AUBRY -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] Re: While paving the way to ValueStore, I've greatly simplified (issue243801)
http://gwt-code-reviews.appspot.com/243801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[gwt-contrib] Re: While paving the way to ValueStore, I've greatly simplified (issue243801)
From desk review w/Amit. Will do this and some other cleanup and then submit: Revert Places.java Maybe todo valuestore in EmployeeListRequest as not-used-yet Try to back out ValueStore changes since they do nothing yet http://gwt-code-reviews.appspot.com/243801/diff/6001/7001 File bikeshed/src/com/google/gwt/requestfactory/client/EntityListRequestImpl.java (right): http://gwt-code-reviews.appspot.com/243801/diff/6001/7001#newcode32 bikeshed/src/com/google/gwt/requestfactory/client/EntityListRequestImpl.java:32: public class EntityListRequestImplE implements EntityListRequestE { Not yet used, save for next patch. http://gwt-code-reviews.appspot.com/243801/diff/6001/7002 File bikeshed/src/com/google/gwt/requestfactory/shared/EntityKey.java (right): http://gwt-code-reviews.appspot.com/243801/diff/6001/7002#newcode28 bikeshed/src/com/google/gwt/requestfactory/shared/EntityKey.java:28: * @return Real doc http://gwt-code-reviews.appspot.com/243801/diff/6001/7015 File bikeshed/src/com/google/gwt/sample/expenses/client/place/EntityListPlace.java (left): http://gwt-code-reviews.appspot.com/243801/diff/6001/7015#oldcode22 bikeshed/src/com/google/gwt/sample/expenses/client/place/EntityListPlace.java:22: public class EntityListPlace extends ExpensesScaffoldPlace { Undelete the visitor mechanism and the other places. Patch is too big, will probably still need them. http://gwt-code-reviews.appspot.com/243801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Array implementation for Lightweight Collections. Pure Java implementation only.
Great. When you move them to trunk/bikeshed, please *don't* put them under the com.google.gwt.bikeshed package. We've concluded that was a mistake and will be rejiggering it slightly. Your stuff should stay in its real packages. On Fri, Mar 19, 2010 at 9:57 AM, Rodrigo Chandia rchan...@google.comwrote: Yes. I like your idea. I'll move the development to bikeshed so nobody thinks this is ready for general consumption. Once the classes are in a good enough state we will migrate (move) things into GWT proper. Afterwards, integration of these classes into GWT (aka using them for interesting things) will be done using a branch as some changes might be somewhat intrusive. -- Rodrigo El 19 de marzo de 2010 11:51, Miguel Méndez mmen...@google.com escribió: I'm not advocating that you save up for one large patch at the end. You should have the code reviewed in increments as you are planning on doing. All I'm suggesting is that the code not land in trunk/user/... until is ready. A real branch or bikeshed would be a better place. On Thu, Mar 18, 2010 at 4:44 PM, Rodrigo Chandia rchan...@google.comwrote: Sure, discussion and comments are welcome. I am developing all this in a branch. The idea is to keep reviewing the changes until we are all satisfied with it. I just thought it made more sense to publish small changes rather than posting a huge patch for review at the end. I can do either or something in between, but I tend to lean towards the incremental approach. El 18 de marzo de 2010 14:40, Miguel Méndez mmen...@google.comescribió: Not sure if this has been discussed already, but you should consider developing these in a branch until the landing plan for the changes is clear. On Thu, Mar 18, 2010 at 9:50 AM, rchan...@google.com wrote: Reviewers: fabbott, Description: Array implementation for Lightweight Collections. Pure Java implementation only. This is part of an incremental review. Not likely to land until other parts are reviewed. Please review this at http://gwt-code-reviews.appspot.com/232801 Affected files: A user/src/com/google/gwt/collections/Array.java A user/src/com/google/gwt/collections/Assertions.java A user/src/com/google/gwt/collections/CollectionFactory.java A user/src/com/google/gwt/collections/ConstantTime.java A user/src/com/google/gwt/collections/LinearTime.java A user/src/com/google/gwt/collections/MutableArray.java A user/test/com/google/gwt/collections/ObjectArrayTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Array implementation for Lightweight Collections. Pure Java implementation only.
You just told me right in time (talking to myself: how was incantation to revert the last git commit?) Just to make sure. The classes should go into: bikeshed/src/com/google/gwt/collections/client/ bikeshed/test/com/google/gwt/collections/client/ Or would it be better to do a new project under bikeshed/collections? 2010/3/19 Ray Ryan rj...@google.com Great. When you move them to trunk/bikeshed, please *don't* put them under the com.google.gwt.bikeshed package. We've concluded that was a mistake and will be rejiggering it slightly. Your stuff should stay in its real packages. On Fri, Mar 19, 2010 at 9:57 AM, Rodrigo Chandia rchan...@google.comwrote: Yes. I like your idea. I'll move the development to bikeshed so nobody thinks this is ready for general consumption. Once the classes are in a good enough state we will migrate (move) things into GWT proper. Afterwards, integration of these classes into GWT (aka using them for interesting things) will be done using a branch as some changes might be somewhat intrusive. -- Rodrigo El 19 de marzo de 2010 11:51, Miguel Méndez mmen...@google.comescribió: I'm not advocating that you save up for one large patch at the end. You should have the code reviewed in increments as you are planning on doing. All I'm suggesting is that the code not land in trunk/user/... until is ready. A real branch or bikeshed would be a better place. On Thu, Mar 18, 2010 at 4:44 PM, Rodrigo Chandia rchan...@google.comwrote: Sure, discussion and comments are welcome. I am developing all this in a branch. The idea is to keep reviewing the changes until we are all satisfied with it. I just thought it made more sense to publish small changes rather than posting a huge patch for review at the end. I can do either or something in between, but I tend to lean towards the incremental approach. El 18 de marzo de 2010 14:40, Miguel Méndez mmen...@google.comescribió: Not sure if this has been discussed already, but you should consider developing these in a branch until the landing plan for the changes is clear. On Thu, Mar 18, 2010 at 9:50 AM, rchan...@google.com wrote: Reviewers: fabbott, Description: Array implementation for Lightweight Collections. Pure Java implementation only. This is part of an incremental review. Not likely to land until other parts are reviewed. Please review this at http://gwt-code-reviews.appspot.com/232801 Affected files: A user/src/com/google/gwt/collections/Array.java A user/src/com/google/gwt/collections/Assertions.java A user/src/com/google/gwt/collections/CollectionFactory.java A user/src/com/google/gwt/collections/ConstantTime.java A user/src/com/google/gwt/collections/LinearTime.java A user/src/com/google/gwt/collections/MutableArray.java A user/test/com/google/gwt/collections/ObjectArrayTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Array implementation for Lightweight Collections. Pure Java implementation only.
I think bikeshed/{src,test}/com/google/gwt/collections/client/ is just right. Be warned, btw, that we have no ant test target in the build.xml there yet. Patches welcome ;-) On Fri, Mar 19, 2010 at 12:15 PM, Rodrigo Chandia rchan...@google.comwrote: You just told me right in time (talking to myself: how was incantation to revert the last git commit?) Just to make sure. The classes should go into: bikeshed/src/com/google/gwt/collections/client/ bikeshed/test/com/google/gwt/collections/client/ Or would it be better to do a new project under bikeshed/collections? 2010/3/19 Ray Ryan rj...@google.com Great. When you move them to trunk/bikeshed, please *don't* put them under the com.google.gwt.bikeshed package. We've concluded that was a mistake and will be rejiggering it slightly. Your stuff should stay in its real packages. On Fri, Mar 19, 2010 at 9:57 AM, Rodrigo Chandia rchan...@google.comwrote: Yes. I like your idea. I'll move the development to bikeshed so nobody thinks this is ready for general consumption. Once the classes are in a good enough state we will migrate (move) things into GWT proper. Afterwards, integration of these classes into GWT (aka using them for interesting things) will be done using a branch as some changes might be somewhat intrusive. -- Rodrigo El 19 de marzo de 2010 11:51, Miguel Méndez mmen...@google.comescribió: I'm not advocating that you save up for one large patch at the end. You should have the code reviewed in increments as you are planning on doing. All I'm suggesting is that the code not land in trunk/user/... until is ready. A real branch or bikeshed would be a better place. On Thu, Mar 18, 2010 at 4:44 PM, Rodrigo Chandia rchan...@google.comwrote: Sure, discussion and comments are welcome. I am developing all this in a branch. The idea is to keep reviewing the changes until we are all satisfied with it. I just thought it made more sense to publish small changes rather than posting a huge patch for review at the end. I can do either or something in between, but I tend to lean towards the incremental approach. El 18 de marzo de 2010 14:40, Miguel Méndez mmen...@google.comescribió: Not sure if this has been discussed already, but you should consider developing these in a branch until the landing plan for the changes is clear. On Thu, Mar 18, 2010 at 9:50 AM, rchan...@google.com wrote: Reviewers: fabbott, Description: Array implementation for Lightweight Collections. Pure Java implementation only. This is part of an incremental review. Not likely to land until other parts are reviewed. Please review this at http://gwt-code-reviews.appspot.com/232801 Affected files: A user/src/com/google/gwt/collections/Array.java A user/src/com/google/gwt/collections/Assertions.java A user/src/com/google/gwt/collections/CollectionFactory.java A user/src/com/google/gwt/collections/ConstantTime.java A user/src/com/google/gwt/collections/LinearTime.java A user/src/com/google/gwt/collections/MutableArray.java A user/test/com/google/gwt/collections/ObjectArrayTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [gwt-contrib] Array implementation for Lightweight Collections. Pure Java implementation only.
Sure! 2010/3/19 Ray Ryan rj...@google.com I think bikeshed/{src,test}/com/google/gwt/collections/client/ is just right. Be warned, btw, that we have no ant test target in the build.xml there yet. Patches welcome ;-) On Fri, Mar 19, 2010 at 12:15 PM, Rodrigo Chandia rchan...@google.comwrote: You just told me right in time (talking to myself: how was incantation to revert the last git commit?) Just to make sure. The classes should go into: bikeshed/src/com/google/gwt/collections/client/ bikeshed/test/com/google/gwt/collections/client/ Or would it be better to do a new project under bikeshed/collections? 2010/3/19 Ray Ryan rj...@google.com Great. When you move them to trunk/bikeshed, please *don't* put them under the com.google.gwt.bikeshed package. We've concluded that was a mistake and will be rejiggering it slightly. Your stuff should stay in its real packages. On Fri, Mar 19, 2010 at 9:57 AM, Rodrigo Chandia rchan...@google.comwrote: Yes. I like your idea. I'll move the development to bikeshed so nobody thinks this is ready for general consumption. Once the classes are in a good enough state we will migrate (move) things into GWT proper. Afterwards, integration of these classes into GWT (aka using them for interesting things) will be done using a branch as some changes might be somewhat intrusive. -- Rodrigo El 19 de marzo de 2010 11:51, Miguel Méndez mmen...@google.comescribió: I'm not advocating that you save up for one large patch at the end. You should have the code reviewed in increments as you are planning on doing. All I'm suggesting is that the code not land in trunk/user/... until is ready. A real branch or bikeshed would be a better place. On Thu, Mar 18, 2010 at 4:44 PM, Rodrigo Chandia rchan...@google.comwrote: Sure, discussion and comments are welcome. I am developing all this in a branch. The idea is to keep reviewing the changes until we are all satisfied with it. I just thought it made more sense to publish small changes rather than posting a huge patch for review at the end. I can do either or something in between, but I tend to lean towards the incremental approach. El 18 de marzo de 2010 14:40, Miguel Méndez mmen...@google.comescribió: Not sure if this has been discussed already, but you should consider developing these in a branch until the landing plan for the changes is clear. On Thu, Mar 18, 2010 at 9:50 AM, rchan...@google.com wrote: Reviewers: fabbott, Description: Array implementation for Lightweight Collections. Pure Java implementation only. This is part of an incremental review. Not likely to land until other parts are reviewed. Please review this at http://gwt-code-reviews.appspot.com/232801 Affected files: A user/src/com/google/gwt/collections/Array.java A user/src/com/google/gwt/collections/Assertions.java A user/src/com/google/gwt/collections/CollectionFactory.java A user/src/com/google/gwt/collections/ConstantTime.java A user/src/com/google/gwt/collections/LinearTime.java A user/src/com/google/gwt/collections/MutableArray.java A user/test/com/google/gwt/collections/ObjectArrayTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com