GWT1.6: DateTimeFormat fails to format pattern "yyyy'-'MM'-'dd"

2009-07-08 Thread hjo1620
Regarding GWT1.6. This test: package com.google.gwt.i18n.client; import java.util.Date; import com.google.gwt.junit.client.GWTTestCase; public class DateTimeFormatTest extends GWTTestCase { private String pattern = "'-'MM'-'dd"; private DateTimeFormat forma

Re: Character encoding issue with my gadget

2009-07-08 Thread hjo1620
Have you tried this ? * Take a backup copy of your entire workspace. * Window>Preferences>General>Workspace>Text file encoding>Other: UTF-8 /hw --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" g

How to exclude work module from the compile, when deploying to GAE ?

2009-09-08 Thread hjo1620
Our standard module file is: Myproject.gwt.xml We have added an extra modulefile for fast compilation called: MyprojectWork.gwt.xml When deploying to GAE, it compiles both Myproject.gwt.xml and MyprojectWork.gwt.xml. How to exclude MyprojectWork.gwt.xml from the compile, when deploying to GAE ?

Why does this test fail ?

2009-09-10 Thread hjo1620
CustomerComponent extends Composite, I do panel.add(widget) for all my widgets, and then do initWidget(panel), in the constructor. However this GWTTestCase test fails: public void testShouldAttachAllWidgets() throws Exception { CustomerComponent component = new CustomerComponent();

GWTMockUtilities - which module to inherit ?

2009-09-15 Thread hjo1620

Continuously pressed right-arrow key ?

2009-09-30 Thread hjo1620
How to handle case when the user keeps holding the left- or right- arrow pressed, ex. while quickly browsing through textbased car ads ? Only one KeyDown event gets generated, also when the user keeps the button pressed. How to capture that the button is still pressed ? --~--~-~--~~-

How to capture function keys ?

2009-11-09 Thread hjo1620
I can't find function keys (F1 - F12) in KeyCodes.* Instead of: NativePreviewHandler handler = new NativePreviewHandler() { @Override public void onPreviewNativeEvent(NativePreviewEvent event) { if (

Re: How to capture function keys ?

2009-11-10 Thread hjo1620
Thanks for the reply. I did not read the supplied links, but I have read a number of messages in this newsgroup regarding tricky keycodes, however I have not seen a conclusion drawn from this. Is the conclusion that KeyCodes vary between browsers and are therefor not support in GWT ? --~--~

Re: How to capture function keys ?

2009-11-10 Thread hjo1620
Nice idea. I think the new "development mode" a.k.a. "hosted mode", is implemented using plugins, so it might possibly be in the sourcetree in a not too distant future. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How to capture function keys ?

2009-11-11 Thread hjo1620
My conclusion: Non-colliding functionkey detection can be done (find keycodes per browser in tables or by manual experimentation). Colliding functionkey detection should be possible using browser plugins. No existing W3 spec for DOM events. For now: least work/max browser support, use the GWT su

Conflicting generators

2009-11-17 Thread hjo1620
I have an entity that should render as a form in a detailview and as a row in a grid, in another view. This is the class: public class Employee implements IsViewBean{ ... } A third party test.gwt.xml tells the compiler to generate as View, based on the interface IsViewBean: Ano

Decent development hardware for GWT ?

2009-11-18 Thread hjo1620
My compiles are getting slower and slower (4 mins currently). It's a not a huge app, master detail input forms, grids, tabs, menubar and status bar, one servlet, ca 10 RPC calls. Third party grid, compiled separetly. Common classes in a separate project, compiled separetly. WinXP SP3, AMD Athlon D

Re: Decent development hardware for GWT ?

2009-11-18 Thread hjo1620
Thanks for your answer: i7 based machine with 1 rpm disks, ought to be good enough for me, since my project is way smaller. Any URL you can share to a pre-built system ? Or is it a DIY PC build ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolki

Re: Decent development hardware for GWT ?

2009-12-03 Thread hjo1620
Are you running vmware on Windows 7, XP or Vista ? -- You received 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+

Unittesting a Generator ?

2009-12-17 Thread hjo1620
I have a "class MyGenerator extends Generator", that I want to test. I need pointers to existing unit test code of a Generator unittest. Looked in the GWT code for readymade mocks to no avail. /hw -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit