Re: How to remove EventListener

2016-10-05 Thread Henrik
Surprised at your reaction to this. I find myself doing the same more and more as I'm using less and less widgets. Is there a better way when dealing with non-widget elements? On Tuesday, October 4, 2016 at 11:57:24 AM UTC+2, Thomas Broyer wrote: > > > > On Tuesday, October 4, 2016 at 1:04:06

Re: Issues with GWT 2.8 snapshot

2016-06-09 Thread Henrik
Seeing the same problems (maven build). Worked fine 10 hrs ago though, so the latest snapshot seems hosed. Regards, Henrik On Thursday, June 9, 2016 at 8:14:47 AM UTC+2, Hristo Stoyanov wrote: > > I started getting the following errors with Gradle builds and the latest > GWT 2.8.

Re: GWT 2.8 next release

2016-03-30 Thread Henrik
On Thursday, March 31, 2016 at 12:09:34 AM UTC+2, Thomas Broyer wrote: > > We're a bit late wrt our plan for RC1, but we're currently adding > emulation for many Java 8 APIs (new methods in collections, > java.util.function, spliterators, and soon streams). Stay tuned. That does sound good. On

UiBinder with an immediate webcomponent tag?

2015-04-18 Thread Henrik
but technically, is there any reason it cannot be made to work? Regards, Henrik -- 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+un

Re: CellTable gets cut off at bottom of browser window; vertical scroll unavailable

