Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-07-03 Thread Craig Mitchell
The submitting to a javascript URL was working great. However, Chrome has decided to stop working (currently on version 20.0.1132.47 m). And the only thing that seems to make it work, is doing a submit straight to the servlet from the login form, which is a real pain (and a major change).

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-07-03 Thread Craig Mitchell
I should point out that it still works great in IE and Firefox. Just not Chrome. On Tuesday, 3 July 2012 17:07:44 UTC+10, Craig Mitchell wrote: The submitting to a javascript URL was working great. However, Chrome has decided to stop working (currently on version 20.0.1132.47 m). And the

Re: Strategy for saving data project

2012-07-03 Thread Thomas Lefort
Hi Thomas, thanks for the detailed explanation. I added a window closing handler but I then have the issue of handling mayStop clean up, ie mayStop seems to be called first and does the cleanup, in which case if the user decides to cancel the leave of the activity, the activity is in a cleaned

Re: ScriptEngineManager throws an Error but works... why?

2012-07-03 Thread Jepse
Hi there... Sorry for the double post! My first post didnt show up. So i thought it was recognised as spam. I'll be deleting it. Actually i'm using JSNI for eval a simple fomular. I haven't familiar with this feature. But now it works. What is the pure Java solution this problem? In my search

Re: Strategy for saving data project

2012-07-03 Thread Thomas Lefort
OK, it looks like I might have managed two birds with one stone. Basically I have a leave flag that I set to true at the creation of the activity. This flag is set to false if there is a PlaceRequestEvent and the new place is not null. In mayStop I first save my workspace and then I check the

productive mode results undefinded NaN

2012-07-03 Thread Jepse
Hi there, i'm using a simple JSNI Function: public static native boolean evalBoolean(String arg) /*-{ return eval(arg); }-*/; public static native double evalCalculation(String arg) /*-{ return eval(arg); }-*/; in development mode

Re: Need a tool to find out client side coverage .

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 6:05:41 AM UTC+2, Joseph Lust wrote: Have you had luck using the patched Emma version with the more recent releases of Emma? They no longer work for me in Indigo. Perhaps I've done it wrong? I opened it as a

RF and REST

2012-07-03 Thread chaluwa
Please have anyone of you been successful with REST on a GWT project? What api's did you use. We are in the design stage of an app, we love GWT but want to liberate the architecture such that we can use the same server code for the clients (GWT and JQuery mobile). I don't know if RequestFactory

MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread tanteanni
i just tried to create a MenuBar with some item and a separator with uibinder, but Eclipse' xml validation or the underlying xml model doesn't like the separator: cvc-complex-type.2.4.a: Invalid content was found starting with element 'g:MenuItemSeparator'. One of

Multiple GWT Apps inside one HTML Pages

2012-07-03 Thread david.herv...@gmail.com
Hello All, I know this question as a lot of thread in this group but I've really found what I want. I want to compile several gwt apps independly the one from each other and load these apps into one HTML pages by inserting the script of each .nocache.js I've read on gwt developper guide

Re: RF and REST

2012-07-03 Thread Chris Price
RestyGWT is worth considering - http://restygwt.fusesource.org/ On Tue, Jul 3, 2012 at 10:24 AM, chal...@gmail.com wrote: Please have anyone of you been successful with REST on a GWT project? What api's did you use. We are in the design stage of an app, we love GWT but want to liberate the

Re: MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 11:28:13 AM UTC+2, tanteanni wrote: i just tried to create a MenuBar with some item and a separator with uibinder, but Eclipse' xml validation or the underlying xml model doesn't like the separator: cvc-complex-type.2.4.a: Invalid content was found starting with

Re: Multiple GWT Apps inside one HTML Pages

2012-07-03 Thread Thomas Broyer
I believe all the issues have been fixed (long ago actually). As the docs say, there were issues with event handling, but I believe everything's fixed by now (and the doc is therefore outdated). On Tuesday, July 3, 2012 11:50:51 AM UTC+2, david@gmail.com wrote: Hello All, I know this

Re: Validation in 2.5 RC1

