Re: Strange compilation errors on linux platform

2011-04-14 Thread paxdei
I ran into the same problem (compile fails only on linux) with GWT version 2.2.0 With hacking some log statements into the GWT compiler I finally found the reason: java.io.FileNotFoundException: /XXX/calendar.year.gif (Too many open files) at java.io.FileInputStream.open(Native Met

Re: Events not firing or caught, though handlers created successfully

2011-01-01 Thread paxdei
I suspect that the button widget is not properly added to the widget tree through parentHasWidgets.add(buttonWidget) Doing something like parentDomElement.appendChild(buttonWidget.getElement()) will display the button correctly but without any dom events being registered. regards On 31 Dez. 2010

Re: I18N - How to set locale per code?

2011-01-01 Thread paxdei
Static string internationalization means that the gwt compiler generates extra permutations for every locale/browser combination, and changing the locale on the client means replacing the currently loaded permutation with a different one, so I guess there is no other way. Anyway, you should be abl

Re: GWT with JPA located in a separate project

2011-01-01 Thread paxdei
Hello, you will probably need a separate gwt.xml module definition that points to the source package of your pojos I use to do it this way: 1. Create a Pojo.gwt.xml in your gwt project/org/mysite/core that contains a tag 2. In your main module definition, inherit this new org.mysite.core.Pojo