2014-12-02 Thread Henrik Lernmark
This aproach works for me: ScrollPanel scrollPanel = new ScrollPanel(); /* Use another panel type if you wan't more widgets within the scrollbars */ SimplePanel tablePanel = new SimplePanel(); CellTable cellTable = new CellTable(); tablePanel.add(cellTable); scrollPanel.add(tablePanel); /* Here y

Re: CodeServer runs out of memory

2014-11-10 Thread Henrik Lernmark
Open run configurations. In the arguments tab you can increase the VM:s memory allocation with: "-XX:MaxPermSize=512m -Xmx1024m" in the VM arguments box. On Monday, November 10, 2014 12:40:53 PM UTC+1, Oleg Cohen wrote: > > Greetings, > > I am running a large application in SDM in Eclipse and I

possible to use polymer with gwt 2.6.1 ?

2014-08-27 Thread Henrik Østerlund Gram
e the import of polymer's platform.js, everything works the way it should. Are there some known conflicts with the current gwt version and polymer? Regards, Henrik -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubs

Re: GWT Plugin

2014-08-19 Thread Henrik Østerlund Gram
I believe it still works with IE of all browsers... Personally I'm using an older Firefox where I disabled automatic updates just before it was destroyed. Others here at work aren't as lucky.. There have been several threads on this topic and basicly we are going to be stuck with "super" dev mode

Re: GWT seems deprecated according to Thoughtworks

2014-08-08 Thread Henrik
I was forced to use GWT back in january this year (as a consultant you often do have to use a specific tool "just because") and it's been somewhat of a bumpy ride; at first I hated it with a passion, then I started to appreciate the strengths it does provide. Losing devmode was/is a huge blow,

Re: GWT JS Interopt

2014-07-22 Thread Henrik
On Tuesday, July 22, 2014 10:31:54 AM UTC+2, Henrik wrote: > > It's rather annoying and it looks like I will have to patch and compile > gwt itself for DevMode to support it. > Well... I gave up on that; could barely make head or tails of it, so I ended up writing a webfilter

Re: GWT JS Interopt

2014-07-22 Thread Henrik
> > A bonus issue, I saw you did not use addEventListener like the demo does, >> and I really struggled to make it work. The generated javascript looks >> like "addEventListener('click', new xxx(this))" which doesn't work (the key >> thing here being "new" I'd guess). I found no other way to

Re: GWT JS Interopt

2014-07-22 Thread Henrik
On Tuesday, July 22, 2014 6:02:44 AM UTC+2, 田传武 wrote: > > Maybe the same issue as: > > https://groups.google.com/forum/#!topic/Google-Web-Toolkit-Contributors/nx9mBU5kwEo > > BTW, how do you use gwt-maven-plugin to pass the compile option > "-XjsInteropMode > JS"? > I just patched CompileMojo.j

Re: GWT JS Interopt

2014-07-21 Thread Henrik
On Wednesday, July 16, 2014 1:55:52 PM UTC+2, Eder Ignatowicz wrote: > > Yep! Thanks for your help! :) > > What does the trick is the flag -XjsInteropMode JS . > > If anyone want to use my GWT JS interop demo is on > https://github.com/ederign/gwt-playground. > Thanks for that; it helped me out a

Can Object.observe() and GWT play together?

2014-07-18 Thread Henrik
As Chrome 36 was just released and included built-in support for Object.observe(), I thought I'd test it out, but I got stuck when I wanted it to observe java-objects instead of plain javascript-objects. I would have a list of some domain objects in an instance variable, like: List contacts

Re: Best server communication

2014-07-11 Thread Henrik
> > I've made some apps but still using RPC. I was wondering now if there were > a better way than that for server communication. > RPC is probably the most convenient for beginners, but if you think you may need to push messages to the client at some point, I'd just go for a plain websocket

Re: GWT Developer Plugin no longer works with Chrome on Linux

2014-07-06 Thread Henrik
Firefox with the automatic updates disabled for GWT-dev in good old DevMode. It's hardly a long term solution, so I'm really anxious to see what happens with 2.7. Regards, Henrik -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit&

Re: Wishlist - What GWT developers want for Christmas

2012-12-14 Thread henrik
Hi, I'm the author of the piece of code that allows you logging in via various external services to vaadin.com, so all this is kind of my fault. Let me try to explain the situation. The first time you try to log in with, say, Google, we don't have any records of you. So we ask that service pr

Re: enable closure compiler

2012-09-03 Thread Henrik Aasted Sørensen
Alex, Could it be this post? https://plus.google.com/110412141990454266397/posts/ACHHv2KSBCD Regards Henrik On Monday, August 27, 2012 11:56:44 PM UTC+2, Alex opn wrote: > In my case the generated javascript is about 10% smaller now. Can't tell > exactly because I just made a

body padding does not (really) work

2011-07-18 Thread Henrik
e the content being positioned correctly for a split second. Afterwards, the padding "disappears". Looking at the screenshots in the tutorial, the padding is missing there, too. Is this a bug in the GWT or some mistake in the tutorial or am I doing something wrong? Kind regards Henrik -- Yo

Re: GWT/GPE 2.3 unable to sign in with Google Apps account

2011-05-31 Thread Henrik Strand
FYI http://code.google.com/p/google-web-toolkit/issues/detail?id=6410 -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: RequestFactory don't play nice with guice?

2010-12-26 Thread Henrik Schmidt
Since GWT 2.1.1 is here: Another way of doing it would be to just use a normal ServletModule as per the Guice user guide: http://code.google.com/docreader/#p=google-guice&s=google-guice&t=ServletModule Then bind the RequestFactoryServlet; bind(RequestFactoryServlet.class).in(Singleton.class); s

Re: GWT 2.1.1 RequestFactory Strange Exception

2010-12-21 Thread Henrik Schmidt
>From the RequestFactory documentation: Four special methods are required on all entities as they are used by the RequestFactory servlet: A no-arg constructor. This may be the implicit default constructor. 1. id_type getId() -- IDs can be String or Long 2. static entity_type findEntity(id_type id)

Re: GWT 2.1.1 and DAOs

2010-12-19 Thread Henrik Schmidt
words, is the find method used internally or can we ignore it? /Henrik On Dec 19, 8:22 pm, Henrik Schmidt wrote: > Hi there, > > I'm playing with the new 2.1.1 release. I'm trying to use DAOs instead > of DTOs and testing it through RequestFactoryMagic. I use Guice server >

GWT 2.1.1 and DAOs

2010-12-19 Thread Henrik Schmidt
erface and hook that into Guice as well or is there a better way? /Henrik -- 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, sen

Re: GWT 2.1 hellomvp using GIN

2010-10-23 Thread Henrik Schmidt
Oops. Substitute MailGinjector with AppGinjector. I'm playing around with the Mail sample code. -- 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 t

Re: GWT 2.1 hellomvp using GIN

2010-10-23 Thread Henrik Schmidt
I've been playing around with this for som time. I can't see a more reasonable solution than the one Amir and Aigeec proposed. Sure, the getActivity method with a long list of if-the-else's doesn't seem nice, but this alternative is just too much boilerplate for my liking. Lots of Provider classes

An example of MVP in the Mail sample for GWT

2010-01-10 Thread Henrik Schmidt
Hello there, I've partly rewritten the Mail sample that comes with GWT to the MVP architecture as suggested by Ray Ryan and the Contacts MVP example. The example uses UIBinder, Google Gin for client-side DI and gwt- dispatch for Command pattern communication with the server. There are also some no

Re: GWT noob: Playing with the mail sample

2009-12-26 Thread Henrik Schmidt
/mail-mvp/mail-deconstructed . Main code is here: http://github.com/hsm/mail-mvp/blob/list-mouseover/src/main/java/com/google/gwt/sample/mail/client/MailListFlexTable.java If anyone has any comments or suggestions for improvements please feel free. On Dec 26, 8:50 am, Henrik Schmidt wrote: > OK,

GWT noob: Playing with the mail sample

2009-12-26 Thread Henrik Schmidt
OK, so I'm very new to GWT so bear with me :) I'm working my way through the mail sample and decided to make a simple change. Turns out it was not that simple. In the MailList.java file, I want to change the code so selection of a row responds to a MouseOverEvent instead of a ClickEvent. The appl