Re: Code references between client/server/shared folders

2017-05-30 Thread Thomas Broyer
On Tuesday, May 30, 2017 at 5:36:01 PM UTC+2, Magnus wrote: > > Hello, > > my understanding of the typical folders in a GWT project is this: > >- client >only client-side code here >- server >only server-side code here >- shared >code that may be used on client-side and

Re: Code references between client/server/shared folders

2017-05-30 Thread harshyadav
I usually only call the shared code form the client (and not the other way round). You can have separate TimeFormatter: one for client --> com.google.gwt.i18n.client.* and one for server or shared (if its used by other server side modules as well) --> java.time.* java.util.Date If your

Re: Code references between client/server/shared folders

2017-05-30 Thread Jens
> my understanding of the typical folders in a GWT project is this: > >- client >only client-side code here >- server >only server-side code here >- shared >code that may be used on client-side and server-side > > It is just a convention, you can generally use whatever

Code references between client/server/shared folders

2017-05-30 Thread Magnus
Hello, my understanding of the typical folders in a GWT project is this: - client only client-side code here - server only server-side code here - shared code that may be used on client-side and server-side I believe that the code in the client folder gets compiled by the GWT

Re: GWT DataGrid background colour for rows

2017-05-30 Thread Thomas Broyer
DataGrid being a "cell widget", it will be "re-rendered" regularly, losing all modifications you manually did to the DOM tree. You can "persist" your changes using setRowStyles for classnames applied to a TableRowElement, or custom column with overridden getCellStyleNames

GWT DataGrid background colour for rows

2017-05-30 Thread Santanu Banerjee
I am trying to apply background colour to some rows dynamically based on some program logic, but I can see that the colour is disspearing on any further row selection. I used two approaches to change the colour. 1) baseGrid.getRowElement(i).getCells().getItem(0).addClassName();

[gwt-contrib] Kotlin/JS - Interop with Google’s J2CL - what would it take?

2017-05-30 Thread Ivan Markov
A cross-post from here: https://discuss.kotlinlang.org/t/interop-with-googles-j2cl-what-would-it-take/2991 Whoever is interested - please post. ... and correct/clarify if you notice I've mentioned anything which is imprecise. -- You received this message because you are subscribed to the