Re: GWT Reference Development Platform

2014-01-29 Thread RickL
And, for anybody that sees the problem I had of "*** Error in `java': 
double free or corruption..." when compiling, it went away when I added 
1 
to the gwt-maven-plugin configuration.  Apparently, on a two cpu VM, the 
default is 2, and for some reason that caused it to fail.

Rick Lochner

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT 2.6 DatePicker with ClickHandler on Year and Month Buttons?

2014-01-29 Thread confile
Is is possible to register ClickHandlers on the GWT 2.6 DatePicker year and 
month buttons?





-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GWT Reference Development Platform

2014-01-29 Thread RickL
Hello,

It seems to me in this day and age of virtual machines it might make sense 
for the GWT community to come up with a reference development platform 
configuration for GWT (ala the Linux Standard Base), preferably as VM 
snapshots (qcow2, vmdk, or whatever).  Then, when someone develops 
something and they want to make it available, they could verify that it 
works (and the steps necessary to get it to work) on a reference platform 
(tested on the 2.5.1 reference platform).

I expect that would eliminate a huge amount of configuration issues and 
questions here and on stack overflow, etc.  If someone has a problem, the 
first question could be, "Does it work on the reference platform?"  

Obviously, using Windows is out of the question because of licensing.  But, 
a Fedora (or some other Linux) distro with an Eclipse version (presumably 
Java, or Java EE editions) seems reasonable.  I think a 64-bit VM with 4G 
of RAM would be rather typical these days.

I bring this up because I have just done an install of Fedora 20, Eclipse 
Kepler Java EE SR1 in a new 64-bit VM (4G).  I also installed the GPE and 
m2e-apt plugins.  I then try to generate a nice starter project for GWT 
2.6.0 (with the gwt-maven-plugin 2.6.0-rc3 template)  and import it.  That 
works pretty well.  It runs in dev mode in eclipse and the test launches 
work too.  So far, so good.