2012-07-03 Thread Cengiz
Hi Thomas, Thanks for the response. I was talking about the Validation class that used to be in the com.google.gwt.validation package; it seems to have moved to the com.google.gwt.validation.*impl* package. After updating the import statements, I was able to compile and run my app. Cheers,

Vaadin 7 to include GWT

2012-07-03 Thread Joonas Lehtinen
As announced at Google IO, the upcoming Vaadin Framework 7 will include GWT as its core component and will be fully compatible with GWT. This way Vaadin will allow user interface development both on the server-side and on the client-side. Server-side development is optimized for productivity

Re: Any summary on The History and Future of Google Web Toolkit available?

2012-07-03 Thread Ben
here is the presentation: https://docs.google.com/presentation/d/1pC9WK80-fzIs2iMQOO3Jsvfmqv2erI9xucuF3lHOE7Q/edit#slide=id.p18 Am Montag, 2. Juli 2012 22:44:08 UTC+2 schrieb Celinio Fernandes: https://developers.google.com/events/io/sessions/gooio2012/218/ is this talk finally available

Widget with Elemental support

2012-07-03 Thread Cristian Rinaldi
I understand that Elemental is esperimental, but is robust and really is an excellent frame. My question is: In the future, Widgets are written using Elemental? Is it planned? Thakns -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread regnoult axel
Hello, I am living in Bolivia and here, I have a connection equals to 200 Kbps (it is very poor). :( So I was asking if google engineers are considerating a minimum bandwith when testing their app ? This is important, because when starting my aplication (www.mananaseguro.com) , even if I am

Re: Using gwt to change java files

2012-07-03 Thread Philippe Lhoste
On 01/07/2012 21:01, mehdi benchoufi wrote: I am working on a project that had already been developed. This project uses get and the javascript comes from java files. I wanted to make some changes on one of these java files. SO I was told I needed to download get. This is what I did. I don't

Re: Storing/retrieving shared objects in a database

2012-07-03 Thread Philippe Lhoste
On 01/07/2012 20:26, Peter wrote: Hi guys, Basically, as the title says, I would like to store a shared object in a MySQL database and retrieve it at a later time. So I wrote a simple shared class Test: public class Test implements Serializable { private int statusId; public Test()

Re: Date Serialization

2012-07-03 Thread Philippe Lhoste
On 30/06/2012 16:37, Daniel F. wrote: I need to parse serialized *java.util.Date* values in Python. Where can I find information on the timestamp that represents date and time in the serialized format? JavaDoc... http://docs.oracle.com/javase/6/docs/api/java/util/Date.html See getTime() --

Re: MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread tanteanni
thx thomas, but how to tell it eclipse? where is the underlying model for uibinder xml that eclipse uses for verification? is this model up to date? is there a way to get rid of the error in eclipse? On Tuesday, 3 July 2012 12:45:43 UTC+2, Thomas Broyer wrote: On Tuesday, July 3, 2012

Re: RF and REST

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 11:24:17 AM UTC+2, chalu wrote: Please have anyone of you been successful with REST on a GWT project? What api's did you use. We are in the design stage of an app, we love GWT but want to liberate the architecture such that we can use the same server code for the

Re: Vaadin 7 to include GWT

2012-07-03 Thread Alain Ekambi
Pretty cool news. Does this mean that Vaadin Widget will now work client side too ? 2012/7/3 Joonas Lehtinen j...@jole.fi As announced at Google IO, the upcoming Vaadin Framework 7 will include GWT as its core component and will be fully compatible with GWT. This way Vaadin will allow user

Re: RF and REST

2012-07-03 Thread Raphael André Bauer
+1 for restygwt. Has never let us down - even in very large projects. Cheers, Raphael On Tue, Jul 3, 2012 at 3:06 PM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, July 3, 2012 11:24:17 AM UTC+2, chalu wrote: Please have anyone of you been successful with REST on a GWT project? What

Re: GWT Designer -- GC overhead limit exceeded

2012-07-03 Thread Philippe Lhoste
On 28/06/2012 22:33, Thad wrote: I part of my job I dislike the most is laying out HTML. As such I have a love-hate relationship with GWT Designer. While it makes some things easier, in many more ways it's just plain maddening. Currently my chief gripe is how GWT Designer keeps crashing

Re: RF and REST

2012-07-03 Thread chaluwa
Thanks for the quick and helpful replies. Our goal is to build a true RESTful back-end (to serve as an API) and then allow clients (GWT app, JQuery mobile app, CLI / API calls e.t.c) interact with the exposed methods/resources from the server in a simple (RESTful) way. Have not really looked

Re: MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 2:48:28 PM UTC+2, tanteanni wrote: thx thomas, but how to tell it eclipse? where is the underlying model for uibinder xml that eclipse uses for verification? is this model up to date? is there a way to get rid of the error in eclipse? The schema indeed is out of

Smartgwt Load Test with BrowserMob

2012-07-03 Thread Ahmet Dakoglu
As told in Smartgwt - AutomatedTesting documentation, we have been trying to use BrowserMob for load testing but the script that selenium ide created can not pass the validaton of the BrowserMob. I think it is related with scLocators because the error shows the line below scLocator. How can

Re: MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread tanteanni
the for your investigation thomas! On Tuesday, 3 July 2012 15:55:06 UTC+2, Thomas Broyer wrote: On Tuesday, July 3, 2012 2:48:28 PM UTC+2, tanteanni wrote: thx thomas, but how to tell it eclipse? where is the underlying model for uibinder xml that eclipse uses for verification? is this

Re: MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread tanteanni
and yes i tried deleting the marker after disabling xml validation vor the project - but the marker always comes back On Tuesday, 3 July 2012 15:55:06 UTC+2, Thomas Broyer wrote: On Tuesday, July 3, 2012 2:48:28 PM UTC+2, tanteanni wrote: thx thomas, but how to tell it eclipse? where is

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread jhulford
I'd suggest reading the stuff in What's with all the cache/nocache stuff and weird filenames? about the bootstrap process. https://developers.google.com/web-toolkit/doc/2.4/FAQ_DebuggingAndCompiling On Tuesday, July 3, 2012 8:03:17 AM UTC-4, regnoult axel wrote: Hello, I am living in

Re: Any summary on The History and Future of Google Web Toolkit available?

2012-07-03 Thread chillyspoon
Also looking for the video recording of this one.. it's the session out of the whole event this year that I was most interested in catching! On Friday, 29 June 2012 21:14:14 UTC+1, Clint wrote: I was hoping to see the Google IO session streamed: The History and Future of Google Web

Re: Vaadin 7 to include GWT

2012-07-03 Thread Harpal Grover
This is great news. Finally, aesthetically appealing widgets for GWT. Been wanting something like this for a very long time, like a lot of other GWT dev's. -- Harpal Grover President *Harpal Grover Consulting LLC* On Tue, Jul 3, 2012 at 9:25 AM, Alain Ekambi jazzmatad...@gmail.com wrote:

Re: RF and REST

2012-07-03 Thread Raphael André Bauer
Have a look at that the following demo: http://code.google.com/p/play-gae-gwt-dreamteam-showcase/ Frontend and backend only talk via a restful Api. RestyGwt handles the stuff on the client side of things. Note also that you can share Java pojos easily between client and servers side... Cheers,

ClientBundle with lots if Images

2012-07-03 Thread Carlos Silva
Hi, since we can't use reflection on client side, what's an easy way to access each ImageResource from a ClientBundle that has ~250 images? Doing it in a if..then..else..if statement looks overkill, but I really can't remember of anything else. Maybe I'm missing something. Any suggestions?

Re: Strategy for saving data project

2012-07-03 Thread Thomas Lefort
mm I must come back on what I said... It turns out the PlaceRequestHandler is called after the mayStop (actually during which is plain weird), or at least after the check is done in mayStop, so too late anyway... Is that normal? I have only tested in dev mode and with gwt 2.4. So I tried

DurationFormatUtils

2012-07-03 Thread Gilad Egozi
Anyone can recommend a good alternative to DurationFormatUtils for GWT? (*org.apache.commons.lang.time.DurationFormatUtils)* * * *thanks,* *Gilad.* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: MenuItemSeparator in uibinder produces xml error

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 4:27:31 PM UTC+2, tanteanni wrote: and yes i tried deleting the marker after disabling xml validation vor the project - but the marker always comes back But it's just a marker, it doesn't affect building or running the project, right? -- You received this

Re: ClientBundle with lots if Images

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 5:07:32 PM UTC+2, Carlos Silva wrote: Hi, since we can't use reflection on client side, what's an easy way to access each ImageResource from a ClientBundle that has ~250 images? Doing it in a if..then..else..if statement looks overkill, but I really can't

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Jim Douglas
I'm not sure it's possible to make a general statement; it depends on your application. If you haven't already done this, take a look at -compileReport; it can show you what contributes to the size of your application. https://developers.google.com/web-toolkit/doc/latest/DevGuideCompileReport

Re: Strategy for saving data project

2012-07-03 Thread Thomas Lefort
me again... last one I promise. I ended up using PlaceChangeEventRequest only. The place returned by getNextPlace is not null actually. What I ended up doing is have all my places implement my ow place interface and check if the getNextPlace is of that type. If not, it means we are leaving the

Re: ClientBundle with lots if Images

2012-07-03 Thread Carlos Silva
On Tue, Jul 3, 2012 at 3:59 PM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, July 3, 2012 5:07:32 PM UTC+2, Carlos Silva wrote: Hi, since we can't use reflection on client side, what's an easy way to access each ImageResource from a ClientBundle that has ~250 images? Doing it in a

Re: GWT and RequestFactory

2012-07-03 Thread Boris Brudnoy
This was recently discussed in this GWT Group post.https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/NStp5K8Ej2o On Tuesday, July 3, 2012 6:18:09 AM UTC-4, nessrinovitta wrote: Hello everyone ! Does the RequestFactory API allow us to build Web Services with the REST

Re: Strategy for saving data project

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 6:20:09 PM UTC+2, Thomas Lefort wrote: me again... last one I promise. I ended up using PlaceChangeEventRequest only. The place returned by getNextPlace is not null actually. Ah yes sorry; I haven't check but from memory it should/could/might be a Place.NOWHERE.

Development Mode Exception: com.google.gwt.core.client.JavaScriptException: (NOT_FOUND_ERR): NOT_FOUND_ERR: DOM Exception 8

2012-07-03 Thread otth2oskier
I am getting this exception on an intermittent basis. It is really frustrating as it happens about 75% of the time, but, restarting development mode SOMETIMES makes it go away. What is this exception telling me? com.google.gwt.core.client.JavaScriptException: (NOT_FOUND_ERR): NOT_FOUND_ERR:

Re: Date Serialization

2012-07-03 Thread Daniel F.
Am Dienstag, 3. Juli 2012 14:42:11 UTC+2 schrieb PhiLho: On 30/06/2012 16:37, Daniel F. wrote: I need to parse serialized *java.util.Date* values in Python. Where can I find information on the timestamp that represents date and time in the serialized format? JavaDoc...

Re: Date Serialization

2012-07-03 Thread Paul Robinson
On 03/07/12 21:41, Daniel F. wrote: Am Dienstag, 3. Juli 2012 14:42:11 UTC+2 schrieb PhiLho: On 30/06/2012 16:37, Daniel F. wrote: I need to parse serialized *java.util.Date* values in Python. Where can I find information on the timestamp that represents date and time in the

Re: Development Mode Exception: com.google.gwt.core.client.JavaScriptException: (NOT_FOUND_ERR): NOT_FOUND_ERR: DOM Exception 8

2012-07-03 Thread Thomas Broyer
On Tuesday, July 3, 2012 7:06:35 PM UTC+2, otth2oskier wrote: I am getting this exception on an intermittent basis. It is really frustrating as it happens about 75% of the time, but, restarting development mode SOMETIMES makes it go away. What is this exception telling me?

Re: Date Serialization

2012-07-03 Thread Jim Douglas
Yup, probably the timezone offset. We tripped over that too (wrong dates when the server and client were in different time zones); we stopped serializing Date objects and switched to sending a customized y/m/d value instead. On Jul 3, 2:41 pm, Paul Robinson ukcue...@gmail.com wrote: On 03/07/12

Re: Date Serialization

2012-07-03 Thread Thomas Broyer
On Wednesday, July 4, 2012 12:43:30 AM UTC+2, Jim Douglas wrote: Yup, probably the timezone offset. We tripped over that too (wrong dates when the server and client were in different time zones); we stopped serializing Date objects and switched to sending a customized y/m/d value

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread regnoult axel
Ok thank you for the tips, indeed, the compile report will be very usefull. It s a nice feature. Could you help me a little more to understand different things related to the report I have ? *#1 - *I just see this at the begenning of the report : Permutation 0 () - Split Point

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Joseph Lust
Also make sure the server is compressing content, both for static resources and for your RPC calls. That will help with the initial download a lot too. Also consider using the ClientBundle resources like CssResource and ImageResource. If your internet connection is so poor, I think you're

AdSense without iframe

2012-07-03 Thread Kulnor
I've been looking for an easy way to include an AdSense DIV in my GWT app without using an iframe and my current approach is as follows: (1) In the application host page (i.e. application.html), I include the standard adsense boiler code and put a @id on the wrapping div like: div id=adsense

Re: Date Serialization

2012-07-03 Thread Joseph Lust
This question comes up so often that it ought to be a priority for GWT 2.6. Perhaps a module setting to for TZ safe date serialization? See the solution of a custom date serializer in this earlier

Re: productive mode results undefinded NaN

2012-07-03 Thread Joseph Lust
Please consider not using eval(). It is the source of a great many bugs and opens up many security holes. For example, now you must be sure that your string being evaluated does not have any variable name conflicts with GWT. Since the GWT compiler minimizes variable names and methods to single

Re: Elemental and WebRTC test apps

2012-07-03 Thread Joseph Lust
For those that would rather not click unknown, obfuscated URLs: Video chat: https://github.com/p4elkin/VideoChat Demo: http://ec2-50-19-13-217.compute-1.amazonaws.com:8080/vaadin-video-chat/ (broken link) Face recognition login: https://github.com/henrikerola/FaceLogin Demo:

Re: Date Serialization

2012-07-03 Thread Thomas Broyer
On Wednesday, July 4, 2012 3:17:42 AM UTC+2, Joseph Lust wrote: This question comes up so often that it ought to be a priority for GWT 2.6. Perhaps a module setting to for TZ safe date serialization? If the timezone matters to you, you can simply send it along with the date (timestamp).

Re: DurationFormatUtils

2012-07-03 Thread Joseph Lust
You can try super sourcinghttps://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideAutomaticResourceInclusionsomething like this, but after checking the sourcehttp://www.docjar.org/html/api/org/apache/commons/lang/time/DurationFormatUtils.java.htmlit appears to

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Jim Douglas
The missing CompilerMetrics-*-index.html files is this bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=6691 So ignore the missing CompilerMetrics* files and just focus on the Split Point Reports; they'll tell you how much space was taken up by various components generated into

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Jim Douglas
FWIW, I'm using these optimization options in my *.gwt.xml file: !-- Obfuscate RPC class names (shrinks large string literals) -- inherits name='com.google.gwt.user.RemoteServiceObfuscateTypeNames'/ !-- Strip out stack trace code to reduce JavaScript size -- set-property

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Dennis Haupt
well, it *has* to be downloaded before it can be executed, there is no way around it. you can try to split your code into smaller parts (google: code splitting gwt) so you don't get over much more than your 17 seconds. Am 03.07.2012 14:03, schrieb regnoult axel: Hello, I am living in Bolivia

GWT 2.5.0-rc1 and eclipse (3.7 and 4.2) problems

2012-07-03 Thread Juan Pablo Gardella
Hi folks, I tried with eclipse 3.7 and eclipse 4.2 run inside eclipse with GWT 2.5.0-rc1 and had the same error in both. If I compile with maven the application run well, but in dev mode fails. I'm using FF13 with the last plugin. Could any tell me some tips to use GWT 2.5.0-rc1 inside eclipse?

[gwt-contrib] Incorrect comparison in SimpleRequestProcessor

2012-07-03 Thread Jason Daggs
The version object is of type Splittable and since none of the implementing classes overrides Object.equals() your comparison with the previousVersion object will always be false. Here is the patch: Index: user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java