But, if I do a 'mvn install' or a 'mvn package' the compiler crashes (*** 
Error in `java': double free or corruption).  Almost certainly this is due 
to a memory issue with the jvm.  Now, I'm sure after a bit of work, I will 
figure out a fix.

Now, on the other hand, if I run the same thing on my real development 
machine (Fedora 19 with Eclipse Java, not EE but a bunch of plugins) the 
'mvn install' and 'mvn package' work fine.  But, when I try to import the 
maven project into eclipse, the maven update crashes with a null pointer. 
 Again, after more work, I'm sure I will figure that out too.

That seems to me to be the case with a lot of example code for GWT. 
 Especially when maven is in the picture.

My twenty cents.

Rick Lochner

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Gwt 2.6 + Opera(/presto) how to enable support?

2014-01-29 Thread Jens
You can re-enabled opera by using:




Not sure right now if the set-property line is needed but I think so. 
Re-enabling ie6 permutation for IE6/7 works the same way.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Appropriate server backend API design for spreadsheet like UI interface?

2014-01-29 Thread Jens
Our app uses aggressive auto saving which means whenever a user changes 
data we wait a grace period of x milliseconds (mostly 300-500ms) and then 
send a save request to the server. 

We don't use RequestFactory and probably never will because of its 
limitations that makes such aggressive auto saving quite difficult to 
implement. What we currently do is:

1.) GWT-RPC + Command pattern

2.) Commands that save data have an always increasing sequence number 
associated. We do this because we don't wait for a save response before 
sending the next save request, so its basically fire and forget unless an 
exception occurs. That means the server can receive save requests out of 
order and we have to make sure that things get saved in the same order the 
client has issued save requests. The sequence number is used to hold back 
requests on the server until it is safe to process them. Of course there 
are some edge cases you must deal with but in general its not that 
complicated. 

3.) Entity versions for optimistic locking are solely handled by the server 
by tracking which data has been send out to a client. If the client would 
know the entity version then it could happen that a client sends multiple 
save requests all having the same entity version associated (because we 
don't wait for server responses during save and thus maybe don't have the 
up-to-date version on the client). So our client does not know any entity 
versions at all.

This "fire and forget" behavior along with multiple pending save requests 
is something thats not that easy to implement with RequestFactory.

I am not sure if I would recommend that for a mobile / tablet app because 
of all the requests but for desktop apps it works well so far. No save 
button, no locked UI during data edit. If the user creates data this is 
mostly done through wizards which of course have a save/ok button so that 
we can ask for required fields.


-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Gwt 2.6 + Opera(/presto) how to enable support?

2014-01-29 Thread Thomas Wrobel
ps. Really appreciate your fast responses - amazes me the time you put in
for others here!

~~~
Thomas & Bertines online review show:
http://randomreviewshow.com/index.html
Try it! You might even feel ambivalent about it :)


On 29 January 2014 16:48, Thomas Wrobel  wrote:

> Perfect, thanks.
>
> ~~~
> Thomas & Bertines online review show:
> http://randomreviewshow.com/index.html
> Try it! You might even feel ambivalent about it :)
>
>
> On 29 January 2014 16:47, Jens  wrote:
>
>> You can re-enabled opera by using:
>>
>> 
>> > value="ie8,ie9,ie10,opera,gecko1_8,safari" />
>>
>> Not sure right now if the set-property line is needed but I think so.
>> Re-enabling ie6 permutation for IE6/7 works the same way.
>>
>> -- J.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google Web Toolkit" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-web-toolkit/m6di9JQUaqU/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Gwt 2.6 + Opera(/presto) how to enable support?

2014-01-29 Thread Thomas Wrobel
Perfect, thanks.

~~~
Thomas & Bertines online review show:
http://randomreviewshow.com/index.html
Try it! You might even feel ambivalent about it :)


On 29 January 2014 16:47, Jens  wrote:

> You can re-enabled opera by using:
>
> 
>  />
>
> Not sure right now if the set-property line is needed but I think so.
> Re-enabling ie6 permutation for IE6/7 works the same way.
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/m6di9JQUaqU/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Gwt 2.6 + Opera(/presto) how to enable support?

2014-01-29 Thread darkflame
I think Gwt2.6 no longer does a Opera permutation by default.how do I 
re-enable it?

I'd like to at least support Opera for awhile longer, as their new 
WebKit(/Blink) version still isn't a default update due to lack of feature 
support.
Might be a low userbase, but Id still rather now break all my old sites for 
them yet.

Also, where are the upto date release notes?

http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0_RC1

Does not seem to mention Opera being dropped.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Appropriate server backend API design for spreadsheet like UI interface?

2014-01-29 Thread Yan
Hi there, 

I am working on a Web App with GWT 2.5.1. It has a Excel (spread-sheet) 
like interface, allows user to modify data in a table.  

I prefer in-place-edit-then-commit model than a "save" button for 
spread-sheet like interface. Basically, user can edit any cell, press OK to 
commit change. This is in contrast to the traditional "save" button after 
user makes all changes and then click "save" to commit changes, this 
approach tends to lose user updates when something goes wrong. 

The question is what my backend should look like. My thought is EntityProxy 
interface like this:  saveMyDomainObject(EntityProxy).  Any updates in cell 
table will trigger a call to this API, with GWT sends delta over the wire. 
It seems inefficient, because every change in each cell is a separate call 
to backend. But I cannot think of anything better. As I said, I prefer not 
to use change-everything-then-save-at-end approach. 

Here is the flow, I call the server to get the domain object entity proxy, 
populate the cell table; when user edits a cell, I fire the request, the 
changes are committed in backend. 

With request factory, after I fire a request, the proxy and request object 
should be thrown away, and therefore, I need to retrieve the updated object 
from server and store on client. This seems necessary, so that next time, 
when user makes another edit, I have the up-to-date proxy object to modify. 
 What I do not like about this approach is that I always have to keep an 
entity proxy object behind the UI and have to keep it up-to-date by 
re-retrieving from server every time user makes an update.

Any better suggestion that overcome my problem below?

Two disadvantages of my current approach,  1) too many calls to backend, 
each update in one cell triggers a call to backend,  2) have to keep the 
entity proxy around behind UI and have to keep it up-to-date by 
re-retrieving it from server after every single update is made. 

Thanks,
Yan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


GinTonic - Eclipse plugin for productive work with Gin!

2014-01-29 Thread Сергей Целовальников
Hello!

Our company uses a lot of Gin.
We searched for a plugin that makes it easier to work with Gin/Guice and 
found Egap plugin, but it only support Guice.

So we decided to fork egap project, post it on GitHub and actively develop 
it further.
We called it GinTonic. Link: https://github.com/SerCeMan/GinTonic.
We have added full support of Gin framework.

In the process of developing plugin we are corrected some bugs, and added 
some new functionality.

We will be very glad if you will be using our plugin and send Pull Requests.

-- 
Best regards,
Sergey Tselovalnikov

